[gnome-continuous-yocto/gnomeostree-3.28-rocko: 229/8267] busybox/mdev: Ensure /sys is mounted before using it
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 229/8267] busybox/mdev: Ensure /sys is mounted before using it
- Date: Sat, 16 Dec 2017 20:08:03 +0000 (UTC)
commit ec8c9eb269bc1f6eda04b65cc900a0ca28feede6
Author: Khem Raj <raj khem gmail com>
Date: Wed May 11 10:35:19 2016 -0700
busybox/mdev: Ensure /sys is mounted before using it
echo would fail if /sys is not mounted and boot would abort
(From OE-Core rev: b8901336e72639342a1d784557043fa47a9d90ff)
Signed-off-by: Khem Raj <raj khem gmail com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/recipes-core/busybox/files/mdev | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/meta/recipes-core/busybox/files/mdev b/meta/recipes-core/busybox/files/mdev
index 9625247..8c9c06e 100755
--- a/meta/recipes-core/busybox/files/mdev
+++ b/meta/recipes-core/busybox/files/mdev
@@ -1,10 +1,12 @@
#!/bin/sh
-
+mount -t proc proc /proc
+mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev -o size=64k,mode=0755
mkdir /dev/pts /dev/shm
chmod 777 /dev/shm
mount -t devpts devpts /dev/pts
touch /dev/mdev.seq
+#sysctl -w kernel.hotplug=/sbin/mdev
echo "/sbin/mdev" > /proc/sys/kernel/hotplug
mdev -s
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]