From: Harald Hoyer Date: Mon, 21 Mar 2016 10:56:50 +0000 (+0100) Subject: dracut.sh: call dracut-install with "-f" in FIPS mode X-Git-Tag: 045~188 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7f5b82b4323210efc343132e3ae8fa91b26a68d;p=thirdparty%2Fdracut.git dracut.sh: call dracut-install with "-f" in FIPS mode in fips mode, dracut-install was called with "-H" instead of "-f" in FIPS mode missed conversion of commit 26cd262a6a575a50ea384a2ceac6a6829efe8106 --- diff --git a/dracut.sh b/dracut.sh index 98dbe0bcc..37ae3503f 100755 --- 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