From patchwork Tue May 14 09:04:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mirza Krak X-Patchwork-Id: 1099370 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=fail (p=none dis=none) header.from=northern.tech Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=northern.tech header.i=@northern.tech header.b="f4Z/Rag5"; 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 453BmP343Kz9sNk for ; Tue, 14 May 2019 19:12:53 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id EF8EB84AF1; Tue, 14 May 2019 09:12:50 +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 AvaTepKIbOYN; Tue, 14 May 2019 09:12:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 5573284B57; Tue, 14 May 2019 09:12:50 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 046A41BF20B for ; Tue, 14 May 2019 09:12:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 0129684B57 for ; Tue, 14 May 2019 09:12:49 +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 DsFeILIKc3EC for ; Tue, 14 May 2019 09:12:47 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lj1-f193.google.com (mail-lj1-f193.google.com [209.85.208.193]) by hemlock.osuosl.org (Postfix) with ESMTPS id C0B5684AF1 for ; Tue, 14 May 2019 09:12:46 +0000 (UTC) Received: by mail-lj1-f193.google.com with SMTP id a10so5622973ljf.6 for ; Tue, 14 May 2019 02:12:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=northern.tech; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DPH642gHc3jeOEddVGBXDiPz1XiEw6SQ+FZUZharDac=; b=f4Z/Rag5z4udN7s029WNldAqpHbKep5yFS7ZUzuHjxzI9D5XbPclZy1e/dUIrzEusK PUKPhNlWhxOQkd95XsjQNY5T6upI7F8gT9UvvywPOs7DiSsADInlC1obxajDnFszFUCs bZmFu2j5pgB8s+KvwDew1Mg86cxUHYAWwHoM6IA+Ih7RLGI6DdVtLUqiTuNnrHW3cu41 xht3wNA0ev+YX0k8mxAhDAKdhHClK6nA2RdQyabNKfUfyFmcwwSGpf+TloG6oPQLohCk CY2H26JTDETpTXI42fQ6kXnjT/aNQz8yYBc3HbM3cMhG4CFGQmsip5Ke20fYl9PytYBw Cr4Q== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=DPH642gHc3jeOEddVGBXDiPz1XiEw6SQ+FZUZharDac=; b=CW9IRJi9IJZYDs9pVvfQ15UFKBZbkpcoBYBSw536qIGronAAyZvaE2QM4CO+/2QXa2 A80a2nTgze01uRFY0DlWVg9BCJVvY92XCCp6XG2nM54FNBqBuc0sr1t+h919m4VjRP0h EOuQk+SqE6g02URql2g1aNeGOG0C52XswLkB9zJZbCUbnXqpNUaXfopQzuwnjpkaBpcS GebojI0FlOuWNLx+7TfFJM+UCJjiPS3aSF1M/12KJXYb33dH2mZEx4kXjoZ2bMijIzSv 4ULEvYmMarwZsPMCBVyn5UiNvE/uFypfZALwkTU8OBWZmQG6mCTj/IuZ85/oYwJkAbja gZLQ== X-Gm-Message-State: APjAAAUSJT0BY+b96mtNVhgFP/gFJx6BAif2rjuqnpRg/pq4/hT0gzcN tM5iRrh8b6NIf+GQs3Dabk8s7nbvPxh54g== X-Google-Smtp-Source: APXvYqycIT5nqUIQch20MHqDWWxlNZAeikxUuKoKaHXBccRSFNgLfE0B9zjZPMpZqLRPzHq3Kz6/Vg== X-Received: by 2002:a2e:84ce:: with SMTP id q14mr16526899ljh.80.1557824704076; Tue, 14 May 2019 02:05:04 -0700 (PDT) Received: from localhost.localdomain (90-231-250-169-no154.tbcn.telia.com. [90.231.250.169]) by smtp.gmail.com with ESMTPSA id i187sm2961648lfe.64.2019.05.14.02.05.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 May 2019 02:05:03 -0700 (PDT) From: Mirza Krak To: buildroot@buildroot.org Date: Tue, 14 May 2019 11:04:50 +0200 Message-Id: <20190514090450.20142-3-mirza.krak@northern.tech> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190514090450.20142-1-mirza.krak@northern.tech> References: <20190514090450.20142-1-mirza.krak@northern.tech> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/2] package/mender: install additional inventory scripts 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: Mirza Krak Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" There are two additional inventory scripts provided in the Mender client repository, lets install them. - mender-inventory-os - will push content of /etc/os-release - mender-inventory-rootfs-type - will push filesystem type of rootfs Signed-off-by: Mirza Krak --- package/mender/mender.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/mender/mender.mk b/package/mender/mender.mk index 07f6e5e5f9..d56b634713 100644 --- a/package/mender/mender.mk +++ b/package/mender/mender.mk @@ -46,7 +46,7 @@ define MENDER_INSTALL_CONFIG_FILES $(INSTALL) -D -m 0755 $(@D)/support/mender-device-identity \ $(TARGET_DIR)/usr/share/mender/identity/mender-device-identity - $(foreach f,hostinfo network, \ + $(foreach f,hostinfo network os rootfs-type, \ $(INSTALL) -D -m 0755 $(@D)/support/mender-inventory-$(f) \ $(TARGET_DIR)/usr/share/mender/inventory/mender-inventory-$(f) )