Bug 2687

Summary: btrfs format image build fails
Product: [Yocto Project Subprojects] Kernel Reporter: Laurentiu Serban <laurentiu.serban>
Component: linux-yoctoAssignee: Bruce Ashfield <bruce.ashfield>
Status: VERIFIED INVALID QA Contact:
Severity: normal    
Priority: Medium CC: dvhart, jessica.zhang, poky.bs.watcher, poky.watcher
Version: 1.2.1   
Target Milestone: 1.3 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
log do patch none

Description Laurentiu Serban 2012-07-03 23:20:41 UTC
Created attachment 620 [details]
log do patch

Adding the following lines to local.conf:

IMAGE_FSTYPES = "btrfs" 
KERNEL_FEATURES_append = "cfg/btrfs" 

and building core-image-minimal
Log data follows:
| ERROR: Function failed: do_patch (see /home/lserban/work/yocto/build/tmp/work/qemux86-poky-linux/linux-yocto-3.2.18+git1+49f931bc294d5b6be60502bbd448cff5aa766235_1+c228cadee60f0ada73d11a36f6932f50a1c52d48-r1/temp/log.do_patch.29649 for further information)
| Branch meta-temp set up to track remote branch meta from origin.
| Deleted branch meta-temp (was 3499d64).
| WARNING: addon feature "features/netfiltercfg/btrfs" was not found
| ERROR: required features were not found. aborting
| ERROR. Could not update standard/default/common-pc/base


The build fails
I attached the log:
Comment 1 Bruce Ashfield 2012-07-04 14:45:25 UTC
Looks like we are missing a space in that feature append:

KERNEL_FEATURES="features/netfilter"                                                                                                               
KERNEL_FEATURES_append_qemux86=" cfg/sound"                                                                                                        
KERNEL_FEATURES_append_qemux86-64=" cfg/sound"                                                                                                     


Without the space, you are asking for a kernel feature that doesn't 
exist, and hence the failure.
Comment 2 Bruce Ashfield 2012-07-04 14:46:33 UTC
changing the component to kernel for this.
Comment 3 Jessica 2012-07-05 14:48:16 UTC
Laurentiu,

Please double check where the typo come from, some doc, qa test case or you own typo to file the bug correctly. thx.
Comment 4 Darren Hart 2012-07-19 14:34:43 UTC
*** Bug 2780 has been marked as a duplicate of this bug. ***
Comment 5 Darren Hart 2012-07-19 14:37:59 UTC
Laurentiu, is this still an issue for you? Bug 2780 appears to be a dup of this bug.
Comment 6 Darren Hart 2012-07-19 14:38:21 UTC
Bruce, assigning to you.
Comment 7 Bruce Ashfield 2012-07-19 14:41:11 UTC
sure. but it's still not a bug, and needs info :)
Comment 8 Laurentiu Serban 2012-07-26 15:20:02 UTC
This is invalid,
Bruce thank you for the correction.
Comment 9 Laurentiu Serban 2012-07-26 15:20:22 UTC
Verified