[Buildroot] [PATCH 1/2] git: fix handling of git repos using master as version

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Jun 4 14:33:02 UTC 2018


Hello,

On Mon,  4 Jun 2018 14:32:29 +0100, Robert Beckett wrote:
> Since changing to git init followed by fetch to initialise
> git cache, when using master branch as the target version
> for a package, git refuses to fetch in to currently checkout
> out branch or master.

I think we don't want to support using branches as Git versions, as it
doesn't make sense, because it won't behave as the user expects.

If you use a branch as _VERSION for a package, Buildroot will only
download once, and never update to newer commits in this branch,
because it will already have a cached tarball in its DL_DIR.

So I'm not sure we want to add some code to support a use case that we
don't want support :-)

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list