[yocto] FW: stupid question about post-installation scripts

Rifenbark, Scott M scott.m.rifenbark at intel.com
Mon Nov 25 07:21:41 PST 2013


Robert, 

I don't know... I am forwarding to the discussion list.

Scott

>-----Original Message-----
>From: Robert P. J. Day [mailto:rpjday at crashcourse.ca]
>Sent: Sunday, November 24, 2013 2:37 AM
>To: Rifenbark, Scott M
>Subject: stupid question about post-installation scripts
>
>
>  when one defines pkg_postinst scripts, are those scripts invoked at
>*both* root filesystem creation time and first boot time? so that one needs to
>manually check the value of ${D} to decide whether to run them, say, at first
>boot time?
>
>  i'm reading the section here:
>
>http://www.yoctoproject.org/docs/latest/dev-manual/dev-
>manual.html#post-installation-scripts
>
>and i know i've seen elsewhere scripts explicitly checking the value of the ${D}
>prefix to determine when they're being invoked. it *seems* like that's what's
>happening, but if that's the case, it can probably be said much more clearly.
>
>rday



More information about the yocto mailing list