diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2019-03-07 16:32:59 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-03-08 14:51:55 -0800 |
commit | 70802667abf5f93339a0bb2f0c1f033896b11e39 (patch) | |
tree | 86feedebf89a2f3f1b9363aabb0b747e8848384e /meta-security-compliance/recipes-openscap/openscap-daemon/openscap-daemon_0.1.10.bb | |
parent | b081fdc80788d88bca7e3fad53e55d5bfb35642b (diff) | |
download | meta-security-70802667abf5f93339a0bb2f0c1f033896b11e39.tar.gz |
openscap-daemon: backport patch to fix build error with python 3.7
Fixes build error:
| Traceback (most recent call last):
| File "setup.py", line 25, in <module>
| from openscap_daemon import version
| File "/buildarea/build/tmp/work/core2-64-poky-linux/openscap-daemon/0.1.10-r0/git/openscap_daemon/__init__.py", line 22, in <module>
| from openscap_daemon.system import System
| File "/buildarea/build/tmp/work/core2-64-poky-linux/openscap-daemon/0.1.10-r0/git/openscap_daemon/system.py", line 29
| from openscap_daemon import async
| ^
| SyntaxError: invalid syntax
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-security-compliance/recipes-openscap/openscap-daemon/openscap-daemon_0.1.10.bb')
-rw-r--r-- | meta-security-compliance/recipes-openscap/openscap-daemon/openscap-daemon_0.1.10.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-security-compliance/recipes-openscap/openscap-daemon/openscap-daemon_0.1.10.bb b/meta-security-compliance/recipes-openscap/openscap-daemon/openscap-daemon_0.1.10.bb index a6a9373..ca6e030 100644 --- a/meta-security-compliance/recipes-openscap/openscap-daemon/openscap-daemon_0.1.10.bb +++ b/meta-security-compliance/recipes-openscap/openscap-daemon/openscap-daemon_0.1.10.bb | |||
@@ -9,7 +9,9 @@ LICENSE = "LGPL-2.1" | |||
9 | DEPENDS = "python3-dbus" | 9 | DEPENDS = "python3-dbus" |
10 | 10 | ||
11 | SRCREV = "f25b16afb6ac761fea13132ff406fba4cdfd2b76" | 11 | SRCREV = "f25b16afb6ac761fea13132ff406fba4cdfd2b76" |
12 | SRC_URI = "git://github.com/OpenSCAP/openscap-daemon.git" | 12 | SRC_URI = "git://github.com/OpenSCAP/openscap-daemon.git \ |
13 | file://0001-Renamed-module-and-variables-to-get-rid-of-async.patch \ | ||
14 | " | ||
13 | 15 | ||
14 | inherit setuptools3 | 16 | inherit setuptools3 |
15 | 17 | ||