diff options
author | Tom Rini <tom_rini@mentor.com> | 2010-02-18 10:41:08 -0700 |
---|---|---|
committer | Tom Rini <tom_rini@mentor.com> | 2010-02-18 10:41:08 -0700 |
commit | 14bb71705b1c25d44d4fb6a2cd0d6a1ef20791fc (patch) | |
tree | 62300ab522a283f811e730ac6a934c26e4a4b622 | |
parent | 2844d88537ed96bb0709a255e4ae4e082b15ae9f (diff) |
initscripts: Have sysfs.sh do similar checks to rcS and bump PR.
rcS checks for [ -e /sys/kernel ], sysfs.sh, for proc will check
-e /proc && ! -e /proc/mounts, so for sysfs check for
-e /sys && ! -e /sys/kernel && sysfs in /proc/filesystems
-rw-r--r-- | recipes/initscripts/initscripts-1.0/sysfs.sh | 2 | ||||
-rw-r--r-- | recipes/initscripts/initscripts_1.0.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/initscripts/initscripts-1.0/sysfs.sh b/recipes/initscripts/initscripts-1.0/sysfs.sh index 4486128ad5..b2426147a7 100644 --- a/recipes/initscripts/initscripts-1.0/sysfs.sh +++ b/recipes/initscripts/initscripts-1.0/sysfs.sh @@ -4,7 +4,7 @@ if [ -e /proc ] && ! [ -e /proc/mounts ]; then mount -t proc proc /proc fi -if [ -e /sys ] && grep -q sysfs /proc/filesystems; then +if [ -e /sys ] && ! [ -e /sys/kernel ] && grep -q sysfs /proc/filesystems; then mount sysfs /sys -t sysfs fi diff --git a/recipes/initscripts/initscripts_1.0.bb b/recipes/initscripts/initscripts_1.0.bb index 664214436e..1bd6706abe 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 = "r115" +PR = "r116" SRC_URI = "file://functions \ file://halt \ |