On Fri, 8 May 2020 at 11:32, Damien LEFEVRE <[email protected]> wrote:

>
> If can find the postinst script in
> /var/lib/opkg/info/test-deployment.postinst and execute it.
>
> Since test-deployment is a new package, I would have expected
> pkg_postinst_ontarget to be executed
>
> How is the first boot detected on a poky image? Is there a way to detect
> if .postinst scripts haven't been executed?
>

The scripts to be executed  are written into /etc/rpm|deb|ipk-postinsts/
and executed by
meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts script
(which is started on first boot as a service).
Then they get deleted.

Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#49358): https://lists.yoctoproject.org/g/yocto/message/49358
Mute This Topic: https://lists.yoctoproject.org/mt/74069263/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to