From: Roy Li <rongqing...@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...@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 = "" -- 1.9.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core