[packages/systemd] pid max increased on archs with sizeof(long) > 4

atler atler at pld-linux.org
Tue Sep 3 23:51:17 CEST 2019


commit 5232d91932ae520cffefe7aff890890dfbfec88d
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Sep 3 23:49:38 2019 +0200

    pid max increased on archs with sizeof(long) > 4

 systemd.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/systemd.spec b/systemd.spec
index 4d75ada..7d615bc 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -1288,7 +1288,10 @@ fi
 %{_prefix}/lib/tmpfiles.d/var.conf
 %{_prefix}/lib/tmpfiles.d/x11.conf
 %{_prefix}/lib/sysctl.d/50-coredump.conf
+# if cc.sizeof('long') > 4
+%ifarch %{x8664}
 %{_prefix}/lib/sysctl.d/50-pid-max.conf
+%endif
 %{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service
 %{_datadir}/dbus-1/system-services/org.freedesktop.import1.service
 %{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/5232d91932ae520cffefe7aff890890dfbfec88d



More information about the pld-cvs-commit mailing list