public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: bruce.ashfield@gmail.com
To: richard.purdie@linuxfoundation.org
Cc: openembedded-core@lists.openembedded.org
Subject: [01/15][openembedded-core] kern-tools: fix commit SHA reproducibility with raw diffs
Date: Thu, 18 Dec 2025 15:22:26 -0500	[thread overview]
Message-ID: <20251218202248.70476-1-bruce.ashfield@gmail.com> (raw)
In-Reply-To: <cover.1766087617.bruce.ashfield@gmail.com>

From: Bruce Ashfield <bruce.ashfield@gmail.com>

Integrating the following commit:

  commit a4a362d9f4f0abc8ab145a8673166b9bd875731a (HEAD -> master, origin/master, origin/HEAD)
  Author: Hubert Wiśniewski <hubert.wisniewski.25632@gmail.com>
  Date:   Sat Nov 22 15:23:02 2025 +0100

      kgit-s2q: fix commit SHA reproducibility with raw diffs

      In case of git-am failure, kgit-s2q tries to read the date from the
      patch. Unfortunately, if the patch does not have a date (e.g. raw diff),
      no date is set and git uses the current system time.

      This patch makes kgit-s2q use SOURCE_DATE_EPOCH as the last resort or emit
      a warning if it's not available. Additionally, GIT_COMMITTER_DATE is set
      to GIT_AUTHOR_DATE if requested with --commit-sha option (same behavior as
      with git-am).

      Signed-off-by: Hubert Wiśniewski <hubert.wisniewski.25632@gmail.com>
      Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
---
 meta/recipes-kernel/kern-tools/kern-tools-native_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
index 9240ee5db8..bd90316050 100644
--- a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
+++ b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "\
 
 DEPENDS += "git-replacement-native"
 
-SRCREV = "f589e1df23251d8319063da0a61c1016b2a0bf85"
+SRCREV = "a4a362d9f4f0abc8ab145a8673166b9bd875731a"
 PV = "0.3+git"
 
 inherit native
-- 
2.39.2



  reply	other threads:[~2025-12-18 20:22 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-18 20:22 [PATCH 0/21] linux-yocto: combined and consolidated pull request bruce.ashfield
2025-12-18 20:22 ` bruce.ashfield [this message]
2025-12-18 20:22 ` [02/15][openembedded-core] linux-yocto/6.12: update to v6.12.61 bruce.ashfield
2025-12-18 20:22 ` [03/15][openembedded-core] linux-yocto/6.12: update CVE exclusions (6.12.61) bruce.ashfield
2025-12-18 20:22 ` [04/15][openembedded-core] linux-yocto/6.12: update to v6.12.62 bruce.ashfield
2025-12-18 20:22 ` [05/15][openembedded-core] linux-yocto/6.12: update CVE exclusions (6.12.62) bruce.ashfield
2025-12-18 20:22 ` [06/15][openembedded-core] linux-yocto/6.16: rust kernel configs bruce.ashfield
2025-12-18 20:22 ` [07/15][openembedded-core] linux-yocto/6.17: update to v6.17.11 bruce.ashfield
2025-12-18 20:22 ` [08/15][openembedded-core] linux-yocto/6.17: update CVE exclusions (6.17.11) bruce.ashfield
2025-12-18 20:22 ` [09/15][openembedded-core] linux-yocto/6.17: rust kernel configs bruce.ashfield
2025-12-18 20:22 ` [12/15][openembedded-core] linux-libc-headers: update to 6.18 bruce.ashfield
2025-12-18 20:22 ` [13/15][openembedded-core] linux-yocto/6.18: rust kernel configs bruce.ashfield
2025-12-18 20:22 ` [14/15][openembedded-core] linux-yocto/6.18: update to v6.18.1 bruce.ashfield
2025-12-18 20:22 ` [15/15][openembedded-core] linux-yocto/6.18: update CVE exclusions (6.18.1) bruce.ashfield
2025-12-18 20:22 ` [01/06][meta-yocto] yocto-bsp: introduce 6.18 h/w reference bruce.ashfield
2025-12-18 20:22 ` [02/06][meta-yocto] yocto-bsp/6.17: drop bbappend bruce.ashfield
2025-12-18 20:22 ` [03/06][meta-yocto] poky-tiny: make 6.18 preferred kernel version bruce.ashfield
2025-12-18 20:22 ` [04/06][meta-yocto] poky: " bruce.ashfield
2025-12-18 20:22 ` [05/06][meta-yocto] poky-alt: make default kernel 6.18 bruce.ashfield
2025-12-18 20:22 ` [06/06][meta-yocto] yocto-bsp: genericx86: bump default kernel to 6.18 bruce.ashfield
2025-12-22 13:13 ` [PATCH 0/21] linux-yocto: combined and consolidated pull request Richard Purdie
2025-12-23  3:34   ` Bruce Ashfield
2025-12-23  7:31     ` [OE-core] " Mikko Rapeli
     [not found]     ` <1883C7B7E16A04B1.1614991@lists.openembedded.org>
2025-12-23  8:17       ` Mikko Rapeli
2025-12-23 12:45     ` Richard Purdie
2025-12-23 14:45       ` Bruce Ashfield

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251218202248.70476-1-bruce.ashfield@gmail.com \
    --to=bruce.ashfield@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox