diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2016-12-14 13:51:37 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-06 10:13:55 +0000 |
commit | a57b91883d3256ebda15f141e13c25ef936891d2 (patch) | |
tree | da030b90f3c36fca9ab3bc3f05a224e1a2b2404e | |
parent | 09970d39b1d6870eb6e194343a5c0b318086b3d9 (diff) | |
download | poky-a57b91883d3256ebda15f141e13c25ef936891d2.tar.gz |
initscripts: rrecommend initscripts-functions
In order to make that the default provider for initd-functions.
[YOCTO #10944]
(From OE-Core rev: 8401db8eb3beca12fd76da2448f99a61c3383a33)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
(cherry picked from commit d32eaebed5726c6157a2ac993baeb6d16683ade7)
Signed-off-by: Armin Kuster <akuster808@gmail.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*" |