Provide workaround for kmod/initramfs-tools issue with NFS/netboot
authorMichael Prokop <mika@grml.org>
Thu, 10 Nov 2022 16:59:51 +0000 (17:59 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 11 Nov 2022 06:50:50 +0000 (07:50 +0100)
commitea1e5ea330eb48abb0b80d7e89bde2a96638db79
treed3332b73b062a64501a7039bed352bb8ce2182a9
parent971e2aea332ffe75fd1fa648777efe84eafd3df0
Provide workaround for kmod/initramfs-tools issue with NFS/netboot

As of kmod v30+20220905-1 (as present in current Debian/bookworm), the
output of the "modprobe --all --set-version="..." --ignore-install
--quiet --show-depends nfs" command line, as used by initramfs-tools to
identify dependencies of the the nfs module, changed. See
https://bugs.debian.org/1022172 for further details.

Until the situation between kmod, /lib/modprobe.d/50-nfs.conf and
initramfs-tools has been resolved, let's provide a workaround, so our
initramfs includes the required modules for netboot usage with NFS.

Thanks: AndrĂ¡s Korn
Closes: https://github.com/grml/grml/issues/192
etc/grml/fai/config/files/etc/initramfs-tools/modules/GRMLBASE [new file with mode: 0644]
etc/grml/fai/config/scripts/GRMLBASE/80-initramfs