Set -noappend to mksquashfs just in case
This commit is contained in:
parent
6fef26e722
commit
e3d0a4bf5d
|
@ -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."
|
||||||
|
|
Loading…
Reference in New Issue