diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-04 12:29:08 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-07 09:37:31 +0100 |
commit | 479fcbfd3098e9157c70647c1904e0dc53afd244 (patch) | |
tree | 256cd68dee23ac4c7b83c2ef07ad66206abd811e /meta/classes/update-rc.d.bbclass | |
parent | 47129f300fb47ea8b1cf5186dd16abf6d3857ccc (diff) | |
download | 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.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass index 55885698ae..f726f2f4b1 100644 --- a/meta/classes/update-rc.d.bbclass +++ b/meta/classes/update-rc.d.bbclass | |||
@@ -54,6 +54,8 @@ python __anonymous() { | |||
54 | 54 | ||
55 | PACKAGESPLITFUNCS_prepend = "populate_packages_updatercd " | 55 | PACKAGESPLITFUNCS_prepend = "populate_packages_updatercd " |
56 | 56 | ||
57 | populate_packages_updatercd[vardeps] += "updatercd_prerm updatercd_postrm updatercd_postinst" | ||
58 | |||
57 | python populate_packages_updatercd () { | 59 | python populate_packages_updatercd () { |
58 | def update_rcd_package(pkg): | 60 | def update_rcd_package(pkg): |
59 | bb.debug(1, 'adding update-rc.d calls to postinst/postrm for %s' % pkg) | 61 | bb.debug(1, 'adding update-rc.d calls to postinst/postrm for %s' % pkg) |