[apparmor] [patch] profiles: update make check-logprof for python tools

Steve Beattie steve at nxnw.org
Mon Dec 1 19:59:17 UTC 2014


The check-logprof target was not updated to use the python tools, when
they were merged in. This patch fixes the issue.

(The check-logprof is not part of the 'check' target for the profiles,
because it fails for the same reasons that the utils/ make check fails
in environments where apparmor has not already been installed.)

Signed-off-by: Steve Beattie <steve at nxnw.org>
---
 profiles/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/profiles/Makefile
===================================================================
--- a/profiles/Makefile
+++ b/profiles/Makefile
@@ -78,7 +78,7 @@ endif
 
 ifndef LOGPROF
 # use ../utils logprof
-LOGPROF=perl -I../utils/ ../utils/aa-logprof
+LOGPROF=PYTHONPATH=../utils $(PYTHON) ../utils/aa-logprof
 endif
 
 IGNORE_FILES=${EXTRAS_SOURCE}/README

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20141201/c9dbd272/attachment.pgp>


More information about the AppArmor mailing list