systemd: make PACKAGECONFIG depend on package version
This commit is contained in:
@@ -13,7 +13,9 @@
|
|||||||
#
|
#
|
||||||
# cgroupv2
|
# cgroupv2
|
||||||
# --------
|
# --------
|
||||||
# Enable cgroupv2 (aka: unified hierarchy). Since task T11914, support
|
# cgroupv2 (aka: unified hierarchy) is required since https://phabricator.kde.org/T11914
|
||||||
# for systemd and slices was added.
|
# enable it explicitly for Yocto < Scarthgap; it is on unconditionally enabled
|
||||||
|
# in later versions
|
||||||
#
|
#
|
||||||
PACKAGECONFIG:append = " xdg-autostart cgroupv2"
|
CONFIG_CGROUPS = "${@bb.utils.contains('PV', '255.4', 'cgroupv2', '', d)}"
|
||||||
|
PACKAGECONFIG:append = " xdg-autostart ${CONFIG_CGROUPS}"
|
||||||
|
|||||||
Reference in New Issue
Block a user