summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-extended/python-blivet/python3-blivet/0008-use-oe-variable-to-replace-hardcoded-dir.patch
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2021-08-03 14:13:38 +0800
committerKhem Raj <raj.khem@gmail.com>2021-08-06 20:37:42 -0700
commit88efe3c0ea78196b53d0c6606887b9cf72ca632c (patch)
treeb10f6956d688a508a550b67a165e7d48e2b4718f /meta-python/recipes-extended/python-blivet/python3-blivet/0008-use-oe-variable-to-replace-hardcoded-dir.patch
parentbf1057e64076c9e6909cf694cfae2b8a1991d341 (diff)
downloadmeta-openembedded-88efe3c0ea78196b53d0c6606887b9cf72ca632c.tar.gz
python3-blivet: 3.1.4 -> 3.4.0
Upgrade python3-blivet from 3.1.4 to 3.4.0. * it imports selinux conditionally, so remove 0001-comment-out-selinux.patch * rebase 0008-use-oe-variable-to-replace-hardcoded-dir.patch and 0010-invoking-mkfs-with-infinite-timeout.patch Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-extended/python-blivet/python3-blivet/0008-use-oe-variable-to-replace-hardcoded-dir.patch')
-rw-r--r--meta-python/recipes-extended/python-blivet/python3-blivet/0008-use-oe-variable-to-replace-hardcoded-dir.patch8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0008-use-oe-variable-to-replace-hardcoded-dir.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0008-use-oe-variable-to-replace-hardcoded-dir.patch
index ade1862d78..1e8bcac47e 100644
--- a/meta-python/recipes-extended/python-blivet/python3-blivet/0008-use-oe-variable-to-replace-hardcoded-dir.patch
+++ b/meta-python/recipes-extended/python-blivet/python3-blivet/0008-use-oe-variable-to-replace-hardcoded-dir.patch
@@ -6,6 +6,10 @@ Subject: [PATCH 08/11] use oe variable to replace hardcoded dir
6Upstream-Status: Pending 6Upstream-Status: Pending
7 7
8Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 8Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
9
10Rebase for python3-blivet 3.4.0.
11
12Signed-off-by: Kai Kang <kai.kang@windriver.com>
9--- 13---
10 setup.py | 8 ++++---- 14 setup.py | 8 ++++----
11 1 file changed, 4 insertions(+), 4 deletions(-) 15 1 file changed, 4 insertions(+), 4 deletions(-)
@@ -19,11 +23,11 @@ index b745a79..b5b4258 100644
19 23
20 data_files = [ 24 data_files = [
21- ('/etc/dbus-1/system.d', ['dbus/blivet.conf']), 25- ('/etc/dbus-1/system.d', ['dbus/blivet.conf']),
22- ('/usr/share/dbus-1/system-services', ['dbus/com.redhat.Blivet1.service']), 26- ('/usr/share/dbus-1/system-services', ['dbus/com.redhat.Blivet0.service']),
23- ('/usr/libexec', ['dbus/blivetd']), 27- ('/usr/libexec', ['dbus/blivetd']),
24- ('/usr/lib/systemd/system', ['dbus/blivet.service']) 28- ('/usr/lib/systemd/system', ['dbus/blivet.service'])
25+ (os.environ.get('sysconfdir')+'/dbus-1/system.d', ['dbus/blivet.conf']), 29+ (os.environ.get('sysconfdir')+'/dbus-1/system.d', ['dbus/blivet.conf']),
26+ (os.environ.get('datadir')+'/dbus-1/system-services', ['dbus/com.redhat.Blivet1.service']), 30+ (os.environ.get('datadir')+'/dbus-1/system-services', ['dbus/com.redhat.Blivet0.service']),
27+ (os.environ.get('libexecdir'), ['dbus/blivetd']), 31+ (os.environ.get('libexecdir'), ['dbus/blivetd']),
28+ (os.environ.get('systemd_system_unitdir'), ['dbus/blivet.service']) 32+ (os.environ.get('systemd_system_unitdir'), ['dbus/blivet.service'])
29 ] 33 ]