sysvinit: make sure /sys is mounted at bootup
authorPhil Blundell <philb@gnu.org>
Wed, 17 Jun 2009 08:06:59 +0000 (09:06 +0100)
committerPhil Blundell <philb@gnu.org>
Wed, 17 Jun 2009 08:06:59 +0000 (09:06 +0100)
recipes/sysvinit/sysvinit/rcS
recipes/sysvinit/sysvinit_2.86.bb

index e1c8b57..15b90f7 100755 (executable)
@@ -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!
index b62a408..e546726 100644 (file)
@@ -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.