dracut/modules.d/01fips
Lukas Nykryn 8f5c564cb3 01fips: Fix creating path to .hmac of kernel based on BOOT_IMAGE
Old code did not work for two most common use-cases.
On most machines BOOT_IMAGE is set to something like
/vmlinuz-4.11.3-202.fc25.x86_64. So if we just add prefix "/boot/."
it won't work. Also on machines without /boot on separate partition
BOOT_IMAGE already has the /boot/ prefix (/boot/vmlinuz-3.10.0-799.el7.x86_64).
So let's strip it in such case.

https://bugzilla.redhat.com/show_bug.cgi?id=1415032
2017-12-18 14:48:59 +01:00
..
fips-boot.sh remove all vim and emacs code format comments 2014-08-29 13:38:47 +02:00
fips-noboot.sh remove all vim and emacs code format comments 2014-08-29 13:38:47 +02:00
fips.sh 01fips: Fix creating path to .hmac of kernel based on BOOT_IMAGE 2017-12-18 14:48:59 +01:00
module-setup.sh 01fips: add authenec module 2017-06-28 17:46:04 +02:00