Wind River Support Network

HomeDefectsLIN7-7373
Fixed

LIN7-7373 : linux-windriver-custom recipe : kernel patch does not apply

Created: Feb 2, 2017    Updated: Sep 8, 2018
Resolved Date: Feb 7, 2017
Found In Version: 7.0.0.17
Fix Version: 7.0.0.23
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Build & Config, Kernel

Description

kernel patch specified via  SRC_URI never gets applied.

I followed the instructions for adding and building a linux-windriver-custom recipe :
https://knowledge.windriver.com/en-us/000_Products/000/010/000/030/000_Wind_River_Linux_Kernel_and_BSP_Developer's_Guide%2C_7.0/020/020
and i added a kernel-specific configuration and patch via SRC_URI variable but the patch never get applied to the kernel.

Steps to Reproduce

1. follow the documented instructions to build using a custom kernel recipe:

--- https://knowledge.windriver.com/en-us/000_Products/000/010/000/030/000_Wind_River_Linux_Kernel_and_BSP_Developer's_Guide%2C_7.0/020/020
Building the Kernel Using the Custom Kernel Recipe
---

Basically 4 files are created/modified. I attached them :
they are 
bblayer.conf 
+
wrl-7/workspace_IA/pp_custom-linux$ tree layers/local/recipes-kernel/linux/
layers/local/recipes-kernel/linux/
+-- linux-windriver-custom
¦   +-- 0001-Break-the-build.patch
¦   +-- defconfig
+-- linux-windriver-custom.bbappend

Hereafter my config line :
---
configure --enable-jobs=4 --enable-parallel-pkgbuilds=4 --enable-board=qemux86-64 --enable-build=production --enable-kernel=standard --enable-rootfs=glibc-core --enable-unsupported-config=yes --enable-reconfig --enable-internet-download=yes --with-layer=wr-kernel/kernel-dev --with-template=feature/custom-kernel --with-rcpl-version=0020
---

Once the project is configure and the linux-windriver-custom recipe in place (defconfig + .patch + modification in bblayers.conf)

make linux-windriver-custom

==> the patch is never applied  although i verified SRC_URI is correctly set :
---
wrsupport@xxxxx-Linux-desktop:~/Desktop/DATA_DISK/WR_Projects/wrl-7/workspace_IA/pp_custom-linux/bitbake_build$ bitbake -e linu
x-windriver-custom | less

...
#   "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;name=machine;branch=${KBRANCH} file://defconfig file://0001-Break-the-build.patch"
SRC_URI="git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;name=machine;branch=linux-4.5.y file://defconfig file://0001-Break-the-build.patch"

...
# pre-expansion value:
#   "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;name=machine;branch=${KBRANCH} file://defconfig file:
//0001-Break-the-build.patch"
SRC_URI="git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;name=machine;branch=linux-4.5.y file://defconfig file://0001-Break-the-build.patch"
#
---

Other Downloads


Live chat
Online