portabled: error out if there are no units only after parsing all images
authorLuca Boccassi <luca.boccassi@microsoft.com>
Wed, 18 Aug 2021 15:37:13 +0000 (16:37 +0100)
committerLuca Boccassi <luca.boccassi@microsoft.com>
Mon, 6 Sep 2021 11:13:53 +0000 (12:13 +0100)
commit7bf5ec4538cd4c77979dd9d09d9e9429a0a3535c
treebde52b16ab0736298e0821b322f6164710b4f455
parent9ccb531a5f99a7f399f352e79079188957f5a170
portabled: error out if there are no units only after parsing all images

It's ok if the OS image doesn't have matching units, if we find them
in the extensions. Tidies up the parsing logic a bit.
src/portable/portable.c