Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,6 @@ install() {
inst_simple "$moddir/rhcos-fips-dracut-boot-fix.service" \
"$systemdsystemunitdir/rhcos-fips-dracut-boot-fix.service"

# Golang 1.22 requires the fips shared object in the initrd to determine
# whether the system is in FIPS mode and ignition will panic if its missing
local src="/usr/lib64/ossl-modules/fips.so"
local dest="/usr/lib64/ossl-modules/fips.so"
if [ -f "$src" ]; then
inst_simple "$src" "$dest"
else
echo "Warning: $src not found!"
fi

# Unconditionally include /etc/system-fips in the initrd. This has no
# practical effect if fips=1 isn't also enabled. OTOH, it is a *requirement*
# for a true FIPS boot: https://bugzilla.redhat.com/show_bug.cgi?id=1778940
Expand Down