Message ID | 20240104160805.56856-3-philmd@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:67c6:0:b0:336:6142:bf13 with SMTP id n6csp7051346wrw; Thu, 4 Jan 2024 08:09:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IH6ENcE/gd+Ylc2SAZ4nrMxQSfz17eidbxNE3C+9wTBJUoz10+MbOg0KioKt4ZTH4OGgZtR X-Received: by 2002:a05:622a:28e:b0:428:3a00:9db6 with SMTP id z14-20020a05622a028e00b004283a009db6mr829041qtw.56.1704384590877; Thu, 04 Jan 2024 08:09:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704384590; cv=none; d=google.com; s=arc-20160816; b=V3aApl6Gx+TbqsIztv7KO2Vh6Jdnuf2DaehfenIsbuNB8905tLUVOGmrUr7VzMkvc9 r1LO8fGKRf6g58G/UeXWeKUIuEtDj0jcj7D6hK3a660lhfUsSAA5jcn0JIpMBeiapMcU Xd+/ZBeKDKBGddWNEtdeM51YPMTiLnncYZQLAtmsy0mUA+brl11YkDSjZrSdY6Yr+ZJQ Qelvt/EyJ7pKEk9lbHKGqPd8nYKiEm3aTiisNSMfK/oXKO8udyigsZk0uYftM/WzgscY 0EzvnP3E/l8L3EYGXZQ8Qa5AIgwXHJEfEY+CeXl62uqRp/wd9MhKcBRzTAwNRgV9PCbw WVxw== 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=TJy7Wt2jc64lOn7AtGOipdtRDw6Xrpk77ZRRAYTrF5g=; fh=R3RNw6DaBvLV+evL+FxxoxDT7CjbnpLl/Z/5KY3qROI=; b=peMhWNLw53Xoti+kOKoKzXH45iOADVbOC0fyBm4cjgfb6Ja9pPWzxXyCHlm8J0dVTn 2OdD1On95zChmsNBh7zXAuosYf1LmwF7dupPUVboobS9ws6lbrfO0Y5rDLsjg48CWxHZ jevwpfrWnHekrVS//1sw8oQmlv445R+EUQu9JeaPRyrTYorlGnGXBxoqBai7937EYglx REylkWloG1R/65BiRsiVkjHq0OSUd0aG2GVr3jcj7MgRQbLUYeggWzL9532n92fW4SV8 YQ4wEtupRs2r6dfOfQu3obqyKCZoEvJDhBzIpWmgAsLhNcXXgr/srSKMrG9t9edwalae 0HlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="psD/FvDa"; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id m18-20020a05622a055200b00425d0d2b0cbsi31047005qtx.632.2024.01.04.08.09.50 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Jan 2024 08:09:50 -0800 (PST) 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="psD/FvDa"; 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 <qemu-devel-bounces@nongnu.org>) id 1rLQGi-0005N8-DZ; Thu, 04 Jan 2024 11:08:28 -0500 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 <philmd@linaro.org>) id 1rLQGf-0005Ms-DV for qemu-devel@nongnu.org; Thu, 04 Jan 2024 11:08:25 -0500 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1rLQGd-0007rq-R9 for qemu-devel@nongnu.org; Thu, 04 Jan 2024 11:08:25 -0500 Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-5571b26fda8so88691a12.3 for <qemu-devel@nongnu.org>; Thu, 04 Jan 2024 08:08:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704384502; x=1704989302; 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=TJy7Wt2jc64lOn7AtGOipdtRDw6Xrpk77ZRRAYTrF5g=; b=psD/FvDaRQe0BLhbKL6geGuyLkiidNSi8ZfGM59z5mwE3rfKULhwzqi8kDJ39IzC4P TqhTHap0FrYPyW41XAAek8LhlcNyJMDOu2TwP+/yzyANrGCkN7LJN1K8Zl0DiuKXp1rl BfR8cpjobr8ELrPheFYrXUSzO9ufyBl5gtmk8r6U0sAutDwi5rea+Oa11N6keuw3r5dA rIf4/vQ3QeLcm5VS8k86ncM+RoZJmkoAhxDz+fPHwq/GlKw9/Nq70Y+5bFgJROB0ZVE1 5f1roz7atJ+mmgdMdEvghqiv7jpFpTOWLTqRnetTli39+xzI+phdKt0t+0Q8lOkbRyOv +e/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704384502; x=1704989302; 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=TJy7Wt2jc64lOn7AtGOipdtRDw6Xrpk77ZRRAYTrF5g=; b=FDprW2Fex67Z/B+VET53hRrbsEJH+oUHEhBTsoLftHrDCCy0UvaTAUt0rOG5y0SyZW BWV4XU4Ay0yzzOyvWKpQB3jasHSMltMZr0QXvTssDYinE3BpLjAxPS1aXUU+QOnL2CTp Hiq38lVSMppWro1PjKWtQH2e1aF2TbbA1WnQ20iXPgYF00dnjdk9kpW/mUzb44VsI2we jOIbTxcV4Ob9FV3FX5urx5W2R0VZGKuQt0I6mAhjQlFcBM8BJXXXE9QJebb9qRp+jyl1 UH16g+ton7JFK9dhy40QtYHYyLIF+sCV2+pHWcEkdjsDs7qIWGjeBZ/k+pwwsYQecFve jfUg== X-Gm-Message-State: AOJu0YzOa7a5dVfvPuCdaoql20Di6g3T/OJMMpwvTOTUuLx4CpDtSeeE FOyE7DqKcNZj1WQvwhj7iy06ga4WA65fCAv3z8HdGqGkOinQvg== X-Received: by 2002:aa7:c9d0:0:b0:555:3b98:7540 with SMTP id i16-20020aa7c9d0000000b005553b987540mr549634edt.33.1704384501967; Thu, 04 Jan 2024 08:08:21 -0800 (PST) Received: from m1x-phil.lan ([176.187.194.232]) by smtp.gmail.com with ESMTPSA id p2-20020a056402044200b005553a8bb61dsm12178417edw.87.2024.01.04.08.08.20 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 04 Jan 2024 08:08:21 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: Thomas Huth <thuth@redhat.com>, Tianrui Zhao <zhaotianrui@loongson.cn>, Song Gao <gaosong@loongson.cn>, =?utf-8?q?Daniel_P_=2E_Berrang=C3=A9?= <berrange@redhat.com>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Xianglai Li <lixianglai@loongson.cn>, Zhiguo Wu <wuzhiguo@loongson.cn>, Erik Skultety <eskultet@redhat.com>, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>, Xiaojuan Yang <yangxiaojuan@loongson.cn>, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, Beraldo Leal <bleal@redhat.com> Subject: [PATCH 2/9] scripts/ci: Do not restrict spice package to x86/arm hosts Date: Thu, 4 Jan 2024 17:07:58 +0100 Message-ID: <20240104160805.56856-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240104160805.56856-1-philmd@linaro.org> References: <20240104160805.56856-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::535; envelope-from=philmd@linaro.org; helo=mail-ed1-x535.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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
scripts/ci: Consolidate Ansible playbook rules
|
expand
|
diff --git a/scripts/ci/setup/build-environment.yml b/scripts/ci/setup/build-environment.yml index f344d1a850..32ac0a74f4 100644 --- a/scripts/ci/setup/build-environment.yml +++ b/scripts/ci/setup/build-environment.yml @@ -249,7 +249,7 @@ - ansible_facts['distribution_file_variety'] in ['RedHat', 'CentOS'] - ansible_facts['distribution_version'] == '8' - - name: Install packages only available on x86 and aarch64 + - name: Install Spice packages dnf: # Spice server not available in ppc64le name: @@ -257,9 +257,8 @@ - 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' + - ansible_facts['os_family'] == 'RedHat' + - ansible_facts['architecture'] != 'ppc64le' - name: Check whether the Python runtime version is managed by alternatives stat:
Allow installing spice-server-devel package on any non-ppc64le host, as per commit 556ede028d ("scripts/ci/setup: spice-server only on x86 aarch64") describes: "Spice server not available in ppc64le". Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- scripts/ci/setup/build-environment.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)