fix: systemd unit install path (usrmove)
This commit is contained in:
parent
e917ff8619
commit
73d4e216f1
28
tuned-systemd-path.patch
Normal file
28
tuned-systemd-path.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
From d4c0b5a2d145da188b995419764f9c969b9afdbb Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jan Vcelak <jvcelak@redhat.com>
|
||||||
|
Date: Tue, 20 Mar 2012 14:29:04 +0100
|
||||||
|
Subject: [PATCH] update systemd unit file install path
|
||||||
|
|
||||||
|
required by /lib -> /usr/lib feature
|
||||||
|
---
|
||||||
|
Makefile | 4 ++--
|
||||||
|
1 files changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/Makefile b/Makefile
|
||||||
|
index c88c170..84bf761 100644
|
||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -165,8 +165,8 @@ install-parts-systemd:
|
||||||
|
install -m 0644 tuned.tmpfiles $(DESTDIR)/etc/tmpfiles.d/tuned.conf
|
||||||
|
|
||||||
|
# systemd units
|
||||||
|
- mkdir -p $(DESTDIR)/lib/systemd/system
|
||||||
|
- install -m 0644 tuned.service $(DESTDIR)/lib/systemd/system
|
||||||
|
+ mkdir -p $(DESTDIR)/usr/lib/systemd/system
|
||||||
|
+ install -m 0644 tuned.service $(DESTDIR)/usr/lib/systemd/system
|
||||||
|
|
||||||
|
# ktune: sysvinit compatiblity
|
||||||
|
mkdir -p $(DESTDIR)/etc/rc.d/init.d
|
||||||
|
--
|
||||||
|
1.7.6.5
|
||||||
|
|
@ -23,6 +23,8 @@ Requires(preun): initscripts
|
|||||||
Requires(postun): initscripts
|
Requires(postun): initscripts
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
Patch0: tuned-systemd-path.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The tuned package contains a daemon that tunes system settings dynamically.
|
The tuned package contains a daemon that tunes system settings dynamically.
|
||||||
It does so by monitoring the usage of several system components periodically.
|
It does so by monitoring the usage of several system components periodically.
|
||||||
@ -44,6 +46,7 @@ instead of fewer large ones).
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user