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/ 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."