[Buildroot] [PATCH 1/1] package/mender-artifact: fix module permissions
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Thu Aug 13 19:23:56 UTC 2020
On Thu, 13 Aug 2020 11:49:47 -0700
aduskett at gmail.com wrote:
> From: Adam Duskett <Aduskett at gmail.com>
>
> Modules downloaded with "go mod" are downloaded as read-only, which the Go
> maintainers have intentionally done.
> https://github.com/golang/go/issues/27161
>
> As mender-artifact now uses go modules, when cleaning, a user will receive
> permission-denied errors due to the above issue.
>
> The fix, however, is relatively straight forward. Setting the "-mod=vendor"
> flag in the GO_ENV will set go modules to read/write, which allows
> "make clean" to work correctly.
>
> Signed-off-by: Mirza Krak <mirza.krak at northern.tech>
> Signed-off-by: Adam Duskett <Aduskett at gmail.com>
Thanks, but will this fix the host-mender-artifact download issues as
well ?
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list