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.
[Build]
Environment=SYSTEMD_REPART_OVERRIDE_FSTYPE=squashfs
+Incremental=relaxed
[Content]
BaseTrees=%O/minimal-base
[Build]
Environment=SYSTEMD_REPART_OVERRIDE_FSTYPE=squashfs
+Incremental=relaxed
[Content]
BaseTrees=%O/minimal-base
[Build]
Environment=SYSTEMD_REQUIRED_DEPS_ONLY=1
+Incremental=relaxed
[Content]
Bootable=no
iproute
nmap
-VolatilePackages=
- systemd-libs
-
RemoveFiles=
# Arch Linux doesn't split their gcc-libs package so we manually remove
# unneeded stuff here to make sure it doesn't end up in the image.
iproute
iproute-tc
nmap-ncat
-
-VolatilePackages=
- systemd-libs
iproute2
mount
ncat
-
-VolatilePackages=
- libsystemd0
- libudev1
patterns-base-minimal_base
sed
xz
-
-VolatilePackages=
- libsystemd0
- libudev1