+#
+# (c) 2007 Paul Sokolovsky
+#
+
# If root is explicitly specified, skip interactive selection
if [ -z "$ROOT_DEVICE" ]; then
##############################
get_partition_type()
{
- fstype=`mount -f --guess-fstype /dev/$dev $MOUNTLOC`
+# fstype=`mount -f --guess-fstype /dev/$dev $MOUNTLOC`
+ fstype=`fstype </dev/$dev`
+ fstype=`expr "$fstype" : 'FSTYPE=\([A-Za-z0-9]*\).*'`
}
scan_for_loopimgs()
SRC_URI = "file://30-bootmenu.sh"
-PR = "r1"
-RDEPENDS = "util-linux-mount initramfs-uniboot initramfs-module-block initramfs-module-loop"
+PR = "r3"
+RDEPENDS = "klibc-utils-fstype initramfs-uniboot initramfs-module-block initramfs-module-loop"
DESCRIPTION = "An initramfs module with UI for selection of boot device."
do_install() {
install -m 0755 ${WORKDIR}/30-bootmenu.sh ${D}/initrd.d/
}
+PACKAGE_ARCH = "all"
FILES_${PN} += " /initrd.d/* "