]> git.ipfire.org Git - thirdparty/systemd.git/commit
stub: get uname from image before loading addons
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Fri, 19 Apr 2024 09:29:31 +0000 (11:29 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 19 Apr 2024 18:37:39 +0000 (20:37 +0200)
commit2f49ed9a01014f9704409edb70f217d3fa94e383
treeb49db67db5b29bf1708b072dedbc8b52a3995ea3
parent785d625c2ad9d14464a890772534e42958d3d409
stub: get uname from image before loading addons

Otherwise uname is always NULL before calling `load_addons()`, so it's not being
checked if .uname matches between addons and UKI.

Fixes 68f85761e2eb1fd2243019980a64b174f07432c3
src/boot/efi/stub.c