diff mbox series

[01/15,openembedded-core] kern-tools: fix commit SHA reproducibility with raw diffs

Message ID 20251218202248.70476-1-bruce.ashfield@gmail.com
State New
Headers show
Series linux-yocto: combined and consolidated pull request | expand

Commit Message

Bruce Ashfield Dec. 18, 2025, 8:22 p.m. UTC
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 mbox series

Patch

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