From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7006327806325948416 X-Received: by 2002:adf:d191:: with SMTP id v17mr10585071wrc.345.1631287812839; Fri, 10 Sep 2021 08:30:12 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:c789:: with SMTP id l9ls4127wrg.1.gmail; Fri, 10 Sep 2021 08:30:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhkoWsUB08+WCis0uXQBgqEIUP19LzmzkYUiAw9RCVufZ9pQRQcT7bkROTUO9kXln7+pVY X-Received: by 2002:a5d:6cc2:: with SMTP id c2mr9991201wrc.53.1631287811772; Fri, 10 Sep 2021 08:30:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631287811; cv=none; d=google.com; s=arc-20160816; b=GfSpmenSdTuS3Fq21EaQq9k+xtJzjXg+pybsGSqyi7UO+dM8yXfv9vtzc7uj1sM0WO /48qwh1l226n/eJj9UWs3R0tEZeToRMLNJXYtctrOt5BkHdlhmwGZth3bQdc9LKZObxV yGwkBOqne+P1gk4gTEsFrwQS2Ht5rEM/juZk+USV5vDnSuNf1KzANrvPE1fcvNybatsb zHmL81PM2PhbHhJXR+90LC5tli2unqFVgdJk0npPP7xdKolZ11CM0OmOmiJeE9n4FWEI jEAYaSD5XjymfsaBrJFWfEdfM18LzqboHXbhakfydG9t0m/fKU+0AYLFJjm4EFoetcmj 0AHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from; bh=d6YXDpRtkf17EHTwXkp705JBC3bfj+AOZTedLdXwP+g=; b=ei3g7hUcA9Osc0QjejC5l+xGmkWxNiJbWk/AWG9wj5lgRxV+BaD9rWib9ZwWrel8Na C6YAVWDvYpFsqqVqAgx74vLijG+osxOAbf3le47lKuxTaTm0UodUv+iot58KdTAI/6CJ 9KIRK9siYpORSJrUHXQ/HNDUfehKke3+7cQMACrsPT5XN3/Oifz2Y3LoeY+PmNILFEAq LxEyvAkYNag4+gJkRWYr529iHrQ44yH5ccFAOgJe1uAGKaP8L4dRrhgehnhnIf4V9ZbA PLXcD8Vy5C1Yp30ld0eewR73oV9/nD/m6iSpcR/WMtLpQr7GTVYtH7o6Pc2uA3K6S6sS AmXQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id t16si457092wrx.3.2021.09.10.08.30.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 Sep 2021 08:30:11 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from baighyz.m.ilbers.de (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id 18AFU8qA030519 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 10 Sep 2021 17:30:09 +0200 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: [PATCH 0/1] Improving base-apt usage Date: Fri, 10 Sep 2021 17:30:07 +0200 Message-Id: <20210910153008.16499-1-ubely@ilbers.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: ZMTflKKG9use 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. 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 -- 2.20.1