slugos-init: do not create recovery in boot/disk in 0.10
authorJohn Bowler <jbowler@nslu2-linux.org>
Sun, 5 Feb 2006 21:13:49 +0000 (21:13 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sun, 5 Feb 2006 21:13:49 +0000 (21:13 +0000)
packages/slugos-init/files/boot/disk
packages/slugos-init/slugos-init_0.10.bb

index 6077a92..724dc3a 100644 (file)
@@ -29,12 +29,10 @@ then
                mount "$@" -U "$UUID" /mnt ||
                mount "$@" "$device" /mnt
        then
-               # checkmount checks for sh, init and no
-               # .recovery plus either mnt or initrd
-               if checkmount /mnt && :>/mnt/.recovery
+               # checkmount checks for sh, chroot, init
+               # and /mnt (i.e. /mnt/mnt in this case)
+               if checkmount /mnt
                then
-                       # sync to ensure .recovery is written
-                       sync
                        # pivot to /initrd if available, else /mnt
                        cd /
                        if test -d /mnt/initrd
index 561f593..7c4c21f 100644 (file)
@@ -4,7 +4,7 @@ PRIORITY = "required"
 LICENSE = "GPL"
 DEPENDS = "base-files devio"
 RDEPENDS = "busybox devio"
-PR = "r53"
+PR = "r54"
 
 SRC_URI = "file://boot/flash \
           file://boot/disk \