mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49:01 +02:00
update: fix exception with -x/--nofetch option
Fixes the bitbakepath variable not being defined with -x/--nofetch specified. (Regression introduced in c91372587bbddd4c595d7202e51a8740b787a06e.) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
fec977de30
commit
8c33374d6c
|
@ -268,7 +268,6 @@ def main():
|
|||
logger.error("Layer index lock timeout expired")
|
||||
sys.exit(1)
|
||||
try:
|
||||
if not options.nofetch:
|
||||
# Make sure oe-core is fetched since recipe parsing requires it
|
||||
layerquery_core = LayerItem.objects.filter(comparison=False).filter(name=settings.CORE_LAYER_NAME)
|
||||
if layerquery_core in layerquery:
|
||||
|
@ -294,6 +293,7 @@ def main():
|
|||
if getattr(settings, 'BITBAKE_PATH', ''):
|
||||
bitbakepath = os.path.join(bitbakepath, settings.BITBAKE_PATH)
|
||||
|
||||
if not options.nofetch:
|
||||
# Parallel fetching
|
||||
pool = multiprocessing.Pool(int(settings.PARALLEL_JOBS))
|
||||
for url in allrepos:
|
||||
|
|
Loading…
Reference in New Issue
Block a user