package/mender-artifact: do not download modules during the build process
authorAdam Duskett <Aduskett@gmail.com>
Thu, 13 Aug 2020 20:29:52 +0000 (13:29 -0700)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 29 Aug 2020 11:52:02 +0000 (13:52 +0200)
commitcfe47f4f79f016370bd7ab30e0b049f4e8a37e5e
tree1774cf236aab2738c21f5a44f04fa9f311291ff8
parented33cecb51dbc1aa6363e03bea99259b68a6f15f
package/mender-artifact: do not download modules during the build process

By default, go will attempt to download needed modules before building, which
is not desirable. This behavior also causes permission issues when cleaning,
as go downloads modules as read-only by default. Because mender-artifact
includes the modules in the vendor directory, mod=vendor prevents the package
from downloading the go modules during the build process and prevents
permission issues when cleaning.

Fixes:
http://autobuild.buildroot.net/results/d5bcaca73ae74fe8b0ebd39b6331564cd639fb66

Signed-off-by: Mirza Krak <mirza.krak@northern.tech>
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/mender-artifact/mender-artifact.mk