summaryrefslogtreecommitdiffstats
path: root/documentation/getting-started/eclipse/html/getting-started/usingpoky-LIC_FILES_CHKSUM-explanation-of-syntax.html
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2018-01-30 11:31:29 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-02-14 15:25:30 +0000
commitf9db48724f4800e7810daad34e4a55551f29fb1c (patch)
treee6bfe1c4a37e01571eabf36f9e95b2cf70edeeb7 /documentation/getting-started/eclipse/html/getting-started/usingpoky-LIC_FILES_CHKSUM-explanation-of-syntax.html
parent52b871825f9446b162cd871c829b7458e34878d7 (diff)
downloadpoky-f9db48724f4800e7810daad34e4a55551f29fb1c.tar.gz
getting-started: Removed accidental tracked files
I accidentally pushed a commit after building out the new getting-started manual before applying some key files to the .gitignore file. So, the HTML, TGZ, and eclipse/* stuff got tracked in Git. I don't want that. So I had to use the 'git rm' command to untrack those files. (From yocto-docs rev: 217f6db7f741cee266885a845b2b0e7faf96e537) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/getting-started/eclipse/html/getting-started/usingpoky-LIC_FILES_CHKSUM-explanation-of-syntax.html')
-rw-r--r--documentation/getting-started/eclipse/html/getting-started/usingpoky-LIC_FILES_CHKSUM-explanation-of-syntax.html76
1 files changed, 0 insertions, 76 deletions
diff --git a/documentation/getting-started/eclipse/html/getting-started/usingpoky-LIC_FILES_CHKSUM-explanation-of-syntax.html b/documentation/getting-started/eclipse/html/getting-started/usingpoky-LIC_FILES_CHKSUM-explanation-of-syntax.html
deleted file mode 100644
index 7e43ebd923..0000000000
--- a/documentation/getting-started/eclipse/html/getting-started/usingpoky-LIC_FILES_CHKSUM-explanation-of-syntax.html
+++ /dev/null
@@ -1,76 +0,0 @@
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
4<title>3.7.1.2. Explanation of Syntax</title>
5<link rel="stylesheet" type="text/css" href="../book.css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7<link rel="home" href="index.html" title="Getting Started With Yocto Project">
8<link rel="up" href="usingpoky-configuring-LIC_FILES_CHKSUM.html" title="3.7.1. Tracking License Changes">
9<link rel="prev" href="usingpoky-specifying-LIC_FILES_CHKSUM.html" title="3.7.1.1. Specifying the LIC_FILES_CHKSUM Variable">
10<link rel="next" href="enabling-commercially-licensed-recipes.html" title="3.7.2. Enabling Commercially Licensed Recipes">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="section" title="3.7.1.2. Explanation of Syntax">
13<div class="titlepage"><div><div><h4 class="title">
14<a name="usingpoky-LIC_FILES_CHKSUM-explanation-of-syntax"></a>3.7.1.2. Explanation of Syntax</h4></div></div></div>
15<p>
16 As mentioned in the previous section, the
17 <code class="filename">LIC_FILES_CHKSUM</code> variable lists all
18 the important files that contain the license text for the
19 source code.
20 It is possible to specify a checksum for an entire file,
21 or a specific section of a file (specified by beginning and
22 ending line numbers with the "beginline" and "endline"
23 parameters, respectively).
24 The latter is useful for source files with a license
25 notice header, README documents, and so forth.
26 If you do not use the "beginline" parameter, then it is
27 assumed that the text begins on the first line of the file.
28 Similarly, if you do not use the "endline" parameter,
29 it is assumed that the license text ends with the last
30 line of the file.
31 </p>
32<p>
33 The "md5" parameter stores the md5 checksum of the license
34 text.
35 If the license text changes in any way as compared to
36 this parameter then a mismatch occurs.
37 This mismatch triggers a build failure and notifies
38 the developer.
39 Notification allows the developer to review and address
40 the license text changes.
41 Also note that if a mismatch occurs during the build,
42 the correct md5 checksum is placed in the build log and
43 can be easily copied to the recipe.
44 </p>
45<p>
46 There is no limit to how many files you can specify using
47 the <code class="filename">LIC_FILES_CHKSUM</code> variable.
48 Generally, however, every project requires a few
49 specifications for license tracking.
50 Many projects have a "COPYING" file that stores the
51 license information for all the source code files.
52 This practice allows you to just track the "COPYING"
53 file as long as it is kept up to date.
54 </p>
55<div class="note" title="Tips" style="margin-left: 0.5in; margin-right: 0.5in;">
56<h3 class="title">Tips</h3>
57<div class="itemizedlist"><ul class="itemizedlist" type="disc">
58<li class="listitem"><p>
59 If you specify an empty or invalid "md5"
60 parameter, BitBake returns an md5 mis-match
61 error and displays the correct "md5" parameter
62 value during the build.
63 The correct parameter is also captured in
64 the build log.
65 </p></li>
66<li class="listitem"><p>
67 If the whole file contains only license text,
68 you do not need to use the "beginline" and
69 "endline" parameters.
70 </p></li>
71</ul></div>
72</div>
73<p>
74 </p>
75</div></body>
76</html>