repart: Don't look for --make-ddi= definitions inside --root=
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 7 Dec 2023 13:26:10 +0000 (14:26 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 8 Dec 2023 08:33:24 +0000 (09:33 +0100)
commit4ae703b2b50861556f444dff5f3c07b05fcaae39
tree5258e5e74d834d53593206f83526fb405c20d245
parent6c75eff6afd90596d09a33a9275be292db4e3380
repart: Don't look for --make-ddi= definitions inside --root=

It doesn't really make sense to go looking for these inside the
given root directory. While we should resolve specifiers and such
based on the given root directory, let's look up the image definitions
on the host system as there's a good chance they're coupled to the
repart version we're using so there's all kinds of chances for problems
if we use the definitions from the image we're building instead of those
from the host.
src/partition/repart.c