Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Angelo Compagnucci <angelo@amarulasolutions.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 0/3] Adding mender-artifact
Date: Wed,  6 Feb 2019 14:23:56 +0100	[thread overview]
Message-ID: <1549459439-2260-1-git-send-email-angelo@amarulasolutions.com> (raw)

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

-- 
2.7.4

             reply	other threads:[~2019-02-06 13:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-06 13:23 Angelo Compagnucci [this message]
2019-02-06 13:23 ` [Buildroot] [PATCH v3 1/3] package/go: refactor host/target dependencies Angelo Compagnucci
2019-02-11 15:42   ` Adam Duskett
2019-02-06 13:23 ` [Buildroot] [PATCH v3 2/3] package/pkg-golang: add support for building host packages Angelo Compagnucci
2019-02-11 15:42   ` Adam Duskett
2019-02-06 13:23 ` [Buildroot] [PATCH v3 3/3] package/mender-artifact: new package Angelo Compagnucci
2019-02-11 15:44   ` Adam Duskett
2019-03-17 16:32 ` [Buildroot] [PATCH v3 0/3] Adding mender-artifact Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1549459439-2260-1-git-send-email-angelo@amarulasolutions.com \
    --to=angelo@amarulasolutions.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox