[PATCH v2 2/2][F/lrm-hwe-5.15] UBUNTU: [Packaging] Migrate oem-20.04 to hwe-5.15

Kleber Souza kleber.sacilotto.de.souza at canonical.com
Mon Sep 26 08:01:13 UTC 2022


On 21.09.22 17:17, Timo Aaltonen wrote:
> From: Timo Aaltonen <timo.aaltonen at canonical.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1987507
> 
> Signed-off-by: Timo Aaltonen <timo.aaltonen at canonical.com>
> ---
>   debian/package.config | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/debian/package.config b/debian/package.config
> index 2a750b0..3647382 100644
> --- a/debian/package.config
> +++ b/debian/package.config
> @@ -3,4 +3,6 @@ option desktop
>   option server
>   transitional 440-oem-20.04 450-generic amd64
>   transitional 450-oem-20.04 450-generic amd64
> +transitional 470-oem-20.04 470-hwe-20.04 amd64
> +transitional 510-oem-20.04 510-hwe-20.04 amd64
>   suppress nvidia-graphics-drivers-390

This patch doesn't have any effect. I'm not NAK'ing it because
it's not clear yet how to solve the problem but here is some
background:

After applying this patch and running 'debian/rules clean' the
resulting control file doesn't have any oem transitional package,
also none for the ones already present in the config file. The
'transitional' keyword is used by 'debian/scripts/gen-rules.lrm'
to create the entries in 'debian/control.d/transitionals-local',
however, this file is not included by 'debian/rules.in' in the
final control file because it filters our any
'debian/control.d/transitionals-*' for packages without the '--'
variant.

This exclusion is necessary and needed in some circumstances,
but there are some cases like this one for which we do want to
transition to a non default variant. So before applying or
NAK'ing this patch we need to come with a solution for this
issue.

Kleber




More information about the kernel-team mailing list