Re: yocto 3.1.3 cant seem to remove run-postinsts


Michael Opdenacker
 

Hi Jared,

On 8/10/21 4:46 PM, jared_terry@dell.com wrote:
https://www.yoctoproject.org/docs/3.1.3/ref-manual/ref-manual.html#migration-2.1-miscellaneous-changes
<https://www.yoctoproject.org/docs/3.1.3/ref-manual/ref-manual.html#migration-2.1-miscellaneous-changes>

IMAGE_FEATURES="debug-tweaks read-only-rootfs"

according to the manual having read-only-rootfs should remove
run-postinsts and I still have it.  How can I get rid of this?

That's not what I understand from the manual. From
https://docs.yoctoproject.org/dev-manual/common-tasks.html#post-installation-scripts-and-read-only-root-filesystem,
I understand that the build system makes sure that the post install
scripts all succeed, so there is no need to run them again on the target.

Why would you want to skip the post install scripts?

Cheers,
Michael.

--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Join yocto@lists.yoctoproject.org to automatically receive all group messages.