From: Rongqing Li <rongqing.li@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] systemd/update-rc.d: set UPDATERCD to empty if systemd is used
Date: Mon, 26 Jan 2015 11:29:30 +0800 [thread overview]
Message-ID: <54C5B49A.30808@windriver.com> (raw)
In-Reply-To: <1422241586-21660-1-git-send-email-rongqing.li@windriver.com>
Please ignore it.
Thanks
-Roy
On 2015年01月26日 11:06, rongqing.li@windriver.com wrote:
> From: Roy Li <rongqing.li@windriver.com>
>
> if a package is using systemd to manager its start/stop, it does not need
> UPDATERCD, so not need to add update-rc.d into its RRECOMMENDS
>
> Signed-off-by: Roy Li <rongqing.li@windriver.com>
> ---
> meta/classes/systemd.bbclass | 2 ++
> meta/classes/update-rc.d.bbclass | 2 +-
> 2 files changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass
> index 708ba89..58791fa 100644
> --- a/meta/classes/systemd.bbclass
> +++ b/meta/classes/systemd.bbclass
> @@ -8,6 +8,8 @@ SYSTEMD_PACKAGES_class-nativesdk ?= ""
> # Whether to enable or disable the services on installation.
> SYSTEMD_AUTO_ENABLE ??= "enable"
>
> +UPDATERCD = ""
> +
> # This class will be included in any recipe that supports systemd init scripts,
> # even if systemd is not in DISTRO_FEATURES. As such don't make any changes
> # directly but check the DISTRO_FEATURES first.
> diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
> index bc1aa7d..81e96ea 100644
> --- a/meta/classes/update-rc.d.bbclass
> +++ b/meta/classes/update-rc.d.bbclass
> @@ -3,7 +3,7 @@ UPDATERCPN ?= "${PN}"
> DEPENDS_append = " update-rc.d-native"
> VIRTUAL-RUNTIME_initscripts ?= "initscripts"
> DEPENDS_append_class-target = " ${VIRTUAL-RUNTIME_initscripts}"
> -UPDATERCD = "update-rc.d"
> +UPDATERCD ?= "update-rc.d"
> UPDATERCD_class-cross = ""
> UPDATERCD_class-native = ""
> UPDATERCD_class-nativesdk = ""
>
--
Best Reagrds,
Roy | RongQing Li
prev parent reply other threads:[~2015-01-26 3:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-26 3:06 [PATCH] systemd/update-rc.d: set UPDATERCD to empty if systemd is used rongqing.li
2015-01-26 3:29 ` Rongqing Li [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=54C5B49A.30808@windriver.com \
--to=rongqing.li@windriver.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.