Import patches-unapplied version 2.336 to ubuntu/wily-proposed

Imported using git-ubuntu import.

Changelog parent: f4d2a993b3

New changelog entries:
  * make apparmor precompilation more verbose, list the dir contents of
    /custom/cache/apparmor to see in the build log what has been created.
impish
Oliver Grawert 10 years ago committed by usd-importer
parent f4d2a993b3
commit 3dd0e68f99

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.336) 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:29:01 +0200
livecd-rootfs (2.335) wily; urgency=medium
* Attempt to build Ubuntu image using metapackages instead of tasks; this

@ -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 @@ for manifest in /var/lib/apparmor/clicks/*; do
rm -f "/custom/cache/apparmor/click_$profile"
fi
done
ls -l /custom/cache/apparmor/

Loading…
Cancel
Save