Ubuntu Pastebin

Paste from ogra at Tue, 11 Aug 2015 16:17:16 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
=== 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:17:25 +0000
@@ -2,6 +2,14 @@
 
 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: Content of the apparmor caches before:"
+ls -lR /var/lib/apparmor
+ls -lR /var/cache/apparmor
+
 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 +20,14 @@
 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
+
+echo "I: Content of the apparmor caches after:"
+ls -lR /var/lib/apparmor
+ls -lR /var/cache/apparmor
+
 
 #get the apparmor manifests and profiles
 mkdir -p /custom/lib/apparmor/clicks
@@ -50,4 +66,7 @@
 	fi
 done
 
-ls -l /custom/cache/apparmor/
+echo "I: Content of the final apparmor files:"
+ls -lR /custom
+ls -lR /var/lib/apparmor
+ls -lR /var/cache/apparmor
Download as text