mirror of
https://git.yoctoproject.org/poky
synced 2026-03-11 09:49:41 +01:00
update-rc.d: Handle multilib case for initscripts
When building multilib, we also have to add the multlib prefix otherwise we get a WARNING: WARNING: Multilib QA Issue: lib32-dbus package lib32-dbus - suspicious values 'initscripts-functions' in RDEPENDS [YOCTO #6164] (From OE-Core rev: 2e14dbb7f85532220f9aec293ddd4143fae8407b) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
47013aa977
commit
a4d931edd1
@@ -79,7 +79,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, ' initscripts-functions')
|
||||
mlprefix = d.getVar('MLPREFIX', True) or ""
|
||||
d.appendVar('RDEPENDS_' + pkg, ' %sinitscripts-functions' % (mlprefix))
|
||||
|
||||
def update_rcd_package(pkg):
|
||||
bb.debug(1, 'adding update-rc.d calls to preinst/postinst/prerm/postrm for %s' % pkg)
|
||||
|
||||
Reference in New Issue
Block a user