diff options
author | Harald Hoyer <harald@redhat.com> | 2013-04-25 19:44:01 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-04-25 19:44:01 +0200 |
commit | 6f4c2dada400f455cf7ee0afcd6bf41974c712d4 (patch) | |
tree | 54e8f00b390e813ca5217057b022442ea660e796 /dracut.sh | |
parent | ab42fe38fd1672f83cd3500771caf321ae25080d (diff) | |
download | dracut-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-x | dracut.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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" |