[cip-dev][isar-cip-core][PATCH] swupdate-config: Remove runtime dependency efibootguard-dev

Subsystems: the rest

5 messages, 3 authors, 2021-08-10 · open the first message on its own page

[cip-dev][isar-cip-core][PATCH] swupdate-config: Remove runtime dependency efibootguard-dev

From: Quirin Gylstorff <hidden>
Date: 2021-08-09 10:29:50

From: Quirin Gylstorff <redacted>

efibootguard-dev is only a build time dependency and
not an runtime dependency.

Signed-off-by: Quirin Gylstorff <redacted>
---
 classes/swupdate-config.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/classes/swupdate-config.bbclass b/classes/swupdate-config.bbclass
index dfa3579..e4879c7 100644
--- a/classes/swupdate-config.bbclass
+++ b/classes/swupdate-config.bbclass
@@ -38,7 +38,7 @@ KFEATURE_DEPS[luahandler] = "lua"
 
 KFEATURE_efibootguard = ""
 KFEATURE_efibootguard[BUILD_DEB_DEPENDS] = "efibootguard-dev"
-KFEATURE_efibootguard[DEBIAN_DEPENDS] = "efibootguard-dev"
+KFEATURE_efibootguard[DEBIAN_DEPENDS] = ""
 KFEATURE_efibootguard[DEPENDS] = "efibootguard-dev"
 KFEATURE_efibootguard[KCONFIG_SNIPPETS] = "file://swupdate_defconfig_efibootguard.snippet"
 
-- 
2.20.1

Re: [cip-dev][isar-cip-core][PATCH] swupdate-config: Remove runtime dependency efibootguard-dev

From: "Jan Kiszka" <jan.kiszka@siemens.com>
Date: 2021-08-09 12:54:07

On 09.08.21 12:29, Q. Gylstorff wrote:
quoted hunk
From: Quirin Gylstorff <redacted>

efibootguard-dev is only a build time dependency and
not an runtime dependency.

Signed-off-by: Quirin Gylstorff <redacted>
---
 classes/swupdate-config.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/classes/swupdate-config.bbclass b/classes/swupdate-config.bbclass
index dfa3579..e4879c7 100644
--- a/classes/swupdate-config.bbclass
+++ b/classes/swupdate-config.bbclass
@@ -38,7 +38,7 @@ KFEATURE_DEPS[luahandler] = "lua"
 
 KFEATURE_efibootguard = ""
 KFEATURE_efibootguard[BUILD_DEB_DEPENDS] = "efibootguard-dev"
-KFEATURE_efibootguard[DEBIAN_DEPENDS] = "efibootguard-dev"
+KFEATURE_efibootguard[DEBIAN_DEPENDS] = ""
 KFEATURE_efibootguard[DEPENDS] = "efibootguard-dev"
 KFEATURE_efibootguard[KCONFIG_SNIPPETS] = "file://swupdate_defconfig_efibootguard.snippet"
 
-dev makes no sense, but don't we have any dep on libs? Or are they
statically linked?

Jan

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

Re: [cip-dev][isar-cip-core][PATCH] swupdate-config: Remove runtime dependency efibootguard-dev

From: Quirin Gylstorff <hidden>
Date: 2021-08-09 13:49:46


On 8/9/21 2:54 PM, Jan Kiszka wrote:
On 09.08.21 12:29, Q. Gylstorff wrote:
quoted
From: Quirin Gylstorff <redacted>

efibootguard-dev is only a build time dependency and
not an runtime dependency.

Signed-off-by: Quirin Gylstorff <redacted>
---
  classes/swupdate-config.bbclass | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/classes/swupdate-config.bbclass b/classes/swupdate-config.bbclass
index dfa3579..e4879c7 100644
--- a/classes/swupdate-config.bbclass
+++ b/classes/swupdate-config.bbclass
@@ -38,7 +38,7 @@ KFEATURE_DEPS[luahandler] = "lua"
  
  KFEATURE_efibootguard = ""
  KFEATURE_efibootguard[BUILD_DEB_DEPENDS] = "efibootguard-dev"
-KFEATURE_efibootguard[DEBIAN_DEPENDS] = "efibootguard-dev"
+KFEATURE_efibootguard[DEBIAN_DEPENDS] = ""
  KFEATURE_efibootguard[DEPENDS] = "efibootguard-dev"
  KFEATURE_efibootguard[KCONFIG_SNIPPETS] = "file://swupdate_defconfig_efibootguard.snippet"
  
-dev makes no sense, but don't we have any dep on libs? Or are they
statically linked?
It is statically linked - efibootguard-dev contains only libebgenv.a.

Quirin
Jan

Re: [cip-dev][isar-cip-core][PATCH] swupdate-config: Remove runtime dependency efibootguard-dev

From: "Jan Kiszka" <jan.kiszka@siemens.com>
Date: 2021-08-09 15:25:36

On 09.08.21 15:49, Gylstorff Quirin wrote:

On 8/9/21 2:54 PM, Jan Kiszka wrote:
quoted
On 09.08.21 12:29, Q. Gylstorff wrote:
quoted
From: Quirin Gylstorff <redacted>

efibootguard-dev is only a build time dependency and
not an runtime dependency.

Signed-off-by: Quirin Gylstorff <redacted>
---
  classes/swupdate-config.bbclass | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/classes/swupdate-config.bbclass
b/classes/swupdate-config.bbclass
index dfa3579..e4879c7 100644
--- a/classes/swupdate-config.bbclass
+++ b/classes/swupdate-config.bbclass
@@ -38,7 +38,7 @@ KFEATURE_DEPS[luahandler] = "lua"
    KFEATURE_efibootguard = ""
  KFEATURE_efibootguard[BUILD_DEB_DEPENDS] = "efibootguard-dev"
-KFEATURE_efibootguard[DEBIAN_DEPENDS] = "efibootguard-dev"
+KFEATURE_efibootguard[DEBIAN_DEPENDS] = ""
  KFEATURE_efibootguard[DEPENDS] = "efibootguard-dev"
  KFEATURE_efibootguard[KCONFIG_SNIPPETS] =
"file://swupdate_defconfig_efibootguard.snippet"
 
-dev makes no sense, but don't we have any dep on libs? Or are they
statically linked?
It is statically linked - efibootguard-dev contains only libebgenv.a.
Ah, yeah, part the SWUpdate's problems...

Thanks, applied.

Jan

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

Re: [cip-dev][isar-cip-core][PATCH] swupdate-config: Remove runtime dependency efibootguard-dev

From: Christian Storm <hidden>
Date: 2021-08-10 07:33:19

quoted
quoted
quoted
efibootguard-dev is only a build time dependency and
not an runtime dependency.

Signed-off-by: Quirin Gylstorff <redacted>
---
  classes/swupdate-config.bbclass | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/classes/swupdate-config.bbclass
b/classes/swupdate-config.bbclass
index dfa3579..e4879c7 100644
--- a/classes/swupdate-config.bbclass
+++ b/classes/swupdate-config.bbclass
@@ -38,7 +38,7 @@ KFEATURE_DEPS[luahandler] = "lua"
    KFEATURE_efibootguard = ""
  KFEATURE_efibootguard[BUILD_DEB_DEPENDS] = "efibootguard-dev"
-KFEATURE_efibootguard[DEBIAN_DEPENDS] = "efibootguard-dev"
+KFEATURE_efibootguard[DEBIAN_DEPENDS] = ""
  KFEATURE_efibootguard[DEPENDS] = "efibootguard-dev"
  KFEATURE_efibootguard[KCONFIG_SNIPPETS] =
"file://swupdate_defconfig_efibootguard.snippet"
 
-dev makes no sense, but don't we have any dep on libs? Or are they
statically linked?
It is statically linked - efibootguard-dev contains only libebgenv.a.
Ah, yeah, part the SWUpdate's problems...
Well, meanwhile, this pattern has been deprecated in favor of
using https://github.com/sbabic/libubootenv
I guess it's about time for EFI Boot Guard to catch up..


Kind regards,
   Christian

-- 
Dr. Christian Storm
Siemens AG, Technology, T RDA IOT SES-DE
Otto-Hahn-Ring 6, 81739 München, Germany
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help