From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6515090200378474496 X-Received: by 10.46.116.15 with SMTP id p15mr1982224ljc.33.1517345497549; Tue, 30 Jan 2018 12:51:37 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.25.195.141 with SMTP id t135ls524679lff.4.gmail; Tue, 30 Jan 2018 12:51:36 -0800 (PST) X-Google-Smtp-Source: AH8x227I9KCWz4Dcq6U7aW0EKwGMGe6AitbiSMfo4rkgMO9Wbuf1Mma4PY0tsuPkKsEiFv7EgbKC X-Received: by 10.46.69.138 with SMTP id s132mr1145871lja.44.1517345496890; Tue, 30 Jan 2018 12:51:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517345496; cv=none; d=google.com; s=arc-20160816; b=aXzHn9BmzIIomQB1+Uh+Yjh6shBXFKCTLPxat2eFFkjwhcIK9ad2ZSgW5b0pX9y1Rj bSQ5NbborTcBHlNZxVjRvs3QFbWC5cWten+i+/QJHe/4wp+L+4hTa1pglfpvnsAJLzFj 7EMecyI5FTe6r1iBPNkSqw5od+NAUrROTeWRbBQE9fY/HvWaO3eWYY4T1qH+FSjKW1Uj 7a4KZ0b724XxtO5/tmiseFKco8uxCy2K71LqQkW8SUZ+v7jLxf0hWaJTLJMCHfINzE9z XsfSFDCIaPKImy/BWJu/RVMFyvCAq7DZgSnUUyJrZ+7NRgndMHa6wIwB/TwFZUcOKC+0 Y2dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=M1j38xEvaLjhlzPP7UfL/pp8YeQKJAB01l6tZiCLPhE=; b=tLe8X+fsFOvgO2BYXdTHhggynBzCCTSzoYHWPVnMsfPtLYXyEtmQXyuhKtr1JFpgVD sZqZ/ZuPcYMp6EdN1I4BcYowF5oCO1iukl+9ogExJTOU+Lif3n3nx13K766C/dLT+x1r rw/rcNpCOIXU8dU341Kbo0FQmZobkk2tPTQpxzvF7PLbB9EaNoRSpCaMKvefbuqt4MOi 6fXMP3y2LERdq1cCOU4myXgT8uKmKbx+2b/LnqikbGCKdNHsOuK1gHIfMoRmAmo1dyvc ECZdMNspPEZpswF3aIBvqFXF/WyQrlykRhQEJpvTgwX7wpJQx80JB+SWgcEacWWM9/5B KKuA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id n90si1157315lfi.1.2018.01.30.12.51.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Jan 2018 12:51:36 -0800 (PST) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.14 as permitted sender) client-ip=192.35.17.14; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id w0UKpZrU018686 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 30 Jan 2018 21:51:35 +0100 Received: from mmd1pvb1c.ad001.siemens.net (md1pvb1c.ad001.siemens.net [139.25.68.40] (may be forged)) by mail1.siemens.de (8.15.2/8.15.2) with ESMTP id w0UKpZ6V029891; Tue, 30 Jan 2018 21:51:35 +0100 Date: Tue, 30 Jan 2018 21:51:53 +0100 From: Henning Schild To: Alexander Smirnov Cc: , Subject: Re: [PATCH v2] build.sh: eliminate potential prompts from mk-build-deps/apt-get Message-ID: <20180130215153.633d8bec@mmd1pvb1c.ad001.siemens.net> In-Reply-To: <20180129191746.25ba70e0@mmd1pvb1c.ad001.siemens.net> References: <20180129112508.4f979c0e@mmd1pvb1c.ad001.siemens.net> <20180129163105.14569-1-Cedric_Hombourger@mentor.com> <20180129191746.25ba70e0@mmd1pvb1c.ad001.siemens.net> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: tKaW3wo5oK8V 498b128 is still in next and could be fixed before hitting master. I am all for keeping history, even if it contains mistakes so we just not squash them. Alex make sure to update the comment, should the hash change. Henning Am Mon, 29 Jan 2018 19:17:46 +0100 schrieb "[ext] Henning Schild" : > Thanks! > > Henning > > Am Mon, 29 Jan 2018 17:31:05 +0100 > schrieb : > > > From: Cedric Hombourger > > > > commit 498b128 caused build dependencies to be installed via > > mk-build-deps. > > > > The tool may ask the user to confirm installation of the > > dependencies but would fail when called from bitbake (no stdin). > > Override the default install command to add the -y switch to the > > apt-get command it uses. > > > > Signed-off-by: Cedric Hombourger > > --- > > meta/recipes-devtools/buildchroot/files/build.sh | 8 +++++++- > > 1 file changed, 7 insertions(+), 1 deletion(-) > > > > diff --git a/meta/recipes-devtools/buildchroot/files/build.sh > > b/meta/recipes-devtools/buildchroot/files/build.sh index > > 975252e..77e0fdd 100644 --- > > a/meta/recipes-devtools/buildchroot/files/build.sh +++ > > b/meta/recipes-devtools/buildchroot/files/build.sh @@ -6,8 +6,14 @@ > > # Go to build directory > > cd $1 > > > > +# Install command to be used by mk-build-deps > > +# Notes: > > +# 1) everything before the -y switch is unchanged from the > > defaults +# 2) we add -y to go non-interactive > > +install_cmd="apt-get -o Debug::pkgProblemResolver=yes > > --no-install-recommends -y" + > > # Install all build deps > > -mk-build-deps -i -r debian/control > > +mk-build-deps -t "${install_cmd}" -i -r debian/control > > > > # If autotools files have been created, update their timestamp to > > # prevent them from being regenerated >