From 583ccc1586d1b05834a792bbbf2d3d35e9bad3d0 Mon Sep 17 00:00:00 2001 From: HikariKnight <2557889+HikariKnight@users.noreply.github.com> Date: Sun, 9 Apr 2023 17:17:59 +0200 Subject: [PATCH] fix generating initramfs-tools modules file --- internal/configs/configs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/configs/configs.go b/internal/configs/configs.go index f10845f..338efcb 100644 --- a/internal/configs/configs.go +++ b/internal/configs/configs.go @@ -122,7 +122,7 @@ func InitConfigs() { // Add the modules to the config file initramfs_addModules(conffile) - case config.path.INITRAMFS: + case fmt.Sprintf("%s/modules", config.path.INITRAMFS): // Read the header header := initramfs_readHeader(11, sysfile) fileio.AppendContent(header, conffile)