Commit Graph

34 Commits

Author SHA1 Message Date
Joe MacDonald
d000ede95d compat: add walnascar to compat list
Signed-off-by: Joe MacDonald <joe.macdonald@siemens.com>
2024-12-10 12:44:22 -05:00
Dmitry Baryshkov
7886cda8a5 layer.conf: set LAYERSERIES_COMPAT to styhead
OE-Core has switched the master branch to styhead, follow the change.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Joe MacDonald <joe.macdonald@siemens.com>
2024-09-24 15:28:28 -04:00
Yi Zhao
1d702c31ea layer.conf: update for the scarthgap release series
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2024-03-20 07:32:53 -04:00
Yi Zhao
ce049565e1 layer.conf: update LAYERSERIES_COMPAT for nanbield
oe-core has switched to nanbield in:
https://git.openembedded.org/openembedded-core/commit/?id=f212cb12a0db9c9de5afd3cc89b1331d386e55f6

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2023-10-12 10:14:19 -04:00
Yi Zhao
4aed1e830c layer.conf: update LAYERSERIES_COMPAT for mickledore
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2023-01-17 07:31:54 -05:00
Yi Zhao
506daf988c layer.conf: add langdale to LAYERSERIES_COMPAT
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2022-10-02 21:38:35 -04:00
Jeremy Puhlman
a2e4d1459c Update compat to kirkstone
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2022-03-01 14:05:42 -05:00
Yi Zhao
a101ac3dce python2: drop bbappend
This bbappend was added long time ago and it is useless now.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2021-08-29 21:34:22 -04:00
Yi Zhao
0c417aa70d lxc: drop bbappend
The PACKAGECONFIG[selinux] is enabled in lxc recipe.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2021-08-29 21:34:22 -04:00
Yi Zhao
0a83fab4d8 augeas: drop bbappend
The PACKAGECONFIG[selinux] is enabled in augeas recipe.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2021-08-29 21:34:22 -04:00
Yi Zhao
d5b93baf57 layer.conf: set default refpolicy provider
Currently there is no default refpolicy provider and the user must
specify it in local.conf. Set the default refpolicy provider to
refpolicy-targeted in case the user doesn't set it.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2021-08-04 16:18:39 -04:00
Kai Kang
b7cf3fd557 layer.conf: set LAYERSERIES_COMPAT with honister
Set LAYERSERIES_COMPAT with honister in layer.conf which aligns with
oe-core.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2021-06-04 18:58:17 -04:00
Anibal Limon
5753d15225 conf/layer.conf: Add hardknott support
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2021-03-27 00:40:37 -04:00
Anibal Limon
be95d6f88c conf/layer.conf: Bump to gatesgarth
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2020-10-24 19:39:07 -04:00
Yi Zhao
b7a4511068 layer.conf: update LAYERSERIES_COMPAT for dunfell
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2020-04-03 08:39:07 -04:00
Jeremy Puhlman
f32f21de44 python: move appends to a dynamic-layer
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2020-01-30 21:46:58 -05:00
Joe MacDonald
c5b32c4d3a layer.conf: add zeus compatibility
Also remove thud and warrior, based on:
f5170305dc (compat: remove thud from warrior layer compatibility
list)

Since thud or warrior users are expected to use the 'thud' or
'warrior' branch.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2019-10-18 14:28:13 -04:00
Robert Yang
e2185e487b conf/layer.conf: use BBFILES_DYNAMIC for dynamic layers
The previous code add all BBFILE_COLLECTIONS/recipes*/*/*.bbappend to BBFILES,
which causes the parsing very slow when there are many layers, e.g., I have 87
layers:

* Before:
$ rm -fr tmp-glibc/ cache; time bitbake -p
real    0m45.173s
user    0m0.560s
sys     0m0.060s

* After:
$ rm -fr tmp-glibc/ cache; time bitbake -p
real    0m25.542s
user    0m0.572s
sys     0m0.040s

It wasted 20s which wasn't worth (The host has 128 threads, it should cost more
time on less power host), use BBFILES_DYNAMIC can fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2019-09-09 12:30:46 -04:00
Kai Kang
fb5d3d86b5 layer.conf: update to warrior release name series
Sync with oe-core to update to warrior release name series.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2019-04-14 17:29:52 -04:00
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