diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-04 12:28:23 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-07 09:37:31 +0100 |
commit | 47129f300fb47ea8b1cf5186dd16abf6d3857ccc (patch) | |
tree | bdb1787e90968120da2889ffb8582033a4f56ab4 /meta/classes | |
parent | 0d8cbc38abd313724e1eaad153d58e3fea7726a6 (diff) | |
download | poky-47129f300fb47ea8b1cf5186dd16abf6d3857ccc.tar.gz |
systemd: Track postinst/prerm 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: c5d7100a358244085a697a23790676df5eb4afa3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/systemd.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass index eab8735b7c..3700b2eee3 100644 --- a/meta/classes/systemd.bbclass +++ b/meta/classes/systemd.bbclass | |||
@@ -48,6 +48,9 @@ if type systemctl >/dev/null 2>/dev/null; then | |||
48 | fi | 48 | fi |
49 | } | 49 | } |
50 | 50 | ||
51 | |||
52 | systemd_populate_packages[vardeps] += "systemd_prerm systemd_postinst" | ||
53 | |||
51 | python systemd_populate_packages() { | 54 | python systemd_populate_packages() { |
52 | if "systemd" not in d.getVar("DISTRO_FEATURES", True).split(): | 55 | if "systemd" not in d.getVar("DISTRO_FEATURES", True).split(): |
53 | return | 56 | return |