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/ debootstrap/
*.iso *.iso
*.squashfs *.squashfs

View File

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