Set -noappend to mksquashfs just in case

This commit is contained in:
Joshua Boniface 2023-09-01 15:41:54 -04:00
parent 07a50bc862
commit 2e746231cc
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ prepare_rootfs() {
if [[ -f artifacts/filesystem.squashfs ]]; then
rm -f artifacts/filesystem.squashfs &>/dev/null
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
sudo cp artifacts/filesystem.squashfs ${tempdir}/installer/live/filesystem.squashfs &>/dev/null || fail "Error copying squashfs to tempdir."
echo "done."