Bug 3914 - linux-yocto/3.4.28 do_patch fails for btrfs format image
Summary: linux-yocto/3.4.28 do_patch fails for btrfs format image
Status: RESOLVED INVALID
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: kernel (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Darren Hart
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-02-19 17:23 UTC by Stoicescu Cornel
Modified: 2013-02-20 10:42 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
do_patch log file (443 bytes, application/octet-stream)
2013-02-19 17:23 UTC, Stoicescu Cornel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.