1
0

No kernels in boot if there is no grub

This commit is contained in:
dump_stack() 2020-05-30 13:42:04 +00:00
parent cf79a9f94f
commit d27fbf6671
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -206,7 +206,8 @@ func generateBaseDockerImage(registry string, commands []config.DockerCommand,
if sk.DistroRelease < "8" { if sk.DistroRelease < "8" {
d += "RUN yum -y install deltarpm\n" d += "RUN yum -y install deltarpm\n"
} else { } else {
d += "RUN yum -y install drpm\n" d += "RUN yum -y install drpm grub2-tools-minimal " +
"elfutils-libelf-devel\n"
} }
default: default:
err = fmt.Errorf("%s not yet supported", sk.DistroType.String()) err = fmt.Errorf("%s not yet supported", sk.DistroType.String())