]> git.ipfire.org Git - thirdparty/dracut.git/commit
fips: ensure fs module for /boot is installed
authorKairui Song <kasong@redhat.com>
Thu, 14 Mar 2019 10:54:10 +0000 (18:54 +0800)
committerLukáš Nykrýn <lnykryn@redhat.com>
Fri, 22 Mar 2019 11:58:09 +0000 (12:58 +0100)
commit8365177644bee107dcb66a71c8a7509900c9ece4
tree7660e3585930e2828c6e4a1489a2e3159061a0b6
parent33cfad0b8f31a8241003b8f7728a2dc1ef61ca41
fips: ensure fs module for /boot is installed

When using dracut with  --hostonly and --no-hostonly-default-device,
/boot will be inaccessible as dracut will most fs modules unless
specified. But FIPS require /boot to be accessible, and it will try
to mount it on boot. It will fail if corresponding fs module is missing.

For most case /boot will be a simple partition, include the fs module
will be enough for FIPS to mount it. For other cases users have to pass
extra parameters by themselves.

Suggested-by: Kenneth Dsouza <kdsouza@redhat.com>
Signed-off-by: Kairui Song <kasong@redhat.com>
modules.d/01fips/module-setup.sh