Skip to content
Snippets Groups Projects
Commit 57e4e237 authored by vtardiveau's avatar vtardiveau
Browse files

Replace perl with perl-interpreter for RHEL >= 8

- Enterprise Linux versions from 8 and above install
  additional packages such as GCC with `perl`. This
  changes the dependency to `perl-interpreter` which
  is the more correct dependency for GitLab.

Closes https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8599

Changelog: other
parent eaed06bc
No related branches found
No related tags found
1 merge request!155Merge upstream Omnibus GitLab into Omnibus Heptapod
......@@ -68,9 +68,7 @@
# perl is required for exiftool and openssh certificate hashing
runtime_dependency 'perl'
if rhel?
case OhaiHelper.get_centos_version
when '6', '7'
runtime_dependency 'policycoreutils-python'
......@@ -73,6 +71,7 @@
if rhel?
case OhaiHelper.get_centos_version
when '6', '7'
runtime_dependency 'policycoreutils-python'
runtime_dependency 'perl'
when '8', '9'
runtime_dependency 'policycoreutils-python-utils'
......@@ -77,7 +76,8 @@
when '8', '9'
runtime_dependency 'policycoreutils-python-utils'
runtime_dependency 'perl-interpreter'
end
elsif amazon?
case OhaiHelper.get_amazon_version
when '2'
runtime_dependency 'policycoreutils-python'
......@@ -79,7 +79,8 @@
end
elsif amazon?
case OhaiHelper.get_amazon_version
when '2'
runtime_dependency 'policycoreutils-python'
runtime_dependency 'perl'
when '2023'
runtime_dependency 'policycoreutils-python-utils'
......@@ -84,3 +85,4 @@
when '2023'
runtime_dependency 'policycoreutils-python-utils'
runtime_dependency 'perl-interpreter'
end
......@@ -86,4 +88,6 @@
end
else
runtime_dependency 'perl'
end
# Arm targets need libatomic
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment