summaryrefslogtreecommitdiff
path: root/meta/classes/systemd.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2014-10-06 23:09:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-04 10:19:56 +0000
commit02767aac492cedf6ccd02648b8e65751cc23c11c (patch)
treebccb18acbc0a972a7ca13c25cf64902e8378b00f /meta/classes/systemd.bbclass
parent3fa24eee41c26fecd5e4f680082288ec772d2de9 (diff)
downloadopenembedded-core-02767aac492cedf6ccd02648b8e65751cc23c11c.tar.gz
openembedded-core-02767aac492cedf6ccd02648b8e65751cc23c11c.tar.bz2
openembedded-core-02767aac492cedf6ccd02648b8e65751cc23c11c.zip
systemd: don't add files and dependencies from units Conflicts
Adding dependencies and moving files based on Conflicts tags in unit files isn't right, mainly as it means that systemd depends on systemd-binfmt, because the latter ends up containing the shutdown.target unit. Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/systemd.bbclass')
-rw-r--r--meta/classes/systemd.bbclass5
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass
index 708ba892bd..c34884bd38 100644
--- a/meta/classes/systemd.bbclass
+++ b/meta/classes/systemd.bbclass
@@ -143,10 +143,7 @@ python systemd_populate_packages() {
if has_exactly_one_service:
has_exactly_one_service = len(get_package_var(d, 'SYSTEMD_SERVICE', systemd_packages).split()) == 1
- keys = 'Also' # Conflicts??
- if has_exactly_one_service:
- # single service gets also the /dev/null dummies
- keys = 'Also Conflicts'
+ keys = 'Also'
# scan for all in SYSTEMD_SERVICE[]
for pkg_systemd in systemd_packages.split():
for service in get_package_var(d, 'SYSTEMD_SERVICE', pkg_systemd).split():