1
0

Fix dracut cmdline

This commit is contained in:
dump_stack() 2023-05-10 05:37:17 +00:00
parent 98a0a561f1
commit 66bd74d59d
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -516,7 +516,7 @@ func installKernel(sk config.KernelMask, pkgname string, force, headers bool) (e
cmd += fmt.Sprintf(" && yum -y install %s %s", imagepkg,
pkgname)
cmd += fmt.Sprintf(" && dracut --add-drivers 'e1000 ext4' -fv "+
cmd += fmt.Sprintf(" && dracut -v --add-drivers 'e1000 ext4' -f "+
"/boot/initramfs-%s.img %s", version, version)
case config.OracleLinux:
var headerspkg string