Skip to content

Commit 944d1b5

Browse files
dguglielmimudler
authored andcommitted
modules_load: add ecb crypto module (#53)
Some LUKS volumes depend on "ECB block cipher algorithm" if not included in the bzImage or at modules in initramfs we fail to boot system.
1 parent 55c2dee commit 944d1b5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

arch/x86/modules_load

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-pci o
2828
MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs overlay fuse"
2929

3030
# Crypto
31-
MODULES_CRYPTO="sha1_generic sha256_generic sha512_generic cbc aes_generic aes-x86_64 xts"
31+
MODULES_CRYPTO="sha1_generic sha256_generic sha512_generic cbc ecb aes_generic aes-x86_64 xts"
3232
# Backward compatibility with previous releases
3333
MODULES_CRYPT="${MODULES_CRYPTO}"
3434

arch/x86_64/modules_load

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ MODULES_USB="ehci-pci ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-pci o
2828
MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs overlay fuse"
2929

3030
# Crypto
31-
MODULES_CRYPTO="sha1_generic sha256_generic sha512_generic cbc aes_generic aes-x86_64 xts"
31+
MODULES_CRYPTO="sha1_generic sha256_generic sha512_generic cbc ecb aes_generic aes-x86_64 xts"
3232
# Backward compatibility with previous releases
3333
MODULES_CRYPT="${MODULES_CRYPTO}"
3434

defaults/modules_load

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ MODULES_USB="ehci-hcd uhci usb-ohci hid usb-storage uhci-hcd ohci-pci ohci-hcd x
2828
MODULES_FS="ext2 ext3 ext4 btrfs reiserfs jfs nfs xfs zfs overlay fuse"
2929

3030
# Crypto
31-
MODULES_CRYPTO="sha1_generic sha256_generic sha512_generic cbc aes_generic aes-x86_64 xts"
31+
MODULES_CRYPTO="sha1_generic sha256_generic sha512_generic cbc ecb aes_generic aes-x86_64 xts"
3232
# Backward compatibility with previous releases
3333
MODULES_CRYPT="${MODULES_CRYPTO}"
3434

0 commit comments

Comments
 (0)