meta-selinux/recipes-core/systemd/systemd_%.bbappend
Wenzong Fan 5d203f9039 systemd: create /var/lib/systemd/backlight in advance
v2 changes:
* Update patch for Yocto Compat - don't change layer's hash

============================================

The systemd-backlight@.service which called after selinux-init.service
will create /var/lib/systemd/backlight with incorrect security labels,
this causes the systemd-backlight service fails to start and stop.

Creating /var/lib/systemd/backlight in advance to make sure it could
always be relabelled by selinux-init while first booting.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-05-08 10:30:56 -04:00

2 lines
89 B
Plaintext

require ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', '${BPN}_selinux.inc', '', d)}