mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Enrico Jörns" <ejo@pengutronix.de>
To: Michael Tretter <m.tretter@pengutronix.de>, ptxdist@pengutronix.de
Cc: ejo <ejo@pengutronix.de>
Subject: Re: [ptxdist] [PATCH 2/3] rauc: extend and align option pinning with configure order
Date: Tue, 04 Jul 2023 11:25:06 +0200	[thread overview]
Message-ID: <de08f1bbd4c60b6323392d0a01ba096edc4dacdb.camel@pengutronix.de> (raw)
In-Reply-To: <20230704091808.GB13288@pengutronix.de>

Am Dienstag, dem 04.07.2023 um 11:18 +0200 schrieb Michael Tretter:
> On Fri, 30 Jun 2023 22:49:26 +0200, Enrico Jorns wrote:
> > Adds missing pinned configuration options and fixes ordering between
> > create and service option.
> > 
> > Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
> > ---
> >  rules/host-rauc.make | 2 ++
> >  rules/rauc.make      | 3 ++-
> >  2 files changed, 4 insertions(+), 1 deletion(-)
> > 
> > diff --git a/rules/host-rauc.make b/rules/host-rauc.make
> > index e5190bb8e..0dc727e6d 100644
> > --- a/rules/host-rauc.make
> > +++ b/rules/host-rauc.make
> > @@ -30,9 +30,11 @@ HOST_RAUC_CONF_OPT   := \
> >         --disable-service \
> >         --enable-create \
> >         --disable-network \
> > +       --disable-streaming \
> >         --disable-json \
> >         --disable-gpt \
> >         --with-gcov=gcov \
> > +       --with-streaming-user=nobody \
> >         --with-systemdunitdir=/usr/lib/systemd/system \
> >         --with-dbuspolicydir=/usr/share/dbus-1/system.d \
> >         --with-dbussystemservicedir=/usr/share/dbus-1/system-services \
> > diff --git a/rules/rauc.make b/rules/rauc.make
> > index 35a4e8445..14e9f5ced 100644
> > --- a/rules/rauc.make
> > +++ b/rules/rauc.make
> > @@ -43,13 +43,14 @@ RAUC_CONF_OPT       := \
> >         --disable-Werror \
> >         --disable-code-coverage \
> >         --disable-valgrind \
> > -       --$(call ptx/endis,PTXCONF_RAUC_CREATE)-create \
> >         --$(call ptx/endis,PTXCONF_RAUC_SERVICE)-service \
> > +       --$(call ptx/endis,PTXCONF_RAUC_CREATE)-create \
> 
> Maybe move the reordering of this option to the previous patch. It already
> touches the create option.

My intention was to keep the error fix the potentially changes behavior separate from the reordering
which does not change any behavior.

> >         --$(call ptx/endis,PTXCONF_RAUC_NETWORK)-network \
> >         --$(call ptx/endis,PTXCONF_RAUC_STREAMING)-streaming \
> >         --$(call ptx/endis,PTXCONF_RAUC_JSON)-json \
> >         --$(call ptx/endis,PTXCONF_RAUC_GPT)-gpt \
> >         --with-gcov=gcov \
> > +       --with-streaming_user=nobody \
> 
> The option is inconsistent with the name of the option in the host-rauc
> package. Should there be an underscore or a dash between streaming and user?

Oh, good catch. I actually was confused by option naming here since this was inconsistent in RAUC
itself (see https://github.com/rauc/rauc/pull/1178 ).

Seems I fixed this for the target make only. So the right on is with undescore.


Enrico

> Michael
> 
> >         --with-systemdunitdir=/usr/lib/systemd/system \
> >         --with-dbuspolicydir=/usr/share/dbus-1/system.d \
> >         --with-dbussystemservicedir=/usr/share/dbus-1/system-services \
> > -- 
> > 2.39.2
> > 
> > 
> > 
> 

-- 
Pengutronix e.K.                           | Enrico Jörns                |
Embedded Linux Consulting & Support        | https://www.pengutronix.de/ |
Steuerwalder Str. 21                       | Phone: +49-5121-206917-180  |
31137 Hildesheim, Germany                  | Fax:   +49-5121-206917-9    |




  reply	other threads:[~2023-07-04  9:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-30 20:49 [ptxdist] [PATCH 1/3] rauc: fix PTXCONF_RAUC_CREATE handling Enrico Jorns
2023-06-30 20:49 ` [ptxdist] [PATCH 2/3] rauc: extend and align option pinning with configure order Enrico Jorns
2023-07-04  9:18   ` Michael Tretter
2023-07-04  9:25     ` Enrico Jörns [this message]
2023-07-08  7:03   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-06-30 20:49 ` [ptxdist] [PATCH 3/3] rauc: version bump 1.9 -> 1.10 Enrico Jorns
2023-07-08  7:03   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-07-08  7:03 ` [ptxdist] [APPLIED] rauc: fix PTXCONF_RAUC_CREATE handling 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=de08f1bbd4c60b6323392d0a01ba096edc4dacdb.camel@pengutronix.de \
    --to=ejo@pengutronix.de \
    --cc=m.tretter@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