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

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Dimitri John Ledkov
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 <[hidden email]>
---
 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


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

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

Paolo Pisati-5
On Tue, Aug 6, 2019 at 3:51 PM Dimitri John Ledkov <[hidden email]> 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 <[hidden email]>

Built several snaps (pc-kernel and pi-kernel) with different sets of
$PKGS - does what is says.

Acked-by: Paolo Pisati <[hidden email]>

--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

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

Kleber Souza
In reply to this post by Dimitri John Ledkov
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 <[hidden email]>

Acked-by: Kleber Sacilotto de Souza <[hidden email]>

> ---
>  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
>


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

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

Paolo Pisati-5
On Wed, Aug 7, 2019 at 12:05 PM Kleber Souza <[hidden email]> wrote:

>
> 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 <[hidden email]>
>
> Acked-by: Kleber Sacilotto de Souza <[hidden email]>

Applied and pushed.

--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team