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: leverage --disable-create option to shrink size for target RAUC
Date: Mon, 20 Jun 2022 08:19:59 +0200	[thread overview]
Message-ID: <20220620061959.1493126-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20220615142217.990960-4-ejo@pengutronix.de>

Thanks, applied as c2ad273712cfb89c292dd5a72e8e1ee87a997ab7.

Michael

[sent from post-receive hook]

On Mon, 20 Jun 2022 08:19:59 +0200, Enrico Jorns <ejo@pengutronix.de> wrote:
> We do not need bundle creation capabilities on the target in most cases,
> thus make this optional (and disable by default).
> 
> Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
> Message-Id: <20220615142217.990960-4-ejo@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/host-rauc.make b/rules/host-rauc.make
> index e5190bb8e60a..f0716da042b6 100644
> --- a/rules/host-rauc.make
> +++ b/rules/host-rauc.make
> @@ -27,6 +27,7 @@ HOST_RAUC_CONF_OPT	:= \
>  	--disable-Werror \
>  	--disable-code-coverage \
>  	--disable-valgrind \
> +	--enable-create \
>  	--disable-service \
>  	--enable-create \
>  	--disable-network \
> diff --git a/rules/rauc.in b/rules/rauc.in
> index c6c697df7e9d..fa24fa61d318 100644
> --- a/rules/rauc.in
> +++ b/rules/rauc.in
> @@ -27,6 +27,15 @@ menuconfig RAUC
>  
>  if RAUC
>  
> +config RAUC_CREATE
> +	bool
> +	prompt "Enable bundle creation support on target"
> +	help
> +	  Enables support for creating bundles on target.
> +	  Disabling this will remove functionality required for bundle
> +	  creation which is not required on the target in most cases and thus
> +	  allows to save space.
> +
>  config RAUC_SERVICE
>  	bool
>  	prompt "Enable service (D-Bus) support"
> diff --git a/rules/rauc.make b/rules/rauc.make
> index 78f6c894b73e..6a2d49343105 100644
> --- a/rules/rauc.make
> +++ b/rules/rauc.make
> @@ -43,6 +43,7 @@ RAUC_CONF_OPT	:= \
>  	--disable-Werror \
>  	--disable-code-coverage \
>  	--disable-valgrind \
> +	--$(call ptx/endis,PTXCONF_RAUC_CREATE)-create \
>  	--$(call ptx/endis,PTXCONF_RAUC_SERVICE)-service \
>  	--disable-create \
>  	--$(call ptx/endis,PTXCONF_RAUC_NETWORK)-network \



  parent reply	other threads:[~2022-06-20  6:24 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-15 14:22 [ptxdist] [PATCH 0/5] RAUC: update to v1.7 and add some new options Enrico Jorns
2022-06-15 14:22 ` [ptxdist] [PATCH 1/5] RAUC: version bump 1.5.1 -> 1.7 Enrico Jorns
2022-06-20  6:19   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-06-15 14:22 ` [ptxdist] [PATCH 2/5] RAUC: add option to enable streaming support Enrico Jorns
2022-06-17  6:28   ` Michael Olbrich
2022-06-17  9:47     ` Enrico Jörns
2022-06-17 10:27       ` Michael Olbrich
2022-06-17 10:48         ` Michael Olbrich
2022-06-17 11:47           ` Enrico Jörns
2022-06-17 12:04             ` Michael Olbrich
2022-06-17 10:57         ` Alexander Dahl
2022-06-20  6:19   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-06-15 14:22 ` [ptxdist] [PATCH 3/5] RAUC: leverage --disable-create option to shrink size for target RAUC Enrico Jorns
2022-06-15 15:48   ` Alexander Dahl
2022-06-15 21:03     ` Enrico Jörns
2022-06-16  6:16       ` Alexander Dahl
2022-06-16 13:53         ` Enrico Jörns
2022-06-20  6:19   ` Michael Olbrich [this message]
2022-06-15 14:22 ` [ptxdist] [PATCH 4/5] image-rauc: add support for crypt bundles Enrico Jorns
2022-06-20  6:20   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-06-15 14:22 ` [ptxdist] [PATCH 5/5] image-rauc: default to 'verity' bundle format Enrico Jorns
2022-06-20  6:20   ` [ptxdist] [APPLIED] " Michael Olbrich

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=20220620061959.1493126-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