mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-08 21:17:47 +03:00
ci: build an upstream version of systemd-nspawn
Ubuntu's systemd-nspawn doesn't support faccessat2() syscall, which is required, since current Arch's glibc implements faccessat() via faccessat2().
This commit is contained in:
parent
b12dba35d1
commit
d227b6a7c0
13
.github/workflows/mkosi.yml
vendored
13
.github/workflows/mkosi.yml
vendored
@ -32,6 +32,19 @@ jobs:
|
||||
- name: Symlink
|
||||
run: ln -s .mkosi/mkosi.${{ matrix.distro }} 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: sudo python3 -m mkosi --password= --qemu-headless build
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user