summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/export.py
diff options
context:
space:
mode:
authorVincent Kriek <vincent@coelebs.dev>2024-04-14 20:32:47 +0200
committerSteve Sakoman <steve@sakoman.com>2024-06-19 08:34:58 -0700
commit99d16e4c35ba622707e1fddeda53a3a233c2b301 (patch)
tree260790976ff3081e1b4737ec158a7b56865871ac /scripts/lib/devtool/export.py
parenta39410ff489bb0da2a6bb4cdeff0eb2af843c46c (diff)
downloadpoky-99d16e4c35ba622707e1fddeda53a3a233c2b301.tar.gz
devtool: sync: Fix Execution error
When executing devtool sync on a recipe that was extract with devtool extract earlier the following error occured: Traceback (most recent call last): [...] bb.process.ExecutionError: Execution of 'git fetch file:///home/vin/projects/poky/build/tmp/work/all-poky-linux/netbase/6.4/devtooltmp-figt1jmr/workdir/netbase devtool:devtool' failed with exit code 128: fatal: refusing to fetch into branch 'refs/heads/devtool' checked out at '/home/vin/projects/poky/build/netbase-src' Fix this by adding --update-head-ok and --force to git fetch so it will override the current head even if it is checked out and has changes. Possible existing changes in the devtool branch can be retrieved by checking out the devtool.bak branch (From OE-Core rev: ee712c8b3c32fedd6af0521d2e34ea655f8cd5ca) Signed-off-by: Vincent Kriek <vincent@coelebs.dev> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 4c89b061003a0f4143c6d3838e39fc2643edc8d6) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/devtool/export.py')
0 files changed, 0 insertions, 0 deletions