diff options
author | Rod Whitby <rod@whitby.id.au> | 2007-06-27 08:38:18 +0000 |
---|---|---|
committer | Rod Whitby <rod@whitby.id.au> | 2007-06-27 08:38:18 +0000 |
commit | 595766d291827e33593df3e58ec304c76c994048 (patch) | |
tree | 2b66cf08c364bf0d433c716a380033fcca0bc74c /packages/slugos-init | |
parent | 144c99c83f6ec2f6feae99a5dedb9e07df28bdfd (diff) |
slugos-init: Another spot to support rootfs mtd partition naming.
Diffstat (limited to 'packages/slugos-init')
-rw-r--r-- | packages/slugos-init/files/initscripts/umountinitrd.sh | 2 | ||||
-rw-r--r-- | packages/slugos-init/slugos-init_0.10.bb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/packages/slugos-init/files/initscripts/umountinitrd.sh b/packages/slugos-init/files/initscripts/umountinitrd.sh index 2798fe5985..93f05a00f6 100644 --- a/packages/slugos-init/files/initscripts/umountinitrd.sh +++ b/packages/slugos-init/files/initscripts/umountinitrd.sh @@ -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 diff --git a/packages/slugos-init/slugos-init_0.10.bb b/packages/slugos-init/slugos-init_0.10.bb index 4afe433ead..8e08a3d755 100644 --- a/packages/slugos-init/slugos-init_0.10.bb +++ b/packages/slugos-init/slugos-init_0.10.bb @@ -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 \ |