public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH v3 0/1] expand-on-first-boot: wait for udev to create symlink
@ 2022-12-09 11:24 T. Schaffner
  2022-12-09 11:24 ` [PATCH v3 1/1] " T. Schaffner
  0 siblings, 1 reply; 6+ messages in thread
From: T. Schaffner @ 2022-12-09 11:24 UTC (permalink / raw)
  To: isar-users
  Cc: henning.schild, felix.moessbauer, jan.kiszka, roberto.foglietta,
	Tobias Schaffner

From: Tobias Schaffner <tobias.schaffner@siemens.com>

Changes since v2:
- Remove unneeded helper function
- Sign commit and create a cover letter with version changes

Changes since v1:
- Run systemd-growfs and retry on missing symlink in /dev/block

systemd-growfs depends on a symlink to the partition of the filesystem
that should be resized. This symlink is created by udev in /dev/block/.

If this symlink is not yet created for example because systemd-udev is
not up yet systemd-growfs will fail.

We could use Require and After to depend on the systemd-udev service
but this could again create a race condition if udev is up but not
fast enough after the partx -u.

Run systemd-growfs periodically until the symlink appears.

Tobias Schaffner (1):
  expand-on-first-boot: wait for udev to create symlink

 .../files/expand-last-partition.sh            | 21 ++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

-- 
2.34.1


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

end of thread, other threads:[~2022-12-09 17:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-09 11:24 [PATCH v3 0/1] expand-on-first-boot: wait for udev to create symlink T. Schaffner
2022-12-09 11:24 ` [PATCH v3 1/1] " T. Schaffner
2022-12-09 11:56   ` Jan Kiszka
2022-12-09 13:57   ` Henning Schild
2022-12-09 15:11     ` Schaffner, Tobias
2022-12-09 17:23     ` Roberto A. Foglietta

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