From patchwork Fri Jul 26 00:17:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Stabellini X-Patchwork-Id: 13742341 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 107EDC3DA70 for ; Fri, 26 Jul 2024 00:18:12 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.765187.1175773 (Exim 4.92) (envelope-from ) id 1sX8em-0005FT-9b; Fri, 26 Jul 2024 00:18:00 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 765187.1175773; Fri, 26 Jul 2024 00:18:00 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sX8em-0005FM-6R; Fri, 26 Jul 2024 00:18:00 +0000 Received: by outflank-mailman (input) for mailman id 765187; Fri, 26 Jul 2024 00:17:58 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sX8ek-0005FG-TO for xen-devel@lists.xenproject.org; Fri, 26 Jul 2024 00:17:58 +0000 Received: from sin.source.kernel.org (sin.source.kernel.org [2604:1380:40e1:4800::1]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 819a235e-4ae4-11ef-bbff-fd08da9f4363; Fri, 26 Jul 2024 02:17:57 +0200 (CEST) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 192ABCE149E; Fri, 26 Jul 2024 00:17:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9C24FC116B1; Fri, 26 Jul 2024 00:17:51 +0000 (UTC) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 819a235e-4ae4-11ef-bbff-fd08da9f4363 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721953072; bh=LBVW3dzU89gbMUGTP1Ub4+WEJmEzM3nZ4iu+JrhXksk=; h=Date:From:To:cc:Subject:From; b=Cw0k75SOBYVrNODW+zi4K3Hi5CiwzdsWeRGHoqDmko4BCWo/oih/LEbtiGOrXdRej XIOryrt7JEpPo8RydloMwdyBQfXahNgMT4BTRkCSJlVps9sIqvii3fRy9dDOcd31WB z2on8fVoB9X8IBNfhgsxBFrufuwELVEPehgpRY6n194orz5hodBtUeC1x/3f3uWAK1 /bKPSgydT6OpDlYTz2lGbJzFx6CjUMXrkpLQMBQBpVnFHRMd/m8R+OZRTriN8zNzjx zZnjC1xVMbrF19aCtlprBIp2taVe8lVaQ5SDH2a1XJ1Kr7wU/dtZne5EC0JDnZ+TED t/RgVd7rzKNuA== Date: Thu, 25 Jul 2024 17:17:50 -0700 (PDT) From: Stefano Stabellini X-X-Sender: sstabellini@ubuntu-linux-20-04-desktop To: xen-devel@lists.xenproject.org cc: sstabellini@kernel.org, marmarek@invisiblethingslab.com, andrew.cooper3@citrix.com, cardoe@cardoe.com Subject: [PATCH] automation: upgrade Yocto to scarthgap Message-ID: User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Upgrade Yocto to a newer version. Use ext4 as image format for testing with QEMU on ARM and ARM64 as the default is WIC and it is not available for our xen-image-minimal target. Signed-off-by: Stefano Stabellini --- I am running one last test (that takes hours) I'll make sure it passes before I commit anything. --- automation/build/yocto/build-yocto.sh | 9 +++++++-- automation/build/yocto/yocto.inc | 4 ++-- automation/gitlab-ci/build.yaml | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/automation/build/yocto/build-yocto.sh b/automation/build/yocto/build-yocto.sh index 93ce81ce82..e7a03c4b10 100755 --- a/automation/build/yocto/build-yocto.sh +++ b/automation/build/yocto/build-yocto.sh @@ -25,6 +25,7 @@ TARGET_SUPPORTED="qemuarm qemuarm64 qemux86-64" VERBOSE="n" TARGETLIST="" BUILDJOBS="8" +EXT4="ext4" # actions to do do_clean="n" @@ -38,8 +39,9 @@ build_result=0 # layers to include in the project build_layerlist="poky/meta poky/meta-poky poky/meta-yocto-bsp \ meta-openembedded/meta-oe meta-openembedded/meta-python \ + meta-openembedded/meta-networking \ meta-openembedded/meta-filesystems \ - meta-openembedded/meta-networking meta-virtualization" + meta-virtualization" # yocto image to build build_image="xen-image-minimal" @@ -83,6 +85,9 @@ function run_task() { function project_create() { target="${1:?}" destdir="${BUILDDIR}/${target}" + if [ $target = "qemux86-64" ]; then + EXT4="" + fi ( # init yocto project @@ -196,7 +201,7 @@ function project_run() { /usr/bin/expect <