summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2017-01-10 15:32:30 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-20 11:57:25 +0000
commitf4b667cfbc2145679af940fc39e4df20d6821cd2 (patch)
tree5347c9a8c8ab10fc774926ae834f7083d2145b43 /documentation
parent70b9668b26af127a867deacb9f61b969ef1f9f71 (diff)
downloadpoky-f4b667cfbc2145679af940fc39e4df20d6821cd2.tar.gz
ref-manual: Updated LIC_FILES_CHKSUM example
Fixes [YOCTO #10898] No information indicated the use of "endline" and "beginline" in the examples setting LIC_FILES_CHKSUM. I added a note indicating that line numbering starts with one and the "endline" value is inclusive. (From yocto-docs rev: 21114f09efa423033da67af1f27c99eb3cb9695d) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/technical-details.xml16
1 files changed, 13 insertions, 3 deletions
diff --git a/documentation/ref-manual/technical-details.xml b/documentation/ref-manual/technical-details.xml
index 9bb09fb948..61f55bd80a 100644
--- a/documentation/ref-manual/technical-details.xml
+++ b/documentation/ref-manual/technical-details.xml
@@ -1445,14 +1445,23 @@
1445 1445
1446 <para> 1446 <para>
1447 The <filename>LIC_FILES_CHKSUM</filename> 1447 The <filename>LIC_FILES_CHKSUM</filename>
1448 variable contains checksums of the license text in the source code for the recipe. 1448 variable contains checksums of the license text in the source
1449 Following is an example of how to specify <filename>LIC_FILES_CHKSUM</filename>: 1449 code for the recipe.
1450 Following is an example of how to specify
1451 <filename>LIC_FILES_CHKSUM</filename>:
1450 <literallayout class='monospaced'> 1452 <literallayout class='monospaced'>
1451 LIC_FILES_CHKSUM = "file://COPYING;md5=xxxx \ 1453 LIC_FILES_CHKSUM = "file://COPYING;md5=xxxx \
1452 file://licfile1.txt;beginline=5;endline=29;md5=yyyy \ 1454 file://licfile1.txt;beginline=5;endline=29;md5=yyyy \
1453 file://licfile2.txt;endline=50;md5=zzzz \ 1455 file://licfile2.txt;endline=50;md5=zzzz \
1454 ..." 1456 ..."
1455 </literallayout> 1457 </literallayout>
1458 <note>
1459 When using "beginline" and "endline", realize that line
1460 numbering begins with one and not zero.
1461 Also, the lines included are inclusive (e.g. lines five
1462 through 29 in the previous example for
1463 <filename>licfile1.txt</filename>.
1464 </note>
1456 </para> 1465 </para>
1457 1466
1458 <para> 1467 <para>
@@ -1474,7 +1483,8 @@
1474 1483
1475 <para> 1484 <para>
1476 The first line locates a file in 1485 The first line locates a file in
1477 <filename>${S}/src/ls.c</filename>. 1486 <filename>${S}/src/ls.c</filename> and isolates lines five
1487 through 16 as license text.
1478 The second line refers to a file in 1488 The second line refers to a file in
1479 <filename><link linkend='var-WORKDIR'>WORKDIR</link></filename>. 1489 <filename><link linkend='var-WORKDIR'>WORKDIR</link></filename>.
1480 </para> 1490 </para>