Skip to content

Adding mender-artifact

Angelo Compagnucci buildroot 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesNew
  2. v210 patches 0 repliesSuperseded
  3. v110 patches 0 repliesSuperseded

Changes in v3 from the cover letter

Suggestions from Thomas Petazzoni
- renaming BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS to
BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS

- adding a BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS

- Comment above both options in the Config.in.host file to explain which option should be used for what.

- BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS should be removed.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3package/go: refactor host/target dependenciesdocs/manual/adding-packages-golang.txt package/docker-cli/Config.in package/docker-containerd/Config.in +6 more+37 -341 reply
2/3package/pkg-golang: add support for building host packagesdocs/manual/adding-packages-golang.txt package/go/Config.in.host package/pkg-golang.mk+45 -51 reply
3/3package/mender-artifact: new packageDEVELOPERS package/Config.in.host package/mender-artifact/Config.in.host +2 more+80 -01 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAngelo CompagnucciAdam Duskett
1/3T-b
2/3A-b T-b T-b
3/3T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Buildroot] [PATCH v3 0/3] Adding mender-artifact

This patch tries to resurrect an effort of Mizra from August to porting the mender-artifact tool to buildroot
(https://patchwork.ozlabs.org/cover/962487/).

Mender artifact is a tool to generate artifacts for the mender software, it is therefore an host tool and it's the last piece to add to have mender
available on buildroot.
To have it compiled as an host tool, we need to enable support for host packages in go.
So the intent of this patch is:
* Enabling host golang packages
* Refactoring dependencies to distinguish between host packages and target packages
* Adding mender-artifact

The initial patch for mender-artifact was from Mizra but I completely rewrote it, so I removed the signoff.

Changelog:
[v2 -> v3]
Suggestions from Thomas Petazzoni
- renaming BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS to
BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS

- adding a BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS

- Comment above both options in the Config.in.host file to explain which option should be used for what.

- BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS should be removed.

Angelo Compagnucci (2):
package/go: refactor host/target dependencies
package/mender-artifact: new package

Mirza Krak (1):
package/pkg-golang: add support for building host packages

 DEVELOPERS                                   |  1 +
 docs/manual/adding-packages-golang.txt       | 15 +++++++----
 package/Config.in.host                       |  1 +
 package/docker-cli/Config.in                 |  8 +++---
 package/docker-containerd/Config.in          |  8 +++---
 package/docker-engine/Config.in              |  8 +++---
 package/docker-proxy/Config.in               |  8 +++---
 package/flannel/Config.in                    |  8 +++---
 package/go/Config.in.host                    | 13 +++++++---
 package/mender-artifact/Config.in.host       | 18 ++++++++++++++
 package/mender-artifact/mender-artifact.hash | 28 +++++++++++++++++++++
 package/mender-artifact/mender-artifact.mk   | 32 ++++++++++++++++++++++++
 package/mender/Config.in                     |  8 +++---
 package/pkg-golang.mk                        | 37 +++++++++++++++++++++++++---
 package/runc/Config.in                       |  8 +++---
 15 files changed, 162 insertions(+), 39 deletions(-)
 create mode 100644 package/mender-artifact/Config.in.host
 create mode 100644 package/mender-artifact/mender-artifact.hash
 create mode 100644 package/mender-artifact/mender-artifact.mk
Signature · 1 line
2.7.4