All of lore.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: [PATCH] dracut-systemd: ensure grep is installed as needed by rootfs-generator
Date: Thu, 9 Apr 2015 14:08:40 +1000	[thread overview]
Message-ID: <20150409140840.0bb6d59d@notabene.brown> (raw)

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



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 \

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

             reply	other threads:[~2015-04-09  4:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-09  4:08 NeilBrown [this message]
     [not found] ` <20150409140840.0bb6d59d-wvvUuzkyo1EYVZTmpyfIwg@public.gmane.org>
2015-04-21 14:38   ` [PATCH] dracut-systemd: ensure grep is installed as needed by rootfs-generator Harald Hoyer
     [not found]     ` <553660CE.7090509-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-04-21 23:47       ` NeilBrown
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=20150409140840.0bb6d59d@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 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.