[ostree] deploy: Propertly append multiple kernel arguments with --karg-proc-cmdline



commit 05114f856592d3068addd10871032662f87b9a29
Author: Colin Walters <walters verbum org>
Date:   Fri Aug 1 08:54:17 2014 -0400

    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>

 src/ostree/ot-admin-builtin-deploy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ostree/ot-admin-builtin-deploy.c b/src/ostree/ot-admin-builtin-deploy.c
index b99497f..a99cc89 100644
--- a/src/ostree/ot-admin-builtin-deploy.c
+++ b/src/ostree/ot-admin-builtin-deploy.c
@@ -143,7 +143,7 @@ ot_admin_builtin_deploy (int argc, char **argv, OstreeSysroot *sysroot, GCancell
       g_strchomp (proc_cmdline);
 
       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)
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]