diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-11-23 10:07:57 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-01 21:30:54 +0000 |
commit | c4daebf3fe797a8063dcbc2ab229be2fbedc8134 (patch) | |
tree | 32986617f320a924a816f97418c962cc642b783d /meta/lib/oeqa | |
parent | 656348dff9bc9dd1cafc8fff11e5e374e3667f0f (diff) | |
download | openembedded-core-c4daebf3fe797a8063dcbc2ab229be2fbedc8134.tar.gz openembedded-core-c4daebf3fe797a8063dcbc2ab229be2fbedc8134.tar.bz2 openembedded-core-c4daebf3fe797a8063dcbc2ab229be2fbedc8134.zip |
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.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib/oeqa')
0 files changed, 0 insertions, 0 deletions