public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 0/1] fix on-first-boot for systemd >= 247
@ 2022-07-21 22:04 Felix Moessbauer
  2022-07-21 22:04 ` [PATCH 1/1] " Felix Moessbauer
  0 siblings, 1 reply; 8+ messages in thread
From: Felix Moessbauer @ 2022-07-21 22:04 UTC (permalink / raw)
  To: isar-users; +Cc: tobias.schmidl, henning.schild, jan.kiszka, Felix Moessbauer

This patch should fix the missing machine-id, as well as the first-boot target.
Please review carefully and test this on various layers.
Feedback is highly appreciated, especially for more complex images like SWU, ro root+overlay, no initrd, ubuntu and debian buster.

Snippet from journal on first boot of the image:

Jul 21 21:52:26 test-image systemd[1]: Detected architecture x86-64.
Jul 21 21:52:26 test-image systemd[1]: Detected first boot.
Jul 21 21:52:26 test-image systemd[1]: Set hostname to <test-image>.
Jul 21 21:52:26 test-image systemd[1]: Initializing machine ID from KVM UUID.
Jul 21 21:52:26 test-image systemd[1]: Failed to populate /etc with preset unit settings, ignoring: Read-only file system
Jul 21 21:52:26 test-image systemd[1]: Queued start job for default target Graphical Interface.

Snipped from second boot:

Jul 21 21:55:54 test-image systemd[1]: Detected architecture x86-64.
Jul 21 21:55:54 test-image systemd[1]: Set hostname to <test-image>.
Jul 21 21:55:54 test-image systemd[1]: Queued start job for default target Graphical Interface.

cat /proc/cmdline
initrd=\initrd.img-5.10.0-16-amd64 LABEL=Boot root=PARTUUID=5e078448-eeb1-4fc4-acd3-d3db9c93a430 rootwait console=tty0 console=ttyS0,115200

Best regards,
Felix

Felix Moessbauer (1):
  fix on-first-boot for systemd > 247

 meta/classes/image-postproc-extension.bbclass | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

-- 
2.30.2


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

end of thread, other threads:[~2022-07-25 14:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-21 22:04 [PATCH 0/1] fix on-first-boot for systemd >= 247 Felix Moessbauer
2022-07-21 22:04 ` [PATCH 1/1] " Felix Moessbauer
2022-07-22  7:34   ` Henning Schild
2022-07-22  8:37     ` Moessbauer, Felix
2022-07-25 14:00       ` Moessbauer, Felix
2022-07-22  8:02   ` Schmidl, Tobias
2022-07-22  8:27     ` Henning Schild
2022-07-22  8:34       ` Moessbauer, Felix

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