summaryrefslogtreecommitdiffstats
path: root/meta/classes/update-rc.d.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/update-rc.d.bbclass')
-rw-r--r--meta/classes/update-rc.d.bbclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
index 9ba3daccaf..c3fefea5af 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -95,8 +95,7 @@ python populate_packages_updatercd () {
95 return 95 return
96 statement = "grep -q -w '/etc/init.d/functions' %s" % path 96 statement = "grep -q -w '/etc/init.d/functions' %s" % path
97 if subprocess.call(statement, shell=True) == 0: 97 if subprocess.call(statement, shell=True) == 0:
98 mlprefix = d.getVar('MLPREFIX') or "" 98 d.appendVar('RDEPENDS_' + pkg, ' initd-functions')
99 d.appendVar('RDEPENDS_' + pkg, ' %sinitscripts-functions' % (mlprefix))
100 99
101 def update_rcd_package(pkg): 100 def update_rcd_package(pkg):
102 bb.debug(1, 'adding update-rc.d calls to preinst/postinst/prerm/postrm for %s' % pkg) 101 bb.debug(1, 'adding update-rc.d calls to preinst/postinst/prerm/postrm for %s' % pkg)