]> git.ipfire.org Git - thirdparty/systemd.git/commit
mkosi: Mark minimal images as Incremental=relaxed 40678/head
authorDaan De Meyer <daan@amutable.com>
Fri, 13 Feb 2026 21:21:35 +0000 (22:21 +0100)
committerDaan De Meyer <daan@amutable.com>
Sat, 14 Feb 2026 09:36:14 +0000 (10:36 +0100)
commit7a70c323681b091328fcf6c9ca3104c7958a1331
tree1a930d2710d952b5807eef28c4c0a41b7e55cb0e
parent894477e6c11a61ad3820d8e29caecaa1da2d12cd
mkosi: Mark minimal images as Incremental=relaxed

Building these over and over again is extremely wasteful. Let's just
build them once and not touch them again unless -ff is specified or
their cache is out-of-date, which is exactly what Incremental=relaxed
does.

This means mkosi.extra/ and such changes won't be picked up for these
anymore unless -ff is used, but that slight annoyance is totally
outweighed by the time saved building the images.
mkosi/mkosi.images/minimal-0/mkosi.conf
mkosi/mkosi.images/minimal-1/mkosi.conf
mkosi/mkosi.images/minimal-base/mkosi.conf
mkosi/mkosi.images/minimal-base/mkosi.conf.d/arch.conf
mkosi/mkosi.images/minimal-base/mkosi.conf.d/centos-fedora.conf
mkosi/mkosi.images/minimal-base/mkosi.conf.d/debian-ubuntu.conf
mkosi/mkosi.images/minimal-base/mkosi.conf.d/opensuse.conf