mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
apache2: add PACKAGECONFIG for selinux
Add PACKAGECONFIG for 'selinux', otherwise there would be warnings like below: WARN: apache2: apache2 rdepends on libselinux, but it isn't a build dependency? Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
e2d07c8646
commit
8cd982aeea
@@ -17,6 +17,7 @@ SRC_URI = "http://www.apache.org/dist/httpd/httpd-${PV}.tar.bz2 \
|
||||
file://httpd-2.4.3-fix-race-issue-of-dir-install.patch \
|
||||
file://npn-patch-2.4.7.patch \
|
||||
file://0001-configure-use-pkg-config-for-PCRE-detection.patch \
|
||||
file://configure-allow-to-disable-selinux-support.patch \
|
||||
file://init \
|
||||
file://apache2-volatile.conf \
|
||||
file://apache2.service \
|
||||
@@ -58,6 +59,9 @@ EXTRA_OECONF = "--enable-ssl \
|
||||
--enable-mpms-shared \
|
||||
ac_cv_have_threadsafe_pollset=no"
|
||||
|
||||
PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}"
|
||||
PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux"
|
||||
|
||||
do_install_append() {
|
||||
install -d ${D}/${sysconfdir}/init.d
|
||||
cat ${WORKDIR}/init | \
|
||||
|
||||
Reference in New Issue
Block a user