summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorjnqnfe <jnqnfe@gmail.com>2015-01-22 12:39:22 +0000
committerLyndon Brown <jnqnfe@gmail.com>2020-03-05 02:40:42 +0000
commitf3ebc44e1356b90910afed2524ec8b763ca1095a (patch)
tree371767577c31abef0dcac101ecb20b78a93a0c67 /scripts
parent25b44ac8dffb6c31ffdbf3b55a6533fb664a8664 (diff)
downloadvyos-live-build-f3ebc44e1356b90910afed2524ec8b763ca1095a.tar.gz
vyos-live-build-f3ebc44e1356b90910afed2524ec8b763ca1095a.zip
archives: fix removal of chroot/root/packages.chroot package list
Gbp-Dch: Short Closes: #952838
Diffstat (limited to 'scripts')
-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
;;