BatchPersonalization: fix mandatory services section

Change-Id: I5e56013565d87aff77076021ac54c186db3dde36
This commit is contained in:
Neels Hofmeyr
2026-01-14 01:58:03 +01:00
parent f8fb3cfdeb
commit d16d8c61c4

View File

@@ -1223,6 +1223,11 @@ class BatchPersonalization:
raise ValueError(f'{p.param.name} fed by {p.src.name}: {e}' raise ValueError(f'{p.param.name} fed by {p.src.name}: {e}'
f' (input_value={p.param.input_value!r} value={p.param.value!r})') from e f' (input_value={p.param.input_value!r} value={p.param.value!r})') from e
try:
pes.rebuild_mandatory_services()
except Exception as e:
raise ValueError(f'profile index {i}: failed to rebuild mandatory services: {e}') from e
try: try:
c = validation.CheckBasicStructure() c = validation.CheckBasicStructure()
c.check(pes) c.check(pes)