]> code.ossystems Code Review - openembedded-core.git/commitdiff
udpated-rc.d: Track postinst/prerm/postrm in task checksum
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 4 Oct 2013 11:29:08 +0000 (12:29 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 4 Oct 2013 17:25:38 +0000 (18:25 +0100)
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/update-rc.d.bbclass

index 55885698ae9c363abf436b61b10019996794a3db..f726f2f4b1fb4e388e981fb97dfafb1836e6bbcb 100644 (file)
@@ -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)