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-20 11:24:04 +0000 |
commit | d5451dda1b8cfbbe8b6a779b0cd9b1397ebf1a07 (patch) | |
tree | 93264feb918a2e2abed3adbd5b67e99c54a4035e /meta/classes/bin_package.bbclass | |
parent | 7f934946fdb3184a06ce1a2cdc29559e7c468492 (diff) | |
download | openembedded-core-d5451dda1b8cfbbe8b6a779b0cd9b1397ebf1a07.tar.gz openembedded-core-d5451dda1b8cfbbe8b6a779b0cd9b1397ebf1a07.tar.bz2 openembedded-core-d5451dda1b8cfbbe8b6a779b0cd9b1397ebf1a07.zip |
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.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta/classes/bin_package.bbclass')
0 files changed, 0 insertions, 0 deletions