summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2022-01-11 01:15:21 -0500
committerAndrew Cady <d@cryptonomic.net>2022-01-11 01:15:21 -0500
commit6b03ec63de103b576a5c5148629f8f902a5ad8d4 (patch)
treeb83d29b9483f6c129217e859a252ffd1807ea353
parent8625a2997ab98edc22eaf51de57ed705ddcaba61 (diff)
selfstrap: do not bind mount /dev
-rwxr-xr-xselfstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/selfstrap b/selfstrap
index 75907fc..4a9f8e7 100755
--- a/selfstrap
+++ b/selfstrap
@@ -166,7 +166,7 @@ prepare_chroot()
166 [ -d "$TARGET"/sys ] || mkdir "$TARGET"/sys 166 [ -d "$TARGET"/sys ] || mkdir "$TARGET"/sys
167 mount -t proc proc "$TARGET"/proc 167 mount -t proc proc "$TARGET"/proc
168 mount -t sysfs sysfs "$TARGET"/sys 168 mount -t sysfs sysfs "$TARGET"/sys
169 mount --bind /dev "$TARGET"/dev 169 mount -t tmpfs tmpfs "$TARGET"/dev
170} 170}
171 171
172cleanup_chroot() 172cleanup_chroot()