| Message ID | 20251202043207.1353655-1-cedric.hombourger@siemens.com |
|---|---|
| State | Superseded |
| Headers | show
Return-Path: <isar-users+bncBDB6LLF7YUBRB2GXXHEQMGQELQWBJLI@googlegroups.com>
Received: from shymkent.ilbers.de ([unix socket])
by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA;
Tue, 02 Dec 2025 05:32:47 +0100
X-Sieve: CMU Sieve 2.4
Received: from mail-wm1-f61.google.com (mail-wm1-f61.google.com
[209.85.128.61])
by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id
5B24Wkdq018083
(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
for <iupwgm@isar-build.org>; Tue, 2 Dec 2025 05:32:46 +0100
Received: by mail-wm1-f61.google.com with SMTP id
5b1f17b1804b1-477a1e2b372sf47213095e9.2
for <iupwgm@isar-build.org>; Mon, 01 Dec 2025 20:32:46 -0800 (PST)
ARC-Seal: i=2; a=rsa-sha256; t=1764649961; cv=pass;
d=google.com; s=arc-20240605;
b=Y3kr0lh+CKB0lSsM3UVKNXyVG67H6PyW8Mbk9lWIlpyl8inT7WtZsV45Uy7nlul2Fz
Vis+vpBWgeTmtjnqsZeXkc4G2HIYdwoA96wk1qZ9NPFT6+LZCj/bIY6hdeQsZz82sszx
N+8EdMjg/SuY5Nxrv71AeXwKkrKCtk/7G4yYDhCcpPXuTquGtT5m0ouwYa+xeoax7/IM
yNOk2xXqR6+u125/z+lSWdDieOy2HplKmqaBbiDrZu6Kp84l2pWVGNP/G/yGqZJu2QX2
QGfllDQytSqWCM0QQwpDKJghqVTZ9B3KnRwrc3g+wordu7I8kn4c6fQajJY4iUBZkU11
WgnA==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:reply-to:feedback-id:mime-version
:message-id:date:subject:cc:to:from:dkim-signature;
bh=aNUJc/AmubzyPhr8Q1lqAgmSzLrhummoo5LSmWx05Bc=;
fh=2hpLNIviy2IE5bDY6HZjVryXZ0aS0IlqN1qqAVuLwAE=;
b=V93/XkgGIuMylVA1/wEtIgTJ35wxCTWsKnS1EVsQjL6Qx/W8mC1aTg78k/r/9anrwF
u7tI2SmcmbslWmXoPbJwjwZbAmeo5PA+hXSKS1/yyHxq0ddxkAcVURYGP4ya40O2Lmou
p/OxaFEJUnKtJDHcy8JP5tPxPg8rSILAuLNz05FlB88Z8cU89lbPi2BoQLi6TJJJIumB
xD5G9HbykJxwHcxs32t+KTEB1ihPCz84ivVvB8OeG84wL07yP9qlmf92qGH1UDJJNeJ4
m0hkMHDRHIdxRtXAO7FmmTc0ftdVpxJseCK37t5pIEzF3jPn0WDAzbTExgSVB2I1OU28
jhHw==;
darn=isar-build.org
ARC-Authentication-Results: i=2; gmr-mx.google.com;
dkim=pass header.i=@siemens.com header.s=fm2 header.b=ajrAZAIA;
spf=pass (google.com: domain of
fm-1212295-202512020432367c9778fded000207e3-h1pm_w@rts-flowmailer.siemens.com
designates 185.136.65.226 as permitted sender)
smtp.mailfrom=fm-1212295-202512020432367c9778fded000207e3-h1pM_w@rts-flowmailer.siemens.com;
dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=googlegroups.com; s=20230601; t=1764649961; x=1765254761;
darn=isar-build.org;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:list-id:mailing-list:precedence:reply-to
:x-original-authentication-results:x-original-sender:feedback-id
:mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject
:date:message-id:reply-to;
bh=aNUJc/AmubzyPhr8Q1lqAgmSzLrhummoo5LSmWx05Bc=;
b=XFHEziQ0nIP+oC3uoK1K2Q9potUKtF7VS4hDWVzBlhVdLpo8YOwcXa37/azIAWsAzh
vfb/Z9Lv6SFCNMw/tQ7QFDCs0rbcp+f3UbMfaFtvN4VXuCtQxUUhgm1rhrMPOKSwIjbW
hr88hhzZrTdwy1J/X6bha+j5us76m7L6jn8wzcQcxIAvHi/hQ+nrMHMzDReoGfxBShSD
f8rZ8zr51Ydt4G77XyXH0wlzQq9nhlESfzTifStMLIl0w8yhFnClbOUC8bqCPQV986iJ
FrRY0zw/8A3z7lb+V6Tm1+NkhZQEfmDQvAd3Vvf6XxTzGyNI9nOmvmRsy2AlXbe0ArdM
0/HQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1764649961; x=1765254761;
h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
:x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to
:x-original-authentication-results:x-original-sender:feedback-id
:mime-version:message-id:date:subject:cc:to:from:x-beenthere
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=aNUJc/AmubzyPhr8Q1lqAgmSzLrhummoo5LSmWx05Bc=;
b=v7aqb3dbya4qrCVpmGlT/Qy6g2VBw4kECqKocFNXLQwPXetsUrUPYxKdbb1DmXIld1
lvzY2QIOTLybYur4YH+2xUaGNBud4VxzoRiv0i3II2Juw4wSSWW6ZGYvlOPxcfHGXiDh
1TMczR7TJoRYZzYqVkLgS+sVExWqZpaHSjCOxk1pimFFRTihT3Pbx2IlIrvxMfbNmgPq
2I8fY5SOKCtIORWfSK8VRE/cUC+kmyk40arIYMeQSsUCQnNggTJFAaJT4oG9o3v28iHx
vVJ4pUKac4tH9NK1631P9MZgneKKebj1727/rJJXjr/n/7pQW2+FQuwCF1Vf46hkGLfv
Rw+Q==
X-Forwarded-Encrypted: i=2;
AJvYcCXlq48SzDUSuD1HMcSpuWTHG8iS+Mo+F5+NXxpgJarSfMvYqoSUhcIqTyId1hepnRbE115R9N8=@isar-build.org
X-Gm-Message-State: AOJu0YwPvwydUlEodx9apxc644kxU0Cz1mktp2zyNLjM1Bxw4z2kcRoa
8d+hsqljfqWoXpAXOEdM6GTHtAAieAIVOY3bcbS51Uyf2qm0DsAM/HJk
X-Google-Smtp-Source:
AGHT+IFeRMCbjXhpkbMj7SrVLJQzsQWSHEEBvLlMu0PLaR4Vnl2rhocY3MDwiM4JqpidV8BxGOTeIQ==
X-Received: by 2002:a05:600c:1994:b0:46f:c55a:5a8d with SMTP id
5b1f17b1804b1-477c0176437mr429587315e9.4.1764649960699;
Mon, 01 Dec 2025 20:32:40 -0800 (PST)
X-BeenThere: isar-users@googlegroups.com;
h="Ae8XA+akiFwxZtiHPZ/CIPYEZVVzt+wKiTpZTYRpc9GR6eBjYA=="
Received: by 2002:a05:6000:381:b0:42b:52c4:6647 with SMTP id
ffacd0b85a97d-42e1b344607ls3391601f8f.0.-pod-prod-02-eu; Mon, 01 Dec 2025
20:32:37 -0800 (PST)
X-Received: by 2002:a05:6000:26cc:b0:429:c4bb:fbc7 with SMTP id
ffacd0b85a97d-42cc1cbd24cmr45454521f8f.16.1764649957700;
Mon, 01 Dec 2025 20:32:37 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1764649957; cv=none;
d=google.com; s=arc-20240605;
b=Xrq89u7hs+9ZZAHhl1niqXPP9uCHUwiU53lqnf3DGzd0O9kqQ2ptV9xK/axhopJ2YW
Tg1XC3h5pd1DIIs/WttKdUxR8vQ935NsNahIvTu4dSSSN05Q0OsjenkPu81zv4d5kaNz
qGJ/7bHIYkQCFfS58VW7hNyy5AcU6J9ZlCLmkfbd/8VbrT2W92skPes1/7ckWSvTeXzf
Wc9EGT1AMECyy90FxumeKCzq6YhTqiZI68aI+T581cTtAt8nu+1VEZiv07zGlE8G4xSk
7SFrDfJEf+Xnk/pvwJQ94763kbyR7H5tXcOY+DMiw7xT/cA7ZUjERyMfh7mMdAyGxX7+
wYtA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
h=feedback-id:content-transfer-encoding:mime-version:message-id:date
:subject:cc:to:from:dkim-signature;
bh=Ca5i1lUrPhrY/FKJZM6t1ppeGTHGPKd7MOW91jVlsRQ=;
fh=07g5gavLwSz+qLCpbyKBHhw3S1gB4D3oFdTr9l9c8y8=;
b=hw25GUvH041fRP4X20TzDRiIGA5PV/FiddV+oVIxSGFRPoQRLlJnOwOt3ZmdY0mpHK
+znb6votYMf3c42aEUveELA3kBTBVN8f4rY2zeLaLgLCAZNErzABwdiwgN41l1WYCnhQ
AVwOnOLjRvzFaP8wnJKD2Vcsp5yGfPeFJKgKZsaMZzfTaLtc/yjNL+ehIeBUOuuY//Q+
sMwa8EU2MIwiIOYKVFGPA7wkGq3frSMqExLTzcZUj7NJakEvQA7ygE5ey33meP/8RmR/
3v4VT5b+xa/duOJfZ1sWl/k22NMmdU5p9RDfN1HLRnurmBFm3frllPZytBBH/y/e9l8C
C50Q==;
dara=google.com
ARC-Authentication-Results: i=1; gmr-mx.google.com;
dkim=pass header.i=@siemens.com header.s=fm2 header.b=ajrAZAIA;
spf=pass (google.com: domain of
fm-1212295-202512020432367c9778fded000207e3-h1pm_w@rts-flowmailer.siemens.com
designates 185.136.65.226 as permitted sender)
smtp.mailfrom=fm-1212295-202512020432367c9778fded000207e3-h1pM_w@rts-flowmailer.siemens.com;
dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com
Received: from mta-65-226.siemens.flowmailer.net
(mta-65-226.siemens.flowmailer.net. [185.136.65.226])
by gmr-mx.google.com with ESMTPS id
ffacd0b85a97d-42e1ca5449csi219025f8f.9.2025.12.01.20.32.37
for <isar-users@googlegroups.com>
(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Mon, 01 Dec 2025 20:32:37 -0800 (PST)
Received-SPF: pass (google.com: domain of
fm-1212295-202512020432367c9778fded000207e3-h1pm_w@rts-flowmailer.siemens.com
designates 185.136.65.226 as permitted sender) client-ip=185.136.65.226;
Received: by mta-65-226.siemens.flowmailer.net with ESMTPSA id
202512020432367c9778fded000207e3
for <isar-users@googlegroups.com>;
Tue, 02 Dec 2025 05:32:37 +0100
From: "'Cedric Hombourger' via isar-users" <isar-users@googlegroups.com>
To: openembedded-core@lists.openembedded.org
Cc: isar-users@googlegroups.com,
Cedric Hombourger <cedric.hombourger@siemens.com>
Subject: [PATCH] lib/oe/patch: use author date as commit date for "git am"
Date: Tue, 2 Dec 2025 05:32:06 +0100
Message-ID: <20251202043207.1353655-1-cedric.hombourger@siemens.com>
MIME-Version: 1.0
X-Flowmailer-Platform: Siemens
Feedback-ID: 519:519-1212295:519-21489:flowmailer
X-Original-Sender: cedric.hombourger@siemens.com
X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass
header.i=@siemens.com header.s=fm2 header.b=ajrAZAIA; spf=pass
(google.com: domain of
fm-1212295-202512020432367c9778fded000207e3-h1pm_w@rts-flowmailer.siemens.com
designates 185.136.65.226 as permitted sender)
smtp.mailfrom=fm-1212295-202512020432367c9778fded000207e3-h1pM_w@rts-flowmailer.siemens.com;
dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com
X-Original-From: Cedric Hombourger <cedric.hombourger@siemens.com>
Reply-To: Cedric Hombourger <cedric.hombourger@siemens.com>
Content-Type: text/plain; charset="UTF-8"
Precedence: list
Mailing-list: list isar-users@googlegroups.com;
contact isar-users+owners@googlegroups.com
List-ID: <isar-users.googlegroups.com>
X-Spam-Checked-In-Group: isar-users@googlegroups.com
X-Google-Group-Id: 914930254986
List-Post: <https://groups.google.com/group/isar-users/post>,
<mailto:isar-users@googlegroups.com>
List-Help: <https://groups.google.com/support/>,
<mailto:isar-users+help@googlegroups.com>
List-Archive: <https://groups.google.com/group/isar-users
List-Subscribe: <https://groups.google.com/group/isar-users/subscribe>,
<mailto:isar-users+subscribe@googlegroups.com>
List-Unsubscribe:
<mailto:googlegroups-manage+914930254986+unsubscribe@googlegroups.com>,
<https://groups.google.com/group/isar-users/subscribe>
X-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI,
RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,RCVD_IN_RP_CERTIFIED,
RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable
autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de
X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?=
|
| Series |
lib/oe/patch: use author date as commit date for "git am"
|
expand
|
diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py index 77b166cfa3..246fc6221f 100644 --- a/meta/lib/oe/patch.py +++ b/meta/lib/oe/patch.py @@ -626,7 +626,8 @@ class GitApplyTree(PatchTree): try: shellcmd = [patchfilevar, "git", "--work-tree=%s" % reporoot] self.gitCommandUserOptions(shellcmd, self.commituser, self.commitemail) - shellcmd += ["am", "-3", "--keep-cr", "--no-scissors", "-p%s" % patch['strippath']] + shellcmd += ["am", "--committer-date-is-author-date", + "-3", "--keep-cr", "--no-scissors", "-p%s" % patch['strippath']] return _applypatchhelper(shellcmd, patch, force, reverse, run) except CmdError: # Need to abort the git am, or we'll still be within it at the end
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> --- meta/lib/oe/patch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)