Hi,

building my image with
EXTRA_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
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#48678): https://lists.yoctoproject.org/g/yocto/message/48678
Mute This Topic: https://lists.yoctoproject.org/mt/71705997/21656
Mute #yocto: https://lists.yoctoproject.org/mk?hashtag=yocto&subid=6691583
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to