deploy: Propertly append multiple kernel arguments with --karg-proc-cmdline
We want to allow multiply specified arguments, as it's useful for things like console= and rd.lvm.lv. See: https://bugzilla.gnome.org/show_bug.cgi?id=721136 Reported-by: Dusty Mabe <dustymabe@gmail.com>
This commit is contained in:
parent
72d1ba82e0
commit
05114f8565
|
|
@ -143,7 +143,7 @@ ot_admin_builtin_deploy (int argc, char **argv, OstreeSysroot *sysroot, GCancell
|
||||||
g_strchomp (proc_cmdline);
|
g_strchomp (proc_cmdline);
|
||||||
|
|
||||||
proc_cmdline_args = g_strsplit (proc_cmdline, " ", -1);
|
proc_cmdline_args = g_strsplit (proc_cmdline, " ", -1);
|
||||||
_ostree_kernel_args_replace_argv (kargs, proc_cmdline_args);
|
_ostree_kernel_args_append_argv (kargs, proc_cmdline_args);
|
||||||
}
|
}
|
||||||
else if (merge_deployment)
|
else if (merge_deployment)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue