mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 23:02:22 +02: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) (From OE-Core rev: 9884e4f872b9ff354832053c86842dd0d3b0c8b3) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ec853e4eea
commit
3244f4540c
@@ -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