diff options
-rwxr-xr-x | scripts/build/chroot_apt | 4 |
1 files changed, 2 insertions, 2 deletions
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} |