mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 12:13:33 +08:00
mkosi: Pass build script arguments to ninja
mkosi recently gained support to pass arguments to the build script. Let's take advantage of this in systemd's build script to allow passing which target to build to ninja in the build script.
This commit is contained in:
parent
664e54b1bb
commit
5a89c7972a
@ -97,7 +97,7 @@ if [ ! -f "$BUILDDIR"/build.ninja ] ; then
|
||||
fi
|
||||
|
||||
cd "$BUILDDIR"
|
||||
ninja
|
||||
ninja $@
|
||||
if [ "$WITH_TESTS" = 1 ] ; then
|
||||
for id in 1 2 3; do
|
||||
getent group $id > /dev/null || groupadd -g $id testgroup$id
|
||||
|
Loading…
Reference in New Issue
Block a user