From patchwork Tue Feb 5 15:51:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1036840 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="OrFvOikh"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43v8GC0mNMz9sMM for ; Wed, 6 Feb 2019 02:52:02 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 3730481F22; Tue, 5 Feb 2019 15:51:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nzehi7ePUoq7; Tue, 5 Feb 2019 15:51:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 97BED884F5; Tue, 5 Feb 2019 15:51:46 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 2B8F71BF958 for ; Tue, 5 Feb 2019 15:51:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 296AC8681D for ; Tue, 5 Feb 2019 15:51:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qCx8z4x5PE5R for ; Tue, 5 Feb 2019 15:51:27 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by fraxinus.osuosl.org (Postfix) with ESMTPS id AAE05867F9 for ; Tue, 5 Feb 2019 15:51:26 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id a16so4213975wrv.0 for ; Tue, 05 Feb 2019 07:51:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id; bh=pWY61oFpqRWbWjH5kj9nAt/g8R1D9L/EBsmOAjsL78U=; b=OrFvOikhy0d6w8btdoQyqkxAxh4S9ZXuuXGh/K5vr70kulLwkI4lBF/DcmbOYQ94J9 EJaAdwj2dE+XvruWLoJDe6DVOsyU8lHZYMj4D8YB0oygdTAcbvtZwD/g7Re64ah1J7Zo neYTPn35O3uazRG3zLmkF7F3dRQfN0PxAM1To= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=pWY61oFpqRWbWjH5kj9nAt/g8R1D9L/EBsmOAjsL78U=; b=LjBhwMYsc3j0/v1bzJg0H0k7wqS9POv1IjxM4/fIgRX1CZo/YHCK6bDxXR/1UrK03w jkJ7pbbqVA1/AKpTsftrFaGIHk1bF7k9Cmij/SXjJXJR7hprmdhOCVwN0XStEks5QoK9 e4vrE1egyR5WIKsKWSjk03vfgFklZekwK4Il3uNQv/TpnVDxVI/hmil4wKMUXc0HWDel CHIItHCkpbuBQLHk8bfkeEy4G1K2AUWETl55mRwjtBF3luGUMwnqv3rlAIlX/RcEN4A2 9LKQ6BEG4fCiJQ508tdgfnDyiyi5KPhrdvpaxIo6/gw7vHXbKi7HpKLCBxCvIhOMqCwz zgCQ== X-Gm-Message-State: AHQUAubnhP0HjRQqqwLADGSwMys6wu/bd7MpaUaZz+/DrO6SCqiDNe+t EI9db6EkmrNxDGZP06SA0J76V18kIakblw== X-Google-Smtp-Source: AHgI3IZdFZPpPF1r2S0tRYFxfVB79ILENEQSf4LpYG2BD/IHt8mzBimuLV4e6k87OdX4S8+Q38VEQQ== X-Received: by 2002:adf:ea81:: with SMTP id s1mr4049147wrm.309.1549381884375; Tue, 05 Feb 2019 07:51:24 -0800 (PST) Received: from localhost.localdomain ([2620:0:1055:fd00:3c25:d51f:f59f:7d82]) by smtp.gmail.com with ESMTPSA id w125sm33813224wmb.45.2019.02.05.07.51.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 07:51:23 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 5 Feb 2019 16:51:09 +0100 Message-Id: <1549381879-2207-1-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 Subject: [Buildroot] [PATCH 00/10] Adding mender-artifact X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Angelo Compagnucci MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" 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. Angelo Compagnucci (9): package/go: refactor host/target dependencies package/docker-cli: using BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS package/docker-containerd: using BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS package/docker-engine: using BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS package/docker-proxy: using BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS package/flannel: using BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS package/mender: using BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS package/runc: using BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS package/mender-artifact: initial support Mirza Krak (1): package/pkg-golang: add support for building host packages DEVELOPERS | 1 + docs/manual/adding-packages-golang.txt | 5 ++-- package/Config.in.host | 1 + package/docker-cli/Config.in | 6 ++--- package/docker-containerd/Config.in | 6 ++--- package/docker-engine/Config.in | 6 ++--- package/docker-proxy/Config.in | 6 ++--- package/flannel/Config.in | 6 ++--- package/go/Config.in.host | 12 ++++++--- package/mender-artifact/Config.in.host | 18 ++++++++++++++ package/mender-artifact/mender-artifact.hash | 28 +++++++++++++++++++++ package/mender-artifact/mender-artifact.mk | 30 ++++++++++++++++++++++ package/mender/Config.in | 6 ++--- package/pkg-golang.mk | 37 +++++++++++++++++++++++++--- package/runc/Config.in | 6 ++--- 15 files changed, 138 insertions(+), 36 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