Commit Graph

8 Commits

Author SHA1 Message Date
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