diff --git a/.gitignore b/.gitignore index 1e9b181..b061f8b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +artifacts/ debootstrap/ *.iso *.squashfs diff --git a/buildiso.sh b/buildiso.sh index 648cfb2..e50521c 100755 --- a/buildiso.sh +++ b/buildiso.sh @@ -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."