Hi all,

I wonder how you handle the kernel patches? 

I want to apply a security kernel patch to Linux-yocto 3.10  which is used by 
Romely:

meta-inte/meta-romley/conf/machine/romley-ivb.conf:PREFERRED_VERSION_linux-yocto
 ?= "3.10%"

For me the obvious way to fix this is:
1) Create >> "poky/meta/recipes-kernel/linux/files" directory and add the patch 
file there

2) modify: poky/meta/recipes-kernel/linux/linux-yocto_3.10.bb


-SRC_URI = 
"git://git.yoctoproject.org/linux-yocto-3.10.git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta"
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

+SRC_URI = 
"git://git.yoctoproject.org/linux-yocto-3.10.git;bareclone=1;branch=${KBRANCH},${KMETA};name=machine,meta
 \
+          file://Fix_for_CVE-2014-0196_pty_layer_race_condition.patch \
+          "

Please let me know if this is the correct way. And also let me know if I 
upstream this kernel patch to yocto, will yocto accept it (if the patch looks 
correct of course). Please let me know if you prefer to apply security patches 
to kernels in some different way.

Thanks
BR - Sona

-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to