diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-08-14 01:39:21 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2008-08-14 05:44:23 +0200 |
commit | 252ee4f32c1ce488c4102652cbc94e4849a0c596 (patch) | |
tree | 9ac7469c08b8223e1f94be64ce368875362968b5 | |
parent | 266165bbe619bb971001ff942598f90ecc3daa4d (diff) | |
download | vyos-live-build-252ee4f32c1ce488c4102652cbc94e4849a0c596.tar.gz vyos-live-build-252ee4f32c1ce488c4102652cbc94e4849a0c596.zip |
Add informational comments to generated /etc/apt/preferences stanzas.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
-rwxr-xr-x | helpers/lh_chroot_apt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/helpers/lh_chroot_apt b/helpers/lh_chroot_apt index 766875f87..62a0908aa 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 |