]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: work around a file conflict between systemd and systemd-boot
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 15 Dec 2022 12:52:52 +0000 (13:52 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 15 Dec 2022 15:04:28 +0000 (16:04 +0100)
.github/workflows/mkosi.yml

index e8f3bae01a321f4fdc48b6993d4591353fe8c1e8..c514a709eede53fa43599897a4b982681c37ef94 100644 (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