From e25f7b921088be5bf785372d4b76dad40f74baa7 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 24 Nov 2007 12:14:59 +0000 Subject: initramfs-module-bootmenu: Switch from using buggy mount --guess-fstype to buggy klibc's fstype. --- packages/initrdscripts/files/30-bootmenu.sh | 8 +++++++- packages/initrdscripts/initramfs-module-bootmenu_1.0.bb | 5 +++-- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'packages/initrdscripts') diff --git a/packages/initrdscripts/files/30-bootmenu.sh b/packages/initrdscripts/files/30-bootmenu.sh index 5b3e7782f4..1bb53d20a3 100644 --- a/packages/initrdscripts/files/30-bootmenu.sh +++ b/packages/initrdscripts/files/30-bootmenu.sh @@ -1,3 +1,7 @@ +# +# (c) 2007 Paul Sokolovsky +# + # If root is explicitly specified, skip interactive selection if [ -z "$ROOT_DEVICE" ]; then ############################## @@ -52,7 +56,9 @@ get_menu_selection() get_partition_type() { - fstype=`mount -f --guess-fstype /dev/$dev $MOUNTLOC` +# fstype=`mount -f --guess-fstype /dev/$dev $MOUNTLOC` + fstype=`fstype