]> code.ossystems Code Review - openembedded-core.git/commitdiff
update-rc.d/systemd: Remove OVERRIDES dependency
authorSteffen Sledz <sledz@dresearch-fe.de>
Thu, 25 Sep 2014 12:17:56 +0000 (14:17 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Sep 2014 16:58:05 +0000 (17:58 +0100)
Taking run-postinsts and building for two machines which have different
OVERRIDES leads to two different sets of stamps for an allarch package.

We don't need to depend on OVERRIDES in these classes, the end resulting
variables are good enough. We can therefore exclude the dependency
and allow a single package to be generated for run-postinsts.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/systemd.bbclass
meta/classes/update-rc.d.bbclass

index 2bd63a405b7e2f618f6617460956d3618577811b..1516cd9d0a77708b4fdc3e0ee8e94df46c2f1c4a 100644 (file)
@@ -55,6 +55,7 @@ fi
 
 
 systemd_populate_packages[vardeps] += "systemd_prerm systemd_postinst"
+systemd_populate_packages[vardepsexclude] += "OVERRIDES"
 
 python systemd_populate_packages() {
     if not oe.utils.contains('DISTRO_FEATURES', 'systemd', True, False, d):
index 668ead88a97e2a6ad9ebe4f074e1cbfe5cdd580c..e8debdf42f5d720d6614eb51d074b3e6cab0883a 100644 (file)
@@ -71,6 +71,7 @@ PACKAGESPLITFUNCS_prepend = "populate_packages_updatercd "
 PACKAGESPLITFUNCS_remove_class-nativesdk = "populate_packages_updatercd "
 
 populate_packages_updatercd[vardeps] += "updatercd_prerm updatercd_postrm updatercd_preinst updatercd_postinst"
+populate_packages_updatercd[vardepsexclude] += "OVERRIDES"
 
 python populate_packages_updatercd () {
     def update_rcd_auto_depend(pkg):