]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
packit: temporarily build systemd without BPF stuff
authorFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 6 Feb 2024 16:48:34 +0000 (17:48 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 9 Feb 2024 11:50:21 +0000 (12:50 +0100)
The kernel-tools meta-package was retired in Rawhide, but its
replacement has not landed, yet. Until that happens, let's build without
the bpf-framework stuff.

.packit.yml

index 2dcc9e86ca448483d84bf1f80ea160bd8a569802..fa86c5fa05e5bf95a7ce6f9605316630b1ac1cb8 100644 (file)
@@ -44,6 +44,10 @@ actions:
     # Temporarily add libarchive-devel build dep and libarchive runtime dep
     # until the change propagates to Rawhide's specfile
     - "sed -ri '0,/^BuildRequires: .+$/s//&\\nBuildRequires: libarchive-devel\\nRequires: libarchive/' .packit_rpm/systemd.spec"
+    # FIXME: temporarily build without BPF stuff, since there's currently no
+    #        bpftool package in Rawhide (at least not until [0] lands)
+    # [0] https://bodhi.fedoraproject.org/updates/FEDORA-2024-bb73636f1d
+    - "sed -nri '1N;2N;/\\nBuildRequires:\\s+bpftool$/{N;N;d};P;N;D' .packit_rpm/systemd.spec"
 
 jobs:
 - job: copr_build