From patchwork Mon Nov 28 09:25:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 1709632 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=WuBdmp+z; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NLKr50z0zz23mg for ; Mon, 28 Nov 2022 20:27:33 +1100 (AEDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozaP0-0004cc-7Z; Mon, 28 Nov 2022 04:26:14 -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 ) id 1ozaOx-0004bm-Br for qemu-devel@nongnu.org; Mon, 28 Nov 2022 04:26:11 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozaOv-0004nq-78 for qemu-devel@nongnu.org; Mon, 28 Nov 2022 04:26:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669627568; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qZAxGiFDOEvcfNWH1rvgYbD4b8Wd6inBOPv+BQzFmdE=; b=WuBdmp+zS7yuzsgs796nGs3R/0L5WngGl/JMMgy5UpEjCR1Ayt9mEiagaCc912iZymtfqx CkOVCrAPtY1oY3IXyojE4UzI4XCDoqt7IIf2OnaGJ+yaRunfQjxVmCuigQNblL/Sxev9+S GJmjcVnGRgJXXQdIe1bnMmcok9Pukp8= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-126-hMo8JCS2MmWEwRG4JAjxcg-1; Mon, 28 Nov 2022 04:26:04 -0500 X-MC-Unique: hMo8JCS2MmWEwRG4JAjxcg-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id F3A171C068E1; Mon, 28 Nov 2022 09:26:03 +0000 (UTC) Received: from thuth.com (unknown [10.39.192.223]) by smtp.corp.redhat.com (Postfix) with ESMTP id E787A49BB61; Mon, 28 Nov 2022 09:26:01 +0000 (UTC) From: Thomas Huth To: Stefan Hajnoczi , Michael Roth , qemu-devel@nongnu.org, Gerd Hoffmann Cc: =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Peter Maydell , Paolo Bonzini , Richard Henderson Subject: [PATCH v2 for-8.0 1/5] scripts/make-release: Add a simple help text for the script Date: Mon, 28 Nov 2022 10:25:51 +0100 Message-Id: <20221128092555.37102-2-thuth@redhat.com> In-Reply-To: <20221128092555.37102-1-thuth@redhat.com> References: <20221128092555.37102-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.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, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Print a simple help text if the script has been called with the wrong amount of parameters. Signed-off-by: Thomas Huth Reviewed-by: Alex Bennée --- scripts/make-release | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/make-release b/scripts/make-release index 05b14ecc95..4be9b3b9ce 100755 --- a/scripts/make-release +++ b/scripts/make-release @@ -10,6 +10,12 @@ # This work is licensed under the terms of the GNU GPLv2 or later. # See the COPYING file in the top-level directory. +if [ $# -ne 2 ]; then + echo "Usage:" + echo " $0 gitrepo version" + exit 0 +fi + src="$1" version="$2" destination=qemu-${version} From patchwork Mon Nov 28 09:25:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 1709628 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=EGBZe1cA; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NLKqB4WQZz23mg for ; Mon, 28 Nov 2022 20:26:45 +1100 (AEDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozaPB-0004i4-Ot; Mon, 28 Nov 2022 04:26:25 -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 ) id 1ozaOz-0004cm-LT for qemu-devel@nongnu.org; Mon, 28 Nov 2022 04:26:14 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozaOx-0004nx-4e for qemu-devel@nongnu.org; Mon, 28 Nov 2022 04:26:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669627570; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qPPcDzAEh2lH1h+1Ge83kKHUOnF8P/YQZreLHjkzZS8=; b=EGBZe1cAw4BrPZ1i1Lb9/ufOCCAGNkXEOkbnMzf43JNTNhx+M0Mi+uOF7Npj/I1T/MOTeH s+QJB5lR1pPCZbI2/qkB0MhFxAAqrgtpblP411TQLnnSfpZVIz6MvZyteeFJn1HxlGFZzK iFFOhSL7hWEZLrZsv914vj5s7OghOyY= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-501-Nxq6w0m3PgyL7kupNtJx6w-1; Mon, 28 Nov 2022 04:26:06 -0500 X-MC-Unique: Nxq6w0m3PgyL7kupNtJx6w-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 57E883C0D18B; Mon, 28 Nov 2022 09:26:06 +0000 (UTC) Received: from thuth.com (unknown [10.39.192.223]) by smtp.corp.redhat.com (Postfix) with ESMTP id 63EA849BB61; Mon, 28 Nov 2022 09:26:04 +0000 (UTC) From: Thomas Huth To: Stefan Hajnoczi , Michael Roth , qemu-devel@nongnu.org, Gerd Hoffmann Cc: =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Peter Maydell , Paolo Bonzini , Richard Henderson Subject: [PATCH v2 for-8.0 2/5] scripts/make-release: Only clone single branches to speed up the script Date: Mon, 28 Nov 2022 10:25:52 +0100 Message-Id: <20221128092555.37102-3-thuth@redhat.com> In-Reply-To: <20221128092555.37102-1-thuth@redhat.com> References: <20221128092555.37102-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 Received-SPF: pass client-ip=170.10.129.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.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, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Using --single-branch and --depth 1 here helps to speed up the process a little bit and helps to save some networking bandwidth. Signed-off-by: Thomas Huth Reviewed-by: Alex Bennée --- scripts/make-release | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/make-release b/scripts/make-release index 4be9b3b9ce..44a9d86a04 100755 --- a/scripts/make-release +++ b/scripts/make-release @@ -20,10 +20,12 @@ src="$1" version="$2" destination=qemu-${version} -git clone "${src}" ${destination} +git clone --single-branch -b "v${version}" -c advice.detachedHead=false \ + "${src}" ${destination} + pushd ${destination} -git checkout "v${version}" -git submodule update --init + +git submodule update --init --single-branch (cd roms/seabios && git describe --tags --long --dirty > .version) (cd roms/skiboot && ./make_version.sh > .version) # Fetch edk2 submodule's submodules, since it won't have access to them via @@ -34,7 +36,7 @@ git submodule update --init # submodule dependencies, so we continue to handle these on a case-by-case # basis for now. (cd roms/edk2 && \ - git submodule update --init -- \ + git submodule update --init --depth 1 -- \ ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3 \ BaseTools/Source/C/BrotliCompress/brotli \ CryptoPkg/Library/OpensslLib/openssl \ From patchwork Mon Nov 28 09:25:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 1709631 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=IiiYUrnG; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NLKql21Qkz23nq for ; Mon, 28 Nov 2022 20:27:15 +1100 (AEDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozaPF-0004mn-1I; Mon, 28 Nov 2022 04:26:29 -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 ) id 1ozaPD-0004kz-5L for qemu-devel@nongnu.org; Mon, 28 Nov 2022 04:26:27 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozaPB-0004qd-Kx for qemu-devel@nongnu.org; Mon, 28 Nov 2022 04:26:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669627585; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FrZjYOWd4xLAYyQYnm6YKfCB4q5EqQ+BHDHNPQG5uco=; b=IiiYUrnGmcuLCeskdFU9aNnegvYURPRnFq6gLbqFOTn6ofNm4F3lP8bMRvCT/MpJj4lqS2 axE3EwwWvkpizPgHuyrVNtuuv+va+TpsY8SgMAo51VhasiVZrxcFmjFrALTWB/OBeyNhds lxoHKhc9nJBDVuo7pOjk6qyyoKZSdW4= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-218-gXxmtJdyMuOAQMbHPHA__Q-1; Mon, 28 Nov 2022 04:26:08 -0500 X-MC-Unique: gXxmtJdyMuOAQMbHPHA__Q-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5E37A3C0D181; Mon, 28 Nov 2022 09:26:08 +0000 (UTC) Received: from thuth.com (unknown [10.39.192.223]) by smtp.corp.redhat.com (Postfix) with ESMTP id BB57249BB65; Mon, 28 Nov 2022 09:26:06 +0000 (UTC) From: Thomas Huth To: Stefan Hajnoczi , Michael Roth , qemu-devel@nongnu.org, Gerd Hoffmann Cc: =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Peter Maydell , Paolo Bonzini , Richard Henderson Subject: [PATCH v2 for-8.0 3/5] scripts/make-release: Remove CI yaml and more git files from the tarball Date: Mon, 28 Nov 2022 10:25:53 +0100 Message-Id: <20221128092555.37102-4-thuth@redhat.com> In-Reply-To: <20221128092555.37102-1-thuth@redhat.com> References: <20221128092555.37102-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.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, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org These files are of no use in a normal tarball and thus should not be included here. Signed-off-by: Thomas Huth --- scripts/make-release | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/make-release b/scripts/make-release index 44a9d86a04..febeb6cb36 100755 --- a/scripts/make-release +++ b/scripts/make-release @@ -41,6 +41,9 @@ git submodule update --init --single-branch BaseTools/Source/C/BrotliCompress/brotli \ CryptoPkg/Library/OpensslLib/openssl \ MdeModulePkg/Library/BrotliCustomDecompressLib/brotli) + +rm -v .*.yml popd -tar --exclude=.git -cjf ${destination}.tar.bz2 ${destination} + +tar --exclude=".git*" -cjf ${destination}.tar.bz2 ${destination} rm -rf ${destination} From patchwork Mon Nov 28 09:25:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 1709630 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Yt4byN+7; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NLKqj2PPpz23mg for ; Mon, 28 Nov 2022 20:27:13 +1100 (AEDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozaPD-0004kk-3a; Mon, 28 Nov 2022 04:26:27 -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 ) id 1ozaP2-0004gs-Jw for qemu-devel@nongnu.org; Mon, 28 Nov 2022 04:26:17 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozaP0-0004oO-Sg for qemu-devel@nongnu.org; Mon, 28 Nov 2022 04:26:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669627574; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wUlb39gOYycRIyvstUwgyf9lylM61sSQcpHetS7fANA=; b=Yt4byN+7Yay8Wf7CHmSPYAHGLFAlp8MmGtNhS6Qq919707ha8AbNcF6HdMxLUA3GutXBj7 g8lOFpDisQNPVI1cGkxSwc1Xx5lFSy4PdUqzvXaY7cyINYBvnrYsFgSVJVv008E8xlDCeI k45aBusI7pOGVFNwNGY7Fx+ssy90x4c= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-594-p8ZqIq4EPfW9paHgeIEn_w-1; Mon, 28 Nov 2022 04:26:10 -0500 X-MC-Unique: p8ZqIq4EPfW9paHgeIEn_w-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5D0C1185A792; Mon, 28 Nov 2022 09:26:10 +0000 (UTC) Received: from thuth.com (unknown [10.39.192.223]) by smtp.corp.redhat.com (Postfix) with ESMTP id C64B649BB61; Mon, 28 Nov 2022 09:26:08 +0000 (UTC) From: Thomas Huth To: Stefan Hajnoczi , Michael Roth , qemu-devel@nongnu.org, Gerd Hoffmann Cc: =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Peter Maydell , Paolo Bonzini , Richard Henderson Subject: [PATCH v2 for-8.0 4/5] roms: Add a README file with some basic information Date: Mon, 28 Nov 2022 10:25:54 +0100 Message-Id: <20221128092555.37102-5-thuth@redhat.com> In-Reply-To: <20221128092555.37102-1-thuth@redhat.com> References: <20221128092555.37102-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.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, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org We're going to ship the contents of the "roms" folder as a separate tarball, so we should have at least a short README in this folder for this. Signed-off-by: Thomas Huth Reviewed-by: Alex Bennée --- roms/README.rst | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 roms/README.rst diff --git a/roms/README.rst b/roms/README.rst new file mode 100644 index 0000000000..0a80d780e9 --- /dev/null +++ b/roms/README.rst @@ -0,0 +1,24 @@ +==================== +QEMU firmware images +==================== + +This folder contains the collection of sources for firmware (ROM / BIOS) +images which are used for the various machines that are emulated by QEMU. +See the individual sub-folders for more information like requirements for +building and license statements. + +Pre-built binaries of these firmwares can be found in the "pc-bios" folder +of the main QEMU source tree. It can be browsed online here: + + https://gitlab.com/qemu-project/qemu/-/tree/master/pc-bios + + +Building +======== + +The main Makefile provides some targets for building the various firmware +images in an easy way. Run "make help" in this directory to get a list of +available build targets. + +Note that you might need to install an appropriate cross-compiler for +compiling certain targets first. From patchwork Mon Nov 28 09:25:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 1709629 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=PJ4u76vf; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NLKqF0Ylnz23nq for ; Mon, 28 Nov 2022 20:26:47 +1100 (AEDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozaPC-0004jt-79; Mon, 28 Nov 2022 04:26:26 -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 ) id 1ozaP6-0004hW-7h for qemu-devel@nongnu.org; Mon, 28 Nov 2022 04:26:21 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozaP4-0004od-PV for qemu-devel@nongnu.org; Mon, 28 Nov 2022 04:26:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669627577; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=i6agG9jTgxV89gia4Vc6HJ/uCdLDyFE21PUHZFeKnkc=; b=PJ4u76vfbYIqLcO8GA4WkpQBlq4kTmzVbwaWplxK1m5tfG0IkRk6Dmi5INKD0e4h/uxY1o Pv06ZCuSLXrfXz+6RSrtLL7q7AFOgt1LsRxcHBdTeIpje4q629kVPYCgW8kGundM9ZKe+N z98wsN2pC3vVXDkWsUbPlAbUu0t0yH8= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-534-Yhi_RWv_NQ-kkHFMpUTT5Q-1; Mon, 28 Nov 2022 04:26:13 -0500 X-MC-Unique: Yhi_RWv_NQ-kkHFMpUTT5Q-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D753C833AEC; Mon, 28 Nov 2022 09:26:12 +0000 (UTC) Received: from thuth.com (unknown [10.39.192.223]) by smtp.corp.redhat.com (Postfix) with ESMTP id BC1E149BB61; Mon, 28 Nov 2022 09:26:10 +0000 (UTC) From: Thomas Huth To: Stefan Hajnoczi , Michael Roth , qemu-devel@nongnu.org, Gerd Hoffmann Cc: =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Peter Maydell , Paolo Bonzini , Richard Henderson Subject: [PATCH v2 for-8.0 5/5] scripts/make-release: Move roms into separate tarball Date: Mon, 28 Nov 2022 10:25:55 +0100 Message-Id: <20221128092555.37102-6-thuth@redhat.com> In-Reply-To: <20221128092555.37102-1-thuth@redhat.com> References: <20221128092555.37102-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.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, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Our current release tarballs are huge and caused already some trouble with the server traffic in the past. However, the biggest chunk (~80%) of the tarball is caused by the firmware sources - which most users don't need anyway (assuming that they just want to compile QEMU itself on their own). So we can certainly safe a lot of traffic by moving the firmware sources into a separate tarball, so that only people who really want to rebuild the firmware images on their own have to download it. This decreases the size of the main QEMU xz tarball from ca. 116 MiB to only 27 MiB! Signed-off-by: Thomas Huth Reviewed-by: Alex Bennée Tested-by: Alex Bennée --- scripts/make-release | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/scripts/make-release b/scripts/make-release index febeb6cb36..44408c24a2 100755 --- a/scripts/make-release +++ b/scripts/make-release @@ -42,6 +42,19 @@ git submodule update --init --single-branch CryptoPkg/Library/OpensslLib/openssl \ MdeModulePkg/Library/BrotliCustomDecompressLib/brotli) +tar --exclude=".git*" -cjf ../qemu-rom-sources-${version}.tar.bz2 roms +rm -r roms/* + +cat > roms/README.rst < roms/Makefile <