]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
fix(fips): remove reference to kernel module zlib in fips module
authorCameron Baird <cameronbaird@microsoft.com>
Wed, 29 May 2024 22:16:41 +0000 (22:16 +0000)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Sun, 30 Jun 2024 23:35:35 +0000 (19:35 -0400)
Remove reference to kernel module zlib (deprecated in kernel v4.6+) since the
pedantic dracut behavior causes initramfs generation to fail otherwise.

modules.d/01fips/module-setup.sh

index 83fcd564541852c90d7bfc794e377f23f340585a..1e0c9d0972f41ffae1264a80fab8aaf62b4b33c5 100755 (executable)
@@ -30,7 +30,7 @@ installkernel() {
         _fipsmodules+="ecb cbc ctr xts gcm ccm authenc hmac cmac ofb cts "
 
         # Compression algs:
-        _fipsmodules+="deflate lzo zlib "
+        _fipsmodules+="deflate lzo "
 
         # PRNG algs:
         _fipsmodules+="ansi_cprng "