fix generating initramfs-tools modules file

This commit is contained in:
HikariKnight 2023-04-09 17:17:59 +02:00
parent f38d3f3445
commit 583ccc1586

View file

@ -122,7 +122,7 @@ func InitConfigs() {
// Add the modules to the config file // Add the modules to the config file
initramfs_addModules(conffile) initramfs_addModules(conffile)
case config.path.INITRAMFS: case fmt.Sprintf("%s/modules", config.path.INITRAMFS):
// Read the header // Read the header
header := initramfs_readHeader(11, sysfile) header := initramfs_readHeader(11, sysfile)
fileio.AppendContent(header, conffile) fileio.AppendContent(header, conffile)