Skip to contentSkip to conversation

efibootguard: Update to latest debianization

PATCH Superseded Jan Kiszka 2 participants 3 messages Jan 16, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 efibootguard: Update to latest debianization

From: Jan Kiszka <[email protected]>

This fixes cross-building and allows to use python3-shtab in bookworm and newer from Debian directly.

---
 ...bootguard_0.16-1+cip.bb => efibootguard_0.16-3+cip.bb} | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
 rename recipes-bsp/efibootguard/{efibootguard_0.16-1+cip.bb => efibootguard_0.16-3+cip.bb} (89%)
recipes-bsp/efibootguard/efibootguard_0.16-3+cip.bb renamed from recipes-bsp/efibootguard/efibootguard_0.16-1+cip.bb +5 -3
similarity index 89%
rename from recipes-bsp/efibootguard/efibootguard_0.16-1+cip.bb
rename to recipes-bsp/efibootguard/efibootguard_0.16-3+cip.bb
index a7ffb00b..83be2a4d 100644
@@ -1,7 +1,7 @@
 #
 # CIP Core, generic profile
 #
-# Copyright (c) Siemens AG, 2020-2023
+# Copyright (c) Siemens AG, 2020-2024
 #
 # Authors:
 #  Quirin Gylstorff <[email protected]>
@@ -24,7 +24,7 @@ SRC_URI = " \
     file://debian-patches/0001-d-control-Make-compatible-with-debian-buster.patch \
     "
 SRC_URI[tarball.sha256sum] = "d6d37c59aed17489d02b4f0b63db16994dfb8f9f70f54be4d65c366f58c6be9d"
-SRCREV_debian = "2e80fafa87f8f6fd093f49ff33ad7cac61592871"
+SRCREV_debian = "22b173a3293c976c9dff2ae92085d7ed995f6768"
 
 PROVIDES = "libebgenv-dev libebgenv0 efibootguard"
 
@@ -34,7 +34,9 @@ PATCHTOOL = "git"
 
 inherit dpkg
 
-DEPENDS = "python3-shtab"
+DEPENDS:buster = "python3-shtab"
+DEPENDS:bullseye = "python3-shtab"
+
 # needed for buster, bullseye could use compat >= 13
 python() {
     arch = d.getVar('DISTRO_ARCH')
Signature · 1 line
2.35.3
#1 lore raw
Quoted 37 lines · Jan Kiszka

From: Jan Kiszka <[email protected]>

This fixes cross-building and allows to use python3-shtab in bookworm and newer from Debian directly.

---
  ...bootguard_0.16-1+cip.bb => efibootguard_0.16-3+cip.bb} | 8 +++++---
  1 file changed, 5 insertions(+), 3 deletions(-)

rename recipes-bsp/efibootguard/{efibootguard_0.16-1+cip.bb => efibootguard_0.16-3+cip.bb} (89%)

recipes-bsp/efibootguard/efibootguard_0.16-3+cip.bb renamed from recipes-bsp/efibootguard/efibootguard_0.16-1+cip.bb +2 -2
similarity index 89%
rename from recipes-bsp/efibootguard/efibootguard_0.16-1+cip.bb
rename to recipes-bsp/efibootguard/efibootguard_0.16-3+cip.bb
index a7ffb00b..83be2a4d 100644
@@ -1,7 +1,7 @@
  #
  # CIP Core, generic profile
  #
-# Copyright (c) Siemens AG, 2020-2023
+# Copyright (c) Siemens AG, 2020-2024
  #
  # Authors:
  #  Quirin Gylstorff <[email protected]>
@@ -24,7 +24,7 @@ SRC_URI = " \
      file://debian-patches/0001-d-control-Make-compatible-with-debian-buster.patch \
      "
  SRC_URI[tarball.sha256sum] = "d6d37c59aed17489d02b4f0b63db16994dfb8f9f70f54be4d65c366f58c6be9d"
-SRCREV_debian = "2e80fafa87f8f6fd093f49ff33ad7cac61592871"
+SRCREV_debian = "22b173a3293c976c9dff2ae92085d7ed995f6768"
 
  PROVIDES = "libebgenv-dev libebgenv0 efibootguard"
 

recipes-bsp/efibootguard/efibootguard_0.16-3+cip.bb PATCHTOOL = "git" · line 38

Quoted 6 lines
recipes-bsp/efibootguard/efibootguard_0.16-3+cip.bb renamed from recipes-bsp/efibootguard/efibootguard_0.16-1+cip.bb +2 -1
@@ -34,7 +34,9 @@ PATCHTOOL = "git"
 
  inherit dpkg
 
-DEPENDS = "python3-shtab"
+DEPENDS:buster = "python3-shtab"
+DEPENDS:bullseye = "python3-shtab"

I think :native will fail for buster.

Kind regards,
Quirin

Quoted 4 lines
recipes-bsp/efibootguard/efibootguard_0.16-3+cip.bb renamed from recipes-bsp/efibootguard/efibootguard_0.16-1+cip.bb +1 -0
+
  # needed for buster, bullseye could use compat >= 13
  python() {
      arch = d.getVar('DISTRO_ARCH')
author
#2 lore raw
Quoted 39 lines · Gylstorff Quirin
Quoted 36 lines · Jan Kiszka

From: Jan Kiszka <[email protected]>

This fixes cross-building and allows to use python3-shtab in bookworm and newer from Debian directly.

---
  ...bootguard_0.16-1+cip.bb => efibootguard_0.16-3+cip.bb} | 8 +++++---

  1 file changed, 5 insertions(+), 3 deletions(-)

  rename recipes-bsp/efibootguard/{efibootguard_0.16-1+cip.bb => efibootguard_0.16-3+cip.bb} (89%)

recipes-bsp/efibootguard/efibootguard_0.16-3+cip.bb renamed from recipes-bsp/efibootguard/efibootguard_0.16-1+cip.bb +1 -1
similarity index 89%
rename from recipes-bsp/efibootguard/efibootguard_0.16-1+cip.bb
rename to recipes-bsp/efibootguard/efibootguard_0.16-3+cip.bb
index a7ffb00b..83be2a4d 100644
@@ -1,7 +1,7 @@
   #
   # CIP Core, generic profile
   #
-# Copyright (c) Siemens AG, 2020-2023
+# Copyright (c) Siemens AG, 2020-2024
   #
   # Authors:
   #  Quirin Gylstorff <[email protected]>
@@ -24,7 +24,7 @@ SRC_URI = " \

file://debian-patches/0001-d-control-Make-compatible-with-debian-buster.patch \
      "
  SRC_URI[tarball.sha256sum] = "d6d37c59aed17489d02b4f0b63db16994dfb8f9f70f54be4d65c366f58c6be9d" -SRCREV_debian = "2e80fafa87f8f6fd093f49ff33ad7cac61592871"

Quoted 9 lines

recipes-bsp/efibootguard/efibootguard_0.16-3+cip.bb PATCHTOOL = "git" · line 38

Quoted 7 lines

+SRCREV_debian = "22b173a3293c976c9dff2ae92085d7ed995f6768" PROVIDES = "libebgenv-dev libebgenv0 efibootguard" @@ -34,7 +34,9 @@ PATCHTOOL = "git"
    inherit dpkg
  -DEPENDS = "python3-shtab"

recipes-bsp/efibootguard/efibootguard_0.16-3+cip.bb renamed from recipes-bsp/efibootguard/efibootguard_0.16-1+cip.bb +2 -0
+DEPENDS:buster = "python3-shtab"
+DEPENDS:bullseye = "python3-shtab"

I think :native will fail for buster.

Yes, and that even for bullseye. I'm not yet understanding why that breaks - limitation of those apt/dpkg versions?

Jan

Signature · 2 lines
Siemens AG, Technology
Linux Expert Center