E.g.,: $ upgradehelper.py less commit d9b551438037e105eebabbbcb2da6d8b8cae7504 Author: Robert Yang <liezhi.y...@windriver.com> Date: Wed Dec 6 16:38:55 2017 +0800
less: upgrade to 529 Signed-off-by: Robert Yang <liezhi.y...@windriver.com> Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- upgradehelper.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/upgradehelper.py b/upgradehelper.py index ff27b97..0678c58 100755 --- a/upgradehelper.py +++ b/upgradehelper.py @@ -407,7 +407,11 @@ class Updater(object): if 'recipe' in pkg_ctx: I(" %s: Auto commit changes ..." % pkg_ctx['PN']) - self.git.commit(pkg_ctx['recipe'].commit_msg, self.opts['author']) + commit_msg = pkg_ctx['recipe'].commit_msg + if self.recipes: + self.git.commit(commit_msg) + else: + self.git.commit(commit_msg, self.opts['author']) stdout = self.git.create_patch(pkg_ctx['workdir']) pkg_ctx['patch_file'] = stdout.strip() -- 2.7.4 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto