diff options
author | Ross Burton <ross.burton@intel.com> | 2019-01-14 14:42:04 +0000 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-01-17 15:53:25 -0800 |
commit | 769b1cc468f5c0aba181ffdf6b511e4a0f380ca4 (patch) | |
tree | 72a5ea693691fb25ded977fb814aa43cdb14d908 | |
parent | 448eee287fa8b949789ef031b787cb4cc8edb275 (diff) | |
download | meta-security-769b1cc468f5c0aba181ffdf6b511e4a0f380ca4.tar.gz |
apparmor: no need to conditionalise PACKAGES
A package with no content is not generated, so there's no need to conditionalise
assignments to PACKAGES.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | recipes-security/AppArmor/apparmor_2.12.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-security/AppArmor/apparmor_2.12.bb b/recipes-security/AppArmor/apparmor_2.12.bb index 529414f..b5ac613 100644 --- a/recipes-security/AppArmor/apparmor_2.12.bb +++ b/recipes-security/AppArmor/apparmor_2.12.bb | |||
@@ -143,7 +143,7 @@ SYSTEMD_PACKAGES = "${PN}" | |||
143 | SYSTEMD_SERVICE_${PN} = "apparmor.service" | 143 | SYSTEMD_SERVICE_${PN} = "apparmor.service" |
144 | SYSTEMD_AUTO_ENABLE = "disable" | 144 | SYSTEMD_AUTO_ENABLE = "disable" |
145 | 145 | ||
146 | PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'apache2', 'mod-${PN}', '', d)}" | 146 | PACKAGES += "mod-${PN}" |
147 | 147 | ||
148 | FILES_${PN} += "/lib/apparmor/ ${sysconfdir}/apparmor ${PYTHON_SITEPACKAGES_DIR}" | 148 | FILES_${PN} += "/lib/apparmor/ ${sysconfdir}/apparmor ${PYTHON_SITEPACKAGES_DIR}" |
149 | FILES_mod-${PN} = "${libdir}/apache2/modules/*" | 149 | FILES_mod-${PN} = "${libdir}/apache2/modules/*" |