From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6515090200378474496 X-Received: by 10.25.219.137 with SMTP id t9mr1962200lfi.11.1517242501421; Mon, 29 Jan 2018 08:15:01 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.25.21.226 with SMTP id 95ls91160lfv.7.gmail; Mon, 29 Jan 2018 08:15:00 -0800 (PST) X-Google-Smtp-Source: AH8x224vHkTQHdlCM3qh4mAbVn9GRDnFHT+KLgB0x50dj8V4iGqfJdkIxl75vVvBWyqY2e4P8nTs X-Received: by 10.25.207.75 with SMTP id f72mr1949130lfg.28.1517242500632; Mon, 29 Jan 2018 08:15:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517242500; cv=none; d=google.com; s=arc-20160816; b=rjIx93FQmn9Z/UQn7oM3kbNofk2xBrKhq2kzu5Pe0NGPD/l7y4hJTj/gcZyNwWKtD1 Npn8kQJ2d2B27APgj6qRajmUM6jchbgzbqGkSTdlShZrrFgqHC4Fk3RO7wnez0aClKgz 6jpTJwNGzlGt5wJXcI+u9d7IsNRRC6HaPSbeDQmrcjMP/p23ioH/VtRxN3tfzqoVP2fK 1wbjaRRUxyPImNB5dlBpXhuulKOEumhJYoT5F31PUJwg3kVwyFaPCpUg2jATWADC16lD 0RtvHxiQlGQO5K96slSj8jvEtF5PDsM15MmA858OQqm/pjpRWGp8eLgVtn93ERTSsQmt EZfA== 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:cc:to:subject :arc-authentication-results; bh=ER/Mw5iab20bpmBEZ2kbE8kUdf/MMyBRnz+0lF8rAfE=; b=Iy6iXPh/WUe6uboCUxR8D6Tttsb12N5of3zZJX5Be7nsyF3SZ8jHHfoPLoI2C0JEOX pOc31RjF8Qr3flE/+qGqJ2of6X0HYihqyE8K0PqVxlN7k52JCwwJOeCofJNzyD/Q8nHx N4qMz3AWxNw40qqh4rRrhkTyYi3SIR38F+AvupKFfqKpnYsBHmqA5kpAs/JSsBKR1emj 45hkBEmDpSq0KEPmCpvyceAURyEbHFdj5JgRc7u2H9EF8EujVCACYeUJ2O4CZ7WgF8xj iCjJexsiQHU63vP89LnAOFtUSUMbU6L+AX8Hr6kB4ZCBOaVeqHIgURiqbnfUODWb7A9U eHkQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id n69si310805lje.4.2018.01.29.08.15.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 08:15:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Received: from [10.0.2.15] ([188.227.110.165]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id w0TGEunp001608 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 29 Jan 2018 17:14:58 +0100 Subject: Re: [PATCH 0/1] avoid user prompts when mk-build-deps is called To: Henning Schild Cc: isar-users@googlegroups.com References: <20180125203655.6894-1-Cedric_Hombourger@mentor.com> <4e857783-a4ae-7649-523c-ae277fef6bab@ilbers.de> <20180129165954.404a1ab8@mmd1pvb1c.ad001.siemens.net> From: Alexander Smirnov Message-ID: <4dd8dbf0-92b3-891f-4012-f1bb19560ed3@ilbers.de> Date: Mon, 29 Jan 2018 19:14:51 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20180129165954.404a1ab8@mmd1pvb1c.ad001.siemens.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: 7M/D918c4CI8 On 01/29/2018 06:59 PM, Henning Schild wrote: > Am Mon, 29 Jan 2018 16:49:51 +0300 > schrieb Alexander Smirnov : > >> Hello Cedric, >> >> On 01/25/2018 11:36 PM, Cedric_Hombourger@mentor.com wrote: >>> From: Cedric Hombourger >>> >>> commit 498b128 caused build dependencies to be installed via >>> mk-build-deps. >>>> The tool may ask the user to confirm their installation but >>>> would >> fail when >> >> Do you know in which circumstances this could happen? > > Basically whenever apt-get decides to become interactive and wants to I do understand what this patch does. My question is exactly when "whenever" really happens. I've noticed such behavior several times for different Debian tools, but it would be nice eventually to understand this kind of magic. BTW: for me it's not the point to block this patch. Alex > ask for confirmation. My patch removed an "apt-get ... -y" while the > "-y" should have stayed. > > Henning > >> Alex >> >>> called from bitbake (no stdin). Override the default install >>> command to add the -y switch (assume yes). >>> >>> Cedric Hombourger (1): >>> build.sh: eliminate potential prompts from mk-build-deps/apt-get >>> >>> meta/recipes-devtools/buildchroot/files/build.sh | 5 ++++- >>> 1 file changed, 4 insertions(+), 1 deletion(-) >>> >> >