summaryrefslogtreecommitdiffstats
path: root/meta/classes/update-rc.d.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-04 12:29:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-07 09:37:31 +0100
commit479fcbfd3098e9157c70647c1904e0dc53afd244 (patch)
tree256cd68dee23ac4c7b83c2ef07ad66206abd811e /meta/classes/update-rc.d.bbclass
parent47129f300fb47ea8b1cf5186dd16abf6d3857ccc (diff)
downloadast2050-yocto-poky-479fcbfd3098e9157c70647c1904e0dc53afd244.zip
ast2050-yocto-poky-479fcbfd3098e9157c70647c1904e0dc53afd244.tar.gz
udpated-rc.d: Track postinst/prerm/postrm in task checksum
When these functions change, the package should rebuild but currently it does not. We need to add the dependencies manually as the dependency code can't track dynamically created variables. (From OE-Core rev: 4003218f774c38bb5de0d95a43153f8b8d7fc4ce) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/update-rc.d.bbclass')
-rw-r--r--meta/classes/update-rc.d.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
index 5588569..f726f2f 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -54,6 +54,8 @@ python __anonymous() {
PACKAGESPLITFUNCS_prepend = "populate_packages_updatercd "
+populate_packages_updatercd[vardeps] += "updatercd_prerm updatercd_postrm updatercd_postinst"
+
python populate_packages_updatercd () {
def update_rcd_package(pkg):
bb.debug(1, 'adding update-rc.d calls to postinst/postrm for %s' % pkg)
OpenPOWER on IntegriCloud