summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_apt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-04-09 14:40:36 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:44 +0100
commit40988d5de33ae904aa431a4714db0d4f84248abf (patch)
tree131174b0595131681e201b272650453ca1380032 /helpers/lh_chroot_apt
parent39876e86b9a1e225151f315883b69a011a98b46a (diff)
downloadlive-build-40988d5de33ae904aa431a4714db0d4f84248abf.zip
live-build-40988d5de33ae904aa431a4714db0d4f84248abf.tar.gz
Removing some code in chroot_apt helper that left over the preferences files in the final image.
Diffstat (limited to 'helpers/lh_chroot_apt')
-rwxr-xr-xhelpers/lh_chroot_apt15
1 files changed, 0 insertions, 15 deletions
diff --git a/helpers/lh_chroot_apt b/helpers/lh_chroot_apt
index 1d2dd73..1196cea 100755
--- a/helpers/lh_chroot_apt
+++ b/helpers/lh_chroot_apt
@@ -207,21 +207,6 @@ case "${1}" in
rm -f chroot/etc/apt/preferences
fi
- if Find_files config/chroot_local-packages/*.deb
- then
- # Ensure local packages are not replaced.
- echo >> chroot/etc/apt/preferences
- echo "# Added by lh_chroot_apt ${@}" >> chroot/etc/apt/preferences
- echo "Package: *" >> chroot/etc/apt/preferences
- echo "Pin: release o=chroot_local-packages" >> chroot/etc/apt/preferences
- echo "Pin-Priority: 99" >> chroot/etc/apt/preferences
-
- echo >> chroot/etc/apt/preferences
- echo "Package: *" >> chroot/etc/apt/preferences
- echo "Pin: release o=debian" >> chroot/etc/apt/preferences
- echo "Pin-Priority: 99" >> chroot/etc/apt/preferences
- fi
-
# Removing stage file
rm -f .stage/chroot_apt
;;