summaryrefslogtreecommitdiff
path: root/scripts/build/lb_chroot_apt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-02-04 22:33:59 +0100
committerDaniel Baumann <daniel@debian.org>2012-02-06 23:15:13 +0100
commit7e1fc7431c2324cc5c633897ddd2036e08a13ffc (patch)
tree087c075c1f67e16a545019d71a5c6e70359f5c3a /scripts/build/lb_chroot_apt
parent5605701973d591b977b070d0dd6a130eec93013e (diff)
downloadvyos-live-build-7e1fc7431c2324cc5c633897ddd2036e08a13ffc.tar.gz
vyos-live-build-7e1fc7431c2324cc5c633897ddd2036e08a13ffc.zip
Avoid removing populated apt preferences file in derivative mode.
Diffstat (limited to 'scripts/build/lb_chroot_apt')
-rwxr-xr-xscripts/build/lb_chroot_apt2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/build/lb_chroot_apt b/scripts/build/lb_chroot_apt
index ad4bbe83b..f981c5298 100755
--- a/scripts/build/lb_chroot_apt
+++ b/scripts/build/lb_chroot_apt
@@ -296,8 +296,6 @@ EOF
fi
- rm -f "chroot/etc/apt/preferences.d/${LB_MODE}.pref"
-
# Removing stage file
rm -f .stage/chroot_apt
;;