Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fetcher: break the "SRCREVINACTION" deadlock | Yu Ke | 2011-01-10 | 1 | -6/+0 |
| | | | | | | | | | | | | | | | | | | | | | Current fetcher has annoying "SRCREVINACTION" deadlock, which occurs when SRCREV=${AUTOREV}=@bb.fetch.get_srcrev(): get_srcrev()->setup_localpath()->srcrev_internal_helper() ->evaluate SRCREV->get_srcrev() current fetcher resolve the deadlock by introducing a "SRCREVINACTION" condition check. Althoguh it works, it is indeed not clean. This patch use antoehr idea to break the deadlock: break the dependency among SRCREV and get_srcrev(), i.e. assign a specific keyword "AUTOINC" to AUTOREV. when Fetcher meet this keyword, it will check and set the latest revision to urldata.revision. get_srcrev later can use the urldata.revision for value evaluation(SRCPV etc). In this case, SRCREV no longer depends on get_srcrev, and there is not deadlock anymore. Signed-off-by: Yu Ke <ke.yu@intel.com> | ||||
* | bb.fetch2.bzr: add bzr urldata_init | Yu Ke | 2011-01-10 | 1 | -2/+5 |
| | | | | | | | move the bzr specific urldata init from localpath to urldata_init so that it can be called early Signed-off-by: Yu Ke <ke.yu@intel.com> | ||||
* | bb.fetch2: replace bb.fetch with bb.fetch2 in the bb.fetch | Yu Ke | 2011-01-10 | 1 | -1/+1 |
| | | | | | | | | bb.fetch2 is copied from bb.fetch, and has many bb.fetch referrence. Fix these referrence with bb.fetch2 referrence Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||||
* | bitbake: copy bb.fetch to bb.fetch2 as initial code base for fetcher overhaul | Yu Ke | 2011-01-10 | 1 | -0/+148 |
Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> |