Hi,

On Mon, Jun 27, 2011 at 11:56:12AM +0200, Joris Dobbelsteen wrote:
> Here we are using ptxdist and currently I'm integrating it into a system
> that performs our daily builds. I have, however, an issue with a source
> package that is not at the normal location (libgd-2.0.36RC1.tar.gz). I
> like to download it from a local mirror instead, where I got all the
> packages we currently ever used.
> 
> My question is how I can override the alternative download location from
> the command line, or is the only option to use the
> ".ptxdist/ptxdistrc-2011.01" (aka ptxdist setup) file?

This is not possible right now. I think the correct fix would be to add an
option for the setup file:

ptxdist --setup=.ptxdist/ptxdistrc-2011.01-special ...

You could also overwrite the URL in your BSP:

$ cat ${PTXDIST_WORKSPACE}/rules/post/urls.make
LIBGD_URL       := http://www.myhost.com/download/$(LIBGD).$(LIBGD_SUFFIX)


Regards,
Michael


-- 
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