summaryrefslogtreecommitdiffstats
path: root/remote/rootfs
diff options
context:
space:
mode:
authorJonathan Bauer2014-06-10 17:57:15 +0200
committerJonathan Bauer2014-06-10 17:57:15 +0200
commitc07694cc3814733ac449794c8375c44ddf9c9cae (patch)
tree052e18d4e57e095fc9ec30cd81a3bfcf94e89a4b /remote/rootfs
parentfix wrong shell used in a few scripts (diff)
downloadtm-scripts-c07694cc3814733ac449794c8375c44ddf9c9cae.tar.gz
tm-scripts-c07694cc3814733ac449794c8375c44ddf9c9cae.tar.xz
tm-scripts-c07694cc3814733ac449794c8375c44ddf9c9cae.zip
oopsie
Diffstat (limited to 'remote/rootfs')
-rwxr-xr-xremote/rootfs/rootfs-stage31/data/init4
1 files changed, 2 insertions, 2 deletions
diff --git a/remote/rootfs/rootfs-stage31/data/init b/remote/rootfs/rootfs-stage31/data/init
index 016ad73b..77ca450f 100755
--- a/remote/rootfs/rootfs-stage31/data/init
+++ b/remote/rootfs/rootfs-stage31/data/init
@@ -23,6 +23,8 @@ export PATH=/bin:/sbin:/usr/bin:/usr/sbin
[ ! -f /proc/cpuinfo ] && busybox mount -n -t proc proc /proc
bench_event "KERNEL" "Kernel initialized"
[ ! -d /sys/class ] && busybox mount -n -t sysfs sysfs /sys
+# let kernel know that mdev is to be used for hotplug
+busybox mount -n -t devtmpfs -o 'rw,relatime,nosuid,noexec,mode=0755' initramfsdevs /dev
# NOTE: busybox mount is only available through the busybox binary,
# the link had to be dropped, to prevent bugs in the stage32.
busybox mount -n -t tmpfs -o 'mode=755' run "/run"
@@ -33,8 +35,6 @@ mkdir -p "$FUTURE_ROOT" /rorootfs
busybox mount -n -t tmpfs -o 'mode=755' none "$FUTURE_ROOT"
mkdir -p "$FUTURE_ROOT/opt/openslx"
-# let kernel know that mdev is to be used for hotplug
-busybox mount -n -t devtmpfs -o 'rw,relatime,nosuid,noexec,mode=0755' initramfsdevs /dev
# read kernel command line
DEBUG=0