Bug 4975

Summary: LIC_FILES_CHKSUM shouldn't encourage use of ..
Product: [Documentation] Reference Reporter: Ross Burton <ross.burton>
Component: handbookAssignee: Scott Rifenbark <srifenbark>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: bluelightning, poky.doc.watcher, poky.watcher, ross.burton, sgw, srifenbark
Version: 1.5   
Target Milestone: 1.5   
Hardware: All   
OS: Multiple   
URL: http://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/commit/?id=c47b65c008ee45873e3bf61c7aaea18ca9744007
Whiteboard: 13 August 2013: RESOLVED/FIXED
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Done (doc changes complete)

Description Ross Burton 2013-08-02 16:12:04 UTC
(This is just a niggling feeling I've got, so I've CC'd Paul for a second opinion)

The LIC_FILES_CHKSUM documentation shows you can use relative paths to get from $S to $WORKDIR.  I don't like this because it's assuming that $S is a direct descendent of $WORKDIR, which whilst true now (and for some time) could change.

A preferable and more explanatory example would be to use file://${WORKDIR}/foo to refer to a file in WORKDIR.
Comment 1 Scott Rifenbark 2013-08-13 06:40:44 UTC
Ross and Paul, 

Look at http://www.yoctoproject.org/docs/1.5/ref-manual/ref-manual.html#usingpoky-specifying-LIC_FILES_CHKSUM for an updated section where I have changed the example slightly. 

Let me know if this works.

Scott
Comment 2 Ross Burton 2013-08-13 08:21:19 UTC
Perfect.
Comment 3 Scott Rifenbark 2013-08-13 13:01:44 UTC
Marking this RESOLVED and Docs complete.

Scott