From 990dcf2eed4e5b3a9d6b4e9edefb255de095e922 Mon Sep 17 00:00:00 2001 From: Victor Gavro Date: Tue, 19 May 2020 02:14:20 +0300 Subject: chroot_apt: fixed adding Pin-Priority (broken in da1fab11) Fixes !201 --- scripts/build/chroot_apt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/build/chroot_apt b/scripts/build/chroot_apt index 466d1fe2e..557f1a2c9 100755 --- a/scripts/build/chroot_apt +++ b/scripts/build/chroot_apt @@ -121,11 +121,11 @@ case "${_ACTION}" in then CHROOT_FILE="chroot/etc/apt/preferences" echo >> ${CHROOT_FILE} - echo "# Added by lb_chroot_apt ${@}" >> ${CHROOT_FILE} + echo "# Added by lb_chroot_apt ${_ACTION} ${@}" >> ${CHROOT_FILE} echo "Package: *" >> ${CHROOT_FILE} echo "Pin: release o=config/packages.chroot" >> ${CHROOT_FILE} - case "${1}" in + case "${_ACTION}" in install) # Ensure local packages have priority echo "Pin-Priority: 1001" >> ${CHROOT_FILE} -- cgit v1.2.3