mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-22 02:41:12 +00:00
make apparmor profile generation more verbose to get more log info
This commit is contained in:
parent
84e0e78363
commit
3f8e2ee18e
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
livecd-rootfs (2.336) UNRELEASED; 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…
x
Reference in New Issue
Block a user