]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/commitdiff
systemd: Allow RPATH
authorStefan Schantl <stefan.schantl@ipfire.org>
Thu, 15 Dec 2016 16:55:49 +0000 (17:55 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 15 Dec 2016 18:20:25 +0000 (18:20 +0000)
The systemd tool now requires an rpath for libsystemd-shared
library to run properly.

Fixes #11272

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
systemd/systemd.nm

index 074440e489df071b8a01d0e3c5869716398357cb..52137f9a806d18877e60efc009f1079bac871588 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = systemd
 version    = 232
-release    = 1
+release    = 2
 
 maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
 groups     = System/Base
@@ -23,6 +23,11 @@ source_dl  = https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/
 build
        unitdir = %{prefix}/lib/systemd/system
 
+       # The tools which are shipped by systemd requires an rpath to
+       # the libsystemd-shared binary to run properly. So the macro for
+       # removing any rpath's have to be disabled.
+       MACRO_FIX_LIBTOOL = # Do nothing
+
        requires
                # Testsuite
                /usr/bin/getfacl
@@ -199,6 +204,12 @@ create_groups
        getent group systemd-journal >/dev/null || /usr/sbin/groupadd -r systemd-journal
 end
 
+quality-agent
+       whitelist_rpath
+               %{prefix}/lib/systemd
+       end
+end
+
 packages
        package %{name}
                groups += Base