mirror of
https://git.yoctoproject.org/poky
synced 2026-05-05 20:27:58 +02:00
bitbake: Add tryaltconfigs option to disable the alternative configuration attempts and make the 'continue' more aggresive
This commit is contained in:
@@ -869,7 +869,7 @@ class RunQueue:
|
||||
self.finish_runqueue()
|
||||
|
||||
if self.state is runQueueFailed:
|
||||
if self.taskData.abort:
|
||||
if not self.taskData.tryaltconfigs:
|
||||
raise bb.runqueue.TaskFailure(self.failed_fnids)
|
||||
for fnid in self.failed_fnids:
|
||||
self.taskData.fail_fnid(fnid)
|
||||
|
||||
@@ -30,7 +30,7 @@ class TaskData:
|
||||
"""
|
||||
BitBake Task Data implementation
|
||||
"""
|
||||
def __init__(self, abort = True):
|
||||
def __init__(self, abort = True, tryaltconfigs = False):
|
||||
self.build_names_index = []
|
||||
self.run_names_index = []
|
||||
self.fn_index = []
|
||||
@@ -57,6 +57,7 @@ class TaskData:
|
||||
self.failed_fnids = []
|
||||
|
||||
self.abort = abort
|
||||
self.tryaltconfigs = tryaltconfigs
|
||||
|
||||
def getbuild_id(self, name):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user