From: Daan De Meyer Date: Mon, 6 Mar 2023 15:28:40 +0000 (+0100) Subject: action: Build nspawn from source X-Git-Tag: v15~309 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1924942d0daa64c4e546cda5616f6da6963def5;p=thirdparty%2Fmkosi.git action: Build nspawn from source Let's try to get rid of the spurious "Connection timed out" errors from systemd-nspawn by building the latest version from source. --- diff --git a/action.yaml b/action.yaml index 18bf5c096..19903cb44 100644 --- a/action.yaml +++ b/action.yaml @@ -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