diff --git a/debian/changelog b/debian/changelog index 9d9f577b..569e6925 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,14 @@ -livecd-rootfs (2.337) UNRELEASED; urgency=medium +livecd-rootfs (2.338) UNRELEASED; urgency=medium + [ Ɓukasz Zemczak ] * merge lp:~sil2100/livecd-rootfs/deb-src_for_extra_ppas, In case of extra PPAs also include the deb-src entry in the sources list. (LP: #1482703) + [ Oliver Grawert ] + * add the apparmor-super-noise change to get extra detailed info about all + apparmor operations in the ubuntu-touch build logs - -- Oliver Grawert Tue, 11 Aug 2015 11:48:54 +0200 + -- Oliver Grawert Tue, 11 Aug 2015 18:18:58 +0200 livecd-rootfs (2.336) wily; urgency=medium diff --git a/live-build/ubuntu-touch/hooks/90-precompile-apparmor-policies.chroot b/live-build/ubuntu-touch/hooks/90-precompile-apparmor-policies.chroot index dc94e56d..ac1a7c26 100755 --- a/live-build/ubuntu-touch/hooks/90-precompile-apparmor-policies.chroot +++ b/live-build/ubuntu-touch/hooks/90-precompile-apparmor-policies.chroot @@ -2,6 +2,16 @@ FEATURES=/var/cache/apparmor/.features +echo "date is: `date`" + +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 +22,14 @@ echo "I: precompiling custom click apparmor policies" 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 +68,7 @@ for manifest in /var/lib/apparmor/clicks/*; do 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