All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcus Hoffmann <marcus.hoffmann@othermo.de>
To: buildroot@buildroot.org
Cc: Andrey Yurovsky <yurovsky@gmail.com>
Subject: [Buildroot] [PATCH] package/rauc: add option to enable gpt support
Date: Thu, 17 Feb 2022 15:21:19 +0100	[thread overview]
Message-ID: <20220217142120.576220-1-marcus.hoffmann@othermo.de> (raw)

GPT support was disabled by default before.

Signed-off-by: Marcus Hoffmann <marcus.hoffmann@othermo.de>
---
 package/rauc/Config.in | 6 ++++++
 package/rauc/rauc.mk   | 7 +++++++
 2 files changed, 13 insertions(+)

diff --git a/package/rauc/Config.in b/package/rauc/Config.in
index b4f7b81948..2ea51f5bad 100644
--- a/package/rauc/Config.in
+++ b/package/rauc/Config.in
@@ -25,6 +25,12 @@ config BR2_PACKAGE_RAUC_DBUS
 	  This option enables support for controlling rauc through
 	  D-Bus.
 
+config BR2_PACKAGE_RAUC_GPT
+	bool "GPT support"
+	select BR2_PACKAGE_UTIL_LINUX_LIBFDISK
+	help
+	    This option enables support for GPT partition tables.
+
 config BR2_PACKAGE_RAUC_NETWORK
 	bool "network support"
 	select BR2_PACKAGE_LIBCURL
diff --git a/package/rauc/rauc.mk b/package/rauc/rauc.mk
index 39f5255812..0a631c4092 100644
--- a/package/rauc/rauc.mk
+++ b/package/rauc/rauc.mk
@@ -19,6 +19,13 @@ else
 RAUC_CONF_OPTS += --disable-service
 endif
 
+ifeq ($(BR2_PACKAGE_RAUC_GPT),y)
+RAUC_CONF_OPTS += --enable-gpt
+RAUC_DEPENDENCIES += util-linux-libs
+else
+RAUC_CONF_OPTS += --disable-gpt
+endif
+
 ifeq ($(BR2_PACKAGE_RAUC_NETWORK),y)
 RAUC_CONF_OPTS += --enable-network
 RAUC_DEPENDENCIES += libcurl
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

             reply	other threads:[~2022-02-17 14:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-17 14:21 Marcus Hoffmann [this message]
2022-05-10 20:26 ` [Buildroot] [PATCH] package/rauc: add option to enable gpt support Peter Korsgaard

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=20220217142120.576220-1-marcus.hoffmann@othermo.de \
    --to=marcus.hoffmann@othermo.de \
    --cc=buildroot@buildroot.org \
    --cc=yurovsky@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.