Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3218053rwl; Mon, 27 Mar 2023 10:48:31 -0700 (PDT) X-Google-Smtp-Source: AKy350ad0P5eEnbz57V/JcDECh1TNrD9Tq/ynSkHqpC2JUEoQCmUiue8Bz14G4qwxr03WfAy3PLr X-Received: by 2002:a17:902:d502:b0:19a:7217:32a9 with SMTP id b2-20020a170902d50200b0019a721732a9mr13972640plg.26.1679939310737; Mon, 27 Mar 2023 10:48:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679939310; cv=none; d=google.com; s=arc-20160816; b=pJuAye2crypaTpRJQHgbNLlV4CBicmheGvrUEp3v9aK2Yq499tpbjcJ2/rZJnUYaHT 2cqOo6Zg4KlwX/Q0m1Lqo6vK4cG72YQLbFzRWzdFyb150K0k/u8ruHq6ui8eAnlEaR9P +0ObJBX039gWFdNOqp4/vMj5JWYHNAdRu1hNzDQYjcXdG8jN3s5ArZPVSlvukAMFXpA5 SEKeoxaxevWxKrXkALOIJb+KjmI/C77PNO6NMsMR+h/2SmGTyif/pSRBuLBUvZO0MjKp Z9Da0QfCIAC8TzLAYpp2Ro6PczIg4CTxSg9SVePYtgqdM3/+6ruuvMPMdcMvamHv5mdm zg+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:from:cc:to :content-language:mime-version:date:message-id:dkim-signature; bh=KjDX25+NKaaKoD5YHcl9oKe8i5e92yTlVSF3eB2pmAA=; b=AmtE729vIntXf09tk7TsnFB9BMidOCPHAhj4O9CC0qfd4q9ZSJ79kZkz6TNScXZtvK 6cGt4c9bmjTcpLziYjPIV5O+X4LQbIeqNTnBKnFJaK2zuLUGgpWAjK1MlCVjf4MEy3PY q9cOQtuxMsHJw6Ykusa3yK98ABvshih2v0/J8iXIwloAMlI1EFVi1yrKMtjCgTxSuTdR 5LO63g2S3r/uUnPfoEMSFk4FLmvpkp9mWUg+2dluQFzxqzL7BTosXB9r981bdrwImvKW pnS8KwIEhjrV95coNsg6PzsK7nfIeBk74tfeIULwoGu+VKBEK/NGLSAJdyz6Ius7yEjf RFaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailbox.org header.s=mail20150812 header.b=ZsFEgOxG; 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=REJECT sp=REJECT dis=NONE) header.from=mailbox.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d11-20020a170902cecb00b0019cf7f260afsi29307565plg.37.2023.03.27.10.48.19; Mon, 27 Mar 2023 10:48:30 -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=@mailbox.org header.s=mail20150812 header.b=ZsFEgOxG; 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=REJECT sp=REJECT dis=NONE) header.from=mailbox.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231437AbjC0RoX (ORCPT + 99 others); Mon, 27 Mar 2023 13:44:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230407AbjC0RoT (ORCPT ); Mon, 27 Mar 2023 13:44:19 -0400 Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [IPv6:2001:67c:2050:0:465::201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABE9B1998; Mon, 27 Mar 2023 10:44:17 -0700 (PDT) Received: from smtp2.mailbox.org (unknown [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4PlgDG04W2z9sbl; Mon, 27 Mar 2023 19:44:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1679939054; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KjDX25+NKaaKoD5YHcl9oKe8i5e92yTlVSF3eB2pmAA=; b=ZsFEgOxGPbZl0s8MAKoWU+degbW2c4xvF8EOESTFviixw7X8DR8QXTTgWmFisYsVVLwC64 ur/Uey+Cwgc1fGvUva6WYfWKWdXidhKqDqGaQ5BdYUalzvIae7ZMtCvQISAmqg3OFwaCbh Jp5NGLdwhSwRyDPawbO4AN6aJqYz3ngGi99VHMmpLX/DM9orcRR3JbWC4++yffb1uMJRwC S9Kkqs195WrUG6Gea276f3oU6Bh1KwZ17Aqeoi0+KtXX06fb15ul6VxSRWj7D07eL/zhhK gVlSgG1PL+D7/XBnR74IcP3Z8uI3IshAoQJp48uDgvInOhwib9SD6VWedmsdnw== Message-ID: <1de9eccd-8570-3b69-4be2-347e862bcc33@mailbox.org> Date: Mon, 27 Mar 2023 17:44:07 +0000 MIME-Version: 1.0 Content-Language: en-US To: Masahiro Yamada Cc: "linux-kernel@vger.kernel.org" , Linux Kbuild mailing list From: Tor Vic Subject: [Question] Restore previous "local tag" behaviour Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-MBO-RS-ID: c6ada957306ea23e075 X-MBO-RS-META: 1atenzh7tnubjtdnugqjqbrmbwkbf6xu X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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 Hi, When I'm building my kernels, I used to tag my personal releases with a similar annotated tag commit as with vanilla kernel, just appending "-tv" or similar to it, i.e. "v6.3-rc4" becomes "v6.3-rc4-tv". This has worked just fine so far, but... Since commit 6ab7e1f95e96f0c688ae132b0e9a16c0f206689d ("setlocalversion: use only the correct release tag for git-describe"), this is not taken into account anymore, it uses the "git describe" tag instead of using the actually tagged commit as "kernelrelease". Is there a way to restore the previous behaviour without having to revert this (and preceding) commits? I know that we can disable CONFIG_LOCALVERSION_AUTO=y and append directly to CONFIG_LOCALVERSION, but maybe someone knows how to use the "old" way of using tags...? In other words, when I have a local tag, I want "kernelrelease" to use just that tag, and when I don't tag anything, it should just use the standard "git describe" tag. For the moment I have just reverted the related commits as they don't serve any purpose for my needs. Cheers, Tor Vic