From aa32c7a8aee81078bff8b64deba166d74109bd89 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Tue, 9 May 2023 19:19:46 +0000 Subject: [PATCH] Make sure libdtrace-ctf available on all versions --- kernel.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kernel.go b/kernel.go index dfeb323..ca93533 100644 --- a/kernel.go +++ b/kernel.go @@ -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