public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] gnupg fails on nonexistent /dev/tty
@ 2018-11-26 15:18 Amy_Fong
  2018-11-26 15:26 ` Jan Kiszka
  2018-11-29 12:14 ` Maxim Yu. Osipov
  0 siblings, 2 replies; 4+ messages in thread
From: Amy_Fong @ 2018-11-26 15:18 UTC (permalink / raw)
  To: isar-users; +Cc: Amy Fong

From: Amy Fong <Amy_Fong@mentor.com>

Add --no-tty option to gnupg for noninteractive usage.

Signed-off-by: Amy Fong <Amy_Fong@mentor.com>
---
 meta/recipes-core/isar-bootstrap/isar-bootstrap.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc
index e735726..e89b7c1 100644
--- a/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc
+++ b/meta/recipes-core/isar-bootstrap/isar-bootstrap.inc
@@ -150,7 +150,7 @@ do_generate_keyring() {
     if [ -n "${@d.getVar("APTKEYFILES", True) or ""}" ]; then
         for keyfile in ${@d.getVar("APTKEYFILES", True)}; do
            gpg --no-default-keyring --keyring "${APTKEYRING}" \
-               --homedir "${DL_DIR}"  --import "$keyfile"
+               --no-tty --homedir "${DL_DIR}"  --import "$keyfile"
         done
     fi
 }
-- 
2.11.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-11-29 12:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-26 15:18 [PATCH] gnupg fails on nonexistent /dev/tty Amy_Fong
2018-11-26 15:26 ` Jan Kiszka
2018-11-27  1:16   ` Amy Fong
2018-11-29 12:14 ` Maxim Yu. Osipov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox