bodhi2/pungi.rpm.conf.j2: Enable unified-core only for F39+

Fixes: https://pagure.io/fedora-infra/ansible/pull-request/1697
This commit is contained in:
Timothée Ravier 2023-12-14 11:15:58 +01:00 committed by kevin
parent a668b112bd
commit d7cb42beae

View file

@ -139,8 +139,10 @@ ostree = {
# Fedora Silverblue # Fedora Silverblue
{ {
"version": "!VERSION_FROM_VERSION_DATE_RESPIN", "version": "!VERSION_FROM_VERSION_DATE_RESPIN",
[% if release.version_int >= 39 %]
"unified_core": True, "unified_core": True,
"runroot_packages": ["selinux-policy-targeted"], "runroot_packages": ["selinux-policy-targeted"],
[% endif %]
"treefile": "fedora-silverblue.yaml", "treefile": "fedora-silverblue.yaml",
"config_url": "https://pagure.io/workstation-ostree-config.git", "config_url": "https://pagure.io/workstation-ostree-config.git",
"config_branch": "f[[ release.version ]]", "config_branch": "f[[ release.version ]]",
@ -171,8 +173,10 @@ ostree = {
[% if release.version_int >= 35 %] [% if release.version_int >= 35 %]
{ {
"version": "!VERSION_FROM_VERSION_DATE_RESPIN", "version": "!VERSION_FROM_VERSION_DATE_RESPIN",
[% if release.version_int >= 39 %]
"unified_core": True, "unified_core": True,
"runroot_packages": ["selinux-policy-targeted"], "runroot_packages": ["selinux-policy-targeted"],
[% endif %]
"treefile": "fedora-kinoite.yaml", "treefile": "fedora-kinoite.yaml",
"config_url": "https://pagure.io/workstation-ostree-config.git", "config_url": "https://pagure.io/workstation-ostree-config.git",
"config_branch": "f[[ release.version ]]", "config_branch": "f[[ release.version ]]",
@ -204,8 +208,10 @@ ostree = {
[% if release.version_int >= 38 %] [% if release.version_int >= 38 %]
{ {
"version": "!VERSION_FROM_VERSION_DATE_RESPIN", "version": "!VERSION_FROM_VERSION_DATE_RESPIN",
[% if release.version_int >= 39 %]
"unified_core": True, "unified_core": True,
"runroot_packages": ["selinux-policy-targeted"], "runroot_packages": ["selinux-policy-targeted"],
[% endif %]
"treefile": "fedora-sericea.yaml", "treefile": "fedora-sericea.yaml",
"config_url": "https://pagure.io/workstation-ostree-config.git", "config_url": "https://pagure.io/workstation-ostree-config.git",
"config_branch": "f[[ release.version ]]", "config_branch": "f[[ release.version ]]",