mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/2] rauc: add option to enable GPT bootloader partition update support
@ 2021-11-10 17:08 Enrico Jorns
  2021-11-10 17:08 ` [ptxdist] [PATCH 2/2] rauc: print 'RAUC' uppercase in Kconfig menu Enrico Jorns
  2021-11-26 14:35 ` [ptxdist] [APPLIED] rauc: add option to enable GPT bootloader partition update support Michael Olbrich
  0 siblings, 2 replies; 4+ messages in thread
From: Enrico Jorns @ 2021-11-10 17:08 UTC (permalink / raw)
  To: ptxdist; +Cc: ejo, jlu

The --enable-gpt switch was introduced in RAUC v1.4.

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
---
 rules/rauc.in   | 11 +++++++++++
 rules/rauc.make |  1 +
 2 files changed, 12 insertions(+)

diff --git a/rules/rauc.in b/rules/rauc.in
index 744bc95d9..373aca244 100644
--- a/rules/rauc.in
+++ b/rules/rauc.in
@@ -14,6 +14,7 @@ menuconfig RAUC
 	select DBUS				if RAUC_SERVICE
 	select LIBCURL				if RAUC_NETWORK
 	select JSON_GLIB			if RAUC_JSON
+	select UTIL_LINUX_NG_LIBFDISK		if RAUC_GPT
 	select SQUASHFS_TOOLS			if RUNTIME
 	select SQUASHFS_TOOLS_UNSQUASHFS	if RUNTIME
 	select DT_UTILS				if RUNTIME && RAUC_BAREBOX
@@ -50,6 +51,16 @@ config RAUC_JSON
 	  Enables JSON output format for 'rauc info' and 'rauc status'.
 	  Output format can be selected via '--output-format=<json/json-pretty>'
 
+config RAUC_GPT
+	bool
+	prompt "Support atomic EFI/bootloader partition updates (GPT)"
+	help
+	  Enables support for atomic bootloader updates on first GPT (EFI)
+	  partition (slot type 'boot-gpt-switch').
+	  For details, see
+	  https://rauc.readthedocs.io/en/latest/advanced.html#update-boot-partition-in-gpt
+
+
 config RAUC_CONFIGURATION
 	bool
 	prompt "Install RAUC configuration in /etc/rauc"
diff --git a/rules/rauc.make b/rules/rauc.make
index 08df6336a..f74f6b62c 100644
--- a/rules/rauc.make
+++ b/rules/rauc.make
@@ -44,6 +44,7 @@ RAUC_CONF_OPT	:= \
 	--$(call ptx/endis,PTXCONF_RAUC_SERVICE)-service \
 	--$(call ptx/endis,PTXCONF_RAUC_NETWORK)-network \
 	--$(call ptx/endis,PTXCONF_RAUC_JSON)-json \
+	--$(call ptx/endis,PTXCONF_RAUC_GPT)-gpt \
 	--with-systemdunitdir=/usr/lib/systemd/system \
 	--with-dbuspolicydir=/usr/share/dbus-1/system.d \
 	--with-dbussystemservicedir=/usr/share/dbus-1/system-services
-- 
2.30.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-11-26 14:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-10 17:08 [ptxdist] [PATCH 1/2] rauc: add option to enable GPT bootloader partition update support Enrico Jorns
2021-11-10 17:08 ` [ptxdist] [PATCH 2/2] rauc: print 'RAUC' uppercase in Kconfig menu Enrico Jorns
2021-11-26 14:35   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-11-26 14:35 ` [ptxdist] [APPLIED] rauc: add option to enable GPT bootloader partition update support Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox