| Message ID | 20260313171635.777268-1-jose.quaresma@foundries.io |
|---|---|
| State | New |
| Headers | show |
| Series | [v2] pacth: add user and email when patchtool is git | expand |
diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py index afc42df8a7..2cd8de22c7 100644 --- a/meta/lib/oe/patch.py +++ b/meta/lib/oe/patch.py @@ -318,6 +318,8 @@ class GitApplyTree(PatchTree): def _initRepo(self): runcmd("git init".split(), self.dir) + runcmd(["git", "config", "user.email", self.commitemail], self.dir) + runcmd(["git", "config", "user.name", self.commituser], self.dir) runcmd("git add .".split(), self.dir) runcmd("git commit -a --allow-empty -m bitbake_patching_started".split(), self.dir)