diff options
author | Andrew Cady <d@cryptonomic.net> | 2022-01-11 02:56:32 -0500 |
---|---|---|
committer | Andrew Cady <d@cryptonomic.net> | 2022-01-11 02:56:32 -0500 |
commit | dcd1b899cef238c77c9a3169017dfaa5e7b7f4e3 (patch) | |
tree | d8b5e83d32bf552d9507efe73dd41c0749137cfb | |
parent | 3bb23d7b56a6801ba9d7dfd29598ad0479e68efb (diff) |
back to mount --bind /dev
-rwxr-xr-x | selfstrap | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | ||
186 | cleanup_chroot() | 186 | cleanup_chroot() |