public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Anton Mikanovich <amikan@ilbers.de>, isar-users@googlegroups.com
Subject: Re: [PATCH v6 0/8] Migrate to mmdebstrap
Date: Fri, 27 Oct 2023 17:36:43 +0200	[thread overview]
Message-ID: <f22e113e-59a9-49b2-af00-825c6a5a2c7c@siemens.com> (raw)
In-Reply-To: <20231024062358.252053-1-amikan@ilbers.de>

On 24.10.23 08:23, Anton Mikanovich wrote:
> 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.

No other regressions known? Or do we need an option to select the
bootstrap variant, at least for some transition period?

BTW, the series seems to be a bit misordered, given that it first
switched to mmdebstrap and only after that fixes related issues. Is that
unavoidable?

Jan

> 
> 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
>   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
>   meta: Fix missing dpkg available
> 
> 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(-)
> 

-- 
Siemens AG, Technology
Linux Expert Center


  parent reply	other threads:[~2023-10-27 15:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-24  6:23 Anton Mikanovich
2023-10-24  6:23 ` [PATCH v6 1/8] meta: Switch " Anton Mikanovich
2023-10-24  6:23 ` [PATCH v6 2/8] meta: Preinstall apt for Ubuntu and RPi targets Anton Mikanovich
2023-10-24  6:23 ` [PATCH v6 3/8] isar-bootstrap: Move preparations to hooks Anton Mikanovich
2023-10-24  6:23 ` [PATCH v6 4/8] isar-bootstrap: Use tar output instead of directory Anton Mikanovich
2023-10-24  6:23 ` [PATCH v6 5/8] user_manual.md: Replace debootstrap with mmdebstrap Anton Mikanovich
2023-10-24  6:23 ` [PATCH v6 6/8] user_manual.md: Update minimal host requirements Anton Mikanovich
2023-10-24  6:23 ` [PATCH v6 7/8] isar-bootstrap: Remove unused code Anton Mikanovich
2023-10-24  6:23 ` [PATCH v6 8/8] meta: Fix missing dpkg available Anton Mikanovich
2023-10-27 15:36 ` Jan Kiszka [this message]
2023-11-01  9:58   ` [PATCH v6 0/8] Migrate to mmdebstrap Anton Mikanovich

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=f22e113e-59a9-49b2-af00-825c6a5a2c7c@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=amikan@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