public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* expand-on-first-boot: Additional findings
@ 2022-06-29 12:03 Schmidl, Tobias
  2022-06-29 16:40 ` Henning Schild
  0 siblings, 1 reply; 2+ messages in thread
From: Schmidl, Tobias @ 2022-06-29 12:03 UTC (permalink / raw)
  To: isar-users

Hi all,

in addition to the changes in the last patch [1] I tried defer the call to
systemd-growfs to the way it was intended by systemd: By setting a fstab
option. This proved to be unsuccessful, as systemd-growfs ist triggered
via systemd-remount, and this is way earlier in the boot chain than I was
able to set expand-on-first-boot. (systemd-analyze seems to report not the
full truth in this case.) The same is with systemd-repart.

Additionally, systemd-repart requires the user to make changes (and, more
importantly, keep them in sync) to both the wic file and the systemd-
repart config file:
- The wic file needs to set the correct UUID for the partition - which are
  both platform and usage dependent, according to the Discoverable
  Partitions Specification [2]
- The systemd-config refers to these UUIDs in an abstracted way [3]

This is in my opinion too error prone to be used in a production
environment.

Kind regards,

Tobias

[1] https://groups.google.com/g/isar-users/c/8NATfl5i2a4
[2] https://systemd.io/DISCOVERABLE_PARTITIONS/
[3] https://manpages.debian.org/testing/systemd/repart.d.5.en.html


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

end of thread, other threads:[~2022-06-29 16:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-29 12:03 expand-on-first-boot: Additional findings Schmidl, Tobias
2022-06-29 16:40 ` Henning Schild

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