[gnome-continuous-yocto/gnomeostree-3.28-rocko: 152/218] update-rc.d: QA regression.



commit 0b88595a4455a0b961af0b8ddd758b64ed2d56d6
Author: Armin Kuster <akuster808 gmail com>
Date:   Sat Feb 17 07:44:19 2018 -0800

    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)
    
    (From OE-Core rev: 210e4ff3848b60073c9aa3c3a4fa2e4d560cfd19)
    
    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>
    Signed-off-by: Armin Kuster <akuster808 gmail com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/classes/update-rc.d.bbclass |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
index e1e0e04..06e3b21 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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]