]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
action: Build only systemd-nspawn
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 20 Jun 2022 14:31:05 +0000 (16:31 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 20 Jun 2022 16:49:13 +0000 (18:49 +0200)
Speed things up by only building nspawn instead of the entirety of
systemd.

action.yaml

index 78b073373bedbde73a9c8141c0a5b7ebd9185e0c..5877218fba59b6a47e8e290e2ce02abe81fa060b 100644 (file)
@@ -74,7 +74,7 @@ runs:
       sudo apt-get build-dep systemd
       git clone https://github.com/systemd/systemd-stable --branch v251.2 --depth=1
       meson systemd-stable/build systemd-stable
-      ninja -C systemd-stable/build
+      ninja -C systemd-stable/build systemd-nspawn
       sudo ln -svf $PWD/systemd-stable/build/systemd-nspawn $(which systemd-nspawn)
       systemd-nspawn --version