Commit Graph

15 Commits

Author SHA1 Message Date
Hongxu Jia
8ff95d5b2a layer.conf: update LAYERSERIES_COMPAT sumo' -> thud'
Since `9ec5a8a layer.conf: Drop sumo from LAYERSERIES_CORENAMES' and
`9867924 layer.conf: Add thud to LAYERSERIES_CORENAMES' applied in oe-core,
update LAYERSERIES_COMPAT `sumo' -> `thud'

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2018-10-22 16:27:25 +01:00
Armin Kuster
bf355336b3 layer: add LAYERSERIES_COMPAT for sumo
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-05-08 10:30:56 -04:00
Mark Hatle
694b8d1f1a README: Update and remove references to distros, replace w/ DISTRO_FEATURES
Remove distros, instead of specifying an oe or poky example distribution,
we are moving to enabling the components using DISTRO_FEATURES.  This will
make it easier for a user to enable selinux on a custom distribution, or on
a project specific basis.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2017-09-14 08:29:01 -05:00
Wenzong Fan
fdf76122b6 setools: uprev to 4.1.1
SETools v4 is a rewrite of SETools in Python, details refer to:
https://github.com/TresysTechnology/setools/wiki/Changes-Since-SETools-v3

Changes for upreving:
* removed setools_3.3.8.bb and all useless patch
* add patches to fix cross-compiling issues:
  - setools4-fixes-for-cross-compiling.patch
  - setools4-fix-cross-compiling-errors-for-powerpc-mips.patch

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>

Per discussion w/ Wenzong, added meta-python as a dependency and enabled
the RDEPENDS within the new setools_4.1.1.bb

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2017-09-14 08:28:09 -05:00
Philip Tricca
14c84b182b refpolicy: Setup virtual/refpolicy provider.
This allows us to provide a default policy through the
PREFERRED_PROVIDER mechanism for each of the example distro configs.
Consumers of meta-selinux will be able to override this at the config
level instead of having to depend on a specific policy package. We do
lose the ability install more than one policy package but this falls
in line with the embedded nature of the project.

Signed-off-by: Philip Tricca <flihp@twobit.us>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-04-04 12:55:56 -04:00
Joe MacDonald
d382d54f0a layer: update configuration and dependencies
Add in support for optional bbappends based on the presence of other
layers in the project and move the lxc recipe to a meta-virtualization
location.

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-02-18 22:43:56 -05:00
Philip Tricca
963eb20971 Add explicit dependency on layers with recipes we bbappend.
This is a stop-gap to get meaningful error messages to folks till we get
per-layer bbappends implemented.

Signed-off-by: Philip Tricca <flihp@twobit.us>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-02-12 08:16:31 -05:00
Xin Ouyang
af4937c07e Use compressed_policy by default, and clear distro feature
Original refpolicy install compressed policy modules to policy store,
but leave datadir ones uncompressed. After, a "compressed_policy" distro
feature is added for compressing the datadir ones.

This simple mechanism is unworthy for a distro feature, just clear it
and use compressed policy modules by default.

Signed-off-by: Xin Ouyang <xin.ouyang@windriver.com>
2014-09-22 16:14:21 +08:00
Joe MacDonald
2209cb5fc2 policy: Create compressed_policy distro feature
There is a small cost to having compressed policy files on the final
image both in terms of memory requirements and load times.  In nearly all
circumstances this is negligible, but this adds a DISTRO_FEATURE that
can be used to enable it, if desired.

The default selinux distros will enable the feature by default.

Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-12-05 09:03:41 -05:00
Mark Hatle
03a52a7f12 distro/*: Update the distro files
Make the oe-selinux.conf the base configuration file.

Ensure that we enable acl and xattr support as well.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-10-02 13:24:45 -04:00
Christopher Larson
637094b9f9 layer.conf: avoid unnecessary early expansion with :=
bitbake handles immediate expansions of LAYERDIR for us automatically.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-10-02 13:24:45 -04:00
Philip Tricca
31abc748e3 Add leading whitespace to DISTRO_FEATURES_append in oe-selinux.conf
The lack of leading whitespace was causing two values in the
DISTRO_FEATURES variable to be combined. This was causing 'sysvinit'
from DISTRO_FEATURES_BACKFILL and 'pam' (from oe-selinux) to be
combined into 'sysvinitpam' thus dropping both from the
DISTRO_FEATURES.

Signed-off-by: Philip Tricca <flihp@twobit.us>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-09-23 15:11:18 -04:00
Wenzong Fan
b385a892a2 meta-selinux: Add LAYERVERSION and LAYERDEPENDS
Add LAYERVERSION and LAYERDEPENDS to layer.conf

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
2013-03-15 13:19:08 +08:00
Mark Hatle
a424d778f3 Add distro configuration file for OE-core
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-18 18:37:09 -05:00
Mark Hatle
b353aaee20 Add initial layer configuration
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-01-16 12:13:55 -06:00