ci-test-sample/debian/patches/kylin-change-chroot-package...

22 lines
674 B
Diff

From: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Date: Tue, 18 Jul 2017 17:21:08 +0800
Subject: kylin-change-chroot-package-priority
---
scripts/build/lb_chroot_apt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/build/lb_chroot_apt b/scripts/build/lb_chroot_apt
index a800c63..20698df 100755
--- a/scripts/build/lb_chroot_apt
+++ b/scripts/build/lb_chroot_apt
@@ -131,7 +131,7 @@ case "${1}" in
case "${1}" in
install)
# Ensure local packages have priority
- echo "Pin-Priority: 1001" >> chroot/etc/apt/preferences
+ echo "Pin-Priority: 2000" >> chroot/etc/apt/preferences
;;
install-binary)