summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster@mvista.com>2017-05-23 18:13:57 -0700
committerArmin Kuster <akuster808@gmail.com>2017-06-01 08:01:34 -0700
commit89683b4fee4616a08d249bc7afd7be55f3fa71a3 (patch)
tree3254cb4377665106e418c8fb5b0ef228e6df1d84
parent4f2a08e3faf46c3179e334af5882045fd9cb5162 (diff)
downloadmeta-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.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)}"