summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSimon Rettberg2019-06-18 17:11:54 +0200
committerSimon Rettberg2019-06-18 17:11:54 +0200
commit3715ae5ecc388c30d7eac80a689ee72b160b6a0e (patch)
tree802f60223e4ccfd6356773f20eb8269795cad8c7 /core
parent[hardware-stats] Fix inverted logic for fallback (diff)
downloadmltk-3715ae5ecc388c30d7eac80a689ee72b160b6a0e.tar.gz
mltk-3715ae5ecc388c30d7eac80a689ee72b160b6a0e.tar.xz
mltk-3715ae5ecc388c30d7eac80a689ee72b160b6a0e.zip
[rootfs-stage31] Move /dev to future root
Diffstat (limited to 'core')
-rwxr-xr-xcore/rootfs/rootfs-stage31/data/init2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/rootfs/rootfs-stage31/data/init b/core/rootfs/rootfs-stage31/data/init
index 9aa0eb06..90439500 100755
--- a/core/rootfs/rootfs-stage31/data/init
+++ b/core/rootfs/rootfs-stage31/data/init
@@ -189,6 +189,8 @@ bench_event "PRESWITCH" "Switching to stage 3.2"
for mnt in run tmp; do
busybox umount -f -l "/$mnt" 2>/dev/null
done
+mkdir -p /mnt/dev
+busybox mount -o move /dev /mnt/dev
echo "Waiting for async processes..."
wait