diff options
author | Armin Kuster <akuster@mvista.com> | 2017-05-23 18:13:57 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2017-11-06 12:32:08 -0800 |
commit | 3d0bf443a24b694eb2cf6f447d61c084b12de512 (patch) | |
tree | 96da50ef1456ffbddde12a3c37d8cc65907ea791 | |
parent | b20c1242f79873e9da0fc0f5b3902f095dc923e8 (diff) | |
download | meta-security-3d0bf443a24b694eb2cf6f447d61c084b12de512.tar.gz |
apparmor: fix python packaging issue
WARNING: apparmor-2.11.0-r0 do_package: QA Issue: apparmor: Files/directories were installed but not shipped in any package:
/usr/lib/python2.7
/usr/lib/python2.7/site-packages
/usr/lib/python2.7/site-packages/apparmor-2.11.0-py2.7.egg-info
/usr/lib/python2.7/site-packages/apparmor
/usr/lib/python2.7/site-packages/apparmor/regex.py
use python2 instead of python3
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | recipes-security/AppArmor/apparmor_2.11.0.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-security/AppArmor/apparmor_2.11.0.bb b/recipes-security/AppArmor/apparmor_2.11.0.bb index 8ad2d25..591a673 100644 --- a/recipes-security/AppArmor/apparmor_2.11.0.bb +++ b/recipes-security/AppArmor/apparmor_2.11.0.bb | |||
@@ -27,14 +27,14 @@ SRC_URI[sha256sum] = "b1c489ea11e7771b8e6b181532cafbf9ebe6603e3cb00e2558f21b7a5b | |||
27 | 27 | ||
28 | PARALLEL_MAKE = "" | 28 | PARALLEL_MAKE = "" |
29 | 29 | ||
30 | inherit pkgconfig autotools-brokensep update-rc.d python3-dir perlnative ptest | 30 | inherit pkgconfig autotools-brokensep update-rc.d python-dir perlnative ptest |
31 | inherit ${@bb.utils.contains('VIRTUAL-RUNTIME_init_manager','systemd','systemd','', d)} | 31 | inherit ${@bb.utils.contains('VIRTUAL-RUNTIME_init_manager','systemd','systemd','', d)} |
32 | 32 | ||
33 | S = "${WORKDIR}/apparmor-${PV}" | 33 | S = "${WORKDIR}/apparmor-${PV}" |
34 | 34 | ||
35 | PACKAGECONFIG ?="man" | 35 | PACKAGECONFIG ?="man" |
36 | PACKAGECONFIG[man] = "--enable-man-pages, --disable-man-pages" | 36 | PACKAGECONFIG[man] = "--enable-man-pages, --disable-man-pages" |
37 | PACKAGECONFIG[python3] = "--with-python, --without-python, python3 swig-native" | 37 | PACKAGECONFIG[python] = "--with-python, --without-python, python swig-native" |
38 | PACKAGECONFIG[perl] = "--with-perl, --without-perl, perl perl-native" | 38 | PACKAGECONFIG[perl] = "--with-perl, --without-perl, perl perl-native" |
39 | 39 | ||
40 | PAMLIB="${@bb.utils.contains('DISTRO_FEATURES', 'pam', '1', '0', d)}" | 40 | PAMLIB="${@bb.utils.contains('DISTRO_FEATURES', 'pam', '1', '0', d)}" |