From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6616611751694696448 X-Received: by 2002:a1c:b182:: with SMTP id a124-v6mr718995wmf.24.1540549972986; Fri, 26 Oct 2018 03:32:52 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:7ec2:: with SMTP id z185-v6ls250078wmc.26.gmail; Fri, 26 Oct 2018 03:32:52 -0700 (PDT) X-Google-Smtp-Source: AJdET5dBVaqpa3yTNy6KdKr5NKUOBK2hPcXUKOzq5WZtNjrRLu1WIENtiR6JAz2/0XlSvuATT6yk X-Received: by 2002:a1c:1592:: with SMTP id 140-v6mr739187wmv.25.1540549972579; Fri, 26 Oct 2018 03:32:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540549972; cv=none; d=google.com; s=arc-20160816; b=Qmj+d6Xdt4FLepW/FK0qtGWr9k79I9Z4JNutm8i6iP+Pv649/BAXlGSYkpZdWP9W7T rCsyeIaLivBWDmZZYAq6kh7bxkljntL8gmWQo+DUR1lZ9YMNpF+WlnqTKWVD+XQE177e lUIex8dMIWhzJQ7BqNPJardALJzPNPmjj7zZnJ/QkrD+EtcPrgBD2rZVZGe8C5S4DAnI CyMLrkCFh5N/IWghwO2AKTLQWuMS7kJfIjN7cJsPQPlfb7KYEP8KBYGYjReCcyyBt8Wc YPiJ55mpK0QTnY96zrHkFv+n7Sl+h8/mECNXAm0g7qTFaKSZ7NiAvMSnMfHoa7pnmBCN RW0A== 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:to:from; bh=13dx1zcBbC7PwEGEhLvGVDT7D2CnwzLBvPIvychXVro=; b=M2GlPiO1utYIaCC38gxgt0lTXEH9t9eASjbf6LGvCAXF2xX9k3EEo+1HSZIqAoNck/ DtPMxldxmTqKGa6EALSWEafwC++dobZqwGBmkS20losz9EXODd1dJusRXwQEAvbfwLD9 /XFqCklGC+YbBJlnlw2j7I1PFlDQqaj80ya3fYFyAfVfNxs8UkSIpTKmf8AcPLLwHKRz QwaowwuEYqHu5YY9eu5oPGY2+4B0KKbzNJOKTjBOTlBO83Yy+IZChepBl/4U0UXb8glE b5tElLNIxsoCyrhUMBqM1WaImRiGLrE/StZGHJMmKxwEZaEeRaff2RG9rXUjsgXCDnkB Tpsg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id y10-v6si271448wrl.4.2018.10.26.03.32.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Oct 2018 03:32:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of mosipov@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 mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Received: from azat.m.ilbers.de (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id w9QAWfgE000696 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Fri, 26 Oct 2018 12:32:51 +0200 From: "Maxim Yu. Osipov" To: isar-users@googlegroups.com Subject: [PATCH 1/4] isar-bootstrap: eliminate workaround --allow-unauthenticated Date: Fri, 26 Oct 2018 12:32:38 +0200 Message-Id: <20181026103241.23755-2-mosipov@ilbers.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181026103241.23755-1-mosipov@ilbers.de> References: <20181026103241.23755-1-mosipov@ilbers.de> X-TUID: tLTOdbuD3PVO use [trusted=yes] in base-apt-sources instead. Suggested-by: Henning Schild Signed-off-by: Maxim Yu. Osipov --- meta/classes/isar-bootstrap-helper.bbclass | 2 +- meta/recipes-core/isar-bootstrap/files/base-apt-sources | 2 +- meta/recipes-devtools/buildchroot/files/deps.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/classes/isar-bootstrap-helper.bbclass b/meta/classes/isar-bootstrap-helper.bbclass index 24e1157..8f5e583 100644 --- a/meta/classes/isar-bootstrap-helper.bbclass +++ b/meta/classes/isar-bootstrap-helper.bbclass @@ -79,7 +79,7 @@ setup_root_file_system() { ROOTFSDIR="$1" shift PACKAGES="$@" - APT_ARGS="install --yes --allow-unauthenticated -o Debug::pkgProblemResolver=yes" + APT_ARGS="install --yes -o Debug::pkgProblemResolver=yes" CLEAN_FILES="${ROOTFSDIR}/etc/hostname ${ROOTFSDIR}/etc/resolv.conf" sudo cp -Trpfx \ diff --git a/meta/recipes-core/isar-bootstrap/files/base-apt-sources b/meta/recipes-core/isar-bootstrap/files/base-apt-sources index 594db56..e806465 100644 --- a/meta/recipes-core/isar-bootstrap/files/base-apt-sources +++ b/meta/recipes-core/isar-bootstrap/files/base-apt-sources @@ -1 +1 @@ -deb file:///base-apt/debian {DISTRO} main +deb [trusted=yes] file:///base-apt/debian {DISTRO} main diff --git a/meta/recipes-devtools/buildchroot/files/deps.sh b/meta/recipes-devtools/buildchroot/files/deps.sh index 2fc2f66..4bd604f 100644 --- a/meta/recipes-devtools/buildchroot/files/deps.sh +++ b/meta/recipes-devtools/buildchroot/files/deps.sh @@ -10,7 +10,7 @@ source /isar/common.sh # 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 --allow-unauthenticated" +install_cmd="apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends -y" # Make sure that we have latest isar-apt content. # Options meaning: -- 2.11.0