Bug 4975 - LIC_FILES_CHKSUM shouldn't encourage use of ..
Summary: LIC_FILES_CHKSUM shouldn't encourage use of ..
Status: RESOLVED FIXED
Alias: None
Product: Reference
Classification: Documentation
Component: handbook (show other bugs)
Version: 1.5
Hardware: All Multiple
: Medium normal
Target Milestone: 1.5
Assignee: Scott Rifenbark
QA Contact:
URL: http://git.yoctoproject.org/cgit/cgit...
Whiteboard: 13 August 2013: RESOLVED/FIXED
Depends on:
Blocks:
 
Reported: 2013-08-02 16:12 UTC by Ross Burton
Modified: 2013-08-13 13:01 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Done (doc changes complete)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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