All of lore.kernel.org
 help / color / mirror / Atom feed
* Intend of hostonly-cmdline?
@ 2014-05-07 11:12 Thomas Renninger
  2014-05-07 11:32 ` Harald Hoyer
  0 siblings, 1 reply; 10+ messages in thread
From: Thomas Renninger @ 2014-05-07 11:12 UTC (permalink / raw)
  To: harald-H+wXaHxf7aLQT0dZR+AlfA, initramfs-u79uwXL29TY76Z2rM5mHXA

Hi,

I wonder for what this one is exactly for?

commit ab9457efd78ff74c654b4123956cdbd131935066
Author: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Date:   Tue Feb 25 12:35:32 2014 +0100

    Add flag to toggle hostonly cmdline storing in the initramfs
    
    --hostonly-cmdline:
        Store kernel command line arguments needed in the initramfs
    
    --no-hostonly-cmdline:
        Do not store kernel command line arguments needed in the initramfs



Wouldn't it be enough to simply add hostonly command line parameters
only in hostonly case like:
+    if [[ $hostonly == "yes" ]]; then
+        cmdline  >> "${initdir}/etc/cmdline.d/90mdraid.conf"
+        echo  >> "${initdir}/etc/cmdline.d/90mdraid.conf"
+    fi

why is a hostonly-cmdline extra parameter needed?

Thanks,

  Thomas

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-05-13 19:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-07 11:12 Intend of hostonly-cmdline? Thomas Renninger
2014-05-07 11:32 ` Harald Hoyer
     [not found]   ` <536A19D7.2010405-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-05-07 11:47     ` Alexander Tsoy
     [not found]       ` <20140507154733.386369cd-d/9N6kaejYfpx9ONITL1FA@public.gmane.org>
2014-05-07 12:08         ` Harald Hoyer
     [not found]           ` <536A2222.50606-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-05-07 12:10             ` Harald Hoyer
     [not found]               ` <536A22C9.8000007-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-05-07 13:15                 ` Alexander Tsoy
     [not found]                   ` <20140507171527.2d826560-d/9N6kaejYfpx9ONITL1FA@public.gmane.org>
2014-05-08 13:54                     ` Alexander Tsoy
     [not found]                       ` <20140508175412.2386aa29-d/9N6kaejYfpx9ONITL1FA@public.gmane.org>
2014-05-13 19:26                         ` Alexander Tsoy
2014-05-07 13:40     ` Thomas Renninger
2014-05-07 13:48       ` Harald Hoyer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.