From patchwork Wed May 29 16:09:29 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: 799864 Delivered-To: patch@linaro.org Received: by 2002:adf:e110:0:b0:35b:5a80:51b4 with SMTP id t16csp814199wrz; Wed, 29 May 2024 09:12:49 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVr1IyHK5c49RvbMRhSgzQ2w4fn9Kg3u8OFczDpfNES4tc/HskWo9K57uf7uayYn70uSoSlUGSpk6YrZSwPs/Mk X-Google-Smtp-Source: AGHT+IHCZjBvjawz0k+ed6cls22g4ghZ2xR70sBbt94vfEXXuXD/HGvCH6j8b5399sJiRmSCeE4j X-Received: by 2002:ac8:5742:0:b0:43c:7755:961c with SMTP id d75a77b69052e-43fe10c7cfdmr45307801cf.5.1716999169460; Wed, 29 May 2024 09:12:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1716999169; cv=none; d=google.com; s=arc-20160816; b=h4XIqoAi1adoLYb58OWrBfAQ/cXfjLzjDBscKpqXkBteRTCadlJS3LFqvl5cZ2r/BQ jVIwBa3V9xZFBli2mQ7aROQVzkekZUQFooYAMJmtcoWVWfXGdJ0/vZ8u5uhIJKbgY55h WI1lr13tQG5FCgkpN4iPgbbwvYzVppHvBTpSxuPfw9IgvejS+IuKNGCu/GblZvBfvLTz d0N9dNGB1C5WsrR2kUW6oSwy0GW98NAfZKTO3qY4FDu/rQB/+TJlxXaWJQSEVkM3rWqg 3kTwoWuzcrESGdRo2e8JaG7slcbt6Tle480lGo/TRtzzQC9uIhZhWinFAU+s4Fg+2qYC cm3Q== 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=7ocN3iu2P/KUFSX0mQ1QfO2Wf/aR5p0+MLZ25Wa96/8=; fh=73Bjh8AhN5WIZkOkggOaOI6x10w+Om+h0ZWVmgoFcNA=; b=QYlHfzFBTF+xlBNY3xp8lcBEY85pYjYZmfI4K8vSfia9AZx8nABfia/lDlzZ8C9YdQ alByza195+2qHFUdX0yjLXt7T2gvJP8cSuOflID2gzAEQ4f4nIbMueKP6uVG1kJaXJqB xOqJKoQBuGSvPg7lb6XSjjMuNE2G2k7ty4GRZep9HI4ZAwecwTCHiTkqK3ThKJ+KIfzF El5MnrtUNLzSJIU+PzRZbYNwYCTPkY0ZU9izzAQiDrOrtEu+UYGTsw3IR3cAafesU8Fi sEmFnFkVY8L1LGx5pQehVsEQBUvreec6udGtTFm5wlrnXKzjpdI7R4JYthJ4yqRuodK1 H79Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sfgjpDMT; 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-43fb18a498asi142766401cf.253.2024.05.29.09.12.49 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 May 2024 09:12:49 -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=sfgjpDMT; 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 1sCLsK-0000lR-IY; Wed, 29 May 2024 12:10:04 -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 1sCLsH-0000ef-Q5 for qemu-devel@nongnu.org; Wed, 29 May 2024 12:10:01 -0400 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sCLrz-0003J9-BO for qemu-devel@nongnu.org; Wed, 29 May 2024 12:10:00 -0400 Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-5755fafa5a7so2871087a12.1 for ; Wed, 29 May 2024 09:09:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716998982; x=1717603782; 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=7ocN3iu2P/KUFSX0mQ1QfO2Wf/aR5p0+MLZ25Wa96/8=; b=sfgjpDMTRA+bSjg9rrUd65snLEqPTm0BRMMimBGCuKrrOZI5kb2k0CasGZkztsrhrS Tw/Zbjm2CrBbrmiN8herBq5g0AdRx+XOFOn7n/9kp+027uUUX1MtRkdxMyIb2QKwxm+w pKfk1pxanIvOk3FBsS9oniKQqAaFJSYZOuUEvsm8FIEOvJhZMzhedJ2lJHeCbAQ/kj8m eHAMxPhhM2ws4y+TZRHlY1CubR9u4sCF7F9V+RVG/h3S9fnfvbtahnxk/oAz9cSbnSvt 1JN7MYi1Jfwb3dOJ9vRWxThOjI69hnRFiMu7ho/AeRy9qt64HT4p3rGQirYjyBI/Cys0 5uJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716998982; x=1717603782; 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=7ocN3iu2P/KUFSX0mQ1QfO2Wf/aR5p0+MLZ25Wa96/8=; b=QP4R2QtR6dQWhC9nrcnMkubawLKH7DHBiAVjqqE5u9GE+ZfPik2m/LCGis9nLhozwW BZ6wcJV/RatWl0amOu9ic3LcINxp0wTJZEYoX43V0GHJitVk/eGZy/V5+1LEwXkyjDVQ 0B2B3X4y9AagL1H1mR8gxYrSDmKuwd4PidQDzLEchyxAJ83BGx6I/S+qGiXS70FkWcUi /R3OD7QGoqdrLEZlUfd4pO6idi7VZjrbBb5XqsHetKMEfl0HqcGwQrKeloK33g+I+w8C BsnZQUCigRtBQDFlc/o11QuGdATTur+JOzPFVnHPi06Qlj/DvMdnH1jAeO8oqkPndoDd /UYA== X-Gm-Message-State: AOJu0Yx0FNBQLQj991abfeX1x407qXDVaJSlhSlxuPAY63vDZz5nXPxF TUN5yloD/EXrYVg5ooqnRy3cTtO4Tf1jhrpddQaicU5I1JWWxeAhUMVuQ7VzAMU= X-Received: by 2002:a17:906:130d:b0:a63:47e9:64f1 with SMTP id a640c23a62f3a-a6347e96559mr334365166b.11.1716998981765; Wed, 29 May 2024 09:09:41 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626c817981sm734495666b.31.2024.05.29.09.09.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 09:09:38 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 7F4CA5F8E9; Wed, 29 May 2024 17:09:35 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Laurent Vivier , Wainer dos Santos Moschetta , =?utf-8?q?Daniel_P=2E_Be?= =?utf-8?q?rrang=C3=A9?= , Beraldo Leal , Thomas Huth , Richard Henderson , Leif Lindholm , John Snow , Markus Armbruster , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , Pavel Dovgalyuk , Mark Cave-Ayland , =?utf-8?q?Alex_Benn=C3=A9?= =?utf-8?q?e?= , Paolo Bonzini , Jiaxun Yang , qemu-arm@nongnu.org, Cleber Rosa , Joel Stanley , Aurelien Jarno , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Marcin Juszkiewicz , Peter Maydell , qemu-s390x@nongnu.org, Radoslaw Biernacki Subject: [PATCH 05/10] scripts/ci: remove CentOS bits from common build-environment Date: Wed, 29 May 2024 17:09:29 +0100 Message-Id: <20240529160934.982373-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240529160934.982373-1-alex.bennee@linaro.org> References: <20240529160934.982373-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::52a; envelope-from=alex.bennee@linaro.org; helo=mail-ed1-x52a.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=unavailable 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. Signed-off-by: Alex Bennée --- scripts/ci/setup/build-environment.yml | 98 -------------------------- 1 file changed, 98 deletions(-) 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'