From 77bf7d8f008775376cfbaacb05ef62afd386703b Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Wed, 17 Jun 2009 09:06:59 +0100 Subject: sysvinit: make sure /sys is mounted at bootup --- recipes/sysvinit/sysvinit/rcS | 3 +++ recipes/sysvinit/sysvinit_2.86.bb | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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. -- cgit v1.2.3