public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Ulrich Teichert <ulrich.teichert@kumkeo.de>
To: isar-users <isar-users@googlegroups.com>
Subject: [RFC Patch 1/1] Enable customization of apt-get configuration in rootfs_install_pkgs_download of rootfs.bbclass
Date: Mon, 11 May 2026 06:07:08 -0700 (PDT)	[thread overview]
Message-ID: <84491bb5-f1b6-499f-a0f4-4a6c6f47539en@googlegroups.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1447 bytes --]

Hi,

this one character patch enables the configuration of apt-get 
in rootfs_install_pkgs_download of rootfs.bbclass. One use case would
be switching off HTTPS-verification during package download with setting
ROOTFS_APT_ARGS += "-o 'Acquire::https::Verify-Peer=false'" in e.g. 
local.conf.
While this could be achieved by prepending rootfs_install_pkgs_download as 
well,
the proposed patch is the only missing part to support this use case in 
Isar out
of the box.

Signed-off-by: Ulrich Teichert <ulrich.teichert@kumkeo.de> 
--- 

diff --git a/meta/classes-recipe/rootfs.bbclass 
b/meta/classes-recipe/rootfs.bbclass
index 8b502a50..ca1a4a88 100644
--- a/meta/classes-recipe/rootfs.bbclass
+++ b/meta/classes-recipe/rootfs.bbclass
@@ -40,7 +40,7 @@ ROOTFS_FEATURES:remove:bullseye = "generate-sbom"
 ROOTFS_FEATURES:remove:jammy = "generate-sbom"
 ROOTFS_FEATURES:remove:focal = "generate-sbom"
 
-ROOTFS_APT_ARGS="install --yes -o Debug::pkgProblemResolver=yes"
+ROOTFS_APT_ARGS+="install --yes -o Debug::pkgProblemResolver=yes"
 
 ROOTFS_CLEAN_FILES="/etc/hostname /etc/resolv.conf"
 

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/84491bb5-f1b6-499f-a0f4-4a6c6f47539en%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1943 bytes --]

             reply	other threads:[~2026-05-11 13:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-11 13:07 Ulrich Teichert [this message]
2026-05-11 14:34 ` Ulrich Teichert

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=84491bb5-f1b6-499f-a0f4-4a6c6f47539en@googlegroups.com \
    --to=ulrich.teichert@kumkeo.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