From: Bruce Ashfield <[email protected]> Integrating the following commit:
commit a4a362d9f4f0abc8ab145a8673166b9bd875731a (HEAD -> master, origin/master, origin/HEAD) Author: Hubert Wiśniewski <[email protected]> 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 <[email protected]> Signed-off-by: Bruce Ashfield <[email protected]> Signed-off-by: Bruce Ashfield <[email protected]> --- 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
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#228144): https://lists.openembedded.org/g/openembedded-core/message/228144 Mute This Topic: https://lists.openembedded.org/mt/116848896/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
