[oe] pkg_postinst_* not working anymore -> broken packages

Koen Kooi k.kooi at student.utwente.nl
Mon Jun 9 10:32:47 UTC 2008


Koen Kooi wrote:
> Hi,
>
> Lately I have been wondering why things like avahi and umount don't work
> properly any more in angstrom 2008, and I found out why:
>
> OE (and/or bitbake) ignores pkg_postinst_*

FWIW, if you see a recipe doing this:

pkg_postinst() {
  <content>
}

then kill it with fire! pkg_postinst() will apply to *each* and *every* 
entry in PACKAGES, so ${PN}-dev and ${PN}-doc as well as ${PN}-dbg will 
get the postinsts in their control files.





More information about the Openembedded-devel mailing list