Blame 0044-dracut.sh-call-dracut-install-with-f-in-FIPS-mode.patch

Harald Hoyer b38677
From f7f5b82b4323210efc343132e3ae8fa91b26a68d Mon Sep 17 00:00:00 2001
Harald Hoyer b38677
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer b38677
Date: Mon, 21 Mar 2016 11:56:50 +0100
Harald Hoyer b38677
Subject: [PATCH] dracut.sh: call dracut-install with "-f" in FIPS mode
Harald Hoyer b38677
Harald Hoyer b38677
in fips mode, dracut-install was called with "-H" instead of "-f" in
Harald Hoyer b38677
FIPS mode
Harald Hoyer b38677
Harald Hoyer b38677
missed conversion of commit 26cd262a6a575a50ea384a2ceac6a6829efe8106
Harald Hoyer b38677
---
Harald Hoyer b38677
 dracut.sh | 2 +-
Harald Hoyer b38677
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer b38677
Harald Hoyer b38677
diff --git a/dracut.sh b/dracut.sh
Harald Hoyer b38677
index 98dbe0b..37ae350 100755
Harald Hoyer b38677
--- a/dracut.sh
Harald Hoyer b38677
+++ b/dracut.sh
Harald Hoyer b38677
@@ -1496,7 +1496,7 @@ if [[ $kernel_only != yes ]]; then
Harald Hoyer b38677
     if [[ $DRACUT_RESOLVE_LAZY ]] && [[ $DRACUT_INSTALL ]]; then
Harald Hoyer b38677
         dinfo "*** Resolving executable dependencies ***"
Harald Hoyer b38677
         find "$initdir" -type f -perm /0111 -not -path '*.ko' -print0 \
Harald Hoyer b38677
-        | xargs -r -0 $DRACUT_INSTALL ${initdir:+-D "$initdir"} -R ${DRACUT_FIPS_MODE:+-H} --
Harald Hoyer b38677
+        | xargs -r -0 $DRACUT_INSTALL ${initdir:+-D "$initdir"} -R ${DRACUT_FIPS_MODE:+-f} --
Harald Hoyer b38677
         dinfo "*** Resolving executable dependencies done***"
Harald Hoyer b38677
     fi
Harald Hoyer b38677