From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7006327806325948416 X-Received: by 2002:a17:906:72d0:: with SMTP id m16mr11673453ejl.282.1631525804670; Mon, 13 Sep 2021 02:36:44 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6402:65a:: with SMTP id u26ls1916647edx.2.gmail; Mon, 13 Sep 2021 02:36:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxEsa+juyRFu74zJjllKGBXkivYRw+yYPOP1G50+lmTEDse5MewygY8KQQgBSfCsJZTBiq X-Received: by 2002:a05:6402:5163:: with SMTP id d3mr12308741ede.220.1631525803544; Mon, 13 Sep 2021 02:36:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631525803; cv=none; d=google.com; s=arc-20160816; b=V0WW41UyE+H/oib1LoSpPWQLC0sm86IQK06eL/rpMek/CJea5uj70G2rkyUXkR7Z9w A7xtHGUgHNEiSRCXUBbehZCnZqdVqBKQYuZ/wWqUXzwHSqEboyCAoWa7S+6usFBQha34 cr+OjC4B0s/nMtk8SoQIAKELyDl6Rzr5Hax1+2u9a9WsTOggO0aKXc4Zhzzf2OlOkh4P i0vYLNsgkM0uAT/WskgrddOYi5M6Y+hW+ooUmJR4DeNtrJ8rvXo3mungKfbY1c1BiCMy 8mRSUfPWE/liV94RLR8FhoVdNzKy2Ow7eXosdQU34E1F9cZPeN2tCn7zp2iIPysjyAc5 8zTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date; bh=hQPYENw2v+sK63ClTf9QG1mhxtOv3JOFMAUuzeHTA+c=; b=gXvJ8iuidNjKhJM8BWrkayaIaz8EVSXtGPVMMvr+XwZrvXW82Q+6ye5/qEphBS6ZjT vaIyFPapf6ol/DApbrEDsSjn62/2K5xMOb15xM2FcCmPS1rBFuJg4PuPb/erveTIwL5u qY/mDKll4oSq/n0DovpefptNM6MRVQULu/HqDte2K6nbb/2gOCFPGm8+ksN2+Yyl7VqM dZIQ6nYhrbfisFqm4igd0KKH8itn1cMwGUDaSrAtZLPXgodpJtUImkKgeSQEj/0jz/se Mlrx5/YIw96dlbtTzmDqK6KxILYrYfuBIwL1HFb2rpvX/9bY1I5WCnX+woUIuat8/zNW inyw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id p21si142052edx.1.2021.09.13.02.36.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Sep 2021 02:36:43 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id 18D9ahgu026432 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 13 Sep 2021 11:36:43 +0200 Received: from md1za8fc.ad001.siemens.net ([139.25.0.59]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id 18D9ago3025110; Mon, 13 Sep 2021 11:36:43 +0200 Date: Mon, 13 Sep 2021 11:36:42 +0200 From: Henning Schild To: Uladzimir Bely Cc: isar-users@googlegroups.com Subject: Re: [PATCH 0/1] Improving base-apt usage Message-ID: <20210913113642.0d0c57b7@md1za8fc.ad001.siemens.net> In-Reply-To: <20210910153008.16499-1-ubely@ilbers.de> References: <20210910153008.16499-1-ubely@ilbers.de> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: PwynSIgv9C7L Am Fri, 10 Sep 2021 17:30:07 +0200 schrieb Uladzimir Bely : > Currently, base-apt is used in the following way: > * At first build every deb file that took part in installing is > cached in directory $DL_DIR/deb/. Debootstrap is done from remote > source. > * At second build, `base-apt` repo is created from previously > downloaded debs (if ISAR_USE_CACHED_BASE_REPO is set). Debootstrap > and installing packages later is done from this local repo > > The idea of this patchset is to precreate `base-apt` at first build > and use it later for all steps. So, no second build will be required. Well, in fact you do not need a full second build. Doing so will just boost confidence that the cache is hopefully complete. If one does not want to do so, just doing a "bitbake [mc::]base-apt -c do_cache" will be good enough. Henning > Currently, only debootstrap part is supported, all build-deps are > still installed as before. > > Uladzimir Bely (1): > [meta] Use cached base-apt repo to debootstrap > > meta-isar/conf/distro/ubuntu-focal.conf | 4 + > meta-isar/conf/distro/ubuntu.public.key | 53 +++++ > .../isar-bootstrap/isar-bootstrap.inc | 35 ++- > scripts/debrepo.py | 216 > ++++++++++++++++++ 4 files changed, 307 insertions(+), 1 deletion(-) > create mode 100644 meta-isar/conf/distro/ubuntu.public.key > create mode 100644 scripts/debrepo.py >