Commit Graph

17 Commits

Author SHA1 Message Date
Shrikant Bobade
dee52032cf linux-yocto: enable selinux support for kernel v3.19
The default kernel is now v3.19. So we need the selinux support
for kernel v3.19, inorder to get selinux enabled images out of box.

Signed-off-by: Shrikant Bobade <Shrikant_Bobade@mentor.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-06-09 13:30:42 -04:00
Dmitry Eremin-Solenikov
22c3447a51 perf: conditionally add audit to the DEPENDS list
perf can make use of libaudit if it is present. So let's build perf with
audit if we are building a SELinux-enabled distribution.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-05-11 14:28:43 -04:00
Joe MacDonald
aa85e81d94 Globally replace 'base_contains' calls with 'bb.utils.contains'
Based on oe-core commit:

   commit 1528e596d4906c33e4be83fcf691cfe76d340ff3
   Author: Otavio Salvador <otavio@ossystems.com.br>
   Date:   Thu Apr 24 15:59:20 2014 -0300

   Globally replace 'base_contains' calls with 'bb.utils.contains'

   The base_contains is kept as a compatibility method and we ought to not
   use it in OE-Core so we can remove it from base metadata in future.

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-09-16 21:05:00 -04:00
Xin Ouyang
88edba3fb1 kernel: remove obsoleting bbappend to fit oe-core.
Signed-off-by: Xin Ouyang <xin.ouyang@windriver.com>
2014-09-12 16:35:42 +08:00
Zhenhua Luo
1699b56fd8 Enable two options to ensure selinux can boot up
* CONFIG_SECURITY=y
* CONFIG_SECURITYFS=y

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: Xin Ouyang <xin.ouyang@windriver.com>
2014-08-28 18:38:50 +08:00
Xin Ouyang
16854eaa7d kernel: remove 3.8 bbappend to follow oe-core changes.
Signed-off-by: Xin Ouyang <xin.ouyang@windriver.com>
2014-05-16 18:05:00 +08:00
Joe MacDonald
b14b21c0c5 linux-yocto: migrate from 3.10 to 3.14
The default kernel is now 3.14.  Since the removal of PRINC support leaves
the 3.10 recipe in a difficult-to-work-with state, now seems like a good
time to move to the new kernel.

Signed-off-by: Joe MacDonald <joe@deserted.net>
2014-05-09 08:48:16 -04:00
Mark Hatle
479c9803f0 linux-yocto: Add support for the 3.10 kernel
Also update the selinux.cfg file to add ext4, jfs, and jffs2 support.

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
Xin Ouyang
3342d1edcf kernel: add BBAPPEND for linux 3.10
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-10-02 13:24:45 -04:00
Xin Ouyang
11fa024721 kernel: remove 3.2 bbappend to fit oe-core
OE-Core rev b8d53d8f91bd1b165016ea1063868c8b15f07ce0 removes 3.2
kernel recipes.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2013-06-17 17:58:51 +08:00
Xin Ouyang
600f2b3a8f kernel: add linux-3.8 bbappend
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2013-03-09 17:54:13 +08:00
Xin Ouyang
23d99ebc3f kernel: remove 3.0 bbappend to fit oe-core
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2013-03-09 17:54:03 +08:00
Xin Ouyang
38fbdd436c kernel: default enable selinux for this layer.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-10-18 11:07:45 +08:00
Xin Ouyang
34d9c62f9f kernel: bbappend to enable SELinux, v3.4.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-07-19 14:57:34 +08:00
Xin Ouyang
4fcefe71fd kernel: Workaround for inconsistent kallsyms on ARM. 2012-04-27 15:57:04 +08:00
Xin Ouyang
2bd39e94d0 kernel: bbappend to enable SELinux, v3.2. 2012-04-17 17:15:29 +08:00
Mark Hatle
efda6dc804 linux-yocto: Enable SE Linux support
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-01-31 13:59:50 -06:00