public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Improving base-apt usage
@ 2021-10-01  9:13 Uladzimir Bely
  2021-10-01  9:13 ` [PATCH v2 1/1] [meta] Use cached base-apt repo to debootstrap Uladzimir Bely
  2021-10-05  8:36 ` [PATCH v2 0/1] Improving base-apt usage Henning Schild
  0 siblings, 2 replies; 3+ messages in thread
From: Uladzimir Bely @ 2021-10-01  9:13 UTC (permalink / raw)
  To: isar-users

Changes since v1:
 - rebased on latest next
 - updated patchset description

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.

In future, there are plans to switch from debootstrap to mmdebstrap that
is able to work without sudo and uses more clean (apt/python-apt) approach
in comparison with debootstrap.

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-05  8:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01  9:13 [PATCH v2 0/1] Improving base-apt usage Uladzimir Bely
2021-10-01  9:13 ` [PATCH v2 1/1] [meta] Use cached base-apt repo to debootstrap Uladzimir Bely
2021-10-05  8:36 ` [PATCH v2 0/1] Improving base-apt usage Henning Schild

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox