public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "'Felix Moessbauer' via isar-users" <isar-users@googlegroups.com>
To: isar-users@googlegroups.com
Cc: cedric.hombourger@siemens.com, jan.kiszka@siemens.com,
	akarpovich@ilbers.de,
	Felix Moessbauer <felix.moessbauer@siemens.com>
Subject: [RFC 0/1] Use host apt to reduce buildtime and size of rootfs
Date: Thu, 10 Sep 2026 12:06:59 +0200	[thread overview]
Message-ID: <20260910100700.3998213-1-felix.moessbauer@siemens.com> (raw)

This is a more throughout attempt to ONLY use the host apt to assemble
the rootfs. The key idea is to behave similar to mmdebstrap:
Use the host apt for all apt operations, but run dpkg inside the chroot.
This also allows us (part of this series), to not have apt at all in the
generated rootfs. If needed, users can just include it via
IMAGE_PREINSTALL += "apt".

The series is still in quite an early state and does not support the
base apt yet. As the base-apt is anyways currently being reworked, I
do not plan to support it as part of this series.

Review comments are highly welcome.

Best regards,
Felix Moessbauer
Siemens AG

Felix Moessbauer (1):
  rootfs: use host apt to install packages into rootfs

 meta-isar/conf/distro/raspios-bullseye.conf   |   2 +
 meta-isar/conf/distro/ubuntu-focal.conf       |   3 +
 meta/classes-recipe/deb-dl-dir.bbclass        |  34 ++++
 meta/classes-recipe/dpkg-source.bbclass       |  30 ++--
 .../image-account-extension.bbclass           |   1 +
 .../image-locales-extension.bbclass           |  13 +-
 meta/classes-recipe/rootfs.bbclass            | 145 +++++++-----------
 meta/classes-recipe/sdk.bbclass               |   5 +-
 .../isar-mmdebstrap/isar-mmdebstrap.inc       |  19 +--
 .../sbom-chroot/sbom-chroot.bb                |   2 +-
 .../sbuild-chroot/sbuild-chroot.inc           |   1 +
 11 files changed, 129 insertions(+), 126 deletions(-)

-- 
2.55.0

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20260910100700.3998213-1-felix.moessbauer%40siemens.com.

             reply	other threads:[~2026-09-10 10:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-10 10:06 'Felix Moessbauer' via isar-users [this message]
2026-09-10 10:07 ` [RFC 1/1] rootfs: use host apt to install packages into rootfs 'Felix Moessbauer' via isar-users

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=20260910100700.3998213-1-felix.moessbauer@siemens.com \
    --to=isar-users@googlegroups.com \
    --cc=akarpovich@ilbers.de \
    --cc=cedric.hombourger@siemens.com \
    --cc=felix.moessbauer@siemens.com \
    --cc=jan.kiszka@siemens.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