From: Jan Kiszka <jan.kiszka@siemens.com>
To: isar-users <isar-users@googlegroups.com>
Subject: [PATCH] isar-bootstrap: Consider DISTRO_BOOTSTRAP_KEYS for gnupg
Date: Mon, 19 Aug 2019 15:31:39 +0200 [thread overview]
Message-ID: <10aeba2a-c04b-5ee5-c6dc-281911de72a7@siemens.com> (raw)
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
next reply other threads:[~2019-08-19 13:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-19 13:31 Jan Kiszka [this message]
2019-09-10 9:19 ` Baurzhan Ismagulov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10aeba2a-c04b-5ee5-c6dc-281911de72a7@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox