public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH v7 0/8] Migrate to mmdebstrap
@ 2023-11-01 10:57 Anton Mikanovich
  2023-11-01 10:57 ` [PATCH v7 1/8] meta: Preinstall apt for Ubuntu and RPi targets Anton Mikanovich
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Anton Mikanovich @ 2023-11-01 10:57 UTC (permalink / raw)
  To: isar-users; +Cc: Anton Mikanovich

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 v6:
- Reorder patches.

Changes since v5:
- Improve keyring handling.
- Fix mmdebstrap hooks.

Changes since v4:
- Rebase on next.
- Migrate from apt-key to gpg.
- Fix Ubuntu and RPi targets.
- Cleanup debootstrap mentions.
- Fix commit messages.

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 (7):
  meta: Preinstall apt for Ubuntu and RPi targets
  meta: Fix missing dpkg available
  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 +-
 meta/conf/bitbake.conf                        |   2 +-
 .../isar-bootstrap/isar-bootstrap.inc         | 302 +++++++++---------
 5 files changed, 171 insertions(+), 189 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2023-11-01 10:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-01 10:57 [PATCH v7 0/8] Migrate to mmdebstrap Anton Mikanovich
2023-11-01 10:57 ` [PATCH v7 1/8] meta: Preinstall apt for Ubuntu and RPi targets Anton Mikanovich
2023-11-01 10:57 ` [PATCH v7 2/8] meta: Switch to mmdebstrap Anton Mikanovich
2023-11-01 10:57 ` [PATCH v7 3/8] meta: Fix missing dpkg available Anton Mikanovich
2023-11-01 10:57 ` [PATCH v7 4/8] isar-bootstrap: Move preparations to hooks Anton Mikanovich
2023-11-01 10:57 ` [PATCH v7 5/8] isar-bootstrap: Use tar output instead of directory Anton Mikanovich
2023-11-01 10:57 ` [PATCH v7 6/8] user_manual.md: Replace debootstrap with mmdebstrap Anton Mikanovich
2023-11-01 10:57 ` [PATCH v7 7/8] user_manual.md: Update minimal host requirements Anton Mikanovich
2023-11-01 10:57 ` [PATCH v7 8/8] isar-bootstrap: Remove unused code Anton Mikanovich

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