mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-21 09:33:57 +03:00
mkosi: Remove Arch nspawn workaround
This has been fixed so the workaround can be removed.
(cherry picked from commit 6b2ab8fc5c
)
This commit is contained in:
parent
e517b37922
commit
f0cc6d2f99
13
.github/workflows/mkosi.yml
vendored
13
.github/workflows/mkosi.yml
vendored
@ -48,19 +48,6 @@ jobs:
|
||||
- name: Configure
|
||||
run: echo -e "[Distribution]\nDistribution=${{ matrix.distro }}\n" >mkosi.default
|
||||
|
||||
# Ubuntu's systemd-nspawn doesn't support faccessat2() syscall, which is
|
||||
# required, since current Arch's glibc implements faccessat() via faccessat2().
|
||||
- name: Update systemd-nspawn
|
||||
if: ${{ matrix.distro == 'arch' }}
|
||||
run: |
|
||||
echo "deb-src http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs) main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list
|
||||
sudo apt update
|
||||
sudo apt build-dep systemd
|
||||
meson build
|
||||
ninja -C build
|
||||
sudo ln -svf $PWD/build/systemd-nspawn `which systemd-nspawn`
|
||||
systemd-nspawn --version
|
||||
|
||||
- name: Build ${{ matrix.distro }}
|
||||
run: ./.github/workflows/run_mkosi.sh --build-environment=CI_BUILD=1 --kernel-command-line "${{ env.KERNEL_CMDLINE }}" build
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user