summaryrefslogtreecommitdiff
path: root/scripts/lib/build_perf/html.py
diff options
context:
space:
mode:
authorOlof Johansson <olof.johansson@axis.com>2018-10-19 18:15:23 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-20 22:39:25 +0100
commit95a921959d340f74b5604df57737c1eeaad0023e (patch)
tree9bcf8d9f32038f3acba23be9b01637c8e7a72755 /scripts/lib/build_perf/html.py
parente1c6442872c9361b6b61a83adcce9cade2f2ecd2 (diff)
downloadopenembedded-core-95a921959d340f74b5604df57737c1eeaad0023e.tar.gz
openembedded-core-95a921959d340f74b5604df57737c1eeaad0023e.tar.bz2
openembedded-core-95a921959d340f74b5604df57737c1eeaad0023e.zip
devtool-source.bbclass: Only create each patch branch once
For conditonally applied patches based on SRC_URI overrides, the devtool-source class would try to create a new branch for each override assignment as a postfunc to do_patch, but if the same override was used multiple times, it would try to create the same branch multiple times, causing errors like > Exception: bb.process.ExecutionError: Execution of \ 'git checkout f0f0f0f0f0ff0f0f0f0f0f0f0f0f0f0f0ff0f0f0 -b devtool-override-foo' \ failed with exit code 128: > fatal: A branch named 'devtool-override-foo' already exists. This change makes sure that the devtool-source bbclass will only create one branch per override. Signed-off-by: Olof Johansson <olofjn@axis.com> Reviewed-by: Peter Kjellerstedt <pkj@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/build_perf/html.py')
0 files changed, 0 insertions, 0 deletions