All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cong Wang <xiyou.wangcong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: dracut options for installing files and drivers
Date: Tue, 15 May 2012 03:00:05 +0000 (UTC)	[thread overview]
Message-ID: <josgrl$ivu$1@dough.gmane.org> (raw)
In-Reply-To: 4FB0D2C4.6030204@redhat.com

On Mon, 14 May 2012 at 09:39 GMT, Dave Young <dyoung-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
> On 05/14/2012 02:10 PM, Cong Wang wrote:
>
>>> Yeah...
>>>
>>> % sudo dracut --add-drivers "no-such-module" -I "/no/such/file" -f test.img
>>> E: ssh interactive mode need option --ctty!
>>> F: Failed to install /no/such/file
>>> % echo $?
>>> 1
>>>
>>> Maybe the following untested patch could fix this??
>
>
> Hi, what version of dracut did you use? master branch '-I no/such/file'
> will not fail... Seems there it is changed to 'dracut -o' in some commit.
>
> Also `./dracut.sh -l --add-drivers "no-such-module" -f test.img` return
> 0 during my test.
>

Yeah, I used an old version of dracut, the following commit changed
that without a reason:

commit c6c6a08850c7e4ee211696895f7ca3864be85052
Author: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Date:   Tue Feb 7 18:26:30 2012 +0100

    add "install_items" to dracut.conf
    

I will send a patch to fix this too.

Thanks!

      reply	other threads:[~2012-05-15  3:00 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
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 [this message]

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='josgrl$ivu$1@dough.gmane.org' \
    --to=xiyou.wangcong-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@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 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.