[oe-commits] Richard Purdie : systemd: Track postinst/prerm in task checksum

git at git.openembedded.org git at git.openembedded.org
Mon Oct 7 08:24:41 UTC 2013


Module: openembedded-core.git
Branch: dora
Commit: c5d7100a358244085a697a23790676df5eb4afa3
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c5d7100a358244085a697a23790676df5eb4afa3

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Fri Oct  4 12:28:23 2013 +0100

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.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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 eab8735..3700b2e 100644
--- a/meta/classes/systemd.bbclass
+++ b/meta/classes/systemd.bbclass
@@ -48,6 +48,9 @@ if type systemctl >/dev/null 2>/dev/null; then
 fi
 }
 
+
+systemd_populate_packages[vardeps] += "systemd_prerm systemd_postinst"
+
 python systemd_populate_packages() {
     if "systemd" not in d.getVar("DISTRO_FEATURES", True).split():
         return



More information about the Openembedded-commits mailing list