From: Philip Tricca <flihp@twobit.us>
To: yocto@yoctoproject.org
Subject: Re: [meta-selinux][PATCH 1/2] linux-yocto: enable selinux support for kernel v4.1
Date: Wed, 05 Aug 2015 08:18:13 -0700 [thread overview]
Message-ID: <55C22935.9030709@twobit.us> (raw)
In-Reply-To: <1438255695-10644-1-git-send-email-bobadeshrikant@gmail.com>
Works for me too.
Philip
On 07/30/2015 04:28 AM, Shrikant Bobade wrote:
> From: Shrikant Bobade <Shrikant_Bobade@mentor.com>
>
> The default kernel is now v4.1. So we need the selinux support
> for kernel v4.1, inorder to get selinux enabled images out of box.
>
> Signed-off-by: Shrikant Bobade <shrikant_bobade@mentor.com>
> ---
> recipes-kernel/linux/linux-yocto_4.1.bbappend | 8 ++++++++
> 1 file changed, 8 insertions(+)
> create mode 100644 recipes-kernel/linux/linux-yocto_4.1.bbappend
>
> diff --git a/recipes-kernel/linux/linux-yocto_4.1.bbappend b/recipes-kernel/linux/linux-yocto_4.1.bbappend
> new file mode 100644
> index 0000000..a8c0647
> --- /dev/null
> +++ b/recipes-kernel/linux/linux-yocto_4.1.bbappend
> @@ -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)}"
>
prev parent reply other threads:[~2015-08-05 15:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-30 11:28 [meta-selinux][PATCH 1/2] linux-yocto: enable selinux support for kernel v4.1 Shrikant Bobade
2015-08-05 15:18 ` Philip Tricca [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55C22935.9030709@twobit.us \
--to=flihp@twobit.us \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.