[linux-snap][PATCH][Bionic][Xenial] Pin any PPAs to the same priority as -updates.
Dimitri John Ledkov
xnox at ubuntu.com
Tue Aug 6 13:51:24 UTC 2019
PPAs only have "release" pocket, and do not have -updates, thus at the
moment they get pinned down lower than -updates. Normally, the
snappy-dev/image ppa should be treated on the same priority as
-updates.
Signed-off-by: Dimitri John Ledkov <xnox at ubuntu.com>
---
At the moment, I'm trying to build linux-snap with amd64-microcode
package pulled in from the snappy-dev/image ppa, however, since
linux-snap is built with proposed=true and ellaborate apt_preferences
pinning in place, amd64-microcode is pulled in from bionic-updates,
instead of the PPA. This fixes the issue, by elevating packages from
the enabled PPAs to at least as high as -updates.
Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Makefile b/Makefile
index 3725b00..bb719c8 100644
--- a/Makefile
+++ b/Makefile
@@ -43,6 +43,10 @@ Package: linux-*
Pin: release a=$(RELEASE)-proposed
Pin-Priority: 750
+Package: *
+Pin: origin "ppa.launchpad.net"
+Pin-Priority: 720
+
Package: *
Pin: release a=$(RELEASE)-updates
Pin-Priority: 720
--
2.20.1
More information about the kernel-team
mailing list