Browse Source

No kernels in boot if there is no grub

tags/v1.3.0
dump_stack() 7 months ago
parent
commit
d27fbf6671
Signed by: Mikhail Klementev <blame@dumpstack.io> GPG Key ID: BE44DA8C062D87DC
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      kernel.go

+ 2
- 1
kernel.go View File

@@ -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…
Cancel
Save