From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6628188968987918336 X-Received: by 2002:a50:90f5:: with SMTP id d50mr5082687eda.9.1543245982864; Mon, 26 Nov 2018 07:26:22 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a50:a4aa:: with SMTP id w39ls5991757edb.8.gmail; Mon, 26 Nov 2018 07:26:19 -0800 (PST) X-Google-Smtp-Source: AFSGD/XKoMGL4ZkMw3R7sOCDccjDEGDAubB1KI4UfXn5PKJK75ochDOVRDgx0NOX7rMG+GDPotcW X-Received: by 2002:a50:90f5:: with SMTP id d50mr5082646eda.9.1543245979417; Mon, 26 Nov 2018 07:26:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543245979; cv=none; d=google.com; s=arc-20160816; b=A/ompLqihuacsVepwAyWrTr40KLkjsUFZRn/XIBXUbLgmvhmvplpkmVRP3PxKa5mwz jdHtytkW5p8ujdUDOMly6M7nhfbnL+NjMoE3Hxb6t8gdm12tQtjgeYh/NqrGO5WeuR1S rd6ccb2tp2gD9l6CHtke1P9f3MhjuhD1zjnaY4On6ww7Z1ln5Tsf6Y0F8MFEaUz5h4s9 Bt91O4oLVb/WLKLNLAjqZy2CDDKlxe+nD0jsy+b2RLu3ZH0z0qcnZt0qcPcwMrNaXfiI cBGbaGEhBU5vzByGCglWTRA4dH83GASTND3590cOTYNpnL6G+hSrPX1ZhYkSJoFUs32O Eaow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject; bh=FicQiY6QD2ysibi+vVEgb7XeDv9UEoxohlv5/iVk4MM=; b=B6/dhhtzHrOv/XEbuCbveupcYZD9o2gjfPlFnreGglFXA4ie+y0Shp0UB6peQkqTDF 8ojQ1qmJeJEri87IbWPjzENz6jseMUshkskB2wFPauk/kQjf6PrIhlP2piFQYjDSDrak PEJrRM9pcOti0tvsb3mOtMqflqcse6sNyZY1dDx7YDdzZUfpn+NE3F5kfiguDf6v5cUv TdWr5XS6z2zgJ6pmOH/TUXLwfbooDX0Sm+LfpNQekA+OYoZ1adnY2rAGv0j7506O2OzA Z5Mc678bAXnAKQzT6B0yRy2A1gxc0OE7HNuVkMINLlmE0LJSHNulyYOjw/NhVeioMVZB Cr8g== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Return-Path: Received: from lizzard.sbs.de (lizzard.sbs.de. [194.138.37.39]) by gmr-mx.google.com with ESMTPS id l31si15686edb.5.2018.11.26.07.26.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Nov 2018 07:26:19 -0800 (PST) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) client-ip=194.138.37.39; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id wAQFQJum017135 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 26 Nov 2018 16:26:19 +0100 Received: from [139.25.68.37] (md1q0hnc.ad001.siemens.net [139.25.68.37] (may be forged)) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id wAQFQIRI007269; Mon, 26 Nov 2018 16:26:18 +0100 Subject: Re: [PATCH] gnupg fails on nonexistent /dev/tty To: Amy_Fong@mentor.com, isar-users@googlegroups.com References: <20181126151812.25677-1-Amy_Fong@mentor.com> From: Jan Kiszka Message-ID: Date: Mon, 26 Nov 2018 16:26:18 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: <20181126151812.25677-1-Amy_Fong@mentor.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: SjlNjGYc13yY On 26.11.18 16:18, Amy_Fong@mentor.com wrote: > From: Amy Fong > > Add --no-tty option to gnupg for noninteractive usage. > Thanks! Could you add the information where you have seen it and where not? IIRC, it was some version difference in the gpg package that triggered it. > Signed-off-by: Amy Fong > --- > 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 > } > Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux