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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9D9BBC4332F for ; Wed, 13 Dec 2023 15:54:03 +0000 (UTC) Received: from cpanel10.indieserve.net (cpanel10.indieserve.net [199.212.143.9]) by mx.groups.io with SMTP id smtpd.web11.39296.1702482838974227010 for ; Wed, 13 Dec 2023 07:53:59 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@crashcourse.ca header.s=default header.b=A+SqxUfY; spf=pass (domain: crashcourse.ca, ip: 199.212.143.9, mailfrom: rpjday@crashcourse.ca) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=crashcourse.ca; s=default; h=Content-Type:MIME-Version:Message-ID:Subject: To:From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=lqo4LT2vIHlOO6+zfYSYCCY2Tdx1cT7oMkYurLBP84k=; b=A+SqxUfYCN3b9CMsckGgLhVJjg y+/Tx+9THy5Gp3RpvQJeeXca4/9t9Kn/fn7t0wOcllwA5kRL7bzdP7AarQcI3WPmGqBndvkTuGR9F 3JUaL5x2Ly7qdOiioXVAxLfhy4B5ICRfi4fqYh/epKuO2MEt8KP2qUoma0yciYGSiTCRmJKxkY2EA Y8533jzBZOLer5BMaV2SDVzRfLy1g9M9tta85Vp8zl81KWKfmO3q6CPpMgOaqL7+lP67lq+u43Dj/ mXsPrm00cyg4AQ8dHK+ZcqIC+cqFwidG8m3HH7vArQuuqoIBbntW4Big66xwkbtNRIgLGvD3tA9oi K/QTaLew==; Received: from cpeac202e043973-cmac202e043970.sdns.net.rogers.com ([174.114.102.5]:39928 helo=fedora) by cpanel10.indieserve.net with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rDRYW-009Wsd-0p for openembedded-core@lists.openembedded.org; Wed, 13 Dec 2023 10:53:53 -0500 Date: Wed, 13 Dec 2023 10:53:46 -0500 (EST) From: "Robert P. J. Day" To: OE Core mailing list Subject: why does using ${AUTOREV} with kernel recipe rebuild every time? Message-ID: <68402d42-2ab-a052-3f2f-bee4a87382ed@crashcourse.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel10.indieserve.net X-AntiAbuse: Original Domain - lists.openembedded.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - crashcourse.ca X-Get-Message-Sender-Via: cpanel10.indieserve.net: authenticated_id: rpjday+crashcourse.ca/only user confirmed/virtual account not confirmed X-Authenticated-Sender: cpanel10.indieserve.net: rpjday@crashcourse.ca X-Source: X-Source-Args: X-Source-Dir: List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 13 Dec 2023 15:54:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/192303 i *know* i should know the answer to this, but someone just showed me a build (WRLinux-based, but still relevant) where the linux kernel recipe uses: SRCREV_machine = ${AUTOREV} which is what one reads in the WRL version of linux-yocto-custom.bb, but also makes it clear in that recipe file that that is discouraged. in any event, this appears to be forcing an entire rebuild of the kernel every time, even in the presence of sstate-cache, so the obvious question is, what is it about using ${AUTOREV} that defeats the use of sstate-cache? apologies if this should be obvious. rday