Setting origin in apt release files for local packages to config/packages.chroot.

This commit is contained in:
Daniel Baumann 2011-09-07 16:02:03 +02:00
parent 0a32c8b6c0
commit c1169e2491
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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" ]