diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-11-21 23:51:58 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-21 12:37:53 +0000 |
commit | 5b71b69355836687bbba5c12954a677d80070266 (patch) | |
tree | 10fb638c4bc891288821c8331f49f38793cf8285 /scripts/lib/scriptpath.py | |
parent | 2214cb2e2c148df465b94b3fad1b243ab89bae5c (diff) | |
download | poky-5b71b69355836687bbba5c12954a677d80070266.tar.gz |
kernel-yocto: fix non-git builds
The ability to build non-git repositories was broken by two changes:
- The existence of an empty 'patches' directory created during the
unpack phase. This dir was incorrectly identified as a valid meta
directory and broke the build. By ensuring that it is removed before
creating the empty repository, it will no longer be found instead of
the real meta directory.
- The attempt to reset the git repository to a specific SRCREV when
no SRCREV was provided. By checking for a SRCREV of 'INVALID', we
avoid any processing and failed git operations.
(From OE-Core rev: d5451dda1b8cfbbe8b6a779b0cd9b1397ebf1a07)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions