summaryrefslogtreecommitdiff
path: root/scripts/build/lb_clean
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-09-07 15:08:14 +0200
committerDaniel Baumann <daniel@debian.org>2011-09-07 15:08:14 +0200
commitfa0ba13de67fdba694cf733a7c50529a79cc851c (patch)
tree24cea97cb7d74bd1f39fe4327acb3daf20361c12 /scripts/build/lb_clean
parented5212022c335ae6d18eefa8a40bbee2709ac34c (diff)
downloadvyos-live-build-fa0ba13de67fdba694cf733a7c50529a79cc851c.tar.gz
vyos-live-build-fa0ba13de67fdba694cf733a7c50529a79cc851c.zip
Renaming binary.packages list files (that contain what package is installed in the chroot) to chroot as they are build during chroot stage, this fixes some rebuild issues.
Diffstat (limited to 'scripts/build/lb_clean')
-rwxr-xr-xscripts/build/lb_clean4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/build/lb_clean b/scripts/build/lb_clean
index 666ffc966..d4864425b 100755
--- a/scripts/build/lb_clean
+++ b/scripts/build/lb_clean
@@ -86,6 +86,8 @@ do
${LB_ROOT_COMMAND} rm -rf chroot chroot.tmp
+ rm -f chroot.packages.live chroot.packages.install
+
rm -f .stage/chroot*
;;
@@ -96,7 +98,7 @@ do
rm -f binary*.img
rm -f binary*.tar.gz
rm -f binary.sh
- rm -f binary.list binary.packages binary.packages.install binary.packages.live md5sum.txt
+ rm -f binary.list md5sum.txt
rm -rf binary
rm -rf tftpboot