apparmor: compile all profiles

(cherry picked from commit b14f79ce2e)
uc20-no-fixed-size
Dimitri John Ledkov 4 years ago
parent ce5a138c79
commit 260c051032
No known key found for this signature in database
GPG Key ID: 9B8EC849D5EF70ED

@ -693,6 +693,7 @@ snap_validate_seed() {
snap debug validate-seed "${CHROOT_ROOT}/var/lib/snapd/seed/seed.yaml" snap debug validate-seed "${CHROOT_ROOT}/var/lib/snapd/seed/seed.yaml"
/usr/lib/snapd/snap-preseed --reset $(realpath "${CHROOT_ROOT}") /usr/lib/snapd/snap-preseed --reset $(realpath "${CHROOT_ROOT}")
/usr/lib/snapd/snap-preseed $(realpath "${CHROOT_ROOT}") /usr/lib/snapd/snap-preseed $(realpath "${CHROOT_ROOT}")
chroot "${CHROOT_ROOT}" apparmor_parser --skip-read-cache --write-cache --skip-kernel-load --verbose -j `nproc` /etc/apparmor.d
fi fi
} }

Loading…
Cancel
Save