Removing build directory after successful rpi build.

This commit is contained in:
Roland 2024-03-16 19:59:07 -06:00
parent a665677ecc
commit 9b32874f74
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

@ -48,4 +48,6 @@ grep "04-run-chroot.sh completed" "${SCRIPT_DIR}/build.log" >/dev/null 2>&1 || (
mv "${BUILD_DIR}"/deploy/*lite*xz "${SCRIPT_DIR}"/WROLPi-v"${VERSION}"-aarch64-lite.img.xz
mv "${BUILD_DIR}"/deploy/*desktop*xz "${SCRIPT_DIR}"/WROLPi-v"${VERSION}"-aarch64-desktop.img.xz
chmod 644 "${SCRIPT_DIR}"/*xz
chown 1000:1000 "${SCRIPT_DIR}"/*xz
chown -R 1000:1000 "${SCRIPT_DIR}"
rm -rf "${BUILD_DIR}"