From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6519007876157014016 X-Received: by 10.36.67.84 with SMTP id s81mr13599310itb.49.1517824800550; Mon, 05 Feb 2018 02:00:00 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.107.58.2 with SMTP id h2ls1573002ioa.13.gmail; Mon, 05 Feb 2018 02:00:00 -0800 (PST) X-Google-Smtp-Source: AH8x226fWyH86IJ4rTxhyejUpfG/+BB7+QqE34ckTFV2ZfUqh7RjN5Wehxu8s0y5+vrOJWzEsOFh X-Received: by 10.107.47.227 with SMTP id v96mr34743441iov.41.1517824800175; Mon, 05 Feb 2018 02:00:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517824800; cv=none; d=google.com; s=arc-20160816; b=YHv61pgXnMgLUxd3hrVPSVWESLaBskBzCBG5P9PSDu/A1lR+i9b+FfDg9DSGJg72qh flrL81gALGNtP7uow1LXORjMeYj/rz14CdFkfoxIDkYMRhNyh89PSCnyas6HDWm7/mNL H9IE/AVUaQICHY6C4AoTDlvR7CX3pBLwhhEeqn54OgE+q51I3n4jAQysEQK/VVtqNtkx tmcgEiXsGwZxCUYXdPwqWpPhJGuC4xVOTt1ABSD7x5BLYlJXc2yfTcoWxXDd5gJIH2W0 ip/OW+pWA9DWxgxoFOlori7YfMDkyKVo+Z6Y8BlfJr7pgFJUt36WOmqgJtunX7zC2B+w 3fMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Aoeph03z0LKMANHwbMnqqk9qvLBKd3vLe2OJkM7TQDc=; b=I0cJVc7w1NxkIZdgt5c0WXI2K8Qyty+FEeZme4dyCTjoFePuUxdyWNqFV2O4WcTsGp 2JGQ30z20ixAHvY7uY2KQIwIQcuhWdtalMzuHWOkMzEQRB+L9laKQe1NvzWssOY6vSKI AXbwWW+BGlrHn6dURHbp89AvVvMXHoXivaCvry6CIuoxPF2roh3DN/+qgXMo4Si9ltF0 wJUqrL5RHl6KPs4qc+LyICK77JHad2YbksNjnqd+LVwvvXNP1hoyjXwy7tEdnkWxG0bK 9QQiJr1LP4Z9aBfEwC0UlrlK/nkG4H/RIPJM9U9MOGDKd00+No9TkULoKUA65h7u6jJQ srzg== 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 m63si619799iod.1.2018.02.05.01.59.59 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Feb 2018 01:59:59 -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 localhost.localdomain ([188.227.110.165]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id w159xeCD024415 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 5 Feb 2018 10:59:49 +0100 From: Alexander Smirnov To: isar-users@googlegroups.com Cc: Alexander Smirnov Subject: [PATCH 5/5] build.sh: Force 'yes' for apt Date: Mon, 5 Feb 2018 12:59:31 +0300 Message-Id: <20180205095931.23903-6-asmirnov@ilbers.de> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20180205095931.23903-1-asmirnov@ilbers.de> References: <20180205095931.23903-1-asmirnov@ilbers.de> X-TUID: OzjKBpiYuzjw Sometimes the following error occurs with custom repo: After this operation, 84.0 kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libhello libhello-dev E: There are problems and -y was used without --force-yes This patch adds '--force-yes' option to be sure that no dialog will occur. Signed-off-by: Alexander Smirnov --- meta/recipes-devtools/buildchroot/files/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/buildchroot/files/build.sh b/meta/recipes-devtools/buildchroot/files/build.sh index b63a27e..06df1da 100644 --- a/meta/recipes-devtools/buildchroot/files/build.sh +++ b/meta/recipes-devtools/buildchroot/files/build.sh @@ -21,7 +21,7 @@ cd $1 # 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_cmd="apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends -y --force-yes" # Install all build deps mk-build-deps -t "${install_cmd}" -i -r debian/control -- 2.1.4