From: "Schmidl, Tobias" <tobiasschmidl@siemens.com>
To: "isar-users@googlegroups.com" <isar-users@googlegroups.com>
Subject: expand-on-first-boot: Additional findings
Date: Wed, 29 Jun 2022 12:03:40 +0000 [thread overview]
Message-ID: <f0d302ca1a184f68984297bf3599e03aebb700df.camel@siemens.com> (raw)
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
next reply other threads:[~2022-06-29 12:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-29 12:03 Schmidl, Tobias [this message]
2022-06-29 16:40 ` Henning Schild
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=f0d302ca1a184f68984297bf3599e03aebb700df.camel@siemens.com \
--to=tobiasschmidl@siemens.com \
--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