From patchwork Fri Oct 2 07:01:12 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: akarpovich X-Patchwork-Id: 5521 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 02 Oct 2026 09:05:12 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-lj1-f184.google.com (mail-lj1-f184.google.com [209.85.208.184]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 69275AJP004020 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 2 Oct 2026 09:05:10 +0200 Received: by mail-lj1-f184.google.com with SMTP id 38308e7fff4ca-3a7845604d1sf10660831fa.1 for ; Fri, 02 Oct 2026 00:05:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1790924705; cv=pass; d=google.com; s=arc-20260327; b=TNSTXXSqJPjjSw+YJLoMkmgasuTNPNMauw8xYXPwy49NbH0UXyBI0T1sS7FGVyOB2d Vb5ygL1GPuSObWgxKX0n41Kh891TQILgMQBiHrBYCdhnYWCD5UTX7RW1bfz8+fVNdsw3 uG4IRUfvy7myu2BdpqDtyRtYh1equRfS2Cnd7wevjiZad6o3htdyJ6UROVhbp44Yf1VI 1I39evVNNLJuhK4H0BvxLcCs/0hY93JJU83As6FEjhLDRN+VkKiEuUE+p9znBNsTDkb7 pXaRGmhOUxsByBI0jYJ/cLgOvAjKZL7xMs+4RaYnfWaXKxfdNmL/lgr5cP4pcESMVlnp Es0Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=OVCnL6TMVEKbVih9lSekpaIWmicCHQjqwOWVBW4/41I=; fh=jPZYfH+WTQVeSYvBiyFyyUFPM0yoeEdQhRRhpm6bE/I=; b=cbDYpZ0rW6oJoM1qZCIJXavtlgqrgBbY/115bfdJBnY/aTo0ammUQRw/f2qnEOKVC/ L7JJI4rwuGpDbKabBR+eMq+5AOyxxIYvtXMwiR6WnjcRFnPAiGpIjimjLg/IcHL8aIq7 CmAnWmQ86pNXnP5rBVMGNK/fy/unZgkQReyVwGM6x74+bd/ngIauWg91f7sf1AuK+06/ OAQSFRUPIjSk76poQtXXAgn6vBzncPQfRi1IB8jjvwXsd9boJwgfD8gcAMUxjuNeEPr3 pIK8fvR7cegUqn/1yLSGhCglxgE5FKL9iF8Cx+gL53wAKTvkQxTi/NhkxQTQWCdDtQWi fgLA==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of akarpovich@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=akarpovich@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20251104; t=1790924705; x=1791529505; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:content-type :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:sender :from:to:cc:subject:date:message-id:reply-to:content-type; bh=OVCnL6TMVEKbVih9lSekpaIWmicCHQjqwOWVBW4/41I=; b=x1FCT/Mdvim6NFChE1vX14edFPofr9SCkeyuToheoMWRIVTnlhU9IAqiaEHQXD4CGX 3hJAjqYhxTjNyaUhuq2uSIm7//8XKQVTgUEFX9e3/z8C7g23d9QiOeeNMoND+61+/IFF fIvHoSkHSRBnzUgcoMebpF4+r/BOPu0hySq0IIGiKY/CSNgYykILz4kKAikZyEreIYIP ZUetzJy2tT7wCRVZJIhFXRySc4Y+uPRKgWd/dofc45kxd7k+XnJ0nS/mszHr7vsMk/8k Gr3yUCqem7B93XgLo1CcqcLsmu8B6rs/iWQ+CaTdo05F3EAWznSRsHEwaRh5NLL44shL eO4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790924705; x=1791529505; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :content-type:x-original-authentication-results:x-original-sender :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to:content-type; bh=OVCnL6TMVEKbVih9lSekpaIWmicCHQjqwOWVBW4/41I=; b=QWkZTEiH3bJh6LRefLnfzk/WtzVC+57vlfZWFM80xnTMSWZVhRwb2R59dXiRZHMKdj 9TjDHIiPdJJtrtd32yLUfejLLWWqC8Hh9ISuUm1euf/75oP984YGAgRWTai+XGNyzjQY wgx/LRprClCJzF2WKxG1RB+GgcJXfryAh/GdUQ8KUIZ6bHroub5kQAVm+BAH5IrEWSCa odO9P2T0b7F8eLyCxIQ9BlNCiLf9cVsV6Zuu7lzvjq5teT9DVx+DD3danSQ7GpqrdC28 BIbaRj9Am5wVdzm+ha5Hjx6mbS0ZlhFYO8bU8b6aPRmekBx7K9kX1FdJyPPcuIKoUjkH mUOA== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AKwUvBy+GnXBpfsRDx9TA6I3Ga2T2n4v0vJ4rRVtccrdP6WXRNFeuqdJN9c+THqwLEBT0Mp9fYJ7Vik=@isar-build.org X-Gm-Message-State: AFq9FYIYSRD0DR2vRtlfUkp4XfcrsNo0n4/M+7Pem0AHvqkcgM10L/pY kDS3tb0ZOvumlxnC4OrkWAzSJdSJVWQjYukRvoE07ak7DKv6ZB+1dFQJ X-Received: by 2002:a2e:a986:0:b0:3a8:7db9:3b19 with SMTP id 38308e7fff4ca-3a88765a8f9mr4101221fa.9.1790924705053; Fri, 02 Oct 2026 00:05:05 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="ATskLde+hx/+N8m5Jxa47HokXjbk5Tz491HlQTnFdlL4KcP46Q==" Received: by 2002:a2e:88cc:0:b0:3a5:9af0:f2a5 with SMTP id 38308e7fff4ca-3a8a86335edls1886711fa.1.-pod-prod-02-eu; Fri, 02 Oct 2026 00:05:03 -0700 (PDT) X-Received: by 2002:a2e:bea6:0:b0:3a7:5ff2:576 with SMTP id 38308e7fff4ca-3a87ed41ebfmr4308991fa.1.1790924702648; Fri, 02 Oct 2026 00:05:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1790924702; cv=none; d=google.com; s=arc-20260327; b=Ow5+9yYVUa0MqFr/9JV9HiwbKHZiz7lAa8gVj76imVNll500rYBqERj62riCcZiadF TMXne7tmKs43rVVsLB0vRV0uf4I2h7n3aT5dJ+brk7glFafh2QnORPKoHINC8ZtBGUNb zlpe5uv4NiiskXDHREELkf4Iw92jnyyKP0HQW5g0kHBN2xqKk2B3PwOH1nl9fVxiXYUn I9zkEeD+dvSYrGhVpRTAaUZTdr7gnqaPOKEfxQcORjoH+B1ouIdcmfE6W7VP166BIZq7 sSTDPVTXZVimhe0SZeK+y0N5D7lwj5IFZKs1YHLr2Isp/ySAsemzXizivMvfbBdtCsps TQ6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=6jgUoTyoKd+Ylgr7JQl/ljKplh5BC6L4IxxErMKgZws=; fh=2ALxNboLzDt503PhX56nFQ4pQzOkkVjVTCOSpqCio6o=; b=BR3vqnqx4c3QNP4CcGYZU8ZU699+w0OvgNXPZ8PPXgebY70O1euW4ESU+kH3HuPx8I csMf1DxFF02WimiC/TQ3iH9mADXbaMWlp08H4TnJs8Iwe0iBem/78fF6m2Zfjfxt3ATH 0uLNfCIHxJoePv1hvoOkUGpDEcA9U1mU2W/JIhe1mYLyctJlTJFL5YSKHd1K1YvaF+6D mCB7mtWjg6Ij6mXbiHjHsxZcCEhgkZVTAUGKZkuf3rJC+fQFqYxiDXuSotHwps/SdMMS JXq37yxHRSKGAPLj+CGvrkfcBS7UPqnkszqfN6/US0eLpHF/WHOMX5R+q97dALnBv2MI DRhg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of akarpovich@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=akarpovich@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 38308e7fff4ca-3a8a87e1e56si177351fa.5.2026.10.02.00.05.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 02 Oct 2026 00:05:02 -0700 (PDT) Received-SPF: pass (google.com: domain of akarpovich@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from laptop-0xxx (62.122.174.6.serverel.net [62.122.174.6] (may be forged)) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 69274a1o003799 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 2 Oct 2026 09:05:01 +0200 From: akarpovich To: isar-users@googlegroups.com Cc: Uladzimir Bely Subject: [v11 09/12] kas: Add PREFETCH_BASE_APT config entry Date: Fri, 2 Oct 2026 09:01:12 +0200 Message-ID: <20261002070335.26526-10-akarpovich@ilbers.de> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20261002070335.26526-1-akarpovich@ilbers.de> References: <20261002070335.26526-1-akarpovich@ilbers.de> MIME-Version: 1.0 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, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, 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-Original-Sender: akarpovich@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of akarpovich@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=akarpovich@ilbers.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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= From: Uladzimir Bely This option allows to set ISAR_PREFETCH_BASE_APT to "0" or "1" and choose between old and new base-apt behaviour. Docker image kas uses should have "python3-apt" preinstalled in order to have new functionality working. Signed-off-by: Uladzimir Bely --- kas/opt/Kconfig | 12 ++++++++++++ kas/opt/prefetch-base-apt.yaml | 9 +++++++++ 2 files changed, 21 insertions(+) create mode 100644 kas/opt/prefetch-base-apt.yaml diff --git a/kas/opt/Kconfig b/kas/opt/Kconfig index bc4ed997..316b755a 100644 --- a/kas/opt/Kconfig +++ b/kas/opt/Kconfig @@ -213,3 +213,15 @@ config KAS_INCLUDE_USE_DRACUT string default "kas/opt/dracut.yaml" depends on USE_DRACUT + +config PREFETCH_BASE_APT + bool "Prefetch base-apt repo" + default y + help + This makse Isar always take packages from base-apt repository where they + are prefetched by deb-repo script before requested. + +config KAS_INCLUDE_PREFETCH_BASE_APT + string + default "kas/opt/prefetch-base-apt.yaml" + depends on PREFETCH_BASE_APT diff --git a/kas/opt/prefetch-base-apt.yaml b/kas/opt/prefetch-base-apt.yaml new file mode 100644 index 00000000..0cbdb93f --- /dev/null +++ b/kas/opt/prefetch-base-apt.yaml @@ -0,0 +1,9 @@ +# This software is a part of Isar. +# Copyright (C) 2024 ilbers GmbH + +header: + version: 14 + +local_conf_header: + prefetch-base-apt: | + ISAR_PREFETCH_BASE_APT = "1"