No kernels in boot if there is no grub
This commit is contained in:
parent
cf79a9f94f
commit
d27fbf6671
@ -206,7 +206,8 @@ func generateBaseDockerImage(registry string, commands []config.DockerCommand,
|
||||
if sk.DistroRelease < "8" {
|
||||
d += "RUN yum -y install deltarpm\n"
|
||||
} else {
|
||||
d += "RUN yum -y install drpm\n"
|
||||
d += "RUN yum -y install drpm grub2-tools-minimal " +
|
||||
"elfutils-libelf-devel\n"
|
||||
}
|
||||
default:
|
||||
err = fmt.Errorf("%s not yet supported", sk.DistroType.String())
|
||||
|
Loading…
Reference in New Issue
Block a user