mirror of
https://git.yoctoproject.org/poky
synced 2026-04-16 06:32:13 +02:00
bitbake: toaster: continue processing layer dependencies despite errors
Sometimes, a layer dependency will not exist, or not exist for a particualr branch. In this case we need to continue processing and hope for the best. [YOCTO #7955] (Bitbake rev: 2961bf2612fce111a7be6cef285595a075200780) Signed-off-by: Brian Avery <brian.avery@intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
0f8d89ce66
commit
0c0ec86110
@@ -889,9 +889,8 @@ class LayerIndexLayerSource(LayerSource):
|
||||
dependlist[lv] = []
|
||||
try:
|
||||
dependlist[lv].append(Layer_Version.objects.get(layer_source = self, layer__up_id = ldi['dependency'], up_branch = lv.up_branch))
|
||||
except Layer_Version.DoesNotExist as e:
|
||||
except Layer_Version.DoesNotExist:
|
||||
print "Cannot find layer version ", self, ldi['dependency'], lv.up_branch
|
||||
raise e
|
||||
|
||||
for lv in dependlist:
|
||||
LayerVersionDependency.objects.filter(layer_version = lv).delete()
|
||||
|
||||
Reference in New Issue
Block a user