Correct conditional for archived squashfs
This commit is contained in:
parent
5d96b1acde
commit
72b773c778
|
@ -120,7 +120,7 @@ prepare_rootfs() {
|
||||||
echo "done."
|
echo "done."
|
||||||
|
|
||||||
echo -n "Generating squashfs image of live installation... "
|
echo -n "Generating squashfs image of live installation... "
|
||||||
if [[ ! -f artifacts/filesystem.squashfs && -z ${usecachedsquashfs} ]]; then
|
if [[ ! -f artifacts/filesystem.squashfs || -z ${usecachedsquashfs} ]]; then
|
||||||
sudo nice mksquashfs ${tempdir}/rootfs/ artifacts/filesystem.squashfs -e boot &>/dev/null || fail "Error generating squashfs."
|
sudo nice mksquashfs ${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."
|
||||||
|
|
Loading…
Reference in New Issue