Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp775143rwl; Fri, 7 Apr 2023 05:26:14 -0700 (PDT) X-Google-Smtp-Source: AKy350a/cpquL8K+E4fYbfSeMWzUrB1yvUhFBJhJapRiFDrKBUa5NjWRjupr8GG9KYXw3bJXT03X X-Received: by 2002:aa7:9739:0:b0:626:1523:b10d with SMTP id k25-20020aa79739000000b006261523b10dmr2433043pfg.4.1680870373970; Fri, 07 Apr 2023 05:26:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680870373; cv=none; d=google.com; s=arc-20160816; b=LVylkUW40fCghj4eyTzZW/TBJirtYxiHIEQJwiqkceZNHC6opYZo8rwBL1k6rNorhc elEIk8VPPJ7ltDxqqzOmqNsmC/VEA7IwbNqB3cZfdn5NEXStHH/uQlHioBg9mxts+HAT BLOSPlSsejAVH6NvMRUXdRbYqjqqTp9h2aNPKAE7yH3OdNRHXxHgasQ5JiFM+GgLMNvx YUC9/rzUPImUktsJcjRqNNB6GMps5VYaoLgNXdu2Tsr15+wMouXRuJUG+S+XClwbJeLu Pudofti68DkPiqVDx/x7SaQv728Vc7C1Yoofd4KiztuzRvT8IMyHS+7Ih70D1CYKtQH2 Bypw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=LRlkJPdkaQmnUHCL8YiEwkpdDp6SFtDRjEQvewUxGjk=; b=c20VczVzuq+kH62lUTlxHIKSy7UwHtrAjhhhfH2I8mpf9cr6aVBoTshfl3SZNDL+Wk QRBBNba3xBHDIXx+vcxZApUpj1EcMa+vfYeQZbybT8f4wvlbjXBgd3N8TEW3vJ035Ysv oQy3Xr2vmleHh67kAcgV0hckAkPaNzK/j6TR7GNpNyTDaHug5MqvZU2QoTxkq4xtrNFG HbcF61S+/8dScsme352AJye8ITJoYYy30//XUYvXTVXsT3Zt+pV6w1ZALMCByCZett0J b5KKxh3cWNfhwnNFA41BYcOBACzVlhuAMiYVcyufWyAaBAGF9KAjTz+28h3CRMf83g+v +V8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QcUj9ECO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z17-20020aa79591000000b006257094661bsi3522391pfj.79.2023.04.07.05.26.00; Fri, 07 Apr 2023 05:26:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QcUj9ECO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240657AbjDGMFC (ORCPT + 99 others); Fri, 7 Apr 2023 08:05:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240646AbjDGMFA (ORCPT ); Fri, 7 Apr 2023 08:05:00 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89B0286B8; Fri, 7 Apr 2023 05:04:59 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 25FF9611DA; Fri, 7 Apr 2023 12:04:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D1C0C433A0; Fri, 7 Apr 2023 12:04:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680869098; bh=+h9X2/Li7Dbrxpm+yggIqvqVGjoKmnnUOnHGdxgHm3g=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=QcUj9ECOxQaA/Yky8OHxIau2ytTKawki9J64VvWZv5N3IeQllGtsa6SnYA3oAwqzI KxuccBXTfmGckh/1s/EsyhfmJRu65GFAkiuRbmP04MAEUgC3di++Jr1m5qXKsW62XM RnnH6y31dMhRd5pjbt4VWGz5HWOoJM9satW5YVrjQRp/MtULHH4dvQ0efKgwTaPp3a aO1fNdrcpRybC+4EUbTPzTBZxuZ1ysUYB/FSD7UmGdlX73kFNwlIr1Bli5b2IDDFwr 2K0B3Bnf2VYMkhXTll70m0nIwTBEgeJIyzl67c/EsEMOuUsutOgFYS6pcbOxAC84bq gcOQFl6YmSXPA== Received: by mail-oa1-f47.google.com with SMTP id 586e51a60fabf-177b78067ffso45445105fac.7; Fri, 07 Apr 2023 05:04:58 -0700 (PDT) X-Gm-Message-State: AAQBX9dabqJdv2hQ6nQazYwEVRc6xfgKZ4mbyQcQ2TFxVIO1s2XOhpxu rHsQT7HEdqqXzLuWg1YtbIaBDef86/VZpZdyMAE= X-Received: by 2002:a05:6870:3105:b0:183:ebfc:c791 with SMTP id v5-20020a056870310500b00183ebfcc791mr849486oaa.11.1680869097793; Fri, 07 Apr 2023 05:04:57 -0700 (PDT) MIME-Version: 1.0 References: <20230312200731.599706-7-masahiroy@kernel.org> <20230406152540.8207-1-youling257@gmail.com> In-Reply-To: <20230406152540.8207-1-youling257@gmail.com> From: Masahiro Yamada Date: Fri, 7 Apr 2023 21:04:21 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 6/6] kbuild: use git-archive for source package creation To: youling257 Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, nathan@kernel.org, ndesaulniers@google.com, nicolas@fjasle.eu, terrelln@fb.com, torvalds@linux-foundation.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 7, 2023 at 12:25=E2=80=AFAM youling257 w= rote: > > This patch cause build time a bit longer. > I use "time make targz-pkg -i -j8" build kernel, this patch will first cr= eate *.tar file, then create *.tar.gz file, build time a bit longer. > './System.map' -> 'tar-install/boot/System.map-6.3.0-rc5-android-x86_64+' > '.config' -> 'tar-install/boot/config-6.3.0-rc5-android-x86_64+' > './vmlinux' -> 'tar-install/boot/vmlinux-6.3.0-rc5-android-x86_64+' > './arch/x86/boot/bzImage' -> 'tar-install/boot/vmlinuz-6.3.0-rc5-android-= x86_64+' > TAR linux-6.3.0-rc5-android-x86_64+-x86.tar > GZIP linux-6.3.0-rc5-android-x86_64+-x86.tar.gz > > real 0m37.991s > user 0m47.529s > sys 0m8.235s > > Revert "kbuild: use git-archive for source package creation" > './System.map' -> 'tar-install/boot/System.map-6.3.0-rc5-android-x86_64+' > '.config' -> 'tar-install/boot/config-6.3.0-rc5-android-x86_64+' > './vmlinux' -> 'tar-install/boot/vmlinux-6.3.0-rc5-android-x86_64+' > './arch/x86/boot/bzImage' -> 'tar-install/boot/vmlinuz-6.3.0-rc5-android-= x86_64+' > TAR linux-6.3.0-rc5-android-x86_64+-x86.tar.gz > > real 0m11.006s > user 0m21.079s > sys 0m7.830s > > I don't like *.tar file, i will delete *.tar file when every time build k= ernel, i need *.tar.gz file, if one file is i needn't, i will delete it. > linux-6.3.0-rc5-android-x86_64+-x86.tar.gz file is i need, linux-6.3.0-rc= 5-android-x86_64+-x86.tar is i needn't. OK. On second thought, splitting tar and compression was unneeded. I submitted a patch set to avoid unneeded *.tar creation. https://lore.kernel.org/lkml/20230407101629.1298051-1-masahiroy@kernel.org/= T/#t --=20 Best Regards Masahiro Yamada