Bug 3914

Summary: linux-yocto/3.4.28 do_patch fails for btrfs format image
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Stoicescu Cornel <corneliux.stoicescu>
Component: kernelAssignee: Darren Hart <dvhart>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Undecided CC: bruce.ashfield, tom.zanussi
Version: 1.4   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
do_patch log file none

Description Stoicescu Cornel 2013-02-19 17:23:40 UTC
Created attachment 1079 [details]
do_patch log file

branch: master
commit: 3ec4df57540421df2cda6b83c615bfb7cebccefd

STEPS TO REPRODUCE: 
1. set IMAGE_FSTYPES = "btrfs" and KERNEL_FEATURES_append = " cfg/btrfs " in local.conf
2. build core-image-minimal image
3. Notice Error:

"
ERROR: Function failed: do_patch (see /home/cornel/work/poky/build/tmp/work/qemux86_64-poky-linux/linux-yocto/3.4.28+gitAUTOINC+f697e099bc76d5df3a307a5bc0cc25021dd6dfe0_13809f2cfd9be0ce86bd486e1643f9b90bed6f4f-r4.3/temp/log.do_patch.1045 for further information)
ERROR: Logfile of failure stored in: /home/cornel/work/poky/build/tmp/work/qemux86_64-poky-linux/linux-yocto/3.4.28+gitAUTOINC+f697e099bc76d5df3a307a5bc0cc25021dd6dfe0_13809f2cfd9be0ce86bd486e1643f9b90bed6f4f-r4.3/temp/log.do_patch.1045
Log data follows:
| DEBUG: Executing shell function do_patch
| Deleted branch meta-temp (was 580ac9c).
| WARNING: addon feature "cfg/btrfs" was not found
| ERROR: required features were not found. aborting
ERROR: Task 815 (/home/cornel/work/poky/meta/recipes-kernel/linux/linux-yocto_3.4.bb, do_patch) failed with exit code '1'
"

NOTE: Log file attached
Comment 1 Bruce Ashfield 2013-02-19 22:04:18 UTC
Just as the error message says, you are using an invalid configuration
fragment. brtfs is found at:

   cfg/fs/btrfs.scc

You can find the path to the fragments by checking the yocto-kernel-cache
or the meta/cfg/kernel-cache directory on the meta branch.
Comment 2 Stoicescu Cornel 2013-02-20 10:42:34 UTC
Thank you Bruce, that worked.

The test case text was updated.

Changing to invalid.