Skip to content

Commit 9e93cbc

Browse files
larsewiclaude
andcommitted
Broaden have_i386_architecture class from ubuntu_16 to ubuntu
The class was restricted to ubuntu_16 but is needed by any Ubuntu mingw build host to check if i386 architecture is already added. Ticket: ENT-13766 Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8c4879a commit 9e93cbc

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

ci/cfengine-build-host-setup.cf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,8 @@ bundle agent cfengine_build_host_setup
239239
classes:
240240
debian_11::
241241
"have_pip2" expression => fileexists("/usr/local/bin/pip");
242-
ubuntu_16::
243-
"have_i386_architecture" expression => strcmp(execresult("${paths.dpkg} --print-foreign-architectures", "noshell"), "i386");
244242
ubuntu::
243+
"have_i386_architecture" expression => strcmp(execresult("${paths.dpkg} --print-foreign-architectures", "noshell"), "i386");
245244
"localhost_localdomain_hostname_missing" expression => not(strcmp(execresult("${paths.hostname} -f", "useshell"), "localhost.localdomain"));
246245
opensuse|suse|sles::
247246
"have_$(suse_users_and_groups)_group" expression => returnszero("grep '^$(suse_users_and_groups):' /etc/group >/dev/null", "useshell");

0 commit comments

Comments
 (0)