summaryrefslogtreecommitdiffstats
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:25:33 +0000
commit68f020f368f725b1930b3d053ebf542ad1dd34bc (patch)
tree920304422eada3b722a17ad2294f0bd4bc9c3cec
parente58caad4869d66e6c13f02d8af263fefef72e49f (diff)
downloadpoky-68f020f368f725b1930b3d053ebf542ad1dd34bc.tar.gz
initscripts: rrecommend initscripts-functions
In order to make that the default provider for initd-functions. [YOCTO #10944] (From OE-Core rev: d32eaebed5726c6157a2ac993baeb6d16683ade7) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 1167735756..91eea4b8c2 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"
50RDEPENDS_${PN} = "initd-functions \ 50RDEPENDS_${PN} = "initd-functions \
51 ${@bb.utils.contains('DISTRO_FEATURES','selinux','${PN}-sushell','',d)} \ 51 ${@bb.utils.contains('DISTRO_FEATURES','selinux','${PN}-sushell','',d)} \
52 " 52 "
53# Recommend pn-functions so that it will be a preferred default provider for initd-functions
54RRECOMMENDS_${PN} = "${PN}-functions"
53RPROVIDES_${PN}-functions = "initd-functions" 55RPROVIDES_${PN}-functions = "initd-functions"
54RCONFLICTS_${PN}-functions = "lsbinitscripts" 56RCONFLICTS_${PN}-functions = "lsbinitscripts"
55FILES_${PN}-functions = "${sysconfdir}/init.d/functions*" 57FILES_${PN}-functions = "${sysconfdir}/init.d/functions*"