summaryrefslogtreecommitdiff
path: root/scripts/build/lb_chroot_apt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-09-26 12:38:38 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:19:23 +0100
commitc5c3f6133a0fb62ba9c2c3b839e6ea5774f9c76a (patch)
tree44a6d3a12cd11067aea2a4d43eb9133cc25bad2f /scripts/build/lb_chroot_apt
parent941a47be0ca3061f54a237583092357d1ff80f7c (diff)
downloadvyos-live-build-c5c3f6133a0fb62ba9c2c3b839e6ea5774f9c76a.tar.gz
vyos-live-build-c5c3f6133a0fb62ba9c2c3b839e6ea5774f9c76a.zip
Adding debian version 3.0~a1-1.
Diffstat (limited to 'scripts/build/lb_chroot_apt')
-rwxr-xr-xscripts/build/lb_chroot_apt10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/build/lb_chroot_apt b/scripts/build/lb_chroot_apt
index e60e60a36..3a2152594 100755
--- a/scripts/build/lb_chroot_apt
+++ b/scripts/build/lb_chroot_apt
@@ -1,7 +1,7 @@
#!/bin/sh
## live-build(7) - System Build Scripts
-## Copyright (C) 2006-2011 Daniel Baumann <daniel@debian.org>
+## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org>
##
## live-build comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
@@ -122,7 +122,7 @@ case "${1}" in
if Find_files config/chroot_local-packages/*.deb
then
echo >> chroot/etc/apt/preferences
- echo "# Added by lb_chroot_apt ${@}" >> 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
@@ -133,7 +133,7 @@ case "${1}" in
;;
install-binary)
- # Ensure local packages are not re-installed during lb_binary
+ # Ensure local packages are not re-installed during lh_binary
echo "Pin-Priority: 99" >> chroot/etc/apt/preferences
echo >> chroot/etc/apt/preferences
@@ -220,8 +220,8 @@ case "${1}" in
then
if [ -f chroot/etc/apt/preferences ]
then
- # delete additions from lb_chroot_apt install|install-binary to preferences
- sed -i '/# Added by lb_chroot_apt/,$d' chroot/etc/apt/preferences
+ # delete additions from lh_chroot_apt install|install-binary to preferences
+ sed -i '/# Added by lh_chroot_apt/,$d' chroot/etc/apt/preferences
# delete the last empty line
sed -i '${/^[[:blank:]]*$/d;}' chroot/etc/apt/preferences
# if the resulting preferences file is empty there was no user additions, remove it