From: Uladzimir Bely <ubely@ilbers.de>
To: isar-users@googlegroups.com
Subject: [PATCH v4 0/6] Migrate to mmdebstrap
Date: Wed, 27 Sep 2023 06:33:14 +0200 [thread overview]
Message-ID: <20230927043320.6264-1-ubely@ilbers.de> (raw)
Switch Isar from debootstrap to mmdebstrap.
It makes isar-bootstrap target ~10..30% faster on both cross and native
rootfs types. Some measurements on qemuarm64-bookworm (required debs are
predownloaded and used during deb-dl-import):
- 20s vs 28s for "isar-bootstrap-host"
- 1m32s vs 1m48s for "isar-bootstrap-target
Also mmdebstrap support using SOURCE_DATE_EPOCH for images reproducibly
out of the box. But the main advantage is an ability to remove sudo for
debootstrapping later on (this needs "uidmap" package installed).
This change breaks Debian Buster support as host distro.
Changes since v3:
- Rebase on latest next.
- Remove temporary patch 7 since kas:4.0 already includes mmdebstrap.
Changes since v2:
- Rebase on next.
- Fix commit messages.
- Update host requirements.
Changes since v1:
- Move mmdebstrap tmpdir to workdir.
- Fix kas building.
- Improve mounts cleanup.
Anton Mikanovich (5):
isar-bootstrap: Move preparations to hooks
isar-bootstrap: Use tar output instead of directory
user_manual.md: Replace debootstrap with mmdebstrap
user_manual.md: Update minimal host requirements
isar-bootstrap: Remove unused code
Anton Mikanovich (5):
isar-bootstrap: Move preparations to hooks
isar-bootstrap: Use tar output instead of directory
user_manual.md: Replace debootstrap with mmdebstrap
user_manual.md: Update minimal host requirements
isar-bootstrap: Remove unused code
Uladzimir Bely (1):
meta: Switch to mmdebstrap
doc/user_manual.md | 41 +--
meta-isar/conf/distro/ubuntu-common.inc | 4 -
meta/classes/rootfs.bbclass | 11 +-
.../isar-bootstrap/isar-bootstrap.inc | 274 ++++++++----------
4 files changed, 146 insertions(+), 184 deletions(-)
--
2.20.1
next reply other threads:[~2023-09-27 4:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-27 4:33 Uladzimir Bely [this message]
2023-09-27 4:33 ` [PATCH v4 1/6] meta: Switch " Uladzimir Bely
2023-09-27 10:02 ` Jan Kiszka
2023-09-27 4:33 ` [PATCH v4 2/6] isar-bootstrap: Move preparations to hooks Uladzimir Bely
2023-09-27 10:05 ` Jan Kiszka
2023-09-27 4:33 ` [PATCH v4 3/6] isar-bootstrap: Use tar output instead of directory Uladzimir Bely
2023-09-27 10:07 ` Jan Kiszka
2023-10-17 14:05 ` Anton Mikanovich
2023-09-27 4:33 ` [PATCH v4 4/6] user_manual.md: Replace debootstrap with mmdebstrap Uladzimir Bely
2023-09-27 4:33 ` [PATCH v4 5/6] user_manual.md: Update minimal host requirements Uladzimir Bely
2023-09-27 4:33 ` [PATCH v4 6/6] isar-bootstrap: Remove unused code Uladzimir Bely
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230927043320.6264-1-ubely@ilbers.de \
--to=ubely@ilbers.de \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox