Sometimes clean doesn't remove initramfs, if it persists, kill it.

This commit is contained in:
fewtarius 2022-07-23 09:57:45 -04:00
parent 18482b65ab
commit 8aac669f3d
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -50,6 +50,11 @@ PKG_CLEAN="${PKG_CLEAN} mupen64plus-nx mupen64plus flycast_libretro dosbox-pure
PKG_CLEAN="${PKG_CLEAN} system-utils plymouth-lite initramfs busybox linux grub u-boot SDL2 modules \
emulationstation retroarch lib32 jelos"
if [ -d "build.${DISTRO}-${DEVICE_ROOT}.${ARCH}/initramfs" ]
then
rm -rf build.${DISTRO}-${DEVICE_ROOT}.${ARCH}/initramfs
fi
# Clean a few packages to ensure the build date and version are updated
for package in ${PKG_CLEAN}
do