diff mbox series

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

Message ID 20220921151754.3961036-2-tjaalton@ubuntu.com
State New
Headers show
Series [v2,1/2,F/meta-hwe-5.15] UBUNTU: [Packaging] Migrate oem-20.04* to hwe-5.15 | expand

Commit Message

Timo Aaltonen Sept. 21, 2022, 3:17 p.m. UTC
From: Timo Aaltonen <timo.aaltonen@canonical.com>

BugLink: https://bugs.launchpad.net/bugs/1987507

Signed-off-by: Timo Aaltonen <timo.aaltonen@canonical.com>
---
 debian/package.config | 2 ++
 1 file changed, 2 insertions(+)

Comments

Kleber Souza Sept. 26, 2022, 8:01 a.m. UTC | #1
On 21.09.22 17:17, Timo Aaltonen wrote:
> From: Timo Aaltonen <timo.aaltonen@canonical.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1987507
> 
> Signed-off-by: Timo Aaltonen <timo.aaltonen@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
diff mbox series

Patch

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