summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster@mvista.com>2017-05-23 18:13:57 -0700
committerArmin Kuster <akuster808@gmail.com>2017-11-06 12:32:08 -0800
commit3d0bf443a24b694eb2cf6f447d61c084b12de512 (patch)
tree96da50ef1456ffbddde12a3c37d8cc65907ea791
parentb20c1242f79873e9da0fc0f5b3902f095dc923e8 (diff)
downloadmeta-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.bb4
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
28PARALLEL_MAKE = "" 28PARALLEL_MAKE = ""
29 29
30inherit pkgconfig autotools-brokensep update-rc.d python3-dir perlnative ptest 30inherit pkgconfig autotools-brokensep update-rc.d python-dir perlnative ptest
31inherit ${@bb.utils.contains('VIRTUAL-RUNTIME_init_manager','systemd','systemd','', d)} 31inherit ${@bb.utils.contains('VIRTUAL-RUNTIME_init_manager','systemd','systemd','', d)}
32 32
33S = "${WORKDIR}/apparmor-${PV}" 33S = "${WORKDIR}/apparmor-${PV}"
34 34
35PACKAGECONFIG ?="man" 35PACKAGECONFIG ?="man"
36PACKAGECONFIG[man] = "--enable-man-pages, --disable-man-pages" 36PACKAGECONFIG[man] = "--enable-man-pages, --disable-man-pages"
37PACKAGECONFIG[python3] = "--with-python, --without-python, python3 swig-native" 37PACKAGECONFIG[python] = "--with-python, --without-python, python swig-native"
38PACKAGECONFIG[perl] = "--with-perl, --without-perl, perl perl-native" 38PACKAGECONFIG[perl] = "--with-perl, --without-perl, perl perl-native"
39 39
40PAMLIB="${@bb.utils.contains('DISTRO_FEATURES', 'pam', '1', '0', d)}" 40PAMLIB="${@bb.utils.contains('DISTRO_FEATURES', 'pam', '1', '0', d)}"