mkinitrd unification across distributions
 help / color / mirror / Atom feed
From: Dave Young <dyoung-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: Vivek Goyal <vgoyal-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	"initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: dracut options for installing files and drivers
Date: Thu, 10 May 2012 16:19:50 +0800	[thread overview]
Message-ID: <4FAB7A26.4060409@redhat.com> (raw)
In-Reply-To: <4FAB2379.2050504-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

On 05/10/2012 10:10 AM, Dave Young wrote:

> On 05/09/2012 08:40 PM, Harald Hoyer wrote:
> 
>> Am 09.05.2012 09:35, schrieb Dave Young:
>>> Hi, harald
>>>
>>> Dracut options '-I' and '-a' both mean optionally install file/ko
>>
>> this is wrong
>>
>> $ man dracut
>>
>> "-a" means
>>
>>        -a, --add <list of dracut modules>
> 
> 
> modules install happens in modules.d/90kernel-modules/module-setup.sh
> but module-setup.sh does not check the return value of instmods, so it
> will not fail and exit if no such modules.


Oops, I actually means --add-drivers instead of -a

> 
> Also another problem is there's no check of module install() return status..
> 
>>            add a space-separated list of dracut modules to the default set of
>> modules. This parameter
>>            can be specified multiple times.
>>
>>                Note
>>                If [LIST] has multiple arguments, then you have to put these in
>> quotes. For example:
>>
>>                    # dracut --add "module1 module2"  ...
>>
>> "-I" means
>>
>>        -I, --install <file list>
> 
> 
> See below code, dracut_install -o means "optional install", isn't it?
>     for item in $install_items; do
>         dracut_install -o "$item"
>     done
> 
> 
>>            install the space separated list of files into the initramfs.
>>
>>                Note
>>                If [LIST] has multiple arguments, then you have to put these in
>> quotes. For example:
>>
>>                +
>>
>>                    # dracut --install "/bin/foo /sbin/bar"  ...
>> --
>> To unsubscribe from this list: send the line "unsubscribe initramfs" in
>> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 
> 



-- 
Thanks
Dave

  parent reply	other threads:[~2012-05-10  8:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-09  7:35 dracut options for installing files and drivers Dave Young
     [not found] ` <4FAA1E44.2090006-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-05-09 12:40   ` Harald Hoyer
     [not found]     ` <4FAA65B7.9040209-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-05-10  2:10       ` Dave Young
     [not found]         ` <4FAB2379.2050504-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-05-10  8:19           ` Dave Young [this message]
2012-05-14  6:01             ` Cong Wang
2012-05-14  6:10               ` Cong Wang
2012-05-14  9:39                 ` Dave Young
2012-05-15  3:00                   ` Cong Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FAB7A26.4060409@redhat.com \
    --to=dyoung-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=vgoyal-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox