From nobody Sat Nov 23 13:29:02 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=quarantine dis=none) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1724080264; cv=none; d=zohomail.com; s=zohoarc; b=MFqfcJLCtlsznyF7Xl4vo0un7/TKXwKpDEHx7TCkNbfrziLn8IIa6PVCv4TbBw/zKIs6Bqth1x0miO35I16Ua0b6a1TbTVLcS7FdnfC64B6xvpz7GaxlS9DSVCMhU9w3SG5EreIYNDtSDCPIkxOZVcEmb09yLs89T5dcper4aXc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1724080264; h=Content-Type:Content-Transfer-Encoding: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=VMFuda9zSuvIUDUpw+NC7ITh36ow+1ODv7nhP9JG8q8=; b=EdDQ1vuqq4oG5uZ4Xr6Pfp5PdzSpLETwcFvHZxc+RRIGanIzrm/pS5ETHh2fnaRnJMfuUZr6cRajsw237/zFpPXqrTKhzgDwyO4WvkKYnZD+MSmFlKKiAwxAzbmY012CQHDjP1VxisAE0bq3pbzuGG8m9OrTiqXLKChzFfZp1Wg= 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=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1724080264254642.7796607529624; Mon, 19 Aug 2024 08:11:04 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.779803.1189483 (Exim 4.92) (envelope-from ) id 1sg41o-0006rh-4C; Mon, 19 Aug 2024 15:10:40 +0000 Received: by outflank-mailman (output) from mailman id 779803.1189483; Mon, 19 Aug 2024 15:10:40 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sg41o-0006ra-1i; Mon, 19 Aug 2024 15:10:40 +0000 Received: by outflank-mailman (input) for mailman id 779803; Mon, 19 Aug 2024 15:10:38 +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 1sg41m-0006rU-RD for xen-devel@lists.xenproject.org; Mon, 19 Aug 2024 15:10:38 +0000 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [2a00:1450:4864:20::632]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 30c475c7-5e3d-11ef-a506-bb4a2ccca743; Mon, 19 Aug 2024 17:10:37 +0200 (CEST) Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a8384008482so462802666b.2 for ; Mon, 19 Aug 2024 08:10:37 -0700 (PDT) Received: from [10.156.60.236] (ip-037-024-206-209.um08.pools.vodafone-ip.de. [37.24.206.209]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a83838eeedasm650650466b.94.2024.08.19.08.10.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 19 Aug 2024 08:10:36 -0700 (PDT) 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: 30c475c7-5e3d-11ef-a506-bb4a2ccca743 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1724080237; x=1724685037; darn=lists.xenproject.org; h=content-transfer-encoding:autocrypt:content-language:cc:to:subject :from:user-agent:mime-version:date:message-id:from:to:cc:subject :date:message-id:reply-to; bh=VMFuda9zSuvIUDUpw+NC7ITh36ow+1ODv7nhP9JG8q8=; b=Gy0avxay2kMaxjZSFl+Xd+sGDkxMbsaerxCaBGubVLZciLquDsux840bPHpYcQRGyv b0E0TpWsN0mZhx0KX/j+VzI8Ka6/ETiJjN8QnYwy1z244Wg3vSTJFcAqjkSEMcrkiVuM r+oJLVgc3xP7sBFx5oqk+9lsK3QZN2OwdoV2Io48TnxTGmuDXZRviqj9ji36aj8NHkR5 qdtpou+1EiVNWOYXFf8/SQwMw3QpbZya2GYnUqaRLAFKgVki3r5A7kYFkUIjALF0hLED glFJGw0bjeWLvosV0yuHgl//iDBN6pns3bJ6QsRjdZGIoYaTWAPe1lTO7R9p4zAzAtUv vFFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724080237; x=1724685037; h=content-transfer-encoding:autocrypt:content-language:cc:to:subject :from:user-agent:mime-version:date:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=VMFuda9zSuvIUDUpw+NC7ITh36ow+1ODv7nhP9JG8q8=; b=Jq6jsP+oE+4Tx0QY+nQKc/9rriZuqsVmAW7QHrrLdCMCYtl+J36xLFJrd7frg9Pcxk WWWef1Rv3RYLibBlqKT9J/59n0113D0ZvuSS1dvOgwHoEYuCz86eQrn5Jwx0KMbkU0T/ Eymg8/HXIx/3TljlVU3cLGcijeDUyL9DU0nXmyZ9o6gwV7NiOti2lLMesOGxjzJfwHsc sDN/KnJtnpMqzBiITUz+ecd3OJLMAKN4Sn7F/IpJGmXa5UBgDUG0otpzR3VmvLjU6X3+ /ZcyW4BU02vGhgj9h2ysY3IB+P9k7mnDHdBxZkPa9bxTSgVs8wx54K6rvqjSpcFzNLNZ jtlQ== X-Gm-Message-State: AOJu0Yyc1Peb1audgvuZSTt43g/J7umgdBTjrz6YRRXoHZqrkxIqpQ69 phhFewvVzMoWp8yszazbYYM+SiDTYkvZE6pH/kADDfFDysahetY8XtOiRyPV9BnA+xmZk5huXKA = X-Google-Smtp-Source: AGHT+IGq5P4uTORkQU0SG5IiFMwLYIdqcDtbRb5Ak3ghjTIY+p3C1uQoIr9RuSP1H/Ru5GOTk+oJ6w== X-Received: by 2002:a17:907:2d26:b0:a72:5f9a:159a with SMTP id a640c23a62f3a-a83a9fbd306mr589972766b.2.1724080237041; Mon, 19 Aug 2024 08:10:37 -0700 (PDT) Message-ID: <14f8887b-1f66-428e-8417-f552b8851c71@suse.com> Date: Mon, 19 Aug 2024 17:10:35 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Jan Beulich Subject: [PATCH v3] mktarball: only archive Xen To: "xen-devel@lists.xenproject.org" Cc: Andrew Cooper , Julien Grall , Stefano Stabellini , Anthony Perard Content-Language: en-US Autocrypt: addr=jbeulich@suse.com; keydata= xsDiBFk3nEQRBADAEaSw6zC/EJkiwGPXbWtPxl2xCdSoeepS07jW8UgcHNurfHvUzogEq5xk hu507c3BarVjyWCJOylMNR98Yd8VqD9UfmX0Hb8/BrA+Hl6/DB/eqGptrf4BSRwcZQM32aZK 7Pj2XbGWIUrZrd70x1eAP9QE3P79Y2oLrsCgbZJfEwCgvz9JjGmQqQkRiTVzlZVCJYcyGGsD /0tbFCzD2h20ahe8rC1gbb3K3qk+LpBtvjBu1RY9drYk0NymiGbJWZgab6t1jM7sk2vuf0Py O9Hf9XBmK0uE9IgMaiCpc32XV9oASz6UJebwkX+zF2jG5I1BfnO9g7KlotcA/v5ClMjgo6Gl MDY4HxoSRu3i1cqqSDtVlt+AOVBJBACrZcnHAUSuCXBPy0jOlBhxPqRWv6ND4c9PH1xjQ3NP nxJ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G0A nAuWpQkjM1ASeQwSHEeAWPgskBQL Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @suse.com) X-ZM-MESSAGEID: 1724080264681116600 Content-Type: text/plain; charset="utf-8" As was basically decided already a while ago, remove - in the simplest possible way - the archiving of both qemu-s and mini-os from tarball generation. With this the subtree-force-update-all prereq isn't needed anymore in the top level Makefile. That goal, including the respective ones underneath tools/, then also are unreferenced and hence are being dropped, too. Signed-off-by: Jan Beulich --- This is the simplistic approach; I'm sure this could now be done quite a bit more efficiently. I also expect there's no longer a need to run ./configure ahead of the invocation of this script, but since I have no idea why it was needed earlier on, I'm not removing that here from the doc. IOW all cleanup that's probably better done separately, by someone actually using all of that machinery. --- v3: Drop subtree-force-update-all rules from underneath tools/. v2: Drop subtree-force-update-all prereqs from ./Makefile. --- a/Makefile +++ b/Makefile @@ -200,10 +200,6 @@ rpmball: dist subtree-force-update: mini-os-dir-force-update $(MAKE) -C tools subtree-force-update =20 -.PHONY: subtree-force-update-all -subtree-force-update-all: mini-os-dir-force-update - $(MAKE) -C tools subtree-force-update-all - # Make a source tarball, including qemu sub-trees. # # src-tarball will use "git describe" for the version number. This @@ -214,11 +210,11 @@ subtree-force-update-all: mini-os-dir-fo # src-tarball-release will use "make xenversion" as the version # number. This is suitable for release tarballs. .PHONY: src-tarball-release -src-tarball-release: subtree-force-update-all +src-tarball-release: bash ./tools/misc/mktarball $(XEN_ROOT) $$($(MAKE) -C xen xenversion --no= -print-directory) =20 .PHONY: src-tarball -src-tarball: subtree-force-update-all +src-tarball: bash ./tools/misc/mktarball $(XEN_ROOT) $$(git describe) =20 .PHONY: clean --- a/tools/Makefile +++ b/tools/Makefile @@ -282,8 +282,3 @@ endif ifeq ($(CONFIG_X86),y) $(MAKE) -C firmware subtree-force-update endif - -subtree-force-update-all: - $(MAKE) qemu-xen-dir-force-update - $(MAKE) qemu-xen-traditional-dir-force-update - $(MAKE) -C firmware subtree-force-update-all --- a/tools/Rules.mk +++ b/tools/Rules.mk @@ -206,7 +206,7 @@ subdir-all-% subdir-clean-% subdir-insta subdir-distclean-%: .phony $(MAKE) -C $* distclean =20 -no-configure-targets :=3D distclean subdir-distclean% clean subdir-clean% = subtree-force-update-all %-dir-force-update +no-configure-targets :=3D distclean subdir-distclean% clean subdir-clean% = %-dir-force-update ifeq (,$(filter $(no-configure-targets),$(MAKECMDGOALS))) $(XEN_ROOT)/config/Tools.mk: $(error You have to run ./configure before building or installing the too= ls) --- a/tools/firmware/Makefile +++ b/tools/firmware/Makefile @@ -127,9 +127,5 @@ ifeq ($(CONFIG_OVMF),y) $(MAKE) ovmf-dir-force-update endif =20 -subtree-force-update-all: - $(MAKE) seabios-dir-force-update - $(MAKE) ovmf-dir-force-update - subdir-all-seabios-dir: seabios-dir $(MAKE) -C $< CC=3D$(SEABIOSCC) LD=3D$(SEABIOSLD) PYTHON=3D$(PYTHON) EXTR= AVERSION=3D$(SEABIOS_EXTRAVERSION) all; --- a/tools/misc/mktarball +++ b/tools/misc/mktarball @@ -1,6 +1,6 @@ #!/bin/bash # -# mktarball: Make a release tarball (including xen, qemu, and qemu-traditi= onal) +# mktarball: Make a release tarball (including just xen) # # Takes 2 arguments, the path to the dist directory and the version set -ex @@ -29,26 +29,6 @@ mkdir -p $tdir =20 git_archive_into $xen_root $tdir/xen-$desc =20 -# We can't use git_archive_into with qemu upstream because it uses -# git-submodules. git-submodules are an inherently broken git feature -# which should never be used in any circumstance. Unfortunately, qemu -# upstream uses them. Relevantly for us, git archive does not work -# properly when there are submodules. -( - cd $xen_root/tools/qemu-xen-dir-remote - # if it's not clean, the qemu script will call `git stash' ! - git --no-pager diff --stat HEAD - scripts/archive-source.sh $tdir/xen-$desc/tools/qemu-xen.tar - cd $tdir/xen-$desc/tools - mkdir qemu-xen - tar