diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-23 20:00:31 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-23 21:38:59 +0100 |
commit | 4ebd2e49152e3e748b29acd29fbce3fbd07cd676 (patch) | |
tree | 64a59c06a870903b1eb3b3833cf0802417280800 | |
parent | 0aed04a49ec13c3331169ca4fd2c820b03faf19c (diff) | |
download | poky-4ebd2e49152e3e748b29acd29fbce3fbd07cd676.tar.gz |
update-rc.d/systemd: Remove OVERRIDES dependency
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.
(From OE-Core rev: fdc949154e64afb41dd4db3a97be74a15963128d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/systemd.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/update-rc.d.bbclass | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass index a6ad723dfd..708ba892bd 100644 --- a/meta/classes/systemd.bbclass +++ b/meta/classes/systemd.bbclass | |||
@@ -55,6 +55,8 @@ fi | |||
55 | 55 | ||
56 | 56 | ||
57 | systemd_populate_packages[vardeps] += "systemd_prerm systemd_postinst" | 57 | systemd_populate_packages[vardeps] += "systemd_prerm systemd_postinst" |
58 | systemd_populate_packages[vardepsexclude] += "OVERRIDES" | ||
59 | |||
58 | 60 | ||
59 | python systemd_populate_packages() { | 61 | python systemd_populate_packages() { |
60 | if not bb.utils.contains('DISTRO_FEATURES', 'systemd', True, False, d): | 62 | if not bb.utils.contains('DISTRO_FEATURES', 'systemd', True, False, d): |
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass index 3c5414b79b..bc1aa7dad6 100644 --- a/meta/classes/update-rc.d.bbclass +++ b/meta/classes/update-rc.d.bbclass | |||
@@ -72,6 +72,7 @@ PACKAGESPLITFUNCS_prepend = "populate_packages_updatercd " | |||
72 | PACKAGESPLITFUNCS_remove_class-nativesdk = "populate_packages_updatercd " | 72 | PACKAGESPLITFUNCS_remove_class-nativesdk = "populate_packages_updatercd " |
73 | 73 | ||
74 | populate_packages_updatercd[vardeps] += "updatercd_prerm updatercd_postrm updatercd_preinst updatercd_postinst" | 74 | populate_packages_updatercd[vardeps] += "updatercd_prerm updatercd_postrm updatercd_preinst updatercd_postinst" |
75 | populate_packages_updatercd[vardepsexclude] += "OVERRIDES" | ||
75 | 76 | ||
76 | python populate_packages_updatercd () { | 77 | python populate_packages_updatercd () { |
77 | def update_rcd_auto_depend(pkg): | 78 | def update_rcd_auto_depend(pkg): |