Bug 11800

Summary: NOAUTOPACKAGEDEBUG undocumented
Product: [Documentation] Reference Reporter: Juan Manuel Cruz Alcaraz <juan.m.cruz.alcaraz>
Component: handbookAssignee: Kristi <kristi>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: bluelightning, kristi, poky.doc.watcher, poky.watcher, richard.purdie, srifenbark
Version: unspecified   
Target Milestone: 2.5 M1   
Hardware: x86   
OS: Multiple   
Whiteboard: 19 DECEMBER, 2017: RESOLVED
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Done (doc changes complete)

Description Juan Manuel Cruz Alcaraz 2017-07-17 19:40:16 UTC
The package management implemented in meta/classes/package.bbclass defines the configuration variable NOAUTOPACKAGEDEBUG.
Usually the content of the debug package (package with -dbg suffix) is defined by the system itself including debug content and optionally source code. When the NOAUTOPACKAGEDEBUG variable is defined, the content of the debug package can be defined by the user, e.g:

NOAUTOPACKAGEDEBUG = "1"
FILES_${PN}-dev = "${includedir}/${QT_DIR_NAME}/Qt/*"
FILES_${PN}-dbg = "/usr/src/debug/"
FILES_${QT_BASE_NAME}-demos-doc = "${docdir}/${QT_DIR_NAME}/qch/qt.qch"

Currently there is no mention of the NOAUTOPACKAGEDEBUG in the reference manual.
Comment 1 Kristi 2017-07-19 19:59:55 UTC
Taking ownership on this. Paul - what is your opinion on documenting this variable? Thanks!

Kristi
Comment 2 Kristi 2017-09-15 23:21:02 UTC
I have made an attempt at defining NOAUTOPACKAGEDEBUG below. Let me know if this works. http://www.yoctoproject.org/docs/2.4/ref-manual/ref-manual.html#var-NOAUTOPACKAGEDEBUG

Thanks!
Comment 3 Paul Eggleton 2017-12-19 01:56:57 UTC
This looks OK to me, thanks.
Comment 4 Kristi 2017-12-20 00:07:27 UTC
Thanks Paul! Marking RESOLVED / Done.