Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
To: Konrad Weihmann <kweihmann@outlook.com>,
	"openembedded-core@lists.openembedded.org"
	<openembedded-core@lists.openembedded.org>
Subject: RE: [OE-core] [PATCH 3/3] update-rc.d: fix append in DEPENDS
Date: Mon, 4 Oct 2021 15:09:40 +0000	[thread overview]
Message-ID: <843f916fb31a4b559b89042356423584@axis.com> (raw)
In-Reply-To: <AM9PR09MB46420CA5C827065A7E8AA58CA8AE9@AM9PR09MB4642.eurprd09.prod.outlook.com>

> -----Original Message-----
> From: openembedded-core@lists.openembedded.org <openembedded-
> core@lists.openembedded.org> On Behalf Of Konrad Weihmann
> Sent: den 4 oktober 2021 15:29
> To: openembedded-core@lists.openembedded.org
> Cc: Konrad Weihmann <kweihmann@outlook.com>
> Subject: [OE-core] [PATCH 3/3] update-rc.d: fix append in DEPENDS
> 
> fix the append with a leading blank, otherwise this messes up
> DEPENDS when globally inherited classes add dependecies of their own
> 
> Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
> ---
>  meta/classes/update-rc.d.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-
> rc.d.bbclass
> index 0a3a608662..921df98584 100644
> --- a/meta/classes/update-rc.d.bbclass
> +++ b/meta/classes/update-rc.d.bbclass
> @@ -1,6 +1,6 @@
>  UPDATERCPN ?= "${PN}"
> 
> -DEPENDS:append:class-target = "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', ' update-rc.d initscripts', '', d)}"
> +DEPENDS:append:class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', ' update-rc.d initscripts', '', d)}"

This change is not needed as there already is a space inside 
the if statement (in ' update-rc.d initscripts').

> 
>  UPDATERCD = "update-rc.d"
>  UPDATERCD:class-cross = ""
> --
> 2.25.1

//Peter



      reply	other threads:[~2021-10-04 15:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20211004132853.30543-1-kweihmann@outlook.com>
2021-10-04 13:28 ` [PATCH 2/3] glibc: fix append in DEPENDS Konrad Weihmann
2021-10-04 15:08   ` [OE-core] " Peter Kjellerstedt
2021-10-04 15:13     ` Konrad Weihmann
2021-10-04 15:29       ` Martin Jansa
2021-10-04 15:34         ` Konrad Weihmann
2021-10-04 13:28 ` [PATCH 3/3] update-rc.d: " Konrad Weihmann
2021-10-04 15:09   ` Peter Kjellerstedt [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=843f916fb31a4b559b89042356423584@axis.com \
    --to=peter.kjellerstedt@axis.com \
    --cc=kweihmann@outlook.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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