diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2016-12-14 13:51:37 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-02 11:25:33 +0000 |
commit | 68f020f368f725b1930b3d053ebf542ad1dd34bc (patch) | |
tree | 920304422eada3b722a17ad2294f0bd4bc9c3cec | |
parent | e58caad4869d66e6c13f02d8af263fefef72e49f (diff) | |
download | poky-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.bb | 2 |
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" | |||
50 | RDEPENDS_${PN} = "initd-functions \ | 50 | RDEPENDS_${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 | ||
54 | RRECOMMENDS_${PN} = "${PN}-functions" | ||
53 | RPROVIDES_${PN}-functions = "initd-functions" | 55 | RPROVIDES_${PN}-functions = "initd-functions" |
54 | RCONFLICTS_${PN}-functions = "lsbinitscripts" | 56 | RCONFLICTS_${PN}-functions = "lsbinitscripts" |
55 | FILES_${PN}-functions = "${sysconfdir}/init.d/functions*" | 57 | FILES_${PN}-functions = "${sysconfdir}/init.d/functions*" |