Skip to contentSkip to conversation

pkg-download with git and not VERSION set in package

PATCH New Patrick Boettcher 2 participants 2 messages Mar 29, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pkg-download with git and not VERSION set in package

I'm new to buildroot and was playing with a local git-tree. I noticed that things weren't working when VERSION is not set in the package.

The following patch is trivial but solves the problem with the current implemenation.

Please copy me on replies as I'm not yet subscribed.

Patrick Boettcher (1):
pkg-download: take some more care of <PKG_>VERSION when METHOD is git

 package/pkg-download.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
1.7.10.4

#1 lore raw

PATCH 1/1 pkg-download with git and not VERSION set in package

Hi,

Quoted 6 lines · Patrick Boettcher

I'm new to buildroot and was playing with a local git-tree. I noticed that things weren't working when VERSION is not set in the package.

The following patch is trivial but solves the problem with the current implemenation.

Quoted 8 lines

Please copy me on replies as I'm not yet subscribed.

Patrick Boettcher (1):
pkg-download: take some more care of <PKG_>VERSION when METHOD is git

 package/pkg-download.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

If the concept of this patch is accepted, then I think it should also be done for Mercurial. The reasoning is the same, the only difference is that HEAD is called 'tip'.

Also, I think you should put a comment about this in the code, because it is not trivial at first reading that HEAD/tip will always be the version specified in the package, if any.

Best regards,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130329/33fe2a45/attachment.html>