mkosi: Make system dependencies conditional on format
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 3 Jun 2024 09:17:48 +0000 (11:17 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 3 Jun 2024 09:51:08 +0000 (11:51 +0200)
commit51018ed1c207348ad9f54f7e9d53f628ca11b34a
tree7a1d9ab025fce8beb8366fd175e90ccfb1472e55
parent7f2ff8b3124a7622ddb7f74d1a40cb854cc13490
mkosi: Make system dependencies conditional on format

If the none format is specified, we don't use the extra trees at all
so let's make the dependencies on the subimages conditional on Format=
not being set to "none".

This speeds up builds when using Format=none.
mkosi.images/system/mkosi.conf
mkosi.images/system/mkosi.conf.d/20-images.conf [new file with mode: 0644]