mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
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. (From OE-Core rev: 02767aac492cedf6ccd02648b8e65751cc23c11c) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
365947e9d1
commit
028a39431e
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user