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

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