[SCM] debian-live branch, master, updated. 1.0_a48-1-75-gf5d6f58

Daniel Baumann daniel at debian.org
Thu Aug 14 03:57:41 UTC 2008


The following commit has been merged in the master branch:
commit 252ee4f32c1ce488c4102652cbc94e4849a0c596
Author: Chris Lamb <chris at chris-lamb.co.uk>
Date:   Thu Aug 14 01:39:21 2008 +0100

    Add informational comments to generated /etc/apt/preferences stanzas.
    
    Signed-off-by: Chris Lamb <chris at chris-lamb.co.uk>

diff --git a/helpers/lh_chroot_apt b/helpers/lh_chroot_apt
index 766875f..62a0908 100755
--- a/helpers/lh_chroot_apt
+++ b/helpers/lh_chroot_apt
@@ -120,6 +120,7 @@ case "${1}" in
 			fi
 
 			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
 
@@ -184,6 +185,7 @@ case "${1}" in
 		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

-- 
debian-live



More information about the debian-live-changes mailing list