public inbox for initramfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dracut-systemd: ensure grep is installed as needed by rootfs-generator
@ 2015-04-09  4:08 NeilBrown
       [not found] ` <20150409140840.0bb6d59d-wvvUuzkyo1EYVZTmpyfIwg@public.gmane.org>
  2015-10-12  3:02 ` dracut is too "clever" at identifying modules to exclude Neil Brown
  0 siblings, 2 replies; 9+ messages in thread
From: NeilBrown @ 2015-04-09  4:08 UTC (permalink / raw)
  To: Harald Hoyer; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

[-- 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 --]

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

end of thread, other threads:[~2015-12-16  4:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox