summaryrefslogtreecommitdiff
path: root/dracut.sh
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-04-25 19:44:01 +0200
committerHarald Hoyer <harald@redhat.com>2013-04-25 19:44:01 +0200
commit6f4c2dada400f455cf7ee0afcd6bf41974c712d4 (patch)
tree54e8f00b390e813ca5217057b022442ea660e796 /dracut.sh
parentab42fe38fd1672f83cd3500771caf321ae25080d (diff)
downloaddracut-6f4c2dada400f455cf7ee0afcd6bf41974c712d4.tar.gz
dracut-6f4c2dada400f455cf7ee0afcd6bf41974c712d4.tar.bz2
dracut-6f4c2dada400f455cf7ee0afcd6bf41974c712d4.zip
fixed fips mode
- preserve timestamps - copy /lib*/hmaccalc files - run sha512hmac after kernel module loading - add more fips kernel modules
Diffstat (limited to 'dracut.sh')
-rwxr-xr-xdracut.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/dracut.sh b/dracut.sh
index 586172cf..82b4a5fb 100755
--- a/dracut.sh
+++ b/dracut.sh
@@ -1179,6 +1179,8 @@ if [[ $do_strip = yes ]] ; then
-executable -not -path '*/lib/modules/*.ko' -print0 \
| while read -r -d $'\0' f; do
if ! [[ -e "${f%/*}/.${f##*/}.hmac" ]] \
+ && ! [[ -e "/lib/hmaccalc/${f##*/}.hmac" ]] \
+ && ! [[ -e "/lib64/hmaccalc/${f##*/}.hmac" ]] \
&& ! [[ -e "/lib/fipscheck/${f##*/}.hmac" ]] \
&& ! [[ -e "/lib64/fipscheck/${f##*/}.hmac" ]]; then
echo -n "$f"; echo -n -e "\000"