Harald Hoyer 19aece
From e54ab383f7529f340d69536709624dffb30046a1 Mon Sep 17 00:00:00 2001
Harald Hoyer 19aece
From: =?UTF-8?q?Renaud=20M=C3=A9trich?= <rmetrich@redhat.com>
Harald Hoyer 19aece
Date: Fri, 19 Oct 2018 13:21:37 +0200
Harald Hoyer 19aece
Subject: [PATCH] fips: check fips integrity just before mounting local
Harald Hoyer 19aece
 filesystems in /sysroot
Harald Hoyer 19aece
MIME-Version: 1.0
Harald Hoyer 19aece
Content-Type: text/plain; charset=UTF-8
Harald Hoyer 19aece
Content-Transfer-Encoding: 8bit
Harald Hoyer 19aece
Harald Hoyer 19aece
Signed-off-by: Renaud Métrich <rmetrich@redhat.com>
Harald Hoyer 19aece
---
Harald Hoyer 19aece
 modules.d/01fips/module-setup.sh | 2 +-
Harald Hoyer 19aece
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer 19aece
Harald Hoyer 19aece
diff --git a/modules.d/01fips/module-setup.sh b/modules.d/01fips/module-setup.sh
Harald Hoyer 19aece
index f3af4d90..808292af 100755
Harald Hoyer 19aece
--- a/modules.d/01fips/module-setup.sh
Harald Hoyer 19aece
+++ b/modules.d/01fips/module-setup.sh
Harald Hoyer 19aece
@@ -52,7 +52,7 @@ installkernel() {
Harald Hoyer 19aece
 # called by dracut
Harald Hoyer 19aece
 install() {
Harald Hoyer 19aece
     local _dir
Harald Hoyer 19aece
-    inst_hook pre-trigger 01 "$moddir/fips-boot.sh"
Harald Hoyer 19aece
+    inst_hook pre-mount 01 "$moddir/fips-boot.sh"
Harald Hoyer 19aece
     inst_hook pre-pivot 01 "$moddir/fips-noboot.sh"
Harald Hoyer 19aece
     inst_script "$moddir/fips.sh" /sbin/fips.sh
Harald Hoyer 19aece
 
Harald Hoyer 19aece