Bug 10673 - The patch file is not applied to linux-yocto by yocto-kernel add patch command in 2.1.2 rc1
Summary: The patch file is not applied to linux-yocto by yocto-kernel add patch comman...
Status: RESOLVED DUPLICATE of bug 10674
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 2.1.2
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Leonardo Sandoval Gonzalez
QA Contact: Yi Zhao
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-11-16 06:17 UTC by Yi Zhao
Modified: 2016-11-16 06:45 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Found by QA test)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yi Zhao 2016-11-16 06:17:14 UTC
This issue is cloned from bug 9120 which already fixed in 2.2. More details can check with it.

Steps:
1. Follow the https://wiki.yoctoproject.org/wiki/Transcript:_Using_the_Yocto_BSP_tools_to_create_a_qemu_BSP to create a myqemuarm layer:

##############################
$ yocto-bsp create myqemuarm qemu
Checking basic git connectivity...
+Done.

Which qemu architecture would you like to use? [default: i386]
	1) i386    (32-bit)
	2) x86_64  (64-bit)
	3) ARM     (32-bit)
	4) PowerPC (32-bit)
	5) MIPS    (32-bit)
	6) MIPS64  (64-bit)
3
Would you like to use the default (4.1) kernel? (y/n) [default: y]
 

Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n] [default: y] n     <--------- DO NOT use default setting, choose *NO*


Getting branches from remote repo git://git.yoctoproject.org/linux-yocto-4.1.git...
Please choose an existing machine branch to use for this BSP: [default: standard/arm-versatile-926ejs]
	1) standard/arm-versatile-926ejs
	2) standard/base
	3) standard/beagleboard
	4) standard/beaglebone
	5) standard/edgerouter
	6) standard/fsl-mpc8315e-rdb
	7) standard/mti-malta32
	8) standard/mti-malta64
	9) standard/qemuarm64
	10) standard/qemuppc
1
Would you like SMP support? (y/n) [default: y] 
Does your BSP have a touchscreen? (y/n) [default: n] 
Does your BSP have a keyboard? (y/n) [default: y] 

New qemu BSP created in meta-myqemuarm

################################

2. Follow the https://wiki.yoctoproject.org/wiki/Transcript:_Using_the_Yocto_BSP_tools_to_manage_kernel_patches_and_config_items to add a patch (see the attachment):

#######################
$ yocto-kernel patch add myqemuarm ./yocto-testmod.patch
Added patches:
	yocto-testmod.patch
$ yocto-kernel config add myqemuarm CONFIG_MISC_DEVICES=y
Added item:
	CONFIG_MISC_DEVICES=y
$ yocto-kernel config add myqemuarm CONFIG_YOCTO_TESTMOD=y
Added item:
	CONFIG_YOCTO_TESTMOD=y

#######################

3. Run bitbake linux-yocto
Comment 1 Yi Zhao 2016-11-16 06:45:26 UTC
Filed 2 same bugs due to network lag. Mark it as duplicate.

*** This bug has been marked as a duplicate of bug 10674 ***