aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-12-14 13:51:37 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-02 11:24:36 +0000
commitd32eaebed5726c6157a2ac993baeb6d16683ade7 (patch)
treea7643e544e34a7bf5b1084937fdc4bf54c371943
parent1202307b24def6cb7e6ebc92b47736e42d32cbb6 (diff)
downloadopenembedded-core-d32eaebed5726c6157a2ac993baeb6d16683ade7.zip
openembedded-core-d32eaebed5726c6157a2ac993baeb6d16683ade7.tar.gz
openembedded-core-d32eaebed5726c6157a2ac993baeb6d16683ade7.tar.bz2
initscripts: rrecommend initscripts-functions
In order to make that the default provider for initd-functions. [YOCTO #10944] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rw-r--r--meta/recipes-core/initscripts/initscripts_1.0.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb
index 1167735..91eea4b 100644
--- a/meta/recipes-core/initscripts/initscripts_1.0.bb
+++ b/meta/recipes-core/initscripts/initscripts_1.0.bb
@@ -50,6 +50,8 @@ PACKAGES =+ "${PN}-functions ${PN}-sushell"
RDEPENDS_${PN} = "initd-functions \
${@bb.utils.contains('DISTRO_FEATURES','selinux','${PN}-sushell','',d)} \
"
+# Recommend pn-functions so that it will be a preferred default provider for initd-functions
+RRECOMMENDS_${PN} = "${PN}-functions"
RPROVIDES_${PN}-functions = "initd-functions"
RCONFLICTS_${PN}-functions = "lsbinitscripts"
FILES_${PN}-functions = "${sysconfdir}/init.d/functions*"