blob: d3ab8f85260f68a89ecabb449644aff2e541702d [file] [log] [blame]
Patrick Williams03514f12024-04-05 07:04:11 -05001From 6a85945c060154581f5a129a6a946258bf9333c4 Mon Sep 17 00:00:00 2001
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08002From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Mon, 8 May 2017 03:54:12 -0400
4Subject: [PATCH 08/11] use oe variable to replace hardcoded dir
5
6Upstream-Status: Pending
7
8Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Patrick Williams213cb262021-08-07 19:21:33 -05009
10Rebase for python3-blivet 3.4.0.
11
12Signed-off-by: Kai Kang <kai.kang@windriver.com>
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080013---
14 setup.py | 8 ++++----
15 1 file changed, 4 insertions(+), 4 deletions(-)
16
17diff --git a/setup.py b/setup.py
Patrick Williams03514f12024-04-05 07:04:11 -050018index e6bb3f3..700085b 100644
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080019--- a/setup.py
20+++ b/setup.py
Patrick Williams03514f12024-04-05 07:04:11 -050021@@ -73,10 +73,10 @@ class blivet_sdist(sdist):
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080022
23
24 data_files = [
25- ('/etc/dbus-1/system.d', ['dbus/blivet.conf']),
Patrick Williams213cb262021-08-07 19:21:33 -050026- ('/usr/share/dbus-1/system-services', ['dbus/com.redhat.Blivet0.service']),
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080027- ('/usr/libexec', ['dbus/blivetd']),
28- ('/usr/lib/systemd/system', ['dbus/blivet.service'])
29+ (os.environ.get('sysconfdir')+'/dbus-1/system.d', ['dbus/blivet.conf']),
Patrick Williams213cb262021-08-07 19:21:33 -050030+ (os.environ.get('datadir')+'/dbus-1/system-services', ['dbus/com.redhat.Blivet0.service']),
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080031+ (os.environ.get('libexecdir'), ['dbus/blivetd']),
32+ (os.environ.get('systemd_system_unitdir'), ['dbus/blivet.service'])
33 ]
34
35