public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* sstate can result in inconsistent kernel and modules
@ 2022-10-16  5:48 MOESSBAUER, FELIX JONATHAN
  2022-10-17  5:59 ` Jan Kiszka
  0 siblings, 1 reply; 6+ messages in thread
From: MOESSBAUER, FELIX JONATHAN @ 2022-10-16  5:48 UTC (permalink / raw)
  To: isar-users, Schmidt, Adriaan; +Cc: jan.kiszka, Schild, Henning

Dear ISAR users,

I just discovered the following bug on a re-build using the sstate cache:

The installed kernel version in the image is 5.19.6-1, while the kernel modules are built for 5.19.0-2.
The reason is that the modules are extracted from the sstate cache, but bitbake does not know about the "exact" kernel revision used for building.

Actually, I don't know how to easily solve that issue, as bitbake does not know about the exact Debian package versions.
But what could be done is to check for version incompatibilities in the final rootfs.
Or we disable the sstate cache for module builds (but I don't know how to do that).

Best regards,
Felix

--
Siemens AG, Linux Expert Center
Otto-Hahn-Ring 6, 81739 München, Germany


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

end of thread, other threads:[~2022-10-20  3:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-16  5:48 sstate can result in inconsistent kernel and modules MOESSBAUER, FELIX JONATHAN
2022-10-17  5:59 ` Jan Kiszka
2022-10-17  6:20   ` MOESSBAUER, FELIX JONATHAN
2022-10-17  6:40     ` Jan Kiszka
2022-10-19  5:36     ` Uladzimir Bely
2022-10-20  3:10       ` MOESSBAUER, FELIX JONATHAN

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