]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Explicitly configure kernel-install layout as "bls"
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 7 Jul 2022 18:11:14 +0000 (20:11 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 12 Jul 2022 22:38:59 +0000 (00:38 +0200)
mkosi/__init__.py

index 0ad632a7507e9a6b29158d5680c6b208705fe082..9eec93e51079f3be476c33d8e0a7151be8df15a2 100644 (file)
@@ -1847,6 +1847,7 @@ def prepare_tree(args: MkosiArgs, root: Path, do_run_build_script: bool, cached:
 
             root.joinpath("etc/kernel/cmdline").write_text(" ".join(args.kernel_command_line) + "\n")
             root.joinpath("etc/kernel/entry-token").write_text(f"{args.machine_id}\n")
+            root.joinpath("etc/kernel/install.conf").write_text("layout=bls\n")
 
         if do_run_build_script or args.ssh:
             root_home(args, root).mkdir(mode=0o750)