[isar-cip-core][PATCH 1/1] add support to install efibootguard in cross env


Jan Kiszka
 

On 13.10.22 16:40, Felix Moessbauer wrote:
This patch reworks the python dependency of efibootguard to allow to
install this package in a cross chroot.

Signed-off-by: Felix Moessbauer <felix.moessbauer@...>
---
recipes-bsp/efibootguard/files/debian/control.tmpl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-bsp/efibootguard/files/debian/control.tmpl b/recipes-bsp/efibootguard/files/debian/control.tmpl
index f8bdd8a..626d43f 100644
--- a/recipes-bsp/efibootguard/files/debian/control.tmpl
+++ b/recipes-bsp/efibootguard/files/debian/control.tmpl
@@ -7,7 +7,7 @@ Homepage: ${HOMEPAGE}
Maintainer: ${MAINTAINER}

Package: ${PN}
-Depends: ${shlibs:Depends}, python3
+Depends: ${shlibs:Depends}, python3:any
Section: base
Architecture: ${DISTRO_ARCH}
Priority: required
Also an issue in Debian upstream?

Jan

--
Siemens AG, Technology
Competence Center Embedded Linux


Felix Moessbauer <felix.moessbauer@...>
 

This patch reworks the python dependency of efibootguard to allow to
install this package in a cross chroot.

Signed-off-by: Felix Moessbauer <felix.moessbauer@...>
---
recipes-bsp/efibootguard/files/debian/control.tmpl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-bsp/efibootguard/files/debian/control.tmpl b/recipes-bsp/efibootguard/files/debian/control.tmpl
index f8bdd8a..626d43f 100644
--- a/recipes-bsp/efibootguard/files/debian/control.tmpl
+++ b/recipes-bsp/efibootguard/files/debian/control.tmpl
@@ -7,7 +7,7 @@ Homepage: ${HOMEPAGE}
Maintainer: ${MAINTAINER}

Package: ${PN}
-Depends: ${shlibs:Depends}, python3
+Depends: ${shlibs:Depends}, python3:any
Section: base
Architecture: ${DISTRO_ARCH}
Priority: required
--
2.30.2


Jan Kiszka
 

On 13.10.22 16:40, Felix Moessbauer wrote:
This patch reworks the python dependency of efibootguard to allow to
install this package in a cross chroot.

Signed-off-by: Felix Moessbauer <felix.moessbauer@...>
---
recipes-bsp/efibootguard/files/debian/control.tmpl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-bsp/efibootguard/files/debian/control.tmpl b/recipes-bsp/efibootguard/files/debian/control.tmpl
index f8bdd8a..626d43f 100644
--- a/recipes-bsp/efibootguard/files/debian/control.tmpl
+++ b/recipes-bsp/efibootguard/files/debian/control.tmpl
@@ -7,7 +7,7 @@ Homepage: ${HOMEPAGE}
Maintainer: ${MAINTAINER}

Package: ${PN}
-Depends: ${shlibs:Depends}, python3
+Depends: ${shlibs:Depends}, python3:any
Section: base
Architecture: ${DISTRO_ARCH}
Priority: required
Thanks, applied.

Jan

--
Siemens AG, Technology
Competence Center Embedded Linux


MOESSBAUER, FELIX JONATHAN <felix.moessbauer@...>
 

-----Original Message-----
From: Kiszka, Jan (T CED) <jan.kiszka@...>
Sent: Thursday, October 13, 2022 11:00 PM
To: Moessbauer, Felix Jonathan (T CED INW-CN)
<felix.moessbauer@...>; cip-dev@...; Gylstorff,
Quirin (T CED SES-DE) <quirin.gylstorff@...>
Subject: Re: [isar-cip-core][PATCH 1/1] add support to install efibootguard in
cross env

On 13.10.22 16:40, Felix Moessbauer wrote:
This patch reworks the python dependency of efibootguard to allow to
install this package in a cross chroot.

Signed-off-by: Felix Moessbauer <felix.moessbauer@...>
---
recipes-bsp/efibootguard/files/debian/control.tmpl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-bsp/efibootguard/files/debian/control.tmpl
b/recipes-bsp/efibootguard/files/debian/control.tmpl
index f8bdd8a..626d43f 100644
--- a/recipes-bsp/efibootguard/files/debian/control.tmpl
+++ b/recipes-bsp/efibootguard/files/debian/control.tmpl
@@ -7,7 +7,7 @@ Homepage: ${HOMEPAGE}
Maintainer: ${MAINTAINER}

Package: ${PN}
-Depends: ${shlibs:Depends}, python3
+Depends: ${shlibs:Depends}, python3:any
Section: base
Architecture: ${DISTRO_ARCH}
Priority: required
Also an issue in Debian upstream?
Actually, I was not aware that this is already in Debian testing.
The upstream package is affected by this bug as well, but there are more issues.
For details, see https://tracker.debian.org/pkg/efibootguard

I can have a look and submit via Quirin, as he is the maintainer.

Felix


Jan

--
Siemens AG, Technology
Competence Center Embedded Linux


MOESSBAUER, FELIX JONATHAN <felix.moessbauer@...>
 

-----Original Message-----
From: Moessbauer, Felix Jonathan (T CED INW-CN)
Sent: Friday, October 14, 2022 9:40 AM
To: Kiszka, Jan (T CED) <jan.kiszka@...>; cip-dev@...
project.org; Gylstorff, Quirin (T CED SES-DE) <quirin.gylstorff@...>
Subject: RE: [isar-cip-core][PATCH 1/1] add support to install efibootguard in
cross env

-----Original Message-----
From: Kiszka, Jan (T CED) <jan.kiszka@...>
Sent: Thursday, October 13, 2022 11:00 PM
To: Moessbauer, Felix Jonathan (T CED INW-CN)
<felix.moessbauer@...>; cip-dev@...;
Gylstorff, Quirin (T CED SES-DE) <quirin.gylstorff@...>
Subject: Re: [isar-cip-core][PATCH 1/1] add support to install
efibootguard in cross env

On 13.10.22 16:40, Felix Moessbauer wrote:
This patch reworks the python dependency of efibootguard to allow to
install this package in a cross chroot.

Signed-off-by: Felix Moessbauer <felix.moessbauer@...>
---
recipes-bsp/efibootguard/files/debian/control.tmpl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-bsp/efibootguard/files/debian/control.tmpl
b/recipes-bsp/efibootguard/files/debian/control.tmpl
index f8bdd8a..626d43f 100644
--- a/recipes-bsp/efibootguard/files/debian/control.tmpl
+++ b/recipes-bsp/efibootguard/files/debian/control.tmpl
@@ -7,7 +7,7 @@ Homepage: ${HOMEPAGE}
Maintainer: ${MAINTAINER}

Package: ${PN}
-Depends: ${shlibs:Depends}, python3
+Depends: ${shlibs:Depends}, python3:any
Section: base
Architecture: ${DISTRO_ARCH}
Priority: required
Also an issue in Debian upstream?
Actually, I was not aware that this is already in Debian testing.
The upstream package is affected by this bug as well, but there are more issues.
For details, see https://tracker.debian.org/pkg/efibootguard

I can have a look and submit via Quirin, as he is the maintainer.
A Debian bot already opened a MR at salsa [1] to fix the multi-arch issues.
While at it, please also fix the python dependency.

@Quirin: If you need help, feel free to contact me directly.
Getting the multi-arch support right is crucial to bump ISAR, as now the imager runs "outside" and is no longer emulated for foreign architectures.

Felix

[1]: https://salsa.debian.org/debian/efibootguard/-/merge_requests/2


Felix


Jan

--
Siemens AG, Technology
Competence Center Embedded Linux