diff options
Diffstat (limited to 'meta')
-rw-r--r-- | 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 81cc97621a..56eef4e06d 100644 --- a/meta/classes/update-rc.d.bbclass +++ b/meta/classes/update-rc.d.bbclass | |||
@@ -79,7 +79,8 @@ python populate_packages_updatercd () { | |||
79 | return | 79 | return |
80 | statement = "grep -q -w '/etc/init.d/functions' %s" % path | 80 | statement = "grep -q -w '/etc/init.d/functions' %s" % path |
81 | if subprocess.call(statement, shell=True) == 0: | 81 | if subprocess.call(statement, shell=True) == 0: |
82 | d.appendVar('RDEPENDS_' + pkg, ' initscripts-functions') | 82 | mlprefix = d.getVar('MLPREFIX', True) or "" |
83 | d.appendVar('RDEPENDS_' + pkg, ' %sinitscripts-functions' % (mlprefix)) | ||
83 | 84 | ||
84 | def update_rcd_package(pkg): | 85 | def update_rcd_package(pkg): |
85 | bb.debug(1, 'adding update-rc.d calls to preinst/postinst/prerm/postrm for %s' % pkg) | 86 | bb.debug(1, 'adding update-rc.d calls to preinst/postinst/prerm/postrm for %s' % pkg) |