]> code.ossystems Code Review - openembedded-core.git/commitdiff
systemd: Track postinst/prerm in task checksum
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 4 Oct 2013 11:28:23 +0000 (12:28 +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/systemd.bbclass

index eab8735b7cfa0c9cb021b90921fd16ab6b4be1f5..3700b2eee38cc4a9717df2cb5ab1610b1c5be455 100644 (file)
@@ -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