[Buildroot] [PATCH 1/5] package/refpolicy: remove dependency on policycoreutils

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Feb 3 18:46:38 UTC 2020

On Mon,  3 Feb 2020 05:29:47 -0800
Adam Duskett <aduskett at gmail.com> wrote:

> Only host-policycoreutils is needed to build refpolicy. Remove the uneeded
> target package.
> Signed-off-by: Adam Duskett <aduskett at gmail.com>

So, this commit had the side effect of causing a build issue:


this is due to policycoreutils selecting BR2_PACKAGE_BUSYBOX_SELINUX
when BR2_PACKAGE_BUSYBOX, which in turns causes busybox to select
BR2_PACKAGE_LIBSELINUX and depend on it from a makefile point of view.
But since we dropped the "depends on" of policycoreutils, we now
violate the "depends on" of libselinux.

However, it probably isn't the best idea of have refpolicy take care of
forcing Busybox's SELinux support, so I've committed a change to
Busybox that makes it enable by default its SELinux support when
libselinux is enabled:


Best regards,

Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering

More information about the buildroot mailing list