mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
mkosi: Add --quiet and --no-rebuild options to meson install in mkosi.build
By default, meson install prints a line for every file it installs. This is verbose and doesn't provide much value. Let's silence the meson install step to remove this output from the mkosi build step. The --no-rebuild option removes some additional duplicate output by the meson install step. Ubuntu Focal still has meson 0.53.0 so we add a version check and only use the new feature if the meson version supports it.
This commit is contained in:
parent
1394a3ec35
commit
fe2b7631ad
@ -95,7 +95,13 @@ if [ "$WITH_TESTS" = 1 ] ; then
|
||||
|
||||
ninja -C "$BUILDDIR" test
|
||||
fi
|
||||
meson install -C "$BUILDDIR"
|
||||
|
||||
# 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
|
||||
else
|
||||
meson install -C "$BUILDDIR" --no-rebuild
|
||||
fi
|
||||
|
||||
mkdir -p "$DESTDIR"/etc
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user