From 2c6aa735530353974ecfb0039f052d18a65d7c80 Mon Sep 17 00:00:00 2001 From: rocknix Date: Wed, 23 Jul 2025 21:23:29 +0000 Subject: [PATCH] Clean previous device release when doing a new build --- scripts/build_distro | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build_distro b/scripts/build_distro index 893e0f8f12..2f8f695287 100755 --- a/scripts/build_distro +++ b/scripts/build_distro @@ -75,6 +75,7 @@ fi # Prune old releases echo "Prune old releases: ${DISTRO}-${DEVICE}.${ARCH}-*" rm -f ./release/${DISTRO}-${DEVICE}.${ARCH}-* +rm -f ./target/${DISTRO}-${DEVICE}.${ARCH}-* # Remove image root rm -rf ./build.${DISTRO}-${DEVICE}.${ARCH}/image