public inbox for initramfs@vger.kernel.org
 help / color / mirror / Atom feed
From: NeilBrown <neilb-l3A5Bk7waGM@public.gmane.org>
To: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] dracut-systemd: ensure grep is installed as needed by rootfs-generator
Date: Wed, 22 Apr 2015 09:47:55 +1000	[thread overview]
Message-ID: <20150422094755.5707db6f@notabene.brown> (raw)
In-Reply-To: <553660CE.7090509-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1324 bytes --]

On Tue, 21 Apr 2015 16:38:06 +0200 Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> On 09.04.2015 06:08, NeilBrown wrote:
> > 
> > 
> > rootfs-generator uses 'grep', but it is not installed in the initramfs by 
> > default. So explicitly install it when installing rootfs-generator.sh
> > 
> > Signed-off-by: NeilBrown <neilb-l3A5Bk7waGM@public.gmane.org>
> > 
> > diff --git a/modules.d/98dracut-systemd/module-setup.sh 
> > b/modules.d/98dracut-systemd/module-setup.sh index 
> > d9175573c777..780b39a2b4a1 100755 --- 
> > a/modules.d/98dracut-systemd/module-setup.sh +++ 
> > b/modules.d/98dracut-systemd/module-setup.sh @@ -41,6 +41,7 @@ install() {
> > inst_script "$moddir/dracut-mount.sh" /bin/dracut-mount inst_script 
> > "$moddir/dracut-pre-pivot.sh" /bin/dracut-pre-pivot
> > 
> > +    inst_multiple grep inst_script "$moddir/rootfs-generator.sh" 
> > $systemdutildir/system-generators/dracut-rootfs-generator
> > 
> > for i in \
> > 
> 
> I removed the usage of "grep" from  rootfs-generator.sh for this simple case
> of finding a string in a small file.
> 
> <http://git.kernel.org/cgit/boot/dracut/dracut.git/commit/?id=d3d52b20e9374a6553c7a6cbe9ff0a9e08df10f9>

Just as good.  Thanks.

NeilBrown

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 811 bytes --]

  parent reply	other threads:[~2015-04-21 23:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-09  4:08 [PATCH] dracut-systemd: ensure grep is installed as needed by rootfs-generator NeilBrown
     [not found] ` <20150409140840.0bb6d59d-wvvUuzkyo1EYVZTmpyfIwg@public.gmane.org>
2015-04-21 14:38   ` Harald Hoyer
     [not found]     ` <553660CE.7090509-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-04-21 23:47       ` NeilBrown [this message]
2015-10-12  3:02 ` dracut is too "clever" at identifying modules to exclude Neil Brown
     [not found]   ` <87r3l023ha.fsf-wvvUuzkyo1HefUI2i7LXDhCRmIWqnp/j@public.gmane.org>
2015-10-12 15:29     ` Harald Hoyer
     [not found]       ` <561BD1E9.5010007-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-10-12 20:30         ` Neil Brown
     [not found]           ` <87vbabzv6a.fsf-wvvUuzkyo1HefUI2i7LXDhCRmIWqnp/j@public.gmane.org>
2015-11-13 12:37             ` Harald Hoyer
     [not found]               ` <5645D9A1.3040304-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-11-13 12:42                 ` Harald Hoyer
     [not found]                   ` <5645DACA.20403-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-12-16  4:15                     ` NeilBrown

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=20150422094755.5707db6f@notabene.brown \
    --to=neilb-l3a5bk7wagm@public.gmane.org \
    --cc=harald-H+wXaHxf7aLQT0dZR+AlfA@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox