]> code.ossystems Code Review - openembedded-core.git/commitdiff
update-rc.d/systemd: Remove OVERRIDES dependency
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 23 Sep 2014 19:00:31 +0000 (20:00 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 23 Sep 2014 20:38:47 +0000 (21:38 +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>
meta/classes/systemd.bbclass
meta/classes/update-rc.d.bbclass

index a6ad723dfdf36950d3c7a1bff3c089e1852275b8..708ba892bda8e95b0c38c135592872241d3415ba 100644 (file)
@@ -55,6 +55,8 @@ fi
 
 
 systemd_populate_packages[vardeps] += "systemd_prerm systemd_postinst"
+systemd_populate_packages[vardepsexclude] += "OVERRIDES"
+
 
 python systemd_populate_packages() {
     if not bb.utils.contains('DISTRO_FEATURES', 'systemd', True, False, d):
index 3c5414b79bbc8eb3a06d36087d76d8ebc56fbab4..bc1aa7dad66b381d30f4ba1bc88745d4a93c4a29 100644 (file)
@@ -72,6 +72,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):