osbuild-mpp: Allow mpp-define-image nodes to use formating

We just process the formats after removing the mpp node, just like
we do in e.g. mpp-depsolv.
This commit is contained in:
Alexander Larsson 2021-11-25 15:08:59 +01:00 committed by Tom Gundersen
parent 4901e97236
commit eefc52333e

View file

@ -922,6 +922,8 @@ class ManifestFile:
if not desc:
return
self._process_format(desc)
name = desc.get("id", "image")
self.vars[name] = Image.from_dict(desc)