From 79e65d17b0f6f2acfe5b318261515a26a77ab148 Mon Sep 17 00:00:00 2001 From: Ihor Aleksandrychiev Date: Fri, 17 Jul 2026 14:07:30 +0300 Subject: [PATCH] Extend ncurses-devel downgrade workaround to SLES 12 Ticket: ENT-11586 Signed-off-by: Ihor Aleksandrychiev --- ci/cfengine-build-host-setup.cf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ci/cfengine-build-host-setup.cf b/ci/cfengine-build-host-setup.cf index 00fec2c0b..eab4015a0 100644 --- a/ci/cfengine-build-host-setup.cf +++ b/ci/cfengine-build-host-setup.cf @@ -120,8 +120,8 @@ bundle agent cfengine_build_host_setup "gcc"; "ncurses-devel" - if => not("sles_15"), - comment => "sles 15 requires a downgrade to install ncurses-devel as of July 25, 2025"; + if => not("sles_15|sles_12"), + comment => "sles 12/15 require a downgrade to install ncurses-devel; handled by the commands: promise below"; "pam-devel"; "rsync"; @@ -580,9 +580,9 @@ jenkins ALL=NOPASSWD: /usr/bin/podman depends_on => { "rpm_build_installed" }; commands: - sles_15:: + sles_15|sles_12:: "zypper --non-interactive install --allow-downgrade ncurses-devel" - comment => "Special case mentioned elsewhere in this policy. ncurses-devel requires a downgrade as of July 25 2025", + comment => "Special case mentioned elsewhere in this policy. ncurses-devel requires a downgrade (sles 15 since July 25 2025; sles 12 SP5 since 2026)", contain => in_shell; (redhat_8|centos_8|redhat_9|redhat_10).(!have_perl_package_installed).(yum_dnf_conf_ok)::