]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
packit: don't take ownership of /etc/ssh/sshd_config.d/
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 7 Dec 2023 08:36:52 +0000 (09:36 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 7 Dec 2023 10:30:44 +0000 (10:30 +0000)
7e3607996a creates a symlink under /etc/ssh/sshd_config.d/ and with
current Rawhide RPM stuff the systemd RPM tries to take ownership of
that directory which conflicts with the openssh-server package. Let's
temporarily tweak the regex in split-files.py until this changes makes
it to Rawhide.

.packit.yml

index b886632a95d27a3fec908155d09643e16f00b5a0..773c8f79da2695299a7eca4288e2b2e93d382310 100644 (file)
@@ -32,8 +32,10 @@ actions:
     # [0] https://github.com/mesonbuild/meson/issues/7360
     # [1] https://github.com/systemd/systemd/pull/18908#issuecomment-792250110
     - 'sed -i "/^CONFIGURE_OPTS=(/a--werror" .packit_rpm/systemd.spec'
-    # Ignore unpackages standalone binaries
+    # Ignore unpackaged standalone binaries
     - "sed -i 's/assert False,.*/pass/' .packit_rpm/split-files.py"
+    # Don't take ownership of /etc/ssh/sshd_config.d/
+    - "sed -i '/\\/usr\\/share\\/dbus-1\\$/a\\/etc\\/ssh\\/sshd_config.d\\$\\|' .packit_rpm/split-files.py"
 
 jobs:
 - job: copr_build