Bug 5569

Summary: Prepare core-image-kernel-dev
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Darren Hart <dvhart>
Component: coreAssignee: Bruce Ashfield <bruce.ashfield>
Status: VERIFIED FIXED QA Contact: Lucian Musat <georgex.l.musat>
Severity: normal    
Priority: Medium+ CC: bogdanx.a.voiculescu, meta.mr.watcher, meta.watcher, richard.purdie, sgw
Version: 1.5   
Target Milestone: 1.8 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Darren Hart 2013-11-20 00:55:07 UTC
Prepare a core-image-kernel-dev recipe which includes recipes known to be sensitive to kernel changes. This includes things like:

hello-mod
linux-headers
dropbear
lttng
system-tap
ftrace
tracecmd

This image will continue to collect recipes as testing indicates correlation between kernel changes and build/functionality issues.
Comment 1 Bruce Ashfield 2014-02-28 15:47:48 UTC
I'm building with the following:  core-image-kernel-dev

---------------------
# Could also be core-image-basic, but we'll keep this small for now                                                                                    
require recipes-core/images/core-image-minimal.bb                                                                                                      
                                                                                                                                                       
# note: you must have meta-skeleton in your bblayers to build hello-mod                                                                                
KERNEL_DEV_MODULE ?= "hello-mod"                                                                                                                       
KERNEL_DEV_UTILS ?= "dropbear"                                                                                                                         
KERNEL_DEV_TOOLS ?= "packagegroup-core-tools-profile"                                                                                                  
                                                                                                                                                       
CORE_IMAGE_EXTRA_INSTALL += "${KERNEL_DEV_MODULE} \                                                                                                    
                             ${KERNEL_DEV_UTILS} \                                                                                                     
                             ${KERNEL_DEV_TOOLS} \                                                                                                     
                             "                                                                                                                         
------------------------------

It will go into poky-extras first, unless there are better suggestions.
Comment 2 Darren Hart 2014-03-04 22:13:49 UTC
Looks a reasonable start, why not just submit it to oe-core?
Comment 3 Darren Hart 2014-03-06 19:06:26 UTC
Bruce, can you please ensure it includes:

EXTRA_IMAGE_FEATURES = "debug-tweaks tools-testapps"
CORE_IMAGE_EXTRA_INSTALL = "pciutils alsa-utils dmidecode usbutils"

(not necessarily in those variables)
Comment 4 Bruce Ashfield 2014-03-06 19:34:05 UTC
Yep, debug tweaks is inherited from minimal, but we can be explicit as well.
The others I can add.

(In reply to comment #3)
> Bruce, can you please ensure it includes:
> 
> EXTRA_IMAGE_FEATURES = "debug-tweaks tools-testapps"
> CORE_IMAGE_EXTRA_INSTALL = "pciutils alsa-utils dmidecode usbutils"
> 
> (not necessarily in those variables)
Comment 5 Bruce Ashfield 2014-03-06 20:59:17 UTC
> Logging more items (we'll call these phase2):
> 
>  LTP tests,
>  IO tests
>  Concurrency tests
>  RT  jitter and latency tests 
>  Fault injection test drivers
>  IP block PnP tests 
>  Power management tests, RTPM and Legacy PM
>  Platform "ABI" tests  (DMI, SMBios, AML correctness and introspection)
>  Pretty much any burn in or Power On test case and common performance KPI.
Comment 6 Richard Purdie 2014-04-13 20:43:39 UTC
Is this planned to go into OE-Core or are we happy with it in poky-extras?

Does poky-extras even exist in fact? I can only find http://git.yoctoproject.org/cgit.cgi/meta-yocto-kernel-extras/ which hasn't been touched for 10 months...
Comment 7 Bruce Ashfield 2014-10-01 04:46:51 UTC
sent for review, but this needs more work to fix the dependency on 
meta-skeleton for kernel module builds. moving to 1.8.
Comment 8 Lucian Musat 2015-03-18 11:44:03 UTC
Verified in commit df0672b038e6942c97d266af9ca175a06f2b0423