public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "Maxim Yu. Osipov" <mosipov@ilbers.de>
To: isar-users@googlegroups.com
Subject: [PATCH 1/4] isar-bootstrap: eliminate workaround --allow-unauthenticated
Date: Fri, 26 Oct 2018 12:32:38 +0200	[thread overview]
Message-ID: <20181026103241.23755-2-mosipov@ilbers.de> (raw)
In-Reply-To: <20181026103241.23755-1-mosipov@ilbers.de>

use [trusted=yes] in base-apt-sources instead.

Suggested-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Maxim Yu. Osipov <mosipov@ilbers.de>
---
 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


  reply	other threads:[~2018-10-26 10:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-26 10:32 [PATCH 0/4] Fixes/improvements to local apt repo to cache upstream debian packages for offline usage Maxim Yu. Osipov
2018-10-26 10:32 ` Maxim Yu. Osipov [this message]
2018-10-26 10:32 ` [PATCH 2/4] isar-bootdtrap-helper: test explicit value Maxim Yu. Osipov
2018-10-26 10:32 ` [PATCH 3/4] base-apt-helper: fix missed echo in command Maxim Yu. Osipov
2018-10-26 10:32 ` [PATCH 4/4] base-apt-helper: Introduce function compare_pkg_md5sums Maxim Yu. Osipov
2018-10-26 10:45 ` [PATCH 0/4] Fixes/improvements to local apt repo to cache upstream debian packages for offline usage Henning Schild
2018-10-31 11:14 ` Maxim Yu. Osipov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181026103241.23755-2-mosipov@ilbers.de \
    --to=mosipov@ilbers.de \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox