diff options
author | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2009-02-11 22:34:41 +0000 |
---|---|---|
committer | Jan Luebbe <jluebbe@debian.org> | 2009-03-25 15:58:44 +0100 |
commit | cf31fcacf62d583fef2e6d0ef36a429c48d08d82 (patch) | |
tree | 391556f09a6a5a41d0787e4bc5f0350b7dccfb57 | |
parent | 8ec53c8f0baed036778e380462838fe723a5f4b8 (diff) | |
download | openembedded-cf31fcacf62d583fef2e6d0ef36a429c48d08d82.tar.gz |
initscripts: fix remounting root partition when booting on a read-only mounted root partition
-rwxr-xr-x | recipes/initscripts/initscripts-1.0/checkroot | 4 | ||||
-rw-r--r-- | recipes/initscripts/initscripts_1.0.bb | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/recipes/initscripts/initscripts-1.0/checkroot b/recipes/initscripts/initscripts-1.0/checkroot index e5aa9aaf99..8ad62622ff 100755 --- a/recipes/initscripts/initscripts-1.0/checkroot +++ b/recipes/initscripts/initscripts-1.0/checkroot @@ -21,7 +21,6 @@ test -x /sbin/update && update # # Read /etc/fstab. # -exec 9>&0 </etc/fstab rootmode=rw rootopts=rw test "$ENABLE_ROOTFS_FSCK" = yes && rootcheck="yes" || rootcheck="no" @@ -81,8 +80,7 @@ do ;; esac fi -done -exec 0>&9 9>&- +done < /etc/fstab # # Activate the swap device(s) in /etc/fstab. This needs to be done diff --git a/recipes/initscripts/initscripts_1.0.bb b/recipes/initscripts/initscripts_1.0.bb index b497576036..556fbe46b7 100644 --- a/recipes/initscripts/initscripts_1.0.bb +++ b/recipes/initscripts/initscripts_1.0.bb @@ -4,7 +4,7 @@ PRIORITY = "required" DEPENDS = "makedevs" RDEPENDS = "makedevs" LICENSE = "GPL" -PR = "r112" +PR = "r113" SRC_URI = "file://functions \ file://halt \ |