diff options
| -rw-r--r-- | recipes-core/systemd/systemd_%.bbappend | 2 | ||||
| -rw-r--r-- | recipes-core/systemd/systemd_selinux.inc | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/recipes-core/systemd/systemd_%.bbappend b/recipes-core/systemd/systemd_%.bbappend index 5ac3adb..7719d3b 100644 --- a/recipes-core/systemd/systemd_%.bbappend +++ b/recipes-core/systemd/systemd_%.bbappend | |||
| @@ -1 +1 @@ | |||
| inherit ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'enable-audit', '', d)} | require ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', '${BPN}_selinux.inc', '', d)} | ||
diff --git a/recipes-core/systemd/systemd_selinux.inc b/recipes-core/systemd/systemd_selinux.inc new file mode 100644 index 0000000..b17e70a --- /dev/null +++ b/recipes-core/systemd/systemd_selinux.inc | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | inherit ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'enable-audit', '', d)} | ||
| 2 | |||
| 3 | do_install_append() { | ||
| 4 | if ${@bb.utils.contains('PACKAGECONFIG', 'backlight', 'true', 'false', d)}; then | ||
| 5 | install -d ${D}${localstatedir}/lib/systemd/backlight | ||
| 6 | fi | ||
| 7 | } | ||
