diff options
author | Andrew Cady <d@cryptonomic.net> | 2022-01-11 01:15:21 -0500 |
---|---|---|
committer | Andrew Cady <d@cryptonomic.net> | 2022-01-11 01:15:21 -0500 |
commit | 6b03ec63de103b576a5c5148629f8f902a5ad8d4 (patch) | |
tree | b83d29b9483f6c129217e859a252ffd1807ea353 | |
parent | 8625a2997ab98edc22eaf51de57ed705ddcaba61 (diff) |
selfstrap: do not bind mount /dev
-rwxr-xr-x | selfstrap | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | ||
172 | cleanup_chroot() | 172 | cleanup_chroot() |