All of lore.kernel.org
 help / color / mirror / Atom feed
* pkg_postinst behavior?
@ 2016-09-08 12:07 Takashi Matsuzawa
  2016-09-08 13:11 ` Daniel.
  2016-09-09  8:51 ` Anders Darander
  0 siblings, 2 replies; 3+ messages in thread
From: Takashi Matsuzawa @ 2016-09-08 12:07 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 954 bytes --]

Hello, Yocto.
I just want to confirm how pkg_postinst scripts are called.

Provided the following scripts are provided, in two bbappend recipes as below, which of them are actually executed and which are not?
I have briefly tried and 'OK's below are called and 'NG's are not.

The yocto manual says posttest scripts must be suffixed by package names, but which package names?
postinst scripts with package names from the other recipe (script in AAA referring BBB package name) can be invoked at BBB package installation?

AAA.bbappend:

pkg_postinst_AAA() {} - OK
pkg_postinst_AAA_append() {} - OK
pkg_postinst_BBB() {} - NG
pkg_postinst_BBB_append() {} - NG

BBB.bbappend:

pkg_postinst_AAA() {} - NG
pkg_postinst_AAA_append() {} - NG
pkg_postinst_BBB() {} - OK
pkg_postinst_BBB_append() {} - OK

And, multiple _append() once could be added, but if _append() is not there only one of such script for the same name is executed?


[-- Attachment #2: Type: text/html, Size: 1722 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-09  8:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-08 12:07 pkg_postinst behavior? Takashi Matsuzawa
2016-09-08 13:11 ` Daniel.
2016-09-09  8:51 ` Anders Darander

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.