On Sat, Oct 22, 2011 at 03:24:33PM -0400, Jon Ringle wrote:
> Create a rules/<packet>.postinst
> The <packet>.postinst script will get called at targetinstall phase
> during building, so you probably want to have your script do nothing
> at this time. The way I handled this is that "configure" will be $1
> when the packet is installed on the target. This is my template for
> <packet>.postinst:

You can use $DESTDIR to detect if you are running at targetinstall or on
runtime.

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
[email protected]

Reply via email to