mkosi: work around a file conflict between systemd and systemd-boot

This commit is contained in:
Frantisek Sumsal 2022-12-15 13:52:52 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent 84a4d23f52
commit a32831ae1d

View file

@ -81,6 +81,13 @@ jobs:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
- uses: systemd/mkosi@c9772ec920f1cd03181ba14e6fe2c3d35ccb4f92
# FIXME: temporary workaround for a file conflict between systemd (C9S) and
# systemd-boot (EPEL9). Drop this once systemd in C9S is updated to v252
# (should be done by the end of 2022).
- name: Fix C9S/EPEL9
if: ${{ matrix.release == '9-stream' }}
run: sudo sed -i '/add_packages/s/systemd-boot/systemd/g' /usr/local/lib/python3.10/dist-packages/mkosi/__init__.py
- name: Install
run: sudo apt-get update && sudo apt-get install --no-install-recommends python3-pexpect python3-jinja2