Wind River Support Network


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:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Build & Config, Kernel


kernel patch specified via  SRC_URI never gets applied.

I followed the instructions for adding and building a linux-windriver-custom recipe :'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:

Building the Kernel Using the Custom Kernel Recipe

Basically 4 files are created/modified. I attached them :
they are 
wrl-7/workspace_IA/pp_custom-linux$ tree 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://;name=machine;branch=${KBRANCH} file://defconfig file://0001-Break-the-build.patch"
SRC_URI="git://;name=machine;branch=linux-4.5.y file://defconfig file://0001-Break-the-build.patch"

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

Other Downloads

Live chat