[Buildroot] [PATCH 1/1] systemd: enable selinux if libselinux is selected.
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri Dec 16 08:10:22 UTC 2016
Hello,
On Thu, 15 Dec 2016 21:23:12 +0000, Adam Duskett wrote:
> diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
> index fa07bd0..ca1f49e 100644
> --- a/package/systemd/systemd.mk
> +++ b/package/systemd/systemd.mk
> @@ -30,7 +30,6 @@ SYSTEMD_CONF_OPTS += \
> --enable-blkid \
> --enable-static=no \
> --disable-manpages \
> - --disable-selinux \
> --disable-pam \
> --disable-ima \
> --disable-libcryptsetup \
> @@ -153,6 +152,12 @@ else
> SYSTEMD_CONF_OPTS += --disable-microhttpd --disable-qrencode
> endif
>
> +ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
> +SYSTEMD_CONF_OPTS += --enable-selinux
This lacks:
SYSTEMD_DEPENDENCIES += libselinux
Otherwise you are not guarantee that libselinux will be built before
systemd.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list