slugos-init: Another spot to support rootfs mtd partition naming.
authorRod Whitby <rod@whitby.id.au>
Wed, 27 Jun 2007 08:38:18 +0000 (08:38 +0000)
committerRod Whitby <rod@whitby.id.au>
Wed, 27 Jun 2007 08:38:18 +0000 (08:38 +0000)
packages/slugos-init/files/initscripts/umountinitrd.sh
packages/slugos-init/slugos-init_0.10.bb

index 2798fe5..93f05a0 100644 (file)
@@ -20,6 +20,8 @@ do
                umount /mnt;;
        /initrd)# need the device for a remount
                ffsdev="$(mtblockdev $ffspart)"
+               [ -n "$ffsdev" ] || \
+               ffsdev="$(mtblockdev rootfs)"
                echo "Remounting $ffsdev read-only on /initrd" >&2
                if test -n "$ffsdev" -a -b "$ffsdev"
                then
index 4afe433..8e08a3d 100644 (file)
@@ -4,7 +4,7 @@ PRIORITY = "required"
 LICENSE = "GPL"
 DEPENDS = "base-files devio"
 RDEPENDS = "busybox devio"
-PR = "r85"
+PR = "r86"
 
 SRC_URI = "file://boot/flash \
           file://boot/disk \