public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 0/3] Fix data-race in deployment of initrd
@ 2023-02-17 10:01 Felix Moessbauer
  2023-02-17 10:01 ` [PATCH 1/3] add initramfs to sstate-cache Felix Moessbauer
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Felix Moessbauer @ 2023-02-17 10:01 UTC (permalink / raw)
  To: isar-users; +Cc: adriaan.schmidt, jan.kiszka, Felix Moessbauer

This patch fixes a data race in the deployment of the initrd, as discussed on
the ML in "Issues creating images with custom initramfs". As a measure against
further races on these files, we also use the sstate cache for deployment.

Please note, that imaging with wic + grub or systemd-boot with a custom
initramfs is still broken. This is due to the wic logic, which reads the
initrd in the rootfs, but not the one in the deploy dir.

Best regards,
Felix Moessbauer
Siemens AG

Felix Moessbauer (3):
  add initramfs to sstate-cache
  deploy boot files via sstate-cache
  fix race-cond between default and custom initrd

 meta/classes/image.bbclass     | 38 ++++++++++++++++++++++------------
 meta/classes/initramfs.bbclass | 18 +++++++++++-----
 scripts/start_vm               |  4 ++--
 testsuite/start_vm.py          |  2 +-
 4 files changed, 41 insertions(+), 21 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2023-02-18 10:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-17 10:01 [PATCH 0/3] Fix data-race in deployment of initrd Felix Moessbauer
2023-02-17 10:01 ` [PATCH 1/3] add initramfs to sstate-cache Felix Moessbauer
2023-02-17 10:01 ` [PATCH 2/3] deploy boot files via sstate-cache Felix Moessbauer
2023-02-17 10:01 ` [PATCH 3/3] fix race-cond between default and custom initrd Felix Moessbauer
2023-02-17 11:55   ` Jan Kiszka
2023-02-18 10:28     ` Moessbauer, Felix

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