diff options
author | Phil Blundell <philb@gnu.org> | 2009-06-17 09:06:59 +0100 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2009-06-17 09:06:59 +0100 |
commit | 77bf7d8f008775376cfbaacb05ef62afd386703b (patch) | |
tree | 6278fe2d4b431a29f0338db7850503464abcab4d /recipes/sysvinit | |
parent | 4ae4aa6d3ebcd9bd2249a36a8b07a396fcfb6f08 (diff) |
sysvinit: make sure /sys is mounted at bootup
Diffstat (limited to 'recipes/sysvinit')
-rwxr-xr-x | recipes/sysvinit/sysvinit/rcS | 3 | ||||
-rw-r--r-- | recipes/sysvinit/sysvinit_2.86.bb | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/recipes/sysvinit/sysvinit/rcS b/recipes/sysvinit/sysvinit/rcS index e1c8b57ea1..15b90f79c5 100755 --- a/recipes/sysvinit/sysvinit/rcS +++ b/recipes/sysvinit/sysvinit/rcS @@ -16,6 +16,9 @@ export PATH runlevel prevlevel # [ -d "/proc/1" ] || mount proc /proc -t proc +# Make sure sys is mounted +[ -d "/sys/kernel" ] || mount sysfs /sys -t sysfs + # # See if system needs to be setup. This is ONLY meant to # be used for the initial setup after a fresh installation! diff --git a/recipes/sysvinit/sysvinit_2.86.bb b/recipes/sysvinit/sysvinit_2.86.bb index b62a4087bc..e546726ab9 100644 --- a/recipes/sysvinit/sysvinit_2.86.bb +++ b/recipes/sysvinit/sysvinit_2.86.bb @@ -2,7 +2,7 @@ DESCRIPTION = "System-V like init." SECTION = "base" LICENSE = "GPL" HOMEPAGE = "http://freshmeat.net/projects/sysvinit/" -PR = "r56" +PR = "r57" # USE_VT and SERIAL_CONSOLE are generally defined by the MACHINE .conf. # Set PACKAGE_ARCH appropriately. |