[Buildroot] About Git through SSH

Paul Jones paul at pauljones.id.au
Sun Sep 5 01:50:34 UTC 2010


> -----Original Message-----
> From: buildroot-bounces at busybox.net [mailto:buildroot-
> bounces at busybox.net] On Behalf Of Thomas Petazzoni
> Sent: Sunday, 5 September 2010 2:59 AM
> To: buildroot at busybox.net
> Subject: Re: [Buildroot] About Git through SSH
> 
> On Sat, 4 Sep 2010 11:25:15 +1000
> "Paul Jones" <paul at pauljones.id.au> wrote:
> 
> > By the way, why does the source get converted to a tar.gz after the
> > git tree is cloned? It's quite annoying because to rebuild the package
> > you have to delete the tar.gz file as well as the build directory to
> > force downloading of the latest source.
> 
> I agree that this is not optimal, but this is the solution that best
follows the
> way Buildroot works currently. If we don't do this, where should Buildroot
do
> the clone ? In the $(BUILD_DIR) which gets deleted by make clean ? Or in
> $(DL_DIR) in a directory form and then we need to do a "cp" to the
> $(BUILD_DIR) when doing the build ?

I was just thinking clone it to $(BUILD_DIR), but on further thought I can
imagine that also would be annoying if your source was rather large.
Perhaps we could put an option in the makefile to force a clone everytime
the package is rebuilt?

> In a second step, it'd be nice to be able to tell Buildroot that for this
or that
> package, instead of being responsible for downloading/extracting it, it
should
> just grab it from a given location. This is, IMHO, a change needed to make
> Buildroot more usable during the development phase, but it needs quite a
> bit of reflection and discussion.

That would be great.





More information about the buildroot mailing list