0623cd0a24
- Update to version 2.1.52: * version 2.1.52 * daemon-interactive: do not allow clearing the prompt * daemon-interactive: show path on prompt * daemonized-mode: add interactive shell support * Use temp file objects for temporary storage area * Fix StringIO/BytesIO stuck issue * Fix targetclid daemon infinite stuck * targetclid.sock: change SocketMode to 0600 (bsc#1168415 CVE-2020-10699) * setup.py: add the socket and service files to the data_files section * Use StringIO as a buffer instead of a file OBS-URL: https://build.opensuse.org/request/show/808051 OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=40
21 lines
779 B
Diff
21 lines
779 B
Diff
From: Lee Duncan <lduncan@suse.com>
|
|
Date: Thu May 21 11:32:02 PDT 2020
|
|
Subject: [PATCH] fix setup install patch
|
|
|
|
Fix the setup.py install script to install systemd
|
|
files in /usr/lib/systemd/system instead of /lib/systemd/system
|
|
---
|
|
diff --git a/setup.py b/setup.py
|
|
index 4518165c57a6..2ebfc04605c0 100755
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -34,7 +34,7 @@ setup(
|
|
'scripts/targetcli',
|
|
'daemon/targetclid'
|
|
],
|
|
- data_files = [('/lib/systemd/system', ['systemd/targetclid.socket', 'systemd/targetclid.service'])],
|
|
+ data_files = [('/usr/lib/systemd/system', ['systemd/targetclid.socket', 'systemd/targetclid.service'])],
|
|
classifiers = [
|
|
"Programming Language :: Python",
|
|
"Programming Language :: Python :: 3",
|