summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/build/chroot_archives3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/build/chroot_archives b/scripts/build/chroot_archives
index f634a625d..4d558c5bc 100755
--- a/scripts/build/chroot_archives
+++ b/scripts/build/chroot_archives
@@ -668,6 +668,9 @@ EOF
rm -f chroot/etc/apt/sources.list.d/packages.list
rm -rf chroot/root/packages
+ # Ensure package list is removed
+ rm -f chroot/root/packages.chroot
+
# Removing stage file
rm -f .build/chroot_archives
;;