From nobody Mon Nov 25 06:20:27 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=kernel.org ARC-Seal: i=1; a=rsa-sha256; t=1722039605; cv=none; d=zohomail.com; s=zohoarc; b=QWEs6iJsOUabQ72ZOJWVdWShpHtbynrSjJ49e1tnMRYTxiVSKFk9NcvlgWWLLigC9vJ/AkntzGkOW6EaRziqunE47bhS9pdqYwwFWW4mz//c6vFGKzyM0Ju48qHXh4NsQhMmOhECDZL7qNRzYBJtHzpJkUWh0yOx/VVUNRXt+Cw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1722039605; h=Content-Type:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=D1V/U3b9vTSfCK5tb9fGBCtuELO1EIja/c6SsQABbmU=; b=Rz7isu2O+S8NrIu04LmIoHwce4Nxq2bO89NDLyxPwD/VH2nhTF6IuCka6vhpyC2qI84pV9BtBureB8o5/2SCeI/hWDgnzcT7b5gKteYuXyn+5E7GrgriZnsVYvqFUdA7sjfJF26PUTcM6IAglAIFx+WDsdiennhRPT9psW8eACk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 172203960538756.81437921323629; Fri, 26 Jul 2024 17:20:05 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.765789.1176436 (Exim 4.92) (envelope-from ) id 1sXVA9-0000aZ-Rl; Sat, 27 Jul 2024 00:19:53 +0000 Received: by outflank-mailman (output) from mailman id 765789.1176436; Sat, 27 Jul 2024 00:19:53 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sXVA9-0000aS-P7; Sat, 27 Jul 2024 00:19:53 +0000 Received: by outflank-mailman (input) for mailman id 765789; Sat, 27 Jul 2024 00:19:52 +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 1sXVA8-0000Sf-P3 for xen-devel@lists.xenproject.org; Sat, 27 Jul 2024 00:19:52 +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 f03dffaa-4bad-11ef-bc00-fd08da9f4363; Sat, 27 Jul 2024 02:19:51 +0200 (CEST) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 9379FCE0ED1; Sat, 27 Jul 2024 00:19:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0B0E3C32782; Sat, 27 Jul 2024 00:19:43 +0000 (UTC) X-Outflank-Mailman: Message body and most headers restored to incoming version 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: f03dffaa-4bad-11ef-bc00-fd08da9f4363 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1722039584; bh=caF8ZEnVQAiNG73dG8gwlbc6P0P+Qerrz+YIN+0RoYY=; h=Date:From:To:cc:Subject:From; b=SZ27PMHYdp2E7lT6S0L+6NG+gmYrcpAEga6X1bWDXZk3Tel2b+3VRAR+nm4wQyKxo YlGBCyzfrS6POgwYWaX9CEYEGBWtvNJvUcevhy9Dn6SMHWwzJPYIQYG04/IIS7vnnM qg0oh/UHBMorJwGEGLflhmQAxGBrpy6clmv6KQfS9uta+mhAvHSTBdLMyjz1coixql zPtASQ9F7xVUulvs55dMJk2IbBEVpO5hPpgbM2+MMZlPddaO2J478X91dFsL2WCjFC DrbX3/f2grgTGXM4lqYkgV3a7uPSQGxfqSo1EWXFilQSKbv78qhkbp73ehKxk7gNb2 p9xOriynMsM9g== Date: Fri, 26 Jul 2024 17:19:42 -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 v2] automation: upgrade Yocto to scarthgap Message-ID: User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 X-ZohoMail-DKIM: pass (identity @kernel.org) X-ZM-MESSAGEID: 1722039607507116600 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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. Also update the tar.bz2 filename for the rootfs. Signed-off-by: Stefano Stabellini Reviewed-by: Marek Marczykowski-G=C3=B3recki --- all yocto tests pass: https://gitlab.com/xen-project/people/sstabellini/xen/-/pipelines/1390081173 Changes in v2: - s/EXT4/IMAGE_FMT/ - set IMAGE_FMT before the call to project_build - also update the filename xen-image-minimal-qemuarm.rootfs.tar.bz2 --- automation/build/yocto/build-yocto.sh | 15 ++++++++++++--- automation/build/yocto/yocto.inc | 4 ++-- automation/gitlab-ci/build.yaml | 2 +- automation/scripts/qemu-smoke-dom0-arm32.sh | 2 +- 4 files changed, 16 insertions(+), 7 deletions(-) diff --git a/automation/build/yocto/build-yocto.sh b/automation/build/yocto= /build-yocto.sh index 93ce81ce82..e1e69f2bb5 100755 --- a/automation/build/yocto/build-yocto.sh +++ b/automation/build/yocto/build-yocto.sh @@ -25,6 +25,7 @@ TARGET_SUPPORTED=3D"qemuarm qemuarm64 qemux86-64" VERBOSE=3D"n" TARGETLIST=3D"" BUILDJOBS=3D"8" +IMAGE_FMT=3D"" =20 # actions to do do_clean=3D"n" @@ -38,8 +39,9 @@ build_result=3D0 # layers to include in the project build_layerlist=3D"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" =20 # yocto image to build build_image=3D"xen-image-minimal" @@ -175,7 +177,7 @@ function project_build() { mkdir -p $OUTPUTDIR cp $BUILDDIR/tmp/deploy/images/qemuarm/zImage $OUTPUTDIR cp $BUILDDIR/tmp/deploy/images/qemuarm/xen-qemuarm $OUTPUT= DIR - cp $BUILDDIR/tmp/deploy/images/qemuarm/xen-image-minimal-q= emuarm.tar.bz2 $OUTPUTDIR + cp $BUILDDIR/tmp/deploy/images/qemuarm/xen-image-minimal-q= emuarm.rootfs.tar.bz2 $OUTPUTDIR fi fi ) || return 1 @@ -196,7 +198,7 @@ function project_run() { =20 /usr/bin/expect <