diff options
author | Vincent Kriek <vincent@coelebs.dev> | 2024-04-14 20:32:47 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-04-25 10:10:14 +0100 |
commit | 629063944cc418dd23a37d9737b59114f1eda502 (patch) | |
tree | 286bb568c519d5431bc6e61fedf0551fc4d57a1b /scripts/lib/wic/plugins/source/rootfs.py | |
parent | 25adb31d372f9c90618907ae8925fc34655db150 (diff) | |
download | poky-629063944cc418dd23a37d9737b59114f1eda502.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: 4c89b061003a0f4143c6d3838e39fc2643edc8d6)
Signed-off-by: Vincent Kriek <vincent@coelebs.dev>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/plugins/source/rootfs.py')
0 files changed, 0 insertions, 0 deletions