]> git.ipfire.org Git - thirdparty/dracut.git/commit
90crypt/module-setup.sh: try to catch kernel config changes
authorHarald Hoyer <harald@redhat.com>
Tue, 7 Apr 2020 20:26:25 +0000 (22:26 +0200)
committerHarald Hoyer <harald@hoyer.xyz>
Fri, 24 Apr 2020 10:29:05 +0000 (12:29 +0200)
commit5bfebf0f04c8e88a0447d5f75c7ec13951fa610d
tree6eac75ab9ee207cf900cdc512edeb0932178e6dc
parent586a56c2877ae8c0b365c3a6c69cd4ff8b27bf0c
90crypt/module-setup.sh: try to catch kernel config changes

If a crypto kernel module changes from compiled in to module, the
encrypted disk might fail to open, because the kernel module was
not included in the initramfs.

This patch tries heuristically to catch such modules.

Fixes https://github.com/dracutdevs/dracut/issues/706
modules.d/90crypt/module-setup.sh