From: Daan De Meyer Date: Sat, 19 Dec 2020 14:25:41 +0000 (+0100) Subject: mkosi: Use --only-changed meson option when installing X-Git-Tag: v248-rc1~464 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2234c6a094bb665b69c96f713e313373ec76e377;p=thirdparty%2Fsystemd.git 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. --- diff --git a/mkosi.build b/mkosi.build index f170f9b9577..5da5207fb5e 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