mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 09:49:33 +02:00
systemd: Don't enable systemd services when native.
It shouldn't be desired that systemd enable services when using class native. Blanking out the SYSTEMD_PACKAGES when native seems like the most straightforward way to fix this problem. (From OE-Core rev: e0ce07010d2e818dc43ffdff6f3cdd94f18d7af5) Signed-off-by: Randy Witt <rewitt@declaratino.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
4285e856aa
commit
ce1638c50d
@@ -2,6 +2,8 @@
|
|||||||
# each entry, optionally have a SYSTEMD_SERVICE_[package] that lists the service
|
# each entry, optionally have a SYSTEMD_SERVICE_[package] that lists the service
|
||||||
# files in this package. If this variable isn't set, [package].service is used.
|
# files in this package. If this variable isn't set, [package].service is used.
|
||||||
SYSTEMD_PACKAGES ?= "${PN}"
|
SYSTEMD_PACKAGES ?= "${PN}"
|
||||||
|
SYSTEMD_PACKAGES_class-native ?= ""
|
||||||
|
SYSTEMD_PACKAGES_class-nativesdk ?= ""
|
||||||
|
|
||||||
# Whether to enable or disable the services on installation.
|
# Whether to enable or disable the services on installation.
|
||||||
SYSTEMD_AUTO_ENABLE ??= "enable"
|
SYSTEMD_AUTO_ENABLE ??= "enable"
|
||||||
|
|||||||
Reference in New Issue
Block a user