]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Make sure we pass the right context to finalize_default_initrd()
authorDaanDeMeyer <daan.j.demeyer@gmail.com>
Thu, 8 Jan 2026 17:06:16 +0000 (18:06 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 10 Jan 2026 10:26:36 +0000 (11:26 +0100)
commite4229f5bf5bae29264ffeed8bb347a85ca725899
tree32d93e17d051de63667c1e66028cf3d9a710c2e4
parent6f4684c7775b584e3c1a742510aa8aa6bdd473a7
Make sure we pass the right context to finalize_default_initrd()

We mess around with the context object to make it for for use when
reading the subimages. But we need the full context again for parsing
the default initrd later on, so make a copy before we delete stuff and
pass that to finalize_default_initrd()

Fixes #4114
mkosi/config.py
tests/test_config.py