summaryrefslogtreecommitdiffstats
path: root/mkosi.build
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2020-12-19 15:25:41 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2020-12-19 17:16:07 +0100
commit2234c6a094bb665b69c96f713e313373ec76e377 (patch)
treed39bcfb502d48c7292cc91a9a6fe72c74cccbbb3 /mkosi.build
parentman: Advertise systemd-time-wait-sync.service more (#17729) (diff)
downloadsystemd-2234c6a094bb665b69c96f713e313373ec76e377.tar.xz
systemd-2234c6a094bb665b69c96f713e313373ec76e377.zip
mkosi: Use --only-changed meson option when installing
Recently, mkosi gained support for specifying an --install-directory option to save the contents of the install directory between bulids. By enabling the --only-changed meson install option, meson won't overwrite the contents of files that haven't changed since the last build when using --install-directory.
Diffstat (limited to '')
-rwxr-xr-xmkosi.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkosi.build b/mkosi.build
index f170f9b957..5da5207fb5 100755
--- a/mkosi.build
+++ b/mkosi.build
@@ -98,9 +98,9 @@ fi
# Ubuntu Focal is stuck with meson 0.53.0.
if [ "$(meson -v | cut -d . -f 2)" -gt 53 ] ; then
- meson install -C "$BUILDDIR" --quiet --no-rebuild
+ meson install -C "$BUILDDIR" --quiet --no-rebuild --only-changed
else
- meson install -C "$BUILDDIR" --no-rebuild
+ meson install -C "$BUILDDIR" --no-rebuild --only-changed
fi
mkdir -p "$DESTDIR"/etc