mirror of
https://github.com/systemd/systemd.git
synced 2025-01-26 14:04:03 +03:00
Merge pull request #31224 from mrc0mmand/packit-bpftool-workaround
packit: temporarily build systemd without BPF stuff
This commit is contained in:
commit
9131b93590
@ -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
|
||||
|
@ -100,7 +100,8 @@ static int _check_states(unsigned line,
|
||||
service_state_to_string(service->state),
|
||||
service_result_to_string(service->result));
|
||||
|
||||
if (service->state == SERVICE_FAILED && service->main_exec_status.status == EXIT_CGROUP) {
|
||||
if (service->state == SERVICE_FAILED &&
|
||||
(service->main_exec_status.status == EXIT_CGROUP || service->result == SERVICE_FAILURE_RESOURCES)) {
|
||||
const char *ci = ci_environment();
|
||||
|
||||
/* On a general purpose system we may fail to start the service for reasons which are
|
||||
|
Loading…
x
Reference in New Issue
Block a user