1
0

Add libdtrace-ctf on el6

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

View File

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