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 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) |