fix generating initramfs-tools modules file
This commit is contained in:
parent
f38d3f3445
commit
583ccc1586
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue