Bug 10692

Summary: Add references to SYSROOT_DIRS
Product: [Documentation] Reference Reporter: Paul Eggleton <bluelightning>
Component: handbookAssignee: Scott Rifenbark <srifenbark>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: poky.doc.watcher, poky.watcher, srifenbark
Version: unspecified   
Target Milestone: 2.3 M4   
Hardware: All   
OS: Multiple   
Whiteboard: 18 Nov 2016: IN PROGRESS REVIEW
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Done (doc changes complete)

Description Paul Eggleton 2016-11-17 21:23:50 UTC
Under the glossary entry for STAGING_DIR we could use a reference to SYSROOT_DIRS being the variable that you can now use to control the list of subdirectories that get staged.

We also need to do a similar thing for the "Sharing Files Between Recipes" section in the dev manual. An example of adding /opt to the directories that get staged would be:

SYSROOT_DIRS += "/opt"
Comment 1 Scott Rifenbark 2016-11-18 22:34:17 UTC
Hi, 

See http://www.yoctoproject.org/docs/2.3/ref-manual/ref-manual.html#var-STAGING_DIR for the change to the STAGING_DIR variable in the glossary.

See http://www.yoctoproject.org/docs/2.3/dev-manual/dev-manual.html#new-sharing-files-between-recipes for a re-write of the "Sharing Files Between Recipes" section. 

Let me know what you think.

Scott
Comment 2 Scott Rifenbark 2017-01-31 16:32:42 UTC
Moved to 2.3 M3.  Need feedback.
Comment 3 Scott Rifenbark 2017-03-20 18:36:40 UTC
Paul, 

I am marking this RESOLVED as I have had no feedback on it for some time. 

Thanks, 
Scott