Move autogen'd files to artifacts dir

This commit is contained in:
Joshua Boniface 2019-06-14 13:32:33 -04:00
parent d330ece144
commit 6393215e14
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."