From: Mike Westerhof Date: Sun, 14 Dec 2008 16:55:49 +0000 (-0600) Subject: SlugOS: turnup - ensure that /sys and /proc are mounted first in linuxrc X-Git-Tag: Release-2010-05/1~4767^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01d4ffb5c9229559938dde29f29c77404189870a;p=openembedded.git SlugOS: turnup - ensure that /sys and /proc are mounted first in linuxrc (fixes lack of "beep" when userspace starts) --- diff --git a/packages/slugos-init/files/turnup b/packages/slugos-init/files/turnup index 51b801dfea..4e92668b18 100644 --- a/packages/slugos-init/files/turnup +++ b/packages/slugos-init/files/turnup @@ -496,6 +496,8 @@ boot_rootfs() { return 1 };; ram) { echo '#!/bin/sh' + echo 'mount -t proc proc /proc' + echo 'mount -t sysfs sysfs /sys' echo 'leds beep' echo 'rm -f /linuxrc.new' echo 'ln -s boot/flash /linuxrc.new' @@ -508,6 +510,8 @@ boot_rootfs() { return 1 };; *) { echo '#!/bin/sh' + echo 'mount -t proc proc /proc' + echo 'mount -t sysfs sysfs /sys' echo 'leds beep' test "$sleep" -gt 0 && echo -n "sleep='$sleep' " test -n "$uuid" && echo -n "UUID='$uuid' "