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 <ne...@suse.de>

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: pgp4OryjJBCz6.pgp
Description: OpenPGP digital signature

Reply via email to