Move autogen'd files to artifacts dir

This commit is contained in:
Joshua Boniface 2023-09-01 15:41:53 -04:00
parent 37190ba7e7
commit cf669b52c2
2 changed files with 7 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
artifacts/
debootstrap/
*.iso
*.squashfs

View File

@ -108,14 +108,18 @@ build_iso() {
popd &>/dev/null
echo "done."
echo -n "Moving generated ISO to '$(pwd)/pvc-installer.iso'... "
mv ${tempdir}/pvc-installer.iso pvc-installer.iso &>/dev/null || fail "Error moving ISO file."
echo -n "Moving generated ISO to './pvc-installer.iso'... "
mv ${tempdir}/pvc-installer.iso ../pvc-installer.iso &>/dev/null || fail "Error moving ISO file."
echo "done."
}
pushd artifacts/
prepare_iso
prepare_rootfs
build_iso
cleanup
popd
echo "PVC Live Installer ISO generation complete."