From nobody Wed Feb 11 04:02:39 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1658940990467312.9416189939849; Wed, 27 Jul 2022 09:56:30 -0700 (PDT) Received: from localhost ([::1]:58590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGkKj-00062v-5O for importer@patchew.org; Wed, 27 Jul 2022 12:56:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGk21-00048w-GI; Wed, 27 Jul 2022 12:37:09 -0400 Received: from [200.168.210.66] (port=61870 helo=outlook.eldorado.org.br) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGk1z-0007pB-KQ; Wed, 27 Jul 2022 12:37:08 -0400 Received: from p9ibm ([10.10.71.235]) by outlook.eldorado.org.br over TLS secured channel with Microsoft SMTPSVC(8.5.9600.16384); Wed, 27 Jul 2022 13:36:39 -0300 Received: from eldorado.org.br (unknown [10.10.70.45]) by p9ibm (Postfix) with ESMTP id E8ADE800358; Wed, 27 Jul 2022 13:36:38 -0300 (-03) From: "Lucas Mateus Castro(alqotel)" To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org Cc: "Lucas Mateus Castro(alqotel)" , =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Thomas Huth , Wainer dos Santos Moschetta , Willian Rampazzo Subject: [PATCH 7/8] scripts/ci/setup: Added debian to build-environment.yml Date: Wed, 27 Jul 2022 13:36:31 -0300 Message-Id: <20220727163632.59806-8-lucas.araujo@eldorado.org.br> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220727163632.59806-1-lucas.araujo@eldorado.org.br> References: <20220727163632.59806-1-lucas.araujo@eldorado.org.br> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 27 Jul 2022 16:36:39.0204 (UTC) FILETIME=[0B98E640:01D8A1D7] X-Host-Lookup-Failed: Reverse DNS lookup failed for 200.168.210.66 (failed) Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=200.168.210.66; envelope-from=lucas.araujo@eldorado.org.br; helo=outlook.eldorado.org.br X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, PDS_HP_HELO_NORDNS=0.659, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZM-MESSAGEID: 1658940991379100001 Content-Type: text/plain; charset="utf-8" Minicloud has a PPC64 BE Debian11 image which can be used for the CI, so add Debian to the build-environment.yml so it can be configured with ansible-playbook. Signed-off-by: Lucas Mateus Castro(alqotel) --- scripts/ci/setup/build-environment.yml | 31 +++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/scripts/ci/setup/build-environment.yml b/scripts/ci/setup/buil= d-environment.yml index a7d53d0f70..b5d415496f 100644 --- a/scripts/ci/setup/build-environment.yml +++ b/scripts/ci/setup/build-environment.yml @@ -31,9 +31,11 @@ update_cache: yes upgrade: yes when: - - ansible_facts['distribution'] =3D=3D 'Ubuntu' + - | + ansible_facts['distribution'] =3D=3D 'Ubuntu' or + ansible_facts['distribution'] =3D=3D 'Debian' =20 - - name: Install basic packages to build QEMU on Ubuntu 20.04 + - name: Install basic packages to build QEMU on Ubuntu 20.04 or Debian= 11 package: name: - ccache @@ -56,7 +58,6 @@ - libibverbs-dev - libiscsi-dev - libjemalloc-dev - - libjpeg-turbo8-dev - liblzo2-dev - libncurses5-dev - libncursesw5-dev @@ -86,17 +87,37 @@ - sparse - xfslibs-dev state: present + when: + - | + ansible_facts['distribution'] =3D=3D 'Ubuntu' or + ansible_facts['distribution'] =3D=3D 'Debian' + + - name: Install Ubuntu exclusive packages to build QEMU + package: + name: + - libjpeg-turbo8-dev + state: present when: - ansible_facts['distribution'] =3D=3D 'Ubuntu' =20 - - name: Install packages to build QEMU on Ubuntu 20.04 on non-s390x + - name: Install Debian exclusive packages to build QEMU + package: + name: + - libjpeg62-turbo-dev + state: present + when: + - ansible_facts['distribution'] =3D=3D 'Debian' + + - name: Install packages to build QEMU on Ubuntu 20.04 or Debian11 on = non-s390x package: name: - libspice-server-dev - libxen-dev state: present when: - - ansible_facts['distribution'] =3D=3D 'Ubuntu' + - | + ansible_facts['distribution'] =3D=3D 'Ubuntu' or + ansible_facts['distribution'] =3D=3D 'Debian' - ansible_facts['architecture'] =3D=3D 'aarch64' or ansible_facts[= 'architecture'] =3D=3D 'x86_64' =20 - name: Install basic packages to build QEMU on Ubuntu 20.04 --=20 2.25.1