On Mon, Nov 09, 2015 at 01:20:38PM +0900, Jae Suk Park wrote: > Can Apparmor run on python 2.7 environment only?
It should, though there may be bugs that prevent all features from working. If you don't need aa-logprof, aa-genprof, aa-enforce, aa-status, etc. in your environments, you don't even need any of the python tools. What are you going to be doing in the yocto environments? Do you need the higher-level tools at all? > 3. but when I try to install apparmor ubuntu package, libpython3 related > pacakages is installed > [...] > 4. I guess Apparmor package is deeply dependent on python3. The apparmor builds in Ubuntu are dependent on python3 because it seems most useful for our users. From the wily buildlogs[1]: | # Build pythons | for py in python2.7 python3.4 python3.5 ; do \ | cp -a /«PKGBUILDDIR»/libraries/libapparmor /«PKGBUILDDIR»/libraries/libapparmor.$py && \ | PYTHON=/usr/bin/$py dh_auto_configure \ | -D libraries/libapparmor.$py -- --with-python && \ | PYTHON=/usr/bin/$py dh_auto_build \ | -D libraries/libapparmor.$py; \ | done When you're building the libraries, try setting the PYTHON environment variable to the path of your python interpreter, as done above. (Ignore the rest of the dh_auto_* stuff, the important part is the PYTHON environment variable before calling configure.) Thanks 1: https://launchpadlibrarian.net/216283862/buildlog_ubuntu-wily-amd64.apparmor_2.10-0ubuntu6_BUILDING.txt.gz
signature.asc
Description: Digital signature
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
