From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6517546778931232768 X-Received: by 10.46.54.8 with SMTP id d8mr12053lja.28.1517484616386; Thu, 01 Feb 2018 03:30:16 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.25.80.30 with SMTP id e30ls1067895lfb.10.gmail; Thu, 01 Feb 2018 03:30:15 -0800 (PST) X-Google-Smtp-Source: AH8x226zXURLQiWtDhMGJN9JA7D7SlpsZd/q0TbIEbgCz3PIAJyItIasYyVkZOABlDq8BzJvay9H X-Received: by 10.46.112.16 with SMTP id l16mr2251206ljc.27.1517484615836; Thu, 01 Feb 2018 03:30:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517484615; cv=none; d=google.com; s=arc-20160816; b=M+SNpi6lhKubpE7zh6CLkx7CulTdi1JkLt+DiQCpz8vsbBg6BLxq6oHylIMlWReSkm I79NIr3CawUQTpf8q0WyW9atUA/j/BCTsUA9XFqE0mGZ7cBjg2Y0XqmiV6BxUfWXIOH0 WUCx1eJqc3SqUC4jiUrIiuauYhR8ZSxF0U7XZ5ggDjiUMmqqu3jfShYkjaSOuaiA1JEf xa6sCU8VnjPHJwr+r7jn3JmJq0fKo7j/Ah8409TWQWJJwOz7qZwTtWHByMMfIdxFpqlq 3TOEDWDQTL4NaLN7McFhyBEjcsJ0vYq7vjAVnKmwrEWX0sowvz2fYAfhI8JVy43H/831 mFBQ== 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=6FZKPb/svqn5AUDTwFn5lO0f1rjCazTnnCU29KPR0VM=; b=SwQl8eJchIcvkTvLdpy1jNq1fsCTmxlnWCyEM/wbKikTpJp4fLZELucYw7vTP6WvFQ ACCW+ldi6ROwpsAF3pdDYhciQBQfBuyxx8ftRGzQto11a0TrJ5YeHs8wpx82Qg5BLekG ozCr/8lc7B3E1Pzb1iXCe5t3B34AwlRyiitm3AUel13zSDgzOSjOyb+iTotbGcajbF12 IDLUPE0BBs8TOELBiPSMQcmDmgkLPUn8/bO1W6JHZlWCPpPALKpto99OD6ppfcJzvoiu RJ7Kna8VdTP9D0LSLaiVhahZHQaZsXRYuw+/SZ9uFJh8t1U7JoB+8iC+5CB2Cmq1Sc7b Gzgg== 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 j81si1628219ljb.5.2018.02.01.03.30.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Feb 2018 03:30:15 -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 w11BTpZZ011589 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 1 Feb 2018 12:30:03 +0100 From: Alexander Smirnov To: isar-users@googlegroups.com Cc: Alexander Smirnov Subject: [PATCH 4/4] build.sh: Force 'yes' for apt Date: Thu, 1 Feb 2018 14:29:44 +0300 Message-Id: <20180201112944.7877-5-asmirnov@ilbers.de> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20180201112944.7877-1-asmirnov@ilbers.de> References: <20180201112944.7877-1-asmirnov@ilbers.de> X-TUID: IGcjQb8NeJ83 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 5c59193..cdf5888 100644 --- a/meta/recipes-devtools/buildchroot/files/build.sh +++ b/meta/recipes-devtools/buildchroot/files/build.sh @@ -13,7 +13,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