From c1169e2491a3257a12aa3c5f1826fd44156c3ad4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 7 Sep 2011 16:02:03 +0200 Subject: Setting origin in apt release files for local packages to config/packages.chroot. --- scripts/build/lb_chroot_apt | 2 +- scripts/build/lb_chroot_archives | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build/lb_chroot_apt b/scripts/build/lb_chroot_apt index 2e00004c4..5a097c787 100755 --- a/scripts/build/lb_chroot_apt +++ b/scripts/build/lb_chroot_apt @@ -113,7 +113,7 @@ case "${1}" in 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_packages" >> chroot/etc/apt/preferences + echo "Pin: release o=config/packages.chroot" >> chroot/etc/apt/preferences case "${1}" in install) diff --git a/scripts/build/lb_chroot_archives b/scripts/build/lb_chroot_archives index ab767abcb..f1b22ed88 100755 --- a/scripts/build/lb_chroot_archives +++ b/scripts/build/lb_chroot_archives @@ -337,7 +337,7 @@ EOF # Generate Release echo "cd /root/packages && apt-ftparchive \ - -o APT::FTPArchive::Release::Origin=chroot_packages \ + -o APT::FTPArchive::Release::Origin=config/packages.chroot \ release . > Release" | Chroot chroot sh if [ "${LB_APT_SECURE}" = "true" ] -- cgit v1.2.3