summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2022-01-11 02:56:32 -0500
committerAndrew Cady <d@cryptonomic.net>2022-01-11 02:56:32 -0500
commitdcd1b899cef238c77c9a3169017dfaa5e7b7f4e3 (patch)
treed8b5e83d32bf552d9507efe73dd41c0749137cfb
parent3bb23d7b56a6801ba9d7dfd29598ad0479e68efb (diff)
back to mount --bind /dev
-rwxr-xr-xselfstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/selfstrap b/selfstrap
index ff8408b..3521bb2 100755
--- a/selfstrap
+++ b/selfstrap
@@ -180,7 +180,7 @@ prepare_chroot()
180 [ -d "$TARGET"/sys ] || mkdir "$TARGET"/sys 180 [ -d "$TARGET"/sys ] || mkdir "$TARGET"/sys
181 mountpoint -q "$TARGET"/proc || mount -t proc proc "$TARGET"/proc 181 mountpoint -q "$TARGET"/proc || mount -t proc proc "$TARGET"/proc
182 mountpoint -q "$TARGET"/sys || mount -t sysfs sysfs "$TARGET"/sys 182 mountpoint -q "$TARGET"/sys || mount -t sysfs sysfs "$TARGET"/sys
183 mountpoint -q "$TARGET"/dev || mount -t tmpfs tmpfs "$TARGET"/dev 183 mountpoint -q "$TARGET"/dev || mount --bind /dev "$TARGET"/dev
184} 184}
185 185
186cleanup_chroot() 186cleanup_chroot()