public inbox for cip-dev@lists.cip-project.org
 help / color / mirror / Atom feed
* [isar-cip-core][PATCH 0/3] Added support for rootfs-overlay (for development).
@ 2025-02-17 10:00 alexander.heinisch
  2025-02-17 10:00 ` [isar-cip-core][PATCH 1/3] Removed "ro" option from read-only-rootfs's fstab alexander.heinisch
                   ` (4 more replies)
  0 siblings, 5 replies; 21+ messages in thread
From: alexander.heinisch @ 2025-02-17 10:00 UTC (permalink / raw)
  To: cip-dev; +Cc: jan.kiszka, quirin.gylstorff, Alexander Heinisch

From: Alexander Heinisch <alexander.heinisch@siemens.com>

Updateable images based on isar-cip-core come with immutable rootfs
out of the box. During development this oftentimes comes with the penalty
of having to either rebuild images with additional files, packages aso.
to accomplish development and debugging tasks or derive from the production
image in a way that some fundamental features like verity, squashfs, swupdate, aso.
are not part of such.

Both cases are far from optimal. With this patch series we want to share
our attempt to streamline development by staying as close as possible to
our production image by overlaying the squashfs or erofs based ro filesystem
with an overlay. To make changes redundant accross reboots, we decided
to use a persistent storage option in favour of a tmpfs based approach.
(Although, technically there is no limitation on doing so)

Keep in mind, support for the root overlay is thought as a development
feature! Thus, it is not thought for production, as it invalidates many
of the properties we have from ro-filesystems. Also, keep in mind that
changes on the overlay may partially hide updates or lead to "unexpected"
results after applying updates.

Alexander Heinisch (3):
  Removed "ro" option from read-only-rootfs's fstab.
  Fix return value handling on filesystem check
  Added support for rootfs-overlay.

 classes/read-only-rootfs.bbclass              |  2 +-
 .../files/local-bottom.tmpl                   | 97 ++++++++++++++++---
 .../initramfs-overlay-hook_0.3.bb             |  2 +-
 3 files changed, 87 insertions(+), 14 deletions(-)

-- 
2.39.5



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

end of thread, other threads:[~2025-02-24 17:50 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-17 10:00 [isar-cip-core][PATCH 0/3] Added support for rootfs-overlay (for development) alexander.heinisch
2025-02-17 10:00 ` [isar-cip-core][PATCH 1/3] Removed "ro" option from read-only-rootfs's fstab alexander.heinisch
2025-02-17 10:00 ` [isar-cip-core][PATCH 2/3] Fix return value handling on filesystem check alexander.heinisch
2025-02-17 10:00 ` [isar-cip-core][PATCH 3/3] Added support for rootfs-overlay alexander.heinisch
2025-02-18  8:39   ` Quirin Gylstorff
2025-02-20 13:00     ` Heinisch, Alexander
2025-02-20 13:11       ` [cip-dev] " Nussel, Ludwig
2025-02-21 13:13         ` Heinisch, Alexander
2025-02-24 12:29       ` Quirin Gylstorff
2025-02-24 12:49         ` Heinisch, Alexander
2025-02-24 12:53           ` Jan Kiszka
2025-02-24 13:05             ` Heinisch, Alexander
2025-02-18  8:46 ` [isar-cip-core][PATCH 0/3] Added support for rootfs-overlay (for development) Jan Kiszka
2025-02-21 12:05   ` Heinisch, Alexander
     [not found] ` <1824F69F112B9158.31881@lists.cip-project.org>
2025-02-21 12:31   ` [cip-dev] [isar-cip-core][PATCH 1/3] Removed "ro" option from read-only-rootfs's fstab Heinisch, Alexander
2025-02-24  6:09     ` Jan Kiszka
2025-02-24 12:17       ` Quirin Gylstorff
2025-02-24 12:42         ` Jan Kiszka
2025-02-24 13:03           ` Heinisch, Alexander
2025-02-24 13:18             ` Jan Kiszka
2025-02-24 17:50               ` Heinisch, Alexander

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