public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [RFC 0/1] Use host apt to reduce buildtime and size of rootfs
@ 2026-09-10 10:06 'Felix Moessbauer' via isar-users
  2026-09-10 10:07 ` [RFC 1/1] rootfs: use host apt to install packages into rootfs 'Felix Moessbauer' via isar-users
  0 siblings, 1 reply; 2+ messages in thread
From: 'Felix Moessbauer' via isar-users @ 2026-09-10 10:06 UTC (permalink / raw)
  To: isar-users; +Cc: cedric.hombourger, jan.kiszka, akarpovich, Felix Moessbauer

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.

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

end of thread, other threads:[~2026-09-10 10:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-10 10:06 [RFC 0/1] Use host apt to reduce buildtime and size of rootfs 'Felix Moessbauer' via isar-users
2026-09-10 10:07 ` [RFC 1/1] rootfs: use host apt to install packages into rootfs 'Felix Moessbauer' via isar-users

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