public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [RFC Patch 1/1] Enable customization of apt-get configuration in rootfs_install_pkgs_download of rootfs.bbclass
@ 2026-05-11 13:07 Ulrich Teichert
  2026-05-11 14:34 ` Ulrich Teichert
  0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Teichert @ 2026-05-11 13:07 UTC (permalink / raw)
  To: isar-users


[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [RFC Patch 1/1] Enable customization of apt-get configuration in rootfs_install_pkgs_download of rootfs.bbclass
  2026-05-11 13:07 [RFC Patch 1/1] Enable customization of apt-get configuration in rootfs_install_pkgs_download of rootfs.bbclass Ulrich Teichert
@ 2026-05-11 14:34 ` Ulrich Teichert
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Teichert @ 2026-05-11 14:34 UTC (permalink / raw)
  To: isar-users


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

Hi,

On Monday, May 11, 2026 at 3:07:09 PM UTC+2 Ulrich Teichert wrote:

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.


Sorry, of course the same can be done by just adding

ROOTFS_APT_ARGS:append = " -o 'Acquire::https::Verify-Peer=false'"

in a local.conf. No patching necessary, sorry for the noise,

CU,
Uli

-- 
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/22bcde61-6d7d-4b64-b694-1eb08f0d99ccn%40googlegroups.com.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-05-11 14:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-11 13:07 [RFC Patch 1/1] Enable customization of apt-get configuration in rootfs_install_pkgs_download of rootfs.bbclass Ulrich Teichert
2026-05-11 14:34 ` Ulrich Teichert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox