Setting origin in apt release files for local packages to config/packages.chroot.
This commit is contained in:
parent
0a32c8b6c0
commit
c1169e2491
|
@ -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)
|
||||
|
|
|
@ -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" ]
|
||||
|
|
Loading…
Reference in New Issue