From 223119dc96d2e37e3788df630d1995bf56dc156a Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Sat, 17 Feb 2018 07:44:19 -0800 Subject: 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 Signed-off-by: Armin Kuster Signed-off-by: Ross Burton --- meta/classes/update-rc.d.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 () { return statement = "grep -q -w '/etc/init.d/functions' %s" % path if subprocess.call(statement, shell=True) == 0: - d.appendVar('RDEPENDS_' + pkg, ' initd-functions') + mlprefix = d.getVar('MLPREFIX') or "" + d.appendVar('RDEPENDS_' + pkg, ' %sinitd-functions' % (mlprefix)) def update_rcd_package(pkg): bb.debug(1, 'adding update-rc.d calls to preinst/postinst/prerm/postrm for %s' % pkg) -- cgit 1.2.3-korg