summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2018-02-17 07:44:19 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-02-24 10:31:46 +0000
commited551d23d76fa407b58137190a23fa3b4ca9c3e1 (patch)
tree24be691d691f06be627da1c5314dc5c0fce9267a /meta
parentd96f1d2379a170f541b2ce637cb058015e55506b (diff)
downloadpoky-ed551d23d76fa407b58137190a23fa3b4ca9c3e1.tar.gz
update-rc.d: QA regression.
I noticed many new QA warning with arm64 mulitlib suspicious values 'initd-functions-dev' in RRECOMMENDS [multilib] I believe this is a regression via commit http://cgit.openembedded.org/openembedded-core/commit/meta/classes/update-rc.d.bbclass?id=cdcebd81c872cb7386c658998e27cf24e1d0447c (From OE-Core rev: 223119dc96d2e37e3788df630d1995bf56dc156a) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/update-rc.d.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
index e1e0e04876..06e3b21396 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -91,7 +91,8 @@ python populate_packages_updatercd () {
91 return 91 return
92 statement = "grep -q -w '/etc/init.d/functions' %s" % path 92 statement = "grep -q -w '/etc/init.d/functions' %s" % path
93 if subprocess.call(statement, shell=True) == 0: 93 if subprocess.call(statement, shell=True) == 0:
94 d.appendVar('RDEPENDS_' + pkg, ' initd-functions') 94 mlprefix = d.getVar('MLPREFIX') or ""
95 d.appendVar('RDEPENDS_' + pkg, ' %sinitd-functions' % (mlprefix))
95 96
96 def update_rcd_package(pkg): 97 def update_rcd_package(pkg):
97 bb.debug(1, 'adding update-rc.d calls to preinst/postinst/prerm/postrm for %s' % pkg) 98 bb.debug(1, 'adding update-rc.d calls to preinst/postinst/prerm/postrm for %s' % pkg)