Blame SOURCES/0555-fips-check-fips-integrity-just-before-mounting-local.patch

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