Set -noappend to mksquashfs just in case

This commit is contained in:
Joshua Boniface 2019-06-17 10:27:59 -04:00
parent 6fef26e722
commit e3d0a4bf5d
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ prepare_rootfs() {
if [[ -f artifacts/filesystem.squashfs ]]; then if [[ -f artifacts/filesystem.squashfs ]]; then
rm -f artifacts/filesystem.squashfs &>/dev/null rm -f artifacts/filesystem.squashfs &>/dev/null
fi fi
sudo nice mksquashfs ${tempdir}/rootfs/ artifacts/filesystem.squashfs -e boot &>/dev/null || fail "Error generating squashfs." sudo nice mksquashfs -noappend ${tempdir}/rootfs/ artifacts/filesystem.squashfs -e boot &>/dev/null || fail "Error generating squashfs."
fi fi
sudo cp artifacts/filesystem.squashfs ${tempdir}/installer/live/filesystem.squashfs &>/dev/null || fail "Error copying squashfs to tempdir." sudo cp artifacts/filesystem.squashfs ${tempdir}/installer/live/filesystem.squashfs &>/dev/null || fail "Error copying squashfs to tempdir."
echo "done." echo "done."