Ubuntu Pastebin

Paste from ogra at Tue, 11 Aug 2015 09:23:33 +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 'debian/changelog'
--- debian/changelog	2015-07-28 08:49:38 +0000
+++ debian/changelog	2015-08-11 09:23:36 +0000
@@ -1,3 +1,10 @@
+livecd-rootfs (2.335) wily; urgency=medium
+
+  * make apparmor precompilation more verbose, list the dir contents of
+    /custom/cache/apparmor to see in the build log what has been created.
+
+ -- Oliver Grawert <ogra@ubuntu.com>  Tue, 11 Aug 2015 11:22:17 +0200
+
 livecd-rootfs (2.334) wily; urgency=medium
 
   * add dnsmasq user to snappy builds, needed by ubuntu-fan

=== modified file 'live-build/ubuntu-touch/hooks/90-precompile-apparmor-policies.chroot'
--- live-build/ubuntu-touch/hooks/90-precompile-apparmor-policies.chroot	2014-10-13 19:11:42 +0000
+++ live-build/ubuntu-touch/hooks/90-precompile-apparmor-policies.chroot	2015-08-11 09:21:33 +0000
@@ -3,14 +3,14 @@
 FEATURES=/var/cache/apparmor/.features
 
 echo "I: precompiling click apparmor policies"
-/sbin/apparmor_parser -M ${FEATURES} -Q --write-cache --cache-loc=/var/cache/apparmor/ `find /var/lib/apparmor/profiles/ -maxdepth 1 -type f -not -path '*/\.*'`
+/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 '*/\.*'`
 
 echo "I: precompiling deb apparmor policies"
-/sbin/apparmor_parser -M ${FEATURES} -Q --write-cache --cache-loc=/etc/apparmor.d/cache/ `find /etc/apparmor.d/ -maxdepth 1 -type f -not -path '*/\.*'`
+/sbin/apparmor_parser -v -M ${FEATURES} -Q --write-cache --cache-loc=/etc/apparmor.d/cache/ `find /etc/apparmor.d/ -maxdepth 1 -type f -not -path '*/\.*'`
 
 echo "I: precompiling custom click apparmor policies"
 mkdir -p /custom/cache/apparmor
-/sbin/apparmor_parser -M ${FEATURES} -Q --write-cache --cache-loc=/custom/cache/apparmor/ `find /var/lib/apparmor/profiles/ -maxdepth 1 -type f -not -path '*/\.*'`
+/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 '*/\.*'`
 
 
 #get the apparmor manifests and profiles
@@ -49,3 +49,5 @@
 		rm -f "/custom/cache/apparmor/click_$profile"
 	fi
 done
+
+ls -l /custom/cache/apparmor/
Download as text