]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
lib/oe/patch: use author date as commit date for "git am"
authorcedric.hombourger@siemens.com <cedric.hombourger@siemens.com>
Tue, 2 Dec 2025 09:15:53 +0000 (10:15 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 11 Dec 2025 11:04:29 +0000 (11:04 +0000)
commit8bb2c675b017eec023b27c0cf6e61fee7a46bb86
treef0406e8c6944b1905bc4aeeb81cf2fb3c4a6b51b
parentc6d9156200a414fb09734aac42d2a25685a889b5
lib/oe/patch: use author date as commit date for "git am"

By default, "git am" uses the time of commit creation as the committer
date and is therefore "unique" to each build.

Use the --committer-date-is-author-date option for git to use the author
date as the committer date to get deterministic meta-data and therefore
commit hashes (which may end-up in sources or build in the form of e.g.
localversion file).

Cc: isar-users@googlegroups.com
Signed-off-by: Cedric Hombourger <cedric.hombourger@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/patch.py