From patchwork Thu Jun 6 11:50:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 801995 Delivered-To: patch@linaro.org Received: by 2002:adf:f147:0:b0:35b:5a80:51b4 with SMTP id y7csp255234wro; Thu, 6 Jun 2024 04:52:43 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXO0tzVDsmD34IPuwPsLmuwEhxpf2oaiJd1mTS5Kyn/xXlhhCyD5zpywDj32nFuOx3VIIys6zfmB1C9VMrYfLXu X-Google-Smtp-Source: AGHT+IFa4BstaSRvxp8n0oQV3J2CuwxBLV39AzX8daF99ieniz0XsvIuI+AVbxgBtx7QP9gYFXf7 X-Received: by 2002:a05:6871:70c:b0:23d:225a:9443 with SMTP id 586e51a60fabf-25121ff2cdemr5919063fac.41.1717674762936; Thu, 06 Jun 2024 04:52:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1717674762; cv=none; d=google.com; s=arc-20160816; b=O4B+039eHKTRsDDXnx07qs8i9FsdJ4g+CSQqsws4fAkGBQlLerzMgo1MjhGhvNLGGm SkuWRUcg85FJqd/Gy/V3WFGNXqHtSKX7J9FFBHGu3qy74hgdSfapMtTu5dXGjObtOUn+ vfG7J53A5CkQ6kqbGg7Y+zd0xs4cN/+LtjFOdshDAPHp7b114u6fohtrCOiGIfjnisjB ZzQ9nOzpvy4in2crrSOmaEUx/FoKlc5OvZNdMOcyXZLbbocYzgWOwZu09Tl/0+rs47ku 3U+/R7DzzNuB2L553aZ6ExFXUnGrNQvRYtpdc88WktPSc0HFYWe7VYUPrFJU4pLDjhWT SZSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=YTTXqMf0b0oTPm9wdm0t2jDDbyUt2mB4jk7ZzBK8cIk=; fh=RNVWmd7TwlX/wyQcdhmnon4JQcsRaZwH7hItUZb0D88=; b=HWwWi4ss8jMzHI4G98FyQormvp3MW2I6c+rDKLVYYJW4Array/K4aWHAHOiU/PWioI P3tXyopzN7m+ZlrKpEUBTuqzoIljsWBfODO7CI59kInBhdtU66Ha3jOBXQCvpBa3lJ42 2TO4ifrFwI3BYllOKFJ3mfVdk7rCYl42s9bF6JpEDqPPIOXW/61C6zy+UsY7TNZL7Ksq GZsrFVGxgh3BytMR3qRbvCPOfd0+CKZ3qUoZ66UQkLsaRk6pM/SnnFXvxcQEFHTKzNkB s+QOTzqI0S3+StBW2kt6Mn7Lm6hHNLg7ZmHQQbpiy6CLRYk+8NYx005eKqZ6RCUjS6/M WRMw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ot3bvCve; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-44038b16cd8si14107321cf.326.2024.06.06.04.52.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 06 Jun 2024 04:52:42 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ot3bvCve; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFBe3-0007ld-Fn; Thu, 06 Jun 2024 07:51:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sFBe2-0007ky-3F for qemu-devel@nongnu.org; Thu, 06 Jun 2024 07:51:02 -0400 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sFBdz-0000tX-VG for qemu-devel@nongnu.org; Thu, 06 Jun 2024 07:51:01 -0400 Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-57a44c2ce80so901691a12.0 for ; Thu, 06 Jun 2024 04:50:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717674657; x=1718279457; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YTTXqMf0b0oTPm9wdm0t2jDDbyUt2mB4jk7ZzBK8cIk=; b=Ot3bvCvepFGudaNZPcAKv3jn6zAai0lLOrVdvqIgEx62ragWbg2rt8tGnvC1pRKA5G H/rfDMcgdWVU2kPtgdjawdbShSY+3UCs8HlVbHnm3QYJqOdsVC89K/5+q0WKTiCLHZW6 PZ8mMbIDKRvK09UhRI+x6OJjoZylO8BbKicb7vlgfccwZZO94Fhrz055p09SSgNNcU/X ps2gcxfCvYrUpsFlvOdSFkywuCJSSI8IMqOiC3ZEADmlJW9eHjfeY/YKmkTzq64V9cat BE3pDYWPE7Ao11cWSlNlKOtD9PLFKjqHZXiNBn6UNU1wKPBpCR04ksI8gM/yTsOMHJp3 fH0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717674657; x=1718279457; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YTTXqMf0b0oTPm9wdm0t2jDDbyUt2mB4jk7ZzBK8cIk=; b=Ts0qVvQHX2134tj89725CCg0tFmImvZn8g6sI1yGGWxVK64UF1TE32qekqJ+xiKjmm 3PH+lLr87eoFYVYgooqE2tcXh1qQIJJzKR0bibKUdes7Kifrwahrz5K6A3w/5W3AIlrX MA79z21w4ZqpG0pIIrOMLUH3MZg5GBZ8prrvA+xbMVj+JpYXSsMc55Uqxkr9A+Yo472o Tt7YhPCRhibxsFswCBw+2eFcwU+hH024yZyaucBiyCRDTvsxsHB/AybXw5n1ZDCS5PCw PIXMvLmQ+T0n+N5+nmh/fA+4YYywHmPdw0hmhsWIgFVjBeyJDIVSAwDMQTc1HqLWon0a Tljw== X-Gm-Message-State: AOJu0Yw8iaYSm3OsqJxl4/jj/b7/F/I1tMNyZX5fpyDFp0PxCrXvfRJ9 rKXZkpSfRSeFCeNxves04majQpU1cakCktqlbUZd/71siAt7bpNSvZjqPpRwUqg= X-Received: by 2002:a50:d701:0:b0:578:56e1:7ba3 with SMTP id 4fb4d7f45d1cf-57a8bcb4ccamr3509216a12.38.1717674657569; Thu, 06 Jun 2024 04:50:57 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57aae1412absm956602a12.57.2024.06.06.04.50.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 04:50:52 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 5D6435FA28; Thu, 6 Jun 2024 12:50:48 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , Richard Henderson , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PULL 05/12] scripts/ci: remove CentOS bits from common build-environment Date: Thu, 6 Jun 2024 12:50:40 +0100 Message-Id: <20240606115047.421045-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240606115047.421045-1-alex.bennee@linaro.org> References: <20240606115047.421045-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::52f; envelope-from=alex.bennee@linaro.org; helo=mail-ed1-x52f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Although I've just removed the CentOS specific build-environment its probably a bit too confusing to have multiple distros mixed up in one place. Prior to moving clean-up what will be just for ubuntu. Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée Message-Id: <20240603175328.3823123-6-alex.bennee@linaro.org> diff --git a/scripts/ci/setup/build-environment.yml b/scripts/ci/setup/build-environment.yml index de0d866a1e..e82097b465 100644 --- a/scripts/ci/setup/build-environment.yml +++ b/scripts/ci/setup/build-environment.yml @@ -184,101 +184,3 @@ - ansible_facts['distribution_version'] == '22.04' - ansible_facts['architecture'] == 'aarch64' - - name: Enable EPEL repo on EL8 - dnf: - name: - - epel-release - state: present - when: - - ansible_facts['distribution_file_variety'] in ['RedHat', 'CentOS'] - - ansible_facts['distribution_major_version'] == '8' - - - name: Enable PowerTools repo on CentOS 8 - ini_file: - path: /etc/yum.repos.d/CentOS-Stream-PowerTools.repo - section: powertools - option: enabled - value: "1" - when: - - ansible_facts['distribution_file_variety'] == 'CentOS' - - ansible_facts['distribution_major_version'] == '8' - - - name: Install basic packages to build QEMU on EL8 - dnf: - # This list of packages start with tests/docker/dockerfiles/centos8.docker - # but only include files that are common to all distro variants and present - # in the standard repos (no add-ons) - name: - - bzip2 - - bzip2-devel - - capstone-devel - - dbus-daemon - - device-mapper-multipath-devel - - diffutils - - gcc - - gcc-c++ - - genisoimage - - gettext - - git - - glib2-devel - - glusterfs-api-devel - - gnutls-devel - - libaio-devel - - libcap-ng-devel - - libcurl-devel - - libepoxy-devel - - libfdt-devel - - libgcrypt-devel - - libiscsi-devel - - libpmem-devel - - librados-devel - - librbd-devel - - libseccomp-devel - - libssh-devel - - libxkbcommon-devel - - lzo-devel - - make - - mesa-libEGL-devel - - nettle-devel - - ninja-build - - nmap-ncat - - numactl-devel - - pixman-devel - - python38 - - python3-sphinx - - rdma-core-devel - - redhat-rpm-config - - snappy-devel - - spice-glib-devel - - systemd-devel - - systemtap-sdt-devel - - tar - - zlib-devel - state: present - when: - - ansible_facts['distribution_file_variety'] in ['RedHat', 'CentOS'] - - ansible_facts['distribution_version'] == '8' - - - name: Install packages only available on x86 and aarch64 - dnf: - # Spice server not available in ppc64le - name: - - spice-server - - spice-server-devel - state: present - when: - - ansible_facts['distribution_file_variety'] in ['RedHat', 'CentOS'] - - ansible_facts['distribution_version'] == '8' - - ansible_facts['architecture'] == 'aarch64' or ansible_facts['architecture'] == 'x86_64' - - - name: Check whether the Python runtime version is managed by alternatives - stat: - path: /etc/alternatives/python3 - register: python3 - - - name: Set default Python runtime to 3.8 on EL8 - command: alternatives --set python3 /usr/bin/python3.8 - when: - - ansible_facts['distribution_file_variety'] in ['RedHat', 'CentOS'] - - ansible_facts['distribution_version'] == '8' - - python3.stat.islnk and python3.stat.lnk_target != '/usr/bin/python3.8'