=== modified file 'live-build/ubuntu-touch/hooks/90-precompile-apparmor-policies.chroot'
--- live-build/ubuntu-touch/hooks/90-precompile-apparmor-policies.chroot 2015-08-11 09:29:59 +0000
+++ live-build/ubuntu-touch/hooks/90-precompile-apparmor-policies.chroot 2015-08-11 16:12:57 +0000
@@ -2,6 +2,10 @@
FEATURES=/var/cache/apparmor/.features
+touch /custom/cache/apparmor/test-timestamp.before
+echo "I: Content of the /custom dir before apparmor runs:"
+ls -lR /custom
+
echo "I: precompiling click apparmor policies"
/sbin/apparmor_parser -v -M ${FEATURES} -Q --write-cache --cache-loc=/var/cache/apparmor/ `find /var/lib/apparmor/profiles/ -maxdepth 1 -type f -not -path '*/\.*'`
@@ -12,6 +16,9 @@
mkdir -p /custom/cache/apparmor
/sbin/apparmor_parser -v -M ${FEATURES} -Q --write-cache --cache-loc=/custom/cache/apparmor/ `find /var/lib/apparmor/profiles/ -maxdepth 1 -type f -not -path '*/\.*'`
+touch /custom/cache/apparmor/test-timestamp.after
+echo "I: Content of the /custom dir after apparmor ran:"
+ls -lR /custom
#get the apparmor manifests and profiles
mkdir -p /custom/lib/apparmor/clicks