From 9cf135a7826288833027c8dc452ed528fa2cd8bf Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Jul 19 2024 14:42:17 +0000 Subject: Make BFQ scheduler and systemd-networkd restart changes facebook specific These shouldn't apply to regular Hyperscale builds. --- diff --git a/systemd.spec b/systemd.spec index 57e3ed0..0053f9b 100644 --- a/systemd.spec +++ b/systemd.spec @@ -119,6 +119,10 @@ Patch0021: 0002-meson-build-libsystemd-core-via-an-intermediate-stat.patch Patch0022: 0003-meson-add-option-to-build-systemd-executor-staticall.patch # Those are downstream-only patches, but we don't want them in packit builds: +%if %{undefined facebook} +# https://bugzilla.redhat.com/show_bug.cgi?id=1738828 +Patch0490: use-bfq-scheduler.patch +%endif # https://bugzilla.redhat.com/show_bug.cgi?id=2251843 Patch0491: https://github.com/systemd/systemd/pull/30846.patch @@ -1133,7 +1137,11 @@ fi %systemd_preun systemd-networkd.service systemd-networkd-wait-online.service %postun networkd +%if %{undefined facebook} +%systemd_postun_with_restart systemd-networkd.service +%else %systemd_postun systemd-networkd.service +%endif %systemd_postun systemd-networkd-wait-online.service %post resolved