1
0

Make sure libdtrace-ctf available on all versions

This commit is contained in:
dump_stack() 2023-05-09 19:19:46 +00:00
parent f7fcfe8292
commit aa32c7a8ae
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -425,9 +425,7 @@ func generateBaseDockerImage(registry string, commands []config.DockerCommand,
d += "RUN yum -y update\n"
d += "RUN yum -y groupinstall 'Development Tools'\n"
d += "RUN yum -y install linux-firmware grubby\n"
if sk.DistroRelease <= "6" {
d += "RUN yum -y install libdtrace-ctf\n"
}
d += "RUN yum -y install libdtrace-ctf\n"
default:
err = fmt.Errorf("%s not yet supported", sk.DistroType.String())
return