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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2E6B9C6FD1C for ; Fri, 10 Mar 2023 00:52:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229761AbjCJAwi (ORCPT ); Thu, 9 Mar 2023 19:52:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229721AbjCJAwf (ORCPT ); Thu, 9 Mar 2023 19:52:35 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 388ADF9D3F; Thu, 9 Mar 2023 16:52:34 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id 01AE9B8214B; Fri, 10 Mar 2023 00:52:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B3A5C4339B; Fri, 10 Mar 2023 00:52:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678409551; bh=cRmUg/JbMLYRj4dYJKHAWXpm1hjbKTemJQlot7tsaNk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=rqd302DAUEgu5krm9SK8F/aIg8qM7iW92/aw6Gg+n9kwEZqw7LIrQJwwQDzcL9yUS SYRYS1xg5Rp6jIGuZ3NnpLuk1YJWSvjsYt4UbgZXqlsjI6eL4RBs1YGSUvKPhgVWa5 1S7GXyIjFWmtDolUVA1wlv/CdJavnFGK1Gq701WZuf13lwG4NQSi3sxEo2ycSX5U9E fWqpIv++IBur5DrqvBOid9b1pIGkE++A7s8GJVvr7pULCdh2Ot8XZx4uvERukueE2Z u8IQeyaBG6lLNkHlHleZTsptD5oApW8WLXVuBgPlSDxI1foNiosxLLio63V4Cghrh4 a47Xs7nNDxYMQ== Received: by mail-oi1-f169.google.com with SMTP id bi17so3110535oib.3; Thu, 09 Mar 2023 16:52:31 -0800 (PST) X-Gm-Message-State: AO0yUKUjnB3q3KeBA7YPzy+WG/5w5RgMBhzB/w1zRqgHHF8HPaIWDz8B Vk+Fc4L6TcOjoy0oLCca98QbHwZ2bNshoNFAJP8= X-Google-Smtp-Source: AK7set/6V1ep4bExi657Fv9hL6PvA+h/Vyrj5b0U3JEytRzS267de4Lryhfzk9CTAdBojIEIfqxRcIZ8JluTCfy3iYs= X-Received: by 2002:a05:6808:30c:b0:383:e7b5:8177 with SMTP id i12-20020a056808030c00b00383e7b58177mr7918567oie.11.1678409550878; Thu, 09 Mar 2023 16:52:30 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Masahiro Yamada Date: Fri, 10 Mar 2023 09:51:54 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: About the .scmversion removal (commit f6e09b07cc12) To: "Guilherme G. Piccoli" Cc: linux-kbuild@vger.kernel.org, nathan@kernel.org, rasmus.villemoes@prevas.dk, Nick Desaulniers , nicolas@fjasle.eu, linux-kernel , "Guilherme G. Piccoli" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 10, 2023 at 6:15=E2=80=AFAM Guilherme G. Piccoli wrote: > > Hi Masahiro / all, I was rebuilding the kernel today, just adding some > debug statements, when I noticed a lot of stuff got built again. I was > using ".scmversion" to prevent UTS version changes, so only affected > files got indeed rebuilt. > > After commit f6e09b07cc12 ("kbuild: do not put .scmversion into the > source tarball"), seems this file is automatically deleted and I'm not > sure how should I proceed to continue with the same behavior. > > Apologies if this is a silly question, any advice is much appreciated! > Also, I've CCed all the emails from [0], so apologies if anybody looped > here shouldn't be CCed. Not a silly question, but .scmversion was intended for source package creation (deb, rpm) in my understanding. If you want to use a fixed string for the UTS version, please pass KERNELRELEASE=3D to the build command line. --=20 Best Regards Masahiro Yamada