]> git.openpandora.org Git - openembedded.git/commitdiff
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 e1c8b57ea1a37c60c815af605992f02951d792e9..15b90f79c57610b16d939da79654c3a965b9fc38 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 b62a4087bca3e75a4c60f21dc1a9b6b106fad383..e546726ab9e861bdab6c014e4368ecf55dd4b062 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.