[Buildroot] [PATCH 4/4] Add package flannel

Geoff Levand geoff at infradead.org
Thu Mar 3 01:11:32 UTC 2016


On Wed, 2016-03-02 at 23:53 +0100, Thomas Petazzoni wrote:
> The commit title should be:
> 
> 	flannel: new package
> 
> On Wed, 02 Mar 2016 19:23:33 +0000, Geoff Levand wrote:
> 
> > diff --git a/package/flannel/flannel.hash
> > b/package/flannel/flannel.hash
> > new file mode 100644
> > index 0000000..7459298
> > --- /dev/null
> > +++ b/package/flannel/flannel.hash
> > @@ -0,0 +1,3 @@
> > +# Locally computed:
> > +sha256
> > c09a76e80647282687b8db36f28dd3aede650f8f71dad0cf9f453f2ae3a0635d
> > flannel-v0.5.5.tar.gz
> > +
> 
> Unneeded empty new line.

OK.

> 
> > +FLANNEL_VERSION = v0.5.5
> > +FLANNEL_SITE = https://github.com/coreos/flannel.git
> > +FLANNEL_SITE_METHOD = git
> 
> Please use the github helper function.

OK.

> 
> > +
> > +FLANNEL_LICENSE = Apache-2.0
> > +FLANNEL_LICENSE_FILES = LICENSE
> > +
> > +FLANNEL_DEPENDENCIES = host-go
> > +
> > +FLANNEL_MAKE_ENV = \
> > +	GOBIN="$(@D)/bin" \
> > +	GOPATH="$(@D)/gopath" \
> > +	GOARCH=$(GO_GOARCH) \
> > +	CGO_ENABLED=1
> > +
> > +define FLANNEL_CONFIGURE_CMDS
> > +	mkdir -p $(@D)/gopath/src/github.com/coreos
> > +	ln -s $(@D) $(@D)/gopath/src/github.com/coreos/flannel
> 
> This probably warrants a comment above to explain why this is needed.

OK.



More information about the buildroot mailing list