From: Renaud Métrich Date: Fri, 19 Oct 2018 11:21:37 +0000 (+0200) Subject: fips: check fips integrity just before mounting local filesystems in /sysroot X-Git-Tag: 050~266 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e54ab383f7529f340d69536709624dffb30046a1;p=thirdparty%2Fdracut.git fips: check fips integrity just before mounting local filesystems in /sysroot Signed-off-by: Renaud Métrich --- diff --git a/modules.d/01fips/module-setup.sh b/modules.d/01fips/module-setup.sh index f3af4d908..808292afe 100755 --- a/modules.d/01fips/module-setup.sh +++ b/modules.d/01fips/module-setup.sh @@ -52,7 +52,7 @@ installkernel() { # called by dracut install() { local _dir - inst_hook pre-trigger 01 "$moddir/fips-boot.sh" + inst_hook pre-mount 01 "$moddir/fips-boot.sh" inst_hook pre-pivot 01 "$moddir/fips-noboot.sh" inst_script "$moddir/fips.sh" /sbin/fips.sh