Re: pkg_postinst_ontarget not executed
toggle quoted messageShow quoted text
Reading recipes-devtools/run-postinsts/run-postinsts/run-postinsts and_save_postinsts_common (in rootfs.py) once more, it seems /etc/ipk-postinsts is only used if there is no package manager on the target.
If there is, then 'opkg configure' is run directly, and so postinsts come from some internal database. There is some additional magic in rootfs.py to mark packages with first-boot postinsts as unpacked, so they'll get picked up by opkg.
On Wed, 13 May 2020 at 09:33, Damien LEFEVRE <lefevre.da@...> wrote: