[yocto] [PATCH meta-selinux] packagegroup-selinux-minimal: add selinux-init

2019-02-19 Thread Luca Boccassi
the core-selinux packagegroup: # id -Z unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 Adding selinux-init to the minimal package list fixes the issue. This package does not seem to bring along additional dependencies. Signed-off-by: Luca Boccassi --- recipes-security/packagegroups

[yocto] [PATCH meta-selinux] Backport patches from upstream to fix build with musl

2019-02-28 Thread luca . boccassi
From: Luca Boccassi Audit 2.8.4 fails to build with musl. The fixes have been committed to the upstream master branch and can be backported. Building with glibc is unaffected. Signed-off-by: Luca Boccassi --- ...dupa-as-suggested-in-pull-request-25.patch | 47 ++ ...tue-functions-for

[yocto] [PATCH meta-selinux] selinux: add nativesdk support for libselinux, libsepol and setfiles

2019-07-08 Thread luca . boccassi
From: Luca Boccassi It is useful to be able to set labels at build time, via the SDK. Add support for building a nativesdk package for policycoreutils-setfiles and its dependencies, libselinux and libsepol. --- recipes-security/selinux/libselinux.inc | 37 +++- recipes