[Buildroot] [PATCH v2,1/8] libselinux: bump to version 2.8

Matthew Weber matthew.weber at rockwellcollins.com
Fri Sep 28 20:06:03 UTC 2018


Fabrice,

On Thu, Sep 27, 2018 at 9:00 AM Matthew Weber
<matthew.weber at rockwellcollins.com> wrote:
>
> Fabrice,
>
> On Fri, Sep 21, 2018 at 3:50 PM Fabrice Fontaine
> <fontaine.fabrice at gmail.com> wrote:
> >
> > - Remove second patch (already in version), see
> >   https://github.com/SELinuxProject/selinux/commit/b24980ec07af66c4b419f8053aa65e97b36e558d
> > - Update third patch
> > - Pass SHLIBDIR=/usr/lib because by default it is set to /lib and LIBDIR
> >   is set to $(PREFIX)/lib (with PREFIX=/usr)
> > - Use DESTDIR=$(HOST_DIR) instead of PREFIX=$(HOST_DIR) to install host
> >   variant
> > - Remove libselinux.so symbolic link for host variant (not needed)
> > - Add hash for license file
> >
>
> I've reviewed and build tested this 2.8 series and it looks good.
> I've handed off images for runtime testing and will reply back with my
> tested by once those pass.
>

As part of this I found a bug with the setools bump we did with the
last round of selinux updates.  That bump switched to a version of
setools that was rewritten in python.  As such, it requires the enum
package.  This was never reflected in the host- dependencies.  I've
submitted http://patchwork.ozlabs.org/project/buildroot/list/?series=68164
to fix this bug.  The reason setools is needed on the host is to do
path verification of the policy rules as that isn't practical when
executing the policy on target.

The complete series has been built and pieces run-time tested.
Tested-by: Matt Weber <matthew.weber at rockwellcollins.com>



More information about the buildroot mailing list