Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | From 12e2579333258d1a690f8718e91b0f217078e886 Mon Sep 17 00:00:00 2001 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
| 3 | Date: Mon, 8 May 2017 03:54:12 -0400 |
| 4 | Subject: [PATCH 08/11] use oe variable to replace hardcoded dir |
| 5 | |
| 6 | Upstream-Status: Pending |
| 7 | |
| 8 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 9 | |
| 10 | Rebase for python3-blivet 3.4.0. |
| 11 | |
| 12 | Signed-off-by: Kai Kang <kai.kang@windriver.com> |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 13 | --- |
| 14 | setup.py | 8 ++++---- |
| 15 | 1 file changed, 4 insertions(+), 4 deletions(-) |
| 16 | |
| 17 | diff --git a/setup.py b/setup.py |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 18 | index b745a79..b5b4258 100644 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 19 | --- a/setup.py |
| 20 | +++ b/setup.py |
| 21 | @@ -61,10 +61,10 @@ class blivet_sdist(sdist): |
| 22 | |
| 23 | |
| 24 | data_files = [ |
| 25 | - ('/etc/dbus-1/system.d', ['dbus/blivet.conf']), |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 26 | - ('/usr/share/dbus-1/system-services', ['dbus/com.redhat.Blivet0.service']), |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 27 | - ('/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 Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 30 | + (os.environ.get('datadir')+'/dbus-1/system-services', ['dbus/com.redhat.Blivet0.service']), |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 31 | + (os.environ.get('libexecdir'), ['dbus/blivetd']), |
| 32 | + (os.environ.get('systemd_system_unitdir'), ['dbus/blivet.service']) |
| 33 | ] |
| 34 | |
| 35 | |
| 36 | -- |
| 37 | 2.7.4 |
| 38 | |