]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
action: Build nspawn from source
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 6 Mar 2023 15:28:40 +0000 (16:28 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 6 Mar 2023 15:49:22 +0000 (16:49 +0100)
Let's try to get rid of the spurious "Connection timed out" errors
from systemd-nspawn by building the latest version from source.

action.yaml

index 18bf5c0967bb35634d530342bb1d0e9e8224a9e3..19903cb448419101ced24b95e2470c2725142d48 100644 (file)
@@ -42,14 +42,17 @@ runs:
       sudo apt-get install libfdisk-dev
       git clone https://github.com/systemd/systemd --depth=1
       meson systemd/build systemd -Drepart=true -Defi=true
-      ninja -C systemd/build systemd-nspawn systemd-repart bootctl ukify systemd-analyze
+      ninja -C systemd/build systemd-nspawn systemd-repart bootctl ukify systemd-analyze systemd-nspawn
       sudo ln -svf $PWD/systemd/build/systemd-repart /usr/bin/systemd-repart
       sudo ln -svf $PWD/systemd/build/bootctl /usr/bin/bootctl
       sudo ln -svf $PWD/systemd/build/ukify /usr/bin/ukify
       sudo ln -svf $PWD/systemd/build/systemd-analyze /usr/bin/systemd-analyze
+      sudo ln -svf $PWD/systemd/build/systemd-nspawn /usr/bin/systemd-nspawn
       systemd-repart --version
       bootctl --version
       ukify --version
+      systemd-analyze --version
+      systemd-nspawn --version
 
   - name: Install
     shell: bash