We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 068d61d commit 6d754f8Copy full SHA for 6d754f8
rootfs/make_rootfs.sh
@@ -141,9 +141,9 @@ do_chroot() {
141
mount -o bind /tmp "$DEST/tmp"
142
chroot "$DEST" mount -t proc proc /proc
143
chroot "$DEST" mount -t sysfs sys /sys
144
+ chroot "$DEST" mount --bind /dev/null /proc/mdstat
145
chroot "$DEST" $cmd
- chroot "$DEST" umount /sys
146
- chroot "$DEST" umount /proc
+ chroot "$DEST" umount /sys /proc/mdstat /proc
147
umount "$DEST/tmp"
148
}
149
@@ -295,6 +295,7 @@ mkdir -p "$DEST/usr"
295
rm -f "$DEST/usr/bin/qemu-arm-static"
296
rm -f "$DEST/usr/bin/qemu-aarch64-static"
297
rm -f "$DEST/usr/sbin/policy-rc.d"
298
+rm -f "$DEST/usr/local/bin/mdadm"
299
rm -f "$DEST/var/lib/dbus/machine-id"
300
rm -f "$DEST/SHA256SUMS"
301
0 commit comments