From d05f8ebb0068220a481ef33e16c784f32351b095 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Dec 13 2024 15:24:30 +0000 Subject: Make sure we exclude most patches when building for upstream For upstream builds, we want to exclude backports from upstream and backwards compatibility patches to make sure backwards compat issues are surfaced in test environments so they can be fixed by those affected. --- diff --git a/systemd.spec b/systemd.spec index e70edbc..7482afb 100644 --- a/systemd.spec +++ b/systemd.spec @@ -110,6 +110,8 @@ GIT_DIR=../../src/systemd/.git git diffab -M v233..master@{2017-06-15} -- hwdb/[ Patch0010: https://github.com/systemd/systemd/pull/26494.patch %endif +%if %{without upstream} + # Requested in https://bugzilla.redhat.com/show_bug.cgi?id=2298422 Patch0011: https://github.com/systemd/systemd/pull/33738.patch @@ -122,6 +124,11 @@ Patch0014: https://github.com/systemd/systemd/pull/34686.patch # Simplify user manager upgrades Patch0015: https://github.com/systemd/systemd/pull/34707.patch +# core/device: ignore ID_PROCESSING udev property on enumerate +Patch0016: https://github.com/systemd/systemd/pull/35332.patch + +%endif + # Those are downstream-only patches, but we don't want them in packit builds: # https://bugzilla.redhat.com/show_bug.cgi?id=2251843 Patch0491: https://github.com/systemd/systemd/pull/30846.patch @@ -129,13 +136,12 @@ Patch0491: https://github.com/systemd/systemd/pull/30846.patch # Soft-disable tmpfiles --purge until a good use case comes up. Patch0492: 0001-tmpfiles-make-purge-hard-to-mis-use.patch -# core/device: ignore ID_PROCESSING udev property on enumerate -Patch0493: https://github.com/systemd/systemd/pull/35332.patch - # Meta specific backports (900-1000) %if 0%{?facebook} +%if %{without upstream} + # network: Make qdisc reconfigurable Patch0900: https://github.com/systemd/systemd/pull/34543.patch @@ -160,6 +166,8 @@ Patch0906: 0001-networkctl-Make-lldp-status-backwards-compatible-wit.patch # Revert "network/lldp: do not save LLDP neighbors under /run/systemd" Patch0907: 0001-Revert-network-lldp-do-not-save-LLDP-neighbors-under.patch +%endif + # bump networkd netlink timeout to infinity Patch0908: FB_only_bump_netlink_timeout_to_infinity.patch