systemd: Allow RPATH.
Message ID | 1481820949-27395-1-git-send-email-stefan.schantl@ipfire.org |
---|---|
State | Accepted |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (unknown [172.28.1.200]) by web02.ipfire.org (Postfix) with ESMTP id C5BB961E71 for <patchwork@ipfire.org>; Thu, 15 Dec 2016 17:54:01 +0100 (CET) Received: from mail01.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 262C33C22; Thu, 15 Dec 2016 17:54:00 +0100 (CET) Received: from tuxedo.stevee (unknown [46.125.249.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 2F6213C21; Thu, 15 Dec 2016 17:53:57 +0100 (CET) From: Stefan Schantl <stefan.schantl@ipfire.org> To: development@lists.ipfire.org Subject: [PATCH] systemd: Allow RPATH. Date: Thu, 15 Dec 2016 17:55:49 +0100 Message-Id: <1481820949-27395-1-git-send-email-stefan.schantl@ipfire.org> X-Mailer: git-send-email 2.7.4 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> List-Unsubscribe: <http://lists.ipfire.org/mailman/options/development>, <mailto:development-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/development/> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Subscribe: <http://lists.ipfire.org/mailman/listinfo/development>, <mailto:development-request@lists.ipfire.org?subject=subscribe> Errors-To: development-bounces@lists.ipfire.org Sender: "Development" <development-bounces@lists.ipfire.org> |
Message
Stefan Schantl
Dec. 16, 2016, 3:55 a.m. UTC
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>
---
systemd/systemd.nm | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
Comments
Hi, I had to remove some whitespace issues. Please pay more attention to those next time... On Thu, 2016-12-15 at 17:55 +0100, Stefan Schantl wrote: > 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> > --- > systemd/systemd.nm | 14 +++++++++++++- > 1 file changed, 13 insertions(+), 1 deletion(-) > > diff --git a/systemd/systemd.nm b/systemd/systemd.nm > index 074440e..e761bd5 100644 > --- a/systemd/systemd.nm > +++ b/systemd/systemd.nm > @@ -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. > + Here. > requires > # Testsuite > /usr/bin/getfacl > @@ -199,6 +204,13 @@ create_groups > getent group systemd-journal >/dev/null || /usr/sbin/groupadd -r > systemd-journal > end > > +quality-agent > + whitelist_rpath > + %{prefix}/lib/systemd > + end > +end > + > + And here... > packages > package %{name} > groups += Base