summaryrefslogtreecommitdiff
path: root/scripts/build/lb_chroot_apt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-06-15 22:08:23 +0200
committerDaniel Baumann <daniel@debian.org>2011-06-15 22:08:44 +0200
commitb86f9c6380cd28a8bfb163b42fb1e80f2f489685 (patch)
tree80977191eed8ab625bea2069cb7491909b9d44d0 /scripts/build/lb_chroot_apt
parentcfb6ecedfa5f923296c6ab23b7d1e8ec60f0f156 (diff)
downloadvyos-live-build-b86f9c6380cd28a8bfb163b42fb1e80f2f489685.tar.gz
vyos-live-build-b86f9c6380cd28a8bfb163b42fb1e80f2f489685.zip
Since we don't have global packages anymore, renaming lb_chroot_local-packages to lb_chroot_packages and config/chroot_local-packages to config/chroot_packages.
Diffstat (limited to 'scripts/build/lb_chroot_apt')
-rwxr-xr-xscripts/build/lb_chroot_apt6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/lb_chroot_apt b/scripts/build/lb_chroot_apt
index 010cc4ac6..ab926aa43 100755
--- a/scripts/build/lb_chroot_apt
+++ b/scripts/build/lb_chroot_apt
@@ -108,12 +108,12 @@ case "${1}" in
cp config/chroot_apt/preferences chroot/etc/apt/preferences
fi
- if Find_files config/chroot_local-packages/*.deb
+ if Find_files config/chroot_packages/*.deb
then
echo >> chroot/etc/apt/preferences
echo "# Added by lb_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: release o=chroot_packages" >> chroot/etc/apt/preferences
case "${1}" in
install)
@@ -236,7 +236,7 @@ EOF
fi
fi
- if Find_files config/chroot_local-packages/*.deb
+ if Find_files config/chroot_packages/*.deb
then
if [ -f chroot/etc/apt/preferences ]
then