* [Buildroot] [PATCH] package/rauc: add option to enable gpt support
@ 2022-02-17 14:21 Marcus Hoffmann
2022-05-10 20:26 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Marcus Hoffmann @ 2022-02-17 14:21 UTC (permalink / raw)
To: buildroot; +Cc: Andrey Yurovsky
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH] package/rauc: add option to enable gpt support
2022-02-17 14:21 [Buildroot] [PATCH] package/rauc: add option to enable gpt support Marcus Hoffmann
@ 2022-05-10 20:26 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2022-05-10 20:26 UTC (permalink / raw)
To: Marcus Hoffmann; +Cc: Andrey Yurovsky, buildroot
>>>>> "Marcus" == Marcus Hoffmann <marcus.hoffmann@othermo.de> writes:
> GPT support was disabled by default before.
> Signed-off-by: Marcus Hoffmann <marcus.hoffmann@othermo.de>
Committed, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-10 20:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-17 14:21 [Buildroot] [PATCH] package/rauc: add option to enable gpt support Marcus Hoffmann
2022-05-10 20:26 ` Peter Korsgaard
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.