mirror of
git://git.yoctoproject.org/meta-selinux
synced 2026-01-01 13:58:04 +00:00
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>
This commit is contained in:
parent
2ebacbad21
commit
dee52032cf
8
recipes-kernel/linux/linux-yocto_3.19.bbappend
Normal file
8
recipes-kernel/linux/linux-yocto_3.19.bbappend
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
# Enable selinux support in the kernel if the feature is enabled
|
||||
SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'file://selinux.cfg', '', d)}"
|
||||
|
||||
# For inconsistent kallsyms data bug on ARM
|
||||
# http://lists.infradead.org/pipermail/linux-arm-kernel/2012-March/thread.html#89718
|
||||
EXTRA_OEMAKE += "${@bb.utils.contains('TARGET_ARCH', 'arm', ' KALLSYMS_EXTRA_PASS=1', '', d)}"
|
||||
Loading…
Reference in New Issue
Block a user