[OE-core] can pkg_{pre, post}rm functions be run at all for image creation?

Robert P. J. Day rpjday at crashcourse.ca
Sat Aug 2 19:57:00 UTC 2014


On Sat, 2 Aug 2014, Khem Raj wrote:

> On Sat, Aug 2, 2014 at 9:34 AM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
> > say, pkg_prerm() functions would never be written with respect to the
> > variable ${D}, which would be relevant only during image creation. but
> > i can see things like this in sysklogd.inc:
> >
> > pkg_prerm_${PN} () {
> >         if test "x$D" = "x"; then
>
> note that its not ${D} (bitbake context) but $D which is evaluated
> in the context when the script is run.

  i still don't understand ... what are the possible values of $D
here, and what would they represent?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the Openembedded-core mailing list