#yocto apparmor recipe prevents read only file system
Hi,
building my image withEXTRA_IMAGE_FEATURES += "read-only-rootfs"
was prevented by the apparmor_2.13.3 recipe with
pkg_postinst_ontarget_${PN} () {
if [ ! -d /etc/apparmor.d/cache ] ; then
mkdir /etc/apparmor.d/cache
fi
}
removing the these lines for testing the image built just fine.
Why is the directory /etc/apparmor.d/cache created on initial boot and not earlier, e.g. in do_install?
Thanks for reading, any help would be great.
Best Regards
hu
pkg_postinst_ontarget