diff options
author | Armin Kuster <akuster@mvista.com> | 2017-05-23 18:13:57 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2017-06-01 08:01:34 -0700 |
commit | 89683b4fee4616a08d249bc7afd7be55f3fa71a3 (patch) | |
tree | 3254cb4377665106e418c8fb5b0ef228e6df1d84 | |
parent | 4f2a08e3faf46c3179e334af5882045fd9cb5162 (diff) | |
download | meta-security-89683b4fee4616a08d249bc7afd7be55f3fa71a3.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)}" |