Build fixes.

This commit is contained in:
fewtarius 2022-04-12 12:58:05 -04:00
parent 4730409324
commit 8405e5ae9f
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -26,10 +26,12 @@ PKG_CLEAN="${PKG_CLEAN} modules emulationstation retroarch lib32 jelos"
# Clean a few packages to ensure the build date and version are updated
for package in ${PKG_CLEAN}
do
echo "Clean: ${package}"
./scripts/clean ${package}
done
# Clean out old builds before starting the new one.
echo "Prune old releases: ${DISTRO}-${DEVICE}.${ARCH}-*"
rm -f ./release/${DISTRO}-${DEVICE}.${ARCH}-*
# Remove the image root as it should be regenerated for every build.