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

* [ptxdist] [PATCH 2/2] rauc: print 'RAUC' uppercase in Kconfig menu
  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 ` 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
  1 sibling, 1 reply; 4+ messages in thread
From: Enrico Jorns @ 2021-11-10 17:08 UTC (permalink / raw)
  To: ptxdist; +Cc: ejo, jlu

The is consistent with usage in other menus and the correct way to write
'RAUC' anyway.

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
---
 rules/rauc.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/rauc.in b/rules/rauc.in
index 373aca244..aee162b83 100644
--- a/rules/rauc.in
+++ b/rules/rauc.in
@@ -2,7 +2,7 @@
 
 menuconfig RAUC
 	tristate
-	prompt "Rauc Update Tool              "
+	prompt "RAUC Update Tool              "
 	select OPENSSL
 	select GLIB
 	select GLIB_LIBMOUNT
-- 
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

* Re: [ptxdist] [APPLIED] rauc: add option to enable GPT bootloader partition update support
  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 ` Michael Olbrich
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2021-11-26 14:35 UTC (permalink / raw)
  To: ptxdist; +Cc: Enrico Jorns

Thanks, applied as 18421a8862ab7c198be2ee6765c677bb5c23581f.

Michael

[sent from post-receive hook]

On Fri, 26 Nov 2021 15:35:08 +0100, Enrico Jorns <ejo@pengutronix.de> wrote:
> The --enable-gpt switch was introduced in RAUC v1.4.
> 
> Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
> Message-Id: <20211110170853.4090399-1-ejo@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/rauc.in b/rules/rauc.in
> index 744bc95d9d6d..373aca2445c4 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 08df6336a7cd..f74f6b62c0cb 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

_______________________________________________
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

* Re: [ptxdist] [APPLIED] rauc: print 'RAUC' uppercase in Kconfig menu
  2021-11-10 17:08 ` [ptxdist] [PATCH 2/2] rauc: print 'RAUC' uppercase in Kconfig menu Enrico Jorns
@ 2021-11-26 14:35   ` Michael Olbrich
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2021-11-26 14:35 UTC (permalink / raw)
  To: ptxdist; +Cc: Enrico Jorns

Thanks, applied as f8e50a8ff0561963572c52958ff7e282b8494ccf.

Michael

[sent from post-receive hook]

On Fri, 26 Nov 2021 15:35:09 +0100, Enrico Jorns <ejo@pengutronix.de> wrote:
> The is consistent with usage in other menus and the correct way to write
> 'RAUC' anyway.
> 
> Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
> Message-Id: <20211110170853.4090399-2-ejo@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/rauc.in b/rules/rauc.in
> index 373aca2445c4..aee162b83ac4 100644
> --- a/rules/rauc.in
> +++ b/rules/rauc.in
> @@ -2,7 +2,7 @@
>  
>  menuconfig RAUC
>  	tristate
> -	prompt "Rauc Update Tool              "
> +	prompt "RAUC Update Tool              "
>  	select OPENSSL
>  	select GLIB
>  	select GLIB_LIBMOUNT

_______________________________________________
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