From patchwork Mon May 11 13:07:08 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Teichert X-Patchwork-Id: 5075 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 11 May 2026 15:07:18 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-qt1-f188.google.com (mail-qt1-f188.google.com [209.85.160.188]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 64BD7HXs032240 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 11 May 2026 15:07:18 +0200 Received: by mail-qt1-f188.google.com with SMTP id d75a77b69052e-50d8e8c47a3sf98667711cf.0 for ; Mon, 11 May 2026 06:07:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20251104; t=1778504832; x=1779109632; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-sender:mime-version :subject:message-id:to:from:date:sender:from:to:cc:subject:date :message-id:reply-to; bh=WNyPLDAlpE+WydsHaBRo3yt9quwBkNSmIYhH7oAZrY0=; b=BljEENUUbZ9GvTqCjwvudQYlD/undKmXHk02m7Wyf6UZfAEy4cDCic0rxeRQ/HxhFZ UOIpQ2El73TSSFnpdyJYMOBbfl6F/E7vn4DnShjl3BPxQvd7ODPR1wI9ONhQr32msB3g aEXB5tXa8IzW0ibls2fcqLZT8O9gQQ2Hh2ekOWSS3v+yp+JXAOPp2TCV4i8ByiDeXAfh /lz3p9L6idIy508Tp90iDOy5Tn02smaFbx1KzF67ET0wroarRvQg5fPNmwn9iNEEfzSW w06rTxM7hu0CCyPowPY1NZRCNBIQAvRdqbaDGZpCPxnautUMlyX5ORwxmcNADE70C4YY S0MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778504832; x=1779109632; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-sender:mime-version:subject:message-id:to:from:date :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=WNyPLDAlpE+WydsHaBRo3yt9quwBkNSmIYhH7oAZrY0=; b=Vs/1V8rotkbPqX4R5YDpnOmAk+Tz0vk3yR0RAqEH77CGoTWHmGdgk1j354XoQY4cf9 RNTV0h8XOTnsUY8hQiDAy8b5OC736dQ9huOAH3Xu01PbUxVhvCxw7pDOCUKHzismZ/GG bVFGhUm7gwNm7OVLNcjmD1RF8AI7geS4OgvAXu7fB9Z7qpm6+tVlRq1JHcOeVMeKhaAS QrVEIm9GPjhhPFDES9WT0S90WdkVXFC1LHwaK270shhJG4Z7tViDbznou7ZgLDC/VXOG gsPhbImMQ7Sc4cmY1js8kameXl6uMSG5VSa9oIxwWFVq/yN6DgXhLDQz8g9X7/3kJDcR IRDg== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=1; AFNElJ8YwyeF8UEDV+/69I/4nVE4/kQrdsoELGAVIZhkv/moLUlbzyXbrrjz6OaZF/DP5tTdnLeW+Ko=@isar-build.org X-Gm-Message-State: AOJu0Yz0M+1Y/6uPOwCs12rw62y8c4I1ec97HXgZt4o2Qo6aC8gyi1FX x7dyxe8j6pCqPUnJtth35+UeExEZt4i6TLHgegyEbWQEzytmzzAquo9n X-Received: by 2002:a05:622a:4a08:b0:50f:de06:45e2 with SMTP id d75a77b69052e-51461e7ee07mr307612281cf.31.1778504831660; Mon, 11 May 2026 06:07:11 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="AUV6zMNg9tM8MHFiYBcni7uoj9N/OGyQTiHDc0/z0C5lKtaM2Q==" Received: by 2002:a05:622a:1489:b0:50d:9c5a:dfd2 with SMTP id d75a77b69052e-51473aaced7ls99378271cf.1.-pod-prod-08-us; Mon, 11 May 2026 06:07:10 -0700 (PDT) X-Received: by 2002:a05:620a:3196:b0:8cd:8f94:2598 with SMTP id af79cd13be357-904d74b5a2dmr3558619685a.61.1778504830625; Mon, 11 May 2026 06:07:10 -0700 (PDT) Date: Mon, 11 May 2026 06:07:08 -0700 (PDT) From: Ulrich Teichert To: isar-users Message-Id: <84491bb5-f1b6-499f-a0f4-4a6c6f47539en@googlegroups.com> Subject: [RFC Patch 1/1] Enable customization of apt-get configuration in rootfs_install_pkgs_download of rootfs.bbclass MIME-Version: 1.0 X-Original-Sender: ulrich.teichert@kumkeo.de Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= 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 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"