ACK: [linux-snap][PATCH][Bionic][Xenial] Pin any PPAs to the same priority as -updates.

Kleber Souza kleber.souza at canonical.com
Wed Aug 7 10:05:02 UTC 2019


On 06.08.19 15:51, Dimitri John Ledkov wrote:
> 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>

Acked-by: Kleber Sacilotto de Souza <kleber.souza at canonical.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
> 




More information about the kernel-team mailing list