[yocto] stupid question about post-installation scripts

Robert P. J. Day rpjday at crashcourse.ca
Mon Nov 25 09:29:05 PST 2013


On Mon, 25 Nov 2013, Bryan Evenson wrote:

> Robert,
>
> That's how it works in my experience.  I have some packages for my
> system that have a postinst piece that needs to run during image
> creation, and other pieces that need to run only on a package
> upgrade.  By checking whether "x${D}" = "${D}", I am filtering out
> whether the postinst script is running during image creation or on
> the actual hardware.  Been working great so far.

  right, but what i was trying to clarify is (and i think you answer
it) that postint scripts will be invoked *both* at image creation time
and boot time, and it's your responsibility to identify which parts
run at which times.

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 yocto mailing list