mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Enrico Jorns <ejo@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] rauc: add option to enable GPT bootloader partition update support
Date: Fri, 26 Nov 2021 15:35:08 +0100	[thread overview]
Message-ID: <20211126143508.1208000-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20211110170853.4090399-1-ejo@pengutronix.de>

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


      parent reply	other threads:[~2021-11-26 14:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-10 17:08 [ptxdist] [PATCH 1/2] " 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 ` Michael Olbrich [this message]

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=20211126143508.1208000-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ejo@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox