* [PATCH] udpated-rc.d: Track postinst/prerm/postrm in task checksum
@ 2013-10-04 11:29 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2013-10-04 11:29 UTC (permalink / raw)
To: openembedded-core
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>
---
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)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-10-04 11:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-04 11:29 [PATCH] udpated-rc.d: Track postinst/prerm/postrm in task checksum Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox