Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions build-scripts/labels.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ PACKAGES_HUB_x86_64_linux_ubuntu_22
PACKAGES_HUB_arm_64_linux_ubuntu_22
PACKAGES_HUB_x86_64_linux_ubuntu_24
PACKAGES_HUB_arm_64_linux_ubuntu_24
PACKAGES_HUB_x86_64_linux_ubuntu_26
PACKAGES_HUB_arm_64_linux_ubuntu_26

PACKAGES_x86_64_linux_debian_11
PACKAGES_arm_64_linux_debian_11
Expand All @@ -41,6 +43,8 @@ PACKAGES_x86_64_linux_ubuntu_22
PACKAGES_arm_64_linux_ubuntu_22
PACKAGES_x86_64_linux_ubuntu_24
PACKAGES_arm_64_linux_ubuntu_24
PACKAGES_x86_64_linux_ubuntu_26
PACKAGES_arm_64_linux_ubuntu_26

PACKAGES_x86_64_mingw

Expand Down
2 changes: 1 addition & 1 deletion ci/cfengine-build-host-setup.cf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ bundle agent cfengine_build_host_setup
ubuntu_20::
"autoconf" comment => "because on arm ubuntu-20 we need to reconfigure the debian-9 bootstrapped configure scripts.";
"shellcheck" comment => "not sure why only ubuntu-20 needed this.";
debian.(!debian_12.!ubuntu_22)::
debian.(!debian_12.!ubuntu_22.!ubuntu_26)::
"python" comment => "debian-12 has only python3";
!(debian_9|ubuntu_16).(debian|ubuntu)::
"default-jre" comment => "on debian10+ and ubuntu18+ this will be jdk11, good enough for jenkins 2.426.1 https://www.jenkins.io/doc/book/platform-information/support-policy-java/index.html";
Expand Down
8 changes: 8 additions & 0 deletions ci/setup-cfengine-build-host.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ function cleanup()
{
set -ex
if command -v apt 2>/dev/null; then
# workaround for CFE-4544, remove scriptlets call systemctl even when systemctl is-system-running returns false
# Replace systemctl with a no-op stub that always succeeds. We can't
# symlink to /bin/echo (or /bin/true): on Ubuntu 26 coreutils is the
# single multi-call uutils binary that dispatches on argv[0], so it
# would fail with "coreutils: unknown program 'systemctl'".
rm -f /bin/systemctl
printf '#!/bin/sh\nexit 0\n' > /bin/systemctl
chmod +x /bin/systemctl
apt remove -y cfengine-nova || true
elif command -v yum 2>/dev/null; then
yum erase -y cfengine-nova || true
Expand Down