poky/scripts/lib/devtool
Paul Eggleton b4d4d2116a devtool: upgrade: fetch remote repository before checking out new revision
If we're upgrading a recipe that fetches from git, and we've simply
fetched a tarball of the repo instead of directly from the upstream repo
(this can happen if you have PREMIRRORS set up as in poky with a core recipe,
e.g. kernelshark) then we won't have any new revisions, and the checkout
will fail with "fatal: reference is not a tree: <hash>". To avoid this,
do a "git fetch" before checking out the new revision.

(From OE-Core rev: c4daebf3fe797a8063dcbc2ab229be2fbedc8134)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-01 21:32:03 +00:00
..
__init__.py devtool: update-recipe: enable var history tracking 2015-10-01 15:07:48 +01:00
build-image.py devtool: second fix for running from a different directory 2015-09-24 17:54:24 +01:00
build.py devtool: check that source tree still exists 2015-09-23 09:53:14 +01:00
deploy.py devtool: second fix for running from a different directory 2015-09-24 17:54:24 +01:00
package.py devtool: second fix for running from a different directory 2015-09-24 17:54:24 +01:00
runqemu.py devtool: runqemu: avoid recipe parse 2015-09-24 17:54:25 +01:00
sdk.py classes/populate_sdk_ext: drop work-config.inc 2015-09-23 09:53:12 +01:00
search.py devtool: second fix for running from a different directory 2015-09-24 17:54:24 +01:00
standard.py devtool: upgrade: fix removing other recipes from workspace on reset 2015-12-01 21:32:03 +00:00
upgrade.py devtool: upgrade: fetch remote repository before checking out new revision 2015-12-01 21:32:03 +00:00