From patchwork Fri Sep 27 19:06:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "alexander.heinisch" X-Patchwork-Id: 214 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 27 Sep 2024 21:07:24 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-qk1-f191.google.com (mail-qk1-f191.google.com [209.85.222.191]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 48RJ7Nw2026028 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 27 Sep 2024 21:07:23 +0200 Received: by mail-qk1-f191.google.com with SMTP id af79cd13be357-7a99fdae7bbsf531390385a.3 for ; Fri, 27 Sep 2024 12:07:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1727464037; cv=pass; d=google.com; s=arc-20240605; b=I9xT/1YaV6iU+FhIeuIQPA5+DU9laMINCmK5tsoaGUOx2m4F1ACVFUStp5y1W3MXhg acP5GzqC3TOYyjjJRFI/nMP8Az5432FAHVQHbY7z3KtgdgERaMAzfh9nRn/6CLBBw6A5 Row6Wci7CJI5ArOUsSNtf7C0y6kth8v0HxiN0B1O7cM3KVYnxRW8Yti+VwmVmEPqgIzm pDNITTZ3lmjzAKVsrvuLVOEfODxKSZXvgexKNCm0pK8JBcY7GEjKtSfVzLc75lGFG4S3 gIc85xWU0cUw/uvASr3nef7AW1gQ/RIJBHOZnxOUTFpZyVz72ITNKayF4w3fXXHRCyCV QXNQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:feedback-id:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=XZT744Ln3zKdeJhdBuThhkr01RGTCsIEZCKNejXq7YQ=; fh=+J3CtZkGIajZByMqA1RZF0TMz8Hd+JFmOfmyVD0IyuA=; b=M3mS6X+tidjX1IBRQCpl4CnrIbVNeI07/pVZzGdkxHEQZHG82gl5Ignr+C6XQ5Ohub OuyW6xK+WE2aXYKjqkZ9hh4C6a59cc62RFscGsDNaG+BJWGpN7b9k7nsfnHL8mAbvcJN NUHgLna1glVhR06382DEzVPI297W5F0lDX5TetmcKGnbY1Ki/DNj3uBB3os0n+eDVEGh wuwBBlAFxSBGCtEzKxNk18m07iPmGZ+lINOfGaDzfiU8s0LUeciZ976AngocNabHNoz1 wB80EKPTCCl5X6avczVsRvcnRBM7AsUPqh2in3PZ1cR+MCRIvlLweyoRI9qg26qUJZhv 5Kkw==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=COzaWMxf; spf=pass (google.com: domain of fm-1326448-20240927190713270217e571d59f0196-kpq0x8@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) smtp.mailfrom=fm-1326448-20240927190713270217e571d59f0196-KpQ0x8@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1727464037; x=1728068837; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=XZT744Ln3zKdeJhdBuThhkr01RGTCsIEZCKNejXq7YQ=; b=bIgLbaoLlPLZ2Bd+0owm0wyslHkY3f6INSY6FQs/UkrhGGa2ZaLFyYHimxGZrmpg7y +v1hZJJBut/XdKsSvp4yhsY3OP2L8sjhpM6G++phcZVjj43A1PmdjdyQvKXmkrohOC/e /YJTrIyHJJNB9AU0eYoBrwFfFgcgKtfbd/dcMrSsSAKtIMHxEystuR/+SN1VQTRn/CjM MdZB8AKHKw6hTv0cRvwrQs4gmAg2nCT/IsGlYia69aP5Ev5NiQdfUROKMGxtFqvHr6fc a5A3S5JEWE1xP7P3n8ZnswkbjiqsulsRQCc976DOOCYRnxJu6KiSFwC/L38D/PvbvqvS OlUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727464037; x=1728068837; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:message-id:date:subject:cc:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=XZT744Ln3zKdeJhdBuThhkr01RGTCsIEZCKNejXq7YQ=; b=ZlaYRl9zonw8q50cNsXcwq1UoDza1U3Cfmm7qRnZ8fGN4oc3kiI19XLmtUZ4dD553a jYISnW+AYvU+As1y7shNLa0rAI4BDCWVFIz2rJqv+W7qNsrRWEd5Di5Jg3nCqEyso3f3 CIzprguBdxzbgb41R1Yh3rgdIl74cUo8iqDwhSiIeMAmGIiQMpMXmr1JChph6MRwQ4uf U8sBKF/l1cTR+KekmyqpfV340zm3j+Zu0cKsJJU2+ZH0zcqptiPCbC6Jpi+dOM0qZR2F wMN5QcsYXxXbkZ7xBDjPzZa0IySixjHNhvXDkxeLB29hiLFcBF/XUISwZm4p4C1y9iQK YwHA== X-Forwarded-Encrypted: i=2; AJvYcCW43hoCef6aUpINr3er0/vk1HS7Yn0e537c67NECWphJOqe9IFmuaaSsv2Qw48/0t7amOeCnPw=@isar-build.org X-Gm-Message-State: AOJu0Yw4MU9d8QY2+Qbk9uJcmw2S/iCcwXl6QvOlRvCEPsIpLLOCwLAs YlRV/6FnZGXU0TFnfFUrF22LKztnTdLFTnkGRLCDC6/fJULmqQa/ X-Google-Smtp-Source: AGHT+IFSIH1GKgvcs6qhElzxSvtXqEHJ+G0IPPjVVCwAw6DMimneeCiJArfcroBsFVJ529C/TqaEVQ== X-Received: by 2002:a05:6214:5b03:b0:6cb:477a:665c with SMTP id 6a1803df08f44-6cb477a7db5mr29868936d6.25.1727464037062; Fri, 27 Sep 2024 12:07:17 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6214:268b:b0:6b5:da50:ac19 with SMTP id 6a1803df08f44-6cb2eeaabffls47284836d6.2.-pod-prod-07-us; Fri, 27 Sep 2024 12:07:15 -0700 (PDT) X-Received: by 2002:a05:6122:d9c:b0:4f5:2a41:d10e with SMTP id 71dfb90a1353d-50781891aaemr3953689e0c.10.1727464035184; Fri, 27 Sep 2024 12:07:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1727464035; cv=none; d=google.com; s=arc-20240605; b=JF7QBJym5HTg1RdDC+VCCXnpbYPKaBKnLLocO10GD1pUV0JqKDuU9QyoecyoHtOYeK TB8BC+/pKsNSETW1R4e9CzF8Eu/jMYaZ6qOFEz468J6GbS8pgWogN+fXP6JNtCGnmFku JIBZyx0JNUtNHL9bLMLp+SgMCz5KLGYgwKIpZwsxtROFM4/69N6CYuF6IBFGf6HZoNIY RZ4KKpaMUIgqqMwCdWrfgHUQuwxsm+4I/wYMD1x63BYsoR2XHbkai0nPGVXEd60NfqKD kLvPwpli3IvoKtmXG6YeAbZ9SJfV5bes9RUrS8wc4uwl8XQ/6RVjM3ROavvs2xJqGTxp F+Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=feedback-id:content-transfer-encoding:mime-version:message-id:date :subject:cc:to:from:dkim-signature; bh=UiMoFQyiqOEwarhMf+5R2wzIy3Vio1CNXLxONd01NJA=; fh=qlpLpZCOHpn3j/g0XGeAn8LOB72WJczsFovYQ6vHQlk=; b=FM2yJhk7nc+DyxRvQ/Qr6aL3pRP3LmYl6VGqcZ77QZ6YVaH5npw3mizJHld8RC6W1J ye8wj9YtMwxa/NG5bc0AJVd6qKopSMHH5Aw1WqJ72uEQgVh6FLKoKlNuxtpAbONXU2wy fkziynOiNcMIu8ngS25PrpJuByb8xSo0dxEZ6W3ZGdkQGO6vUtoOEqEX2H/x5pd/EubF stbJbkZI5XS2kmRWqyrxtiVburPeLLywxAxE9NohGaNDNPHAvoxTRtojEzP2hcGwTirz awc6FLPhaMK+EXsM1PI01Qsl23e/0JaSkQgE8ZdGU+EVmSKXJNsgb5I0KKYV0m4AnL6E vHXw==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=COzaWMxf; spf=pass (google.com: domain of fm-1326448-20240927190713270217e571d59f0196-kpq0x8@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) smtp.mailfrom=fm-1326448-20240927190713270217e571d59f0196-KpQ0x8@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-64-225.siemens.flowmailer.net (mta-64-225.siemens.flowmailer.net. [185.136.64.225]) by gmr-mx.google.com with ESMTPS id 71dfb90a1353d-508ed69718bsi23541e0c.1.2024.09.27.12.07.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Sep 2024 12:07:15 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-1326448-20240927190713270217e571d59f0196-kpq0x8@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) client-ip=185.136.64.225; Received: by mta-64-225.siemens.flowmailer.net with ESMTPSA id 20240927190713270217e571d59f0196 for ; Fri, 27 Sep 2024 21:07:13 +0200 X-Patchwork-Original-From: "alexander.heinisch via isar-users" From: "alexander.heinisch" To: isar-users@googlegroups.com, felix.moessbauer@siemens.com Cc: Alexander Heinisch Subject: [PATCH 0/3] Added support for apt caching Date: Fri, 27 Sep 2024 21:06:47 +0200 Message-ID: <20240927190650.128263-1-alexander.heinisch@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1326448:519-21489:flowmailer X-Original-Sender: alexander.heinisch@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm2 header.b=COzaWMxf; spf=pass (google.com: domain of fm-1326448-20240927190713270217e571d59f0196-kpq0x8@rts-flowmailer.siemens.com designates 185.136.64.225 as permitted sender) smtp.mailfrom=fm-1326448-20240927190713270217e571d59f0196-KpQ0x8@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: alexander.heinisch@siemens.com Reply-To: alexander.heinisch@siemens.com 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.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= From: Alexander Heinisch Added DISTRO_APT_SNAPSHOT_PREMIRROR_BASE to specify the base-url of the mirror used. This enables the use of local caches like apt-cache-ng when using isar's snapshot facility. We also added Kconfig support for such and a small (non-exhaustive) documentation how to use it in `doc/apt-cache.md`. Alexander Heinisch (3): Added DISTRO_APT_SNAPSHOT_PREMIRROR_BASE to specify the base-url of the mirror used. Added Kconfig for cached snapshot mirror Added doc to setup apt cache. doc/apt-cache.md | 55 +++++++++++++++++++++++++ kas/opt/Kconfig | 25 ++++++++++- kas/opt/mirror-snapshot.yaml | 3 ++ meta-isar/conf/distro/ubuntu-common.inc | 3 +- meta/conf/distro/debian-common.conf | 3 +- 5 files changed, 86 insertions(+), 3 deletions(-) create mode 100644 doc/apt-cache.md Signed-off-by: Alexander Heinisch