]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut.sh: call dracut-install with "-f" in FIPS mode
authorHarald Hoyer <harald@redhat.com>
Mon, 21 Mar 2016 10:56:50 +0000 (11:56 +0100)
committerHarald Hoyer <harald@redhat.com>
Mon, 11 Apr 2016 09:57:30 +0000 (11:57 +0200)
in fips mode, dracut-install was called with "-H" instead of "-f" in
FIPS mode

missed conversion of commit 26cd262a6a575a50ea384a2ceac6a6829efe8106

dracut.sh

index 98dbe0bcc2594374a281bc2a4d9f17b07ec8ef28..37ae3503f0104563b617f584292eddb556e9f9c3 100755 (executable)
--- a/dracut.sh
+++ b/dracut.sh
@@ -1496,7 +1496,7 @@ if [[ $kernel_only != yes ]]; then
     if [[ $DRACUT_RESOLVE_LAZY ]] && [[ $DRACUT_INSTALL ]]; then
         dinfo "*** Resolving executable dependencies ***"
         find "$initdir" -type f -perm /0111 -not -path '*.ko' -print0 \
-        | xargs -r -0 $DRACUT_INSTALL ${initdir:+-D "$initdir"} -R ${DRACUT_FIPS_MODE:+-H} --
+        | xargs -r -0 $DRACUT_INSTALL ${initdir:+-D "$initdir"} -R ${DRACUT_FIPS_MODE:+-f} --
         dinfo "*** Resolving executable dependencies done***"
     fi