mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 20:59:42 +01:00
devtool: Make use of oe.patch.GitApplyTree.commitIgnored()
This makes use of the oe.patch.GitApplyTree.commitIgnored() function to create commits that shall be ignored by `devtool finish`. (From OE-Core rev: 4e1b9289450b5e7946bd5999c95a3ee214aab8a5) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ff63bc403d
commit
85b5e87c7d
@@ -484,11 +484,7 @@ def symlink_oelocal_files_srctree(rd, srctree):
|
||||
os.symlink('oe-local-files/%s' % fn, destpth)
|
||||
addfiles.append(os.path.join(relpth, fn))
|
||||
if addfiles:
|
||||
bb.process.run('git add %s' % ' '.join(addfiles), cwd=srctree)
|
||||
useroptions = []
|
||||
oe.patch.GitApplyTree.gitCommandUserOptions(useroptions, d=rd)
|
||||
bb.process.run('git %s commit -m "Committing local file symlinks\n\n%s"' % (' '.join(useroptions), oe.patch.GitApplyTree.ignore_commit_prefix), cwd=srctree)
|
||||
|
||||
oe.patch.GitApplyTree.commitIgnored("Add local file symlinks", dir=srctree, files=addfiles, d=rd)
|
||||
|
||||
def _extract_source(srctree, keep_temp, devbranch, sync, config, basepath, workspace, fixed_setup, d, tinfoil, no_overrides=False):
|
||||
"""Extract sources of a recipe"""
|
||||
|
||||
Reference in New Issue
Block a user