mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49:01 +02:00
![]() If a file is modified and renamed it will show up in both iter_change_type('M') and iter_change_type('R'), however naturally the file that will exist will be the b path and not the a one, so we should be looking at the b path or we will get errors. FYI you can reproduce this with OE-Core (in a scratch database) using the following procedure: 1) (in the OE-Core layer directory): git checkout 59285b324f6d9ed270b0bef209ef5da22a620a83 2) update.py -l openembedded-core -b master -x --nofetch -r --fullreload 3) (in the OE-Core layer directory): git checkout 086308aa2a5e332de6f00ed397c4a55d132f158f 4) update.py -l openembedded-core -b master -x --nofetch Without this change you'll see the following error: ERROR: Unable to read /opt/layerindex/layers/git___git_openembedded_org_openembedded-core/meta/recipes-devtools/python-numpy/python-numpy_1.13.1.bb: Traceback (most recent call last): File "/opt/layerindex/layers/bitbake/lib/bb/command.py", line 84, in runCommand result = command_method(self, commandline) File "/opt/layerindex/layers/bitbake/lib/bb/command.py", line 568, in parseRecipeFile envdata = bb.cache.parse_recipe(config_data, fn, appendfiles)[''] File "/opt/layerindex/layers/bitbake/lib/bb/cache.py", line 315, in parse_recipe bb_data = bb.parse.handle(bbfile, bb_data) File "/opt/layerindex/layers/bitbake/lib/bb/parse/__init__.py", line 117, in handle return h['handle'](fn, data, include) File "/opt/layerindex/layers/bitbake/lib/bb/parse/parse_py/BBHandler.py", line 132, in handle abs_fn = resolve_file(fn, d) File "/opt/layerindex/layers/bitbake/lib/bb/parse/__init__.py", line 141, in resolve_file raise IOError(errno.ENOENT, "file %s not found" % fn) FileNotFoundError: [Errno 2] file /opt/layerindex/layers/git___git_openembedded_org_openembedded-core/meta/recipes-devtools/python-numpy/python-numpy_1.13.1.bb not found Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> |
||
---|---|---|
.. | ||
migrations | ||
static | ||
templatetags | ||
tools | ||
__init__.py | ||
admin.py | ||
bulkchange.py | ||
context_processors.py | ||
forms.py | ||
layerconfparse.py | ||
models.py | ||
querysethelper.py | ||
recipedesc.py | ||
recipeparse.py | ||
restperm.py | ||
restviews.py | ||
simplesearch.py | ||
tasks.py | ||
update_layer.py | ||
update.py | ||
urls_branch.py | ||
urls.py | ||
utils.py | ||
views.py |