[Buildroot] [PATCH 3/4] libselinux: allow compiling python wrapper module for target

Matthew Weber matthew.weber at rockwellcollins.com
Wed Apr 12 20:45:06 UTC 2017


Thomas,

On Wed, Apr 12, 2017 at 9:00 AM, Matthew Weber
<matthew.weber at rockwellcollins.com> wrote:
>
> Thomas
>
> On Wed, Apr 12, 2017 at 8:54 AM, Matthew Weber
> <matthew.weber at rockwellcollins.com> wrote:
> > Thomas,
> >
> > On Wed, Apr 12, 2017 at 7:53 AM, Matthew Weber
> > <matthew.weber at rockwellcollins.com> wrote:
> >> Thomas
> >>
> >> On Tue, Apr 11, 2017 at 7:40 AM, Thomas Petazzoni
> >> <thomas.petazzoni at free-electrons.com> wrote:
> >>>
> >>> Hello,
> >>>
> >>> On Thu,  2 Feb 2017 17:45:04 -0500, Adam Duskett wrote:
> >>> > libselinux currently does not compile it's python wrapper module
> >>> > for the target.  This is needed for audit2allow to function properly.
> >>> >
> >>> > This patch allows for the python wrapper to be built.  The current
> >>> > makefile will try to install the python wrapper to the host directory
> >>> > unless the PYSITEDIR variable is set.  I wrapped the build of the
> >>> > python wrapper in a check for AUDIT2ALLOW because of the extra python
> >>> > dependency, as I am sure many users don't want to have to install
> >>> > python if they don't have to.
> >>> >
> >>> > Signed-off-by: Adam Duskett <Adamduskett at outlook.com>
> >>> > ---
> >>> >  package/libselinux/libselinux.mk | 32 ++++++++++++++++++++++++++++++++
> >>> >  1 file changed, 32 insertions(+)
> >>>
> >>> This causes some build failures:
> >>>
> >>> http://autobuild.buildroot.net/results/db1/db1e6f3054092fc5576ccab8e04a3b9d74ca9a8c/build-end.log.
> >>>
>

Proposing this fix.
https://patchwork.ozlabs.org/patch/750170/


More information about the buildroot mailing list