Re: [OE-core] [PATCH] [RFC] go.bbclass: install dependencies under $GOPATH instead of $GOROOT

2018-12-20 Thread Damien Riegel
On Thu, 20 Dec 2018 at 11:00, Matt Madison wrote: > > On Thu, Dec 20, 2018 at 6:02 AM Damien Riegel wrote: > > > > On Thu, 20 Dec 2018 at 07:53, Matt Madison wrote: > > > > > > On Wed, Dec 19, 2018 at 5:52 PM Damien Riegel > > > wrote: > > > > > > > > On Wed, 19 Dec 2018 at 16:41, Matt Madison

Re: [OE-core] [PATCH] [RFC] go.bbclass: install dependencies under $GOPATH instead of $GOROOT

2018-12-20 Thread Matt Madison
On Thu, Dec 20, 2018 at 6:02 AM Damien Riegel wrote: > > On Thu, 20 Dec 2018 at 07:53, Matt Madison wrote: > > > > On Wed, Dec 19, 2018 at 5:52 PM Damien Riegel > > wrote: > > > > > > On Wed, 19 Dec 2018 at 16:41, Matt Madison wrote: > > > > > > > > On Wed, Dec 19, 2018 at 9:51 AM Damien Riege

Re: [OE-core] [PATCH] [RFC] go.bbclass: install dependencies under $GOPATH instead of $GOROOT

2018-12-20 Thread Damien Riegel
On Thu, 20 Dec 2018 at 07:53, Matt Madison wrote: > > On Wed, Dec 19, 2018 at 5:52 PM Damien Riegel wrote: > > > > On Wed, 19 Dec 2018 at 16:41, Matt Madison wrote: > > > > > > On Wed, Dec 19, 2018 at 9:51 AM Damien Riegel > > > wrote: > > > > > > > > To package a go application in Yocto, one

Re: [OE-core] [PATCH] [RFC] go.bbclass: install dependencies under $GOPATH instead of $GOROOT

2018-12-20 Thread Matt Madison
On Wed, Dec 19, 2018 at 5:52 PM Damien Riegel wrote: > > On Wed, 19 Dec 2018 at 16:41, Matt Madison wrote: > > > > On Wed, Dec 19, 2018 at 9:51 AM Damien Riegel > > wrote: > > > > > > To package a go application in Yocto, one needs to also package its > > > dependencies to keep the build reprod

Re: [OE-core] [PATCH] [RFC] go.bbclass: install dependencies under $GOPATH instead of $GOROOT

2018-12-19 Thread Damien Riegel
On Wed, 19 Dec 2018 at 16:41, Matt Madison wrote: > > On Wed, Dec 19, 2018 at 9:51 AM Damien Riegel wrote: > > > > To package a go application in Yocto, one needs to also package its > > dependencies to keep the build reproducible and under control. The > > default install task of the go class pu

Re: [OE-core] [PATCH] [RFC] go.bbclass: install dependencies under $GOPATH instead of $GOROOT

2018-12-19 Thread Matt Madison
On Wed, Dec 19, 2018 at 9:51 AM Damien Riegel wrote: > > To package a go application in Yocto, one needs to also package its > dependencies to keep the build reproducible and under control. The > default install task of the go class puts the source in ${libdir}/go/src. > > ${libdir}/go/src is wher

[OE-core] [PATCH] [RFC] go.bbclass: install dependencies under $GOPATH instead of $GOROOT

2018-12-19 Thread Damien Riegel
To package a go application in Yocto, one needs to also package its dependencies to keep the build reproducible and under control. The default install task of the go class puts the source in ${libdir}/go/src. ${libdir}/go/src is where the standard go packages resides, aka $GOROOT. When a go packag