]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Allow setting kernel command line in the configuration file 63/head
authorFelipe Sateler <fsateler@gmail.com>
Sun, 26 Feb 2017 14:00:02 +0000 (11:00 -0300)
committerFelipe Sateler <fsateler@gmail.com>
Sun, 26 Feb 2017 16:13:56 +0000 (13:13 -0300)
mkosi

diff --git a/mkosi b/mkosi
index 3da363fab44d410f87c8eba6d4272d58edf9ee7f..05a8b13600bb67bd13ea4731d7ec6fb39cc359bc 100755 (executable)
--- a/mkosi
+++ b/mkosi
@@ -1709,6 +1709,9 @@ def process_setting(args, section, key, value):
         elif key == "Bootable":
             if args.bootable is None:
                 args.bootable = parse_boolean(value)
+        elif key == "KernelCommandLine":
+            if args.kernel_commandline is None:
+                args.kernel_commandline = value
         elif key == "SecureBoot":
             if args.secure_boot is None:
                 args.secure_boot = parse_boolean(value)