* [PATCH] isar-bootstrap: Consider DISTRO_BOOTSTRAP_KEYS for gnupg
@ 2019-08-19 13:31 Jan Kiszka
2019-09-10 9:19 ` Baurzhan Ismagulov
0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2019-08-19 13:31 UTC (permalink / raw)
To: isar-users
From: Jan Kiszka <jan.kiszka@siemens.com>
We also need gnupg when using a custom bootstrap key.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
meta/recipes-core/isar-bootstrap/isar-bootstrap.inc | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc
index 1eb2ac6..bcd644b 100644
--- a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc
+++ b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc
@@ -169,8 +169,9 @@ def get_distro_needs_https_support(d, is_host=False):
return ""
def get_distro_needs_gpg_support(d):
- apt_keys = d.getVar("THIRD_PARTY_APT_KEYS")
- if apt_keys and apt_keys != "":
+ apt_keys = d.getVar("DISTRO_BOOTSTRAP_KEYS") or ""
+ apt_keys += " " + (d.getVar("THIRD_PARTY_APT_KEYS") or "")
+ if apt_keys != " ":
return "gnupg"
return ""
--
2.16.4
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-09-10 9:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-19 13:31 [PATCH] isar-bootstrap: Consider DISTRO_BOOTSTRAP_KEYS for gnupg Jan Kiszka
2019-09-10 9:19 ` Baurzhan Ismagulov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox