diff options
-rwxr-xr-x | protostar | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2,6 +2,7 @@ set -e set -u +set -o pipefail dpkg -l ufsutils genisoimage debootstrap @@ -312,7 +313,7 @@ size=$(du -s -m "${BOOTARCH}" | cut -f1) dd if=/dev/zero of="${ROOT}/boot/boot_archive" bs=1M count="$size" lofidev=$(lofiadm -a "${ROOT}/boot/boot_archive") rlofidev="${lofidev/lofi/rlofi}" -yes | newfs -m 0 "${rlofidev}" +echo -n y | newfs -m 0 "${rlofidev}" mkdir -p "${ROOT}/boot/boot_archive.mount" mount "${lofidev}" "${ROOT}/boot/boot_archive.mount" mv "${BOOTARCH}"/* "${ROOT}/boot/boot_archive.mount"/ |