From 6879176ff8c98b9e6481f12b0e3ead9727408e89 Mon Sep 17 00:00:00 2001 From: Eric Curtin Date: Tue, 19 Sep 2023 14:32:10 +0100 Subject: [PATCH] Add erofs and overlayfs kernel modules to initramfs These kernel modules are required for composefs usage in the initramfs. The composefs use-case as of today uses an overlayfs on top of a erofs. --- src/boot/dracut/module-setup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/boot/dracut/module-setup.sh b/src/boot/dracut/module-setup.sh index f09a56cc4e..06d74600e3 100755 --- a/src/boot/dracut/module-setup.sh +++ b/src/boot/dracut/module-setup.sh @@ -19,6 +19,10 @@ # You should have received a copy of the GNU Lesser General Public # License along with this library. If not, see . +installkernel() { + instmods erofs overlay +} + check() { if [[ -x $systemdutildir/systemd ]] && [[ -x /usr/lib/ostree/ostree-prepare-root ]]; then return 255