Merge lp:~salgado/linaro-image-tools/license into lp:linaro-image-tools/11.11
- license
- Merge into trunk
Proposed by
Guilherme Salgado
Status: | Merged |
---|---|
Merged at revision: | 270 |
Proposed branch: | lp:~salgado/linaro-image-tools/license |
Merge into: | lp:linaro-image-tools/11.11 |
Diff against target: |
1953 lines (+1665/-9) 35 files modified
COPYING (+13/-0) COPYING.GPL-2 (+339/-0) COPYING.GPL-3 (+674/-0) hwpack/__init__.py (+21/-0) hwpack/better_tarfile.py (+21/-0) hwpack/builder.py (+21/-0) hwpack/config.py (+21/-0) hwpack/hardwarepack.py (+21/-0) hwpack/packages.py (+21/-0) hwpack/tarfile_matchers.py (+21/-0) hwpack/testing.py (+21/-0) hwpack/tests/__init__.py (+21/-0) hwpack/tests/test_better_tarfile.py (+21/-0) hwpack/tests/test_builder.py (+21/-0) hwpack/tests/test_config.py (+21/-0) hwpack/tests/test_hardwarepack.py (+21/-0) hwpack/tests/test_packages.py (+21/-0) hwpack/tests/test_script.py (+21/-0) hwpack/tests/test_tarfile_matchers.py (+21/-0) hwpack/tests/test_testing.py (+21/-0) linaro-hwpack-create (+20/-0) linaro-hwpack-install (+16/-9) linaro-media-create (+18/-0) linaro_media_create/__init__.py (+19/-0) linaro_media_create/boards.py (+19/-0) linaro_media_create/check_device.py (+19/-0) linaro_media_create/cmd_runner.py (+19/-0) linaro_media_create/hwpack.py (+19/-0) linaro_media_create/partitions.py (+19/-0) linaro_media_create/populate_boot.py (+19/-0) linaro_media_create/rootfs.py (+19/-0) linaro_media_create/tests/fixtures.py (+19/-0) linaro_media_create/tests/test_media_create.py (+19/-0) linaro_media_create/unpack_binary_tarball.py (+19/-0) linaro_media_create/utils.py (+19/-0) |
To merge this branch: | bzr merge lp:~salgado/linaro-image-tools/license |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Loïc Minier (community) | Approve | ||
Review via email:
|
Commit message
Description of the change
Add license headers to all files
To post a comment you must log in.
- 273. By Guilherme Salgado
-
s/2010,2011/2010, 2011/ on all copyright notices
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added file 'COPYING' | |||
2 | --- COPYING 1970-01-01 00:00:00 +0000 | |||
3 | +++ COPYING 2011-01-28 17:43:31 +0000 | |||
4 | @@ -0,0 +1,13 @@ | |||
5 | 1 | Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 | ||
6 | 2 | Name: Linaro Image Tools | ||
7 | 3 | Maintainer: Linaro Infrastructure team <linaro-dev@linaro.org> | ||
8 | 4 | Source: http://launchpad.net/linaro-image-tools | ||
9 | 5 | |||
10 | 6 | Files: linaro-hwpack-create linaro-hwpack-install hwpack/* | ||
11 | 7 | Copyright: 2010, 2011 Linaro Limited | ||
12 | 8 | License: GPL-2+ | ||
13 | 9 | |||
14 | 10 | Files: linaro-media-create linaro_media_create/* | ||
15 | 11 | Copyright: 2010, 2011 Linaro Limited | ||
16 | 12 | License: GPL-3+ | ||
17 | 13 | |||
18 | 0 | 14 | ||
19 | === added file 'COPYING.GPL-2' | |||
20 | --- COPYING.GPL-2 1970-01-01 00:00:00 +0000 | |||
21 | +++ COPYING.GPL-2 2011-01-28 17:43:31 +0000 | |||
22 | @@ -0,0 +1,339 @@ | |||
23 | 1 | GNU GENERAL PUBLIC LICENSE | ||
24 | 2 | Version 2, June 1991 | ||
25 | 3 | |||
26 | 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc., | ||
27 | 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | 6 | Everyone is permitted to copy and distribute verbatim copies | ||
29 | 7 | of this license document, but changing it is not allowed. | ||
30 | 8 | |||
31 | 9 | Preamble | ||
32 | 10 | |||
33 | 11 | The licenses for most software are designed to take away your | ||
34 | 12 | freedom to share and change it. By contrast, the GNU General Public | ||
35 | 13 | License is intended to guarantee your freedom to share and change free | ||
36 | 14 | software--to make sure the software is free for all its users. This | ||
37 | 15 | General Public License applies to most of the Free Software | ||
38 | 16 | Foundation's software and to any other program whose authors commit to | ||
39 | 17 | using it. (Some other Free Software Foundation software is covered by | ||
40 | 18 | the GNU Lesser General Public License instead.) You can apply it to | ||
41 | 19 | your programs, too. | ||
42 | 20 | |||
43 | 21 | When we speak of free software, we are referring to freedom, not | ||
44 | 22 | price. Our General Public Licenses are designed to make sure that you | ||
45 | 23 | have the freedom to distribute copies of free software (and charge for | ||
46 | 24 | this service if you wish), that you receive source code or can get it | ||
47 | 25 | if you want it, that you can change the software or use pieces of it | ||
48 | 26 | in new free programs; and that you know you can do these things. | ||
49 | 27 | |||
50 | 28 | To protect your rights, we need to make restrictions that forbid | ||
51 | 29 | anyone to deny you these rights or to ask you to surrender the rights. | ||
52 | 30 | These restrictions translate to certain responsibilities for you if you | ||
53 | 31 | distribute copies of the software, or if you modify it. | ||
54 | 32 | |||
55 | 33 | For example, if you distribute copies of such a program, whether | ||
56 | 34 | gratis or for a fee, you must give the recipients all the rights that | ||
57 | 35 | you have. You must make sure that they, too, receive or can get the | ||
58 | 36 | source code. And you must show them these terms so they know their | ||
59 | 37 | rights. | ||
60 | 38 | |||
61 | 39 | We protect your rights with two steps: (1) copyright the software, and | ||
62 | 40 | (2) offer you this license which gives you legal permission to copy, | ||
63 | 41 | distribute and/or modify the software. | ||
64 | 42 | |||
65 | 43 | Also, for each author's protection and ours, we want to make certain | ||
66 | 44 | that everyone understands that there is no warranty for this free | ||
67 | 45 | software. If the software is modified by someone else and passed on, we | ||
68 | 46 | want its recipients to know that what they have is not the original, so | ||
69 | 47 | that any problems introduced by others will not reflect on the original | ||
70 | 48 | authors' reputations. | ||
71 | 49 | |||
72 | 50 | Finally, any free program is threatened constantly by software | ||
73 | 51 | patents. We wish to avoid the danger that redistributors of a free | ||
74 | 52 | program will individually obtain patent licenses, in effect making the | ||
75 | 53 | program proprietary. To prevent this, we have made it clear that any | ||
76 | 54 | patent must be licensed for everyone's free use or not licensed at all. | ||
77 | 55 | |||
78 | 56 | The precise terms and conditions for copying, distribution and | ||
79 | 57 | modification follow. | ||
80 | 58 | |||
81 | 59 | GNU GENERAL PUBLIC LICENSE | ||
82 | 60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | ||
83 | 61 | |||
84 | 62 | 0. This License applies to any program or other work which contains | ||
85 | 63 | a notice placed by the copyright holder saying it may be distributed | ||
86 | 64 | under the terms of this General Public License. The "Program", below, | ||
87 | 65 | refers to any such program or work, and a "work based on the Program" | ||
88 | 66 | means either the Program or any derivative work under copyright law: | ||
89 | 67 | that is to say, a work containing the Program or a portion of it, | ||
90 | 68 | either verbatim or with modifications and/or translated into another | ||
91 | 69 | language. (Hereinafter, translation is included without limitation in | ||
92 | 70 | the term "modification".) Each licensee is addressed as "you". | ||
93 | 71 | |||
94 | 72 | Activities other than copying, distribution and modification are not | ||
95 | 73 | covered by this License; they are outside its scope. The act of | ||
96 | 74 | running the Program is not restricted, and the output from the Program | ||
97 | 75 | is covered only if its contents constitute a work based on the | ||
98 | 76 | Program (independent of having been made by running the Program). | ||
99 | 77 | Whether that is true depends on what the Program does. | ||
100 | 78 | |||
101 | 79 | 1. You may copy and distribute verbatim copies of the Program's | ||
102 | 80 | source code as you receive it, in any medium, provided that you | ||
103 | 81 | conspicuously and appropriately publish on each copy an appropriate | ||
104 | 82 | copyright notice and disclaimer of warranty; keep intact all the | ||
105 | 83 | notices that refer to this License and to the absence of any warranty; | ||
106 | 84 | and give any other recipients of the Program a copy of this License | ||
107 | 85 | along with the Program. | ||
108 | 86 | |||
109 | 87 | You may charge a fee for the physical act of transferring a copy, and | ||
110 | 88 | you may at your option offer warranty protection in exchange for a fee. | ||
111 | 89 | |||
112 | 90 | 2. You may modify your copy or copies of the Program or any portion | ||
113 | 91 | of it, thus forming a work based on the Program, and copy and | ||
114 | 92 | distribute such modifications or work under the terms of Section 1 | ||
115 | 93 | above, provided that you also meet all of these conditions: | ||
116 | 94 | |||
117 | 95 | a) You must cause the modified files to carry prominent notices | ||
118 | 96 | stating that you changed the files and the date of any change. | ||
119 | 97 | |||
120 | 98 | b) You must cause any work that you distribute or publish, that in | ||
121 | 99 | whole or in part contains or is derived from the Program or any | ||
122 | 100 | part thereof, to be licensed as a whole at no charge to all third | ||
123 | 101 | parties under the terms of this License. | ||
124 | 102 | |||
125 | 103 | c) If the modified program normally reads commands interactively | ||
126 | 104 | when run, you must cause it, when started running for such | ||
127 | 105 | interactive use in the most ordinary way, to print or display an | ||
128 | 106 | announcement including an appropriate copyright notice and a | ||
129 | 107 | notice that there is no warranty (or else, saying that you provide | ||
130 | 108 | a warranty) and that users may redistribute the program under | ||
131 | 109 | these conditions, and telling the user how to view a copy of this | ||
132 | 110 | License. (Exception: if the Program itself is interactive but | ||
133 | 111 | does not normally print such an announcement, your work based on | ||
134 | 112 | the Program is not required to print an announcement.) | ||
135 | 113 | |||
136 | 114 | These requirements apply to the modified work as a whole. If | ||
137 | 115 | identifiable sections of that work are not derived from the Program, | ||
138 | 116 | and can be reasonably considered independent and separate works in | ||
139 | 117 | themselves, then this License, and its terms, do not apply to those | ||
140 | 118 | sections when you distribute them as separate works. But when you | ||
141 | 119 | distribute the same sections as part of a whole which is a work based | ||
142 | 120 | on the Program, the distribution of the whole must be on the terms of | ||
143 | 121 | this License, whose permissions for other licensees extend to the | ||
144 | 122 | entire whole, and thus to each and every part regardless of who wrote it. | ||
145 | 123 | |||
146 | 124 | Thus, it is not the intent of this section to claim rights or contest | ||
147 | 125 | your rights to work written entirely by you; rather, the intent is to | ||
148 | 126 | exercise the right to control the distribution of derivative or | ||
149 | 127 | collective works based on the Program. | ||
150 | 128 | |||
151 | 129 | In addition, mere aggregation of another work not based on the Program | ||
152 | 130 | with the Program (or with a work based on the Program) on a volume of | ||
153 | 131 | a storage or distribution medium does not bring the other work under | ||
154 | 132 | the scope of this License. | ||
155 | 133 | |||
156 | 134 | 3. You may copy and distribute the Program (or a work based on it, | ||
157 | 135 | under Section 2) in object code or executable form under the terms of | ||
158 | 136 | Sections 1 and 2 above provided that you also do one of the following: | ||
159 | 137 | |||
160 | 138 | a) Accompany it with the complete corresponding machine-readable | ||
161 | 139 | source code, which must be distributed under the terms of Sections | ||
162 | 140 | 1 and 2 above on a medium customarily used for software interchange; or, | ||
163 | 141 | |||
164 | 142 | b) Accompany it with a written offer, valid for at least three | ||
165 | 143 | years, to give any third party, for a charge no more than your | ||
166 | 144 | cost of physically performing source distribution, a complete | ||
167 | 145 | machine-readable copy of the corresponding source code, to be | ||
168 | 146 | distributed under the terms of Sections 1 and 2 above on a medium | ||
169 | 147 | customarily used for software interchange; or, | ||
170 | 148 | |||
171 | 149 | c) Accompany it with the information you received as to the offer | ||
172 | 150 | to distribute corresponding source code. (This alternative is | ||
173 | 151 | allowed only for noncommercial distribution and only if you | ||
174 | 152 | received the program in object code or executable form with such | ||
175 | 153 | an offer, in accord with Subsection b above.) | ||
176 | 154 | |||
177 | 155 | The source code for a work means the preferred form of the work for | ||
178 | 156 | making modifications to it. For an executable work, complete source | ||
179 | 157 | code means all the source code for all modules it contains, plus any | ||
180 | 158 | associated interface definition files, plus the scripts used to | ||
181 | 159 | control compilation and installation of the executable. However, as a | ||
182 | 160 | special exception, the source code distributed need not include | ||
183 | 161 | anything that is normally distributed (in either source or binary | ||
184 | 162 | form) with the major components (compiler, kernel, and so on) of the | ||
185 | 163 | operating system on which the executable runs, unless that component | ||
186 | 164 | itself accompanies the executable. | ||
187 | 165 | |||
188 | 166 | If distribution of executable or object code is made by offering | ||
189 | 167 | access to copy from a designated place, then offering equivalent | ||
190 | 168 | access to copy the source code from the same place counts as | ||
191 | 169 | distribution of the source code, even though third parties are not | ||
192 | 170 | compelled to copy the source along with the object code. | ||
193 | 171 | |||
194 | 172 | 4. You may not copy, modify, sublicense, or distribute the Program | ||
195 | 173 | except as expressly provided under this License. Any attempt | ||
196 | 174 | otherwise to copy, modify, sublicense or distribute the Program is | ||
197 | 175 | void, and will automatically terminate your rights under this License. | ||
198 | 176 | However, parties who have received copies, or rights, from you under | ||
199 | 177 | this License will not have their licenses terminated so long as such | ||
200 | 178 | parties remain in full compliance. | ||
201 | 179 | |||
202 | 180 | 5. You are not required to accept this License, since you have not | ||
203 | 181 | signed it. However, nothing else grants you permission to modify or | ||
204 | 182 | distribute the Program or its derivative works. These actions are | ||
205 | 183 | prohibited by law if you do not accept this License. Therefore, by | ||
206 | 184 | modifying or distributing the Program (or any work based on the | ||
207 | 185 | Program), you indicate your acceptance of this License to do so, and | ||
208 | 186 | all its terms and conditions for copying, distributing or modifying | ||
209 | 187 | the Program or works based on it. | ||
210 | 188 | |||
211 | 189 | 6. Each time you redistribute the Program (or any work based on the | ||
212 | 190 | Program), the recipient automatically receives a license from the | ||
213 | 191 | original licensor to copy, distribute or modify the Program subject to | ||
214 | 192 | these terms and conditions. You may not impose any further | ||
215 | 193 | restrictions on the recipients' exercise of the rights granted herein. | ||
216 | 194 | You are not responsible for enforcing compliance by third parties to | ||
217 | 195 | this License. | ||
218 | 196 | |||
219 | 197 | 7. If, as a consequence of a court judgment or allegation of patent | ||
220 | 198 | infringement or for any other reason (not limited to patent issues), | ||
221 | 199 | conditions are imposed on you (whether by court order, agreement or | ||
222 | 200 | otherwise) that contradict the conditions of this License, they do not | ||
223 | 201 | excuse you from the conditions of this License. If you cannot | ||
224 | 202 | distribute so as to satisfy simultaneously your obligations under this | ||
225 | 203 | License and any other pertinent obligations, then as a consequence you | ||
226 | 204 | may not distribute the Program at all. For example, if a patent | ||
227 | 205 | license would not permit royalty-free redistribution of the Program by | ||
228 | 206 | all those who receive copies directly or indirectly through you, then | ||
229 | 207 | the only way you could satisfy both it and this License would be to | ||
230 | 208 | refrain entirely from distribution of the Program. | ||
231 | 209 | |||
232 | 210 | If any portion of this section is held invalid or unenforceable under | ||
233 | 211 | any particular circumstance, the balance of the section is intended to | ||
234 | 212 | apply and the section as a whole is intended to apply in other | ||
235 | 213 | circumstances. | ||
236 | 214 | |||
237 | 215 | It is not the purpose of this section to induce you to infringe any | ||
238 | 216 | patents or other property right claims or to contest validity of any | ||
239 | 217 | such claims; this section has the sole purpose of protecting the | ||
240 | 218 | integrity of the free software distribution system, which is | ||
241 | 219 | implemented by public license practices. Many people have made | ||
242 | 220 | generous contributions to the wide range of software distributed | ||
243 | 221 | through that system in reliance on consistent application of that | ||
244 | 222 | system; it is up to the author/donor to decide if he or she is willing | ||
245 | 223 | to distribute software through any other system and a licensee cannot | ||
246 | 224 | impose that choice. | ||
247 | 225 | |||
248 | 226 | This section is intended to make thoroughly clear what is believed to | ||
249 | 227 | be a consequence of the rest of this License. | ||
250 | 228 | |||
251 | 229 | 8. If the distribution and/or use of the Program is restricted in | ||
252 | 230 | certain countries either by patents or by copyrighted interfaces, the | ||
253 | 231 | original copyright holder who places the Program under this License | ||
254 | 232 | may add an explicit geographical distribution limitation excluding | ||
255 | 233 | those countries, so that distribution is permitted only in or among | ||
256 | 234 | countries not thus excluded. In such case, this License incorporates | ||
257 | 235 | the limitation as if written in the body of this License. | ||
258 | 236 | |||
259 | 237 | 9. The Free Software Foundation may publish revised and/or new versions | ||
260 | 238 | of the General Public License from time to time. Such new versions will | ||
261 | 239 | be similar in spirit to the present version, but may differ in detail to | ||
262 | 240 | address new problems or concerns. | ||
263 | 241 | |||
264 | 242 | Each version is given a distinguishing version number. If the Program | ||
265 | 243 | specifies a version number of this License which applies to it and "any | ||
266 | 244 | later version", you have the option of following the terms and conditions | ||
267 | 245 | either of that version or of any later version published by the Free | ||
268 | 246 | Software Foundation. If the Program does not specify a version number of | ||
269 | 247 | this License, you may choose any version ever published by the Free Software | ||
270 | 248 | Foundation. | ||
271 | 249 | |||
272 | 250 | 10. If you wish to incorporate parts of the Program into other free | ||
273 | 251 | programs whose distribution conditions are different, write to the author | ||
274 | 252 | to ask for permission. For software which is copyrighted by the Free | ||
275 | 253 | Software Foundation, write to the Free Software Foundation; we sometimes | ||
276 | 254 | make exceptions for this. Our decision will be guided by the two goals | ||
277 | 255 | of preserving the free status of all derivatives of our free software and | ||
278 | 256 | of promoting the sharing and reuse of software generally. | ||
279 | 257 | |||
280 | 258 | NO WARRANTY | ||
281 | 259 | |||
282 | 260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY | ||
283 | 261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN | ||
284 | 262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES | ||
285 | 263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED | ||
286 | 264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
287 | 265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS | ||
288 | 266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE | ||
289 | 267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, | ||
290 | 268 | REPAIR OR CORRECTION. | ||
291 | 269 | |||
292 | 270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING | ||
293 | 271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR | ||
294 | 272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, | ||
295 | 273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING | ||
296 | 274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED | ||
297 | 275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY | ||
298 | 276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER | ||
299 | 277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE | ||
300 | 278 | POSSIBILITY OF SUCH DAMAGES. | ||
301 | 279 | |||
302 | 280 | END OF TERMS AND CONDITIONS | ||
303 | 281 | |||
304 | 282 | How to Apply These Terms to Your New Programs | ||
305 | 283 | |||
306 | 284 | If you develop a new program, and you want it to be of the greatest | ||
307 | 285 | possible use to the public, the best way to achieve this is to make it | ||
308 | 286 | free software which everyone can redistribute and change under these terms. | ||
309 | 287 | |||
310 | 288 | To do so, attach the following notices to the program. It is safest | ||
311 | 289 | to attach them to the start of each source file to most effectively | ||
312 | 290 | convey the exclusion of warranty; and each file should have at least | ||
313 | 291 | the "copyright" line and a pointer to where the full notice is found. | ||
314 | 292 | |||
315 | 293 | <one line to give the program's name and a brief idea of what it does.> | ||
316 | 294 | Copyright (C) <year> <name of author> | ||
317 | 295 | |||
318 | 296 | This program is free software; you can redistribute it and/or modify | ||
319 | 297 | it under the terms of the GNU General Public License as published by | ||
320 | 298 | the Free Software Foundation; either version 2 of the License, or | ||
321 | 299 | (at your option) any later version. | ||
322 | 300 | |||
323 | 301 | This program is distributed in the hope that it will be useful, | ||
324 | 302 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
325 | 303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
326 | 304 | GNU General Public License for more details. | ||
327 | 305 | |||
328 | 306 | You should have received a copy of the GNU General Public License along | ||
329 | 307 | with this program; if not, write to the Free Software Foundation, Inc., | ||
330 | 308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
331 | 309 | |||
332 | 310 | Also add information on how to contact you by electronic and paper mail. | ||
333 | 311 | |||
334 | 312 | If the program is interactive, make it output a short notice like this | ||
335 | 313 | when it starts in an interactive mode: | ||
336 | 314 | |||
337 | 315 | Gnomovision version 69, Copyright (C) year name of author | ||
338 | 316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. | ||
339 | 317 | This is free software, and you are welcome to redistribute it | ||
340 | 318 | under certain conditions; type `show c' for details. | ||
341 | 319 | |||
342 | 320 | The hypothetical commands `show w' and `show c' should show the appropriate | ||
343 | 321 | parts of the General Public License. Of course, the commands you use may | ||
344 | 322 | be called something other than `show w' and `show c'; they could even be | ||
345 | 323 | mouse-clicks or menu items--whatever suits your program. | ||
346 | 324 | |||
347 | 325 | You should also get your employer (if you work as a programmer) or your | ||
348 | 326 | school, if any, to sign a "copyright disclaimer" for the program, if | ||
349 | 327 | necessary. Here is a sample; alter the names: | ||
350 | 328 | |||
351 | 329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program | ||
352 | 330 | `Gnomovision' (which makes passes at compilers) written by James Hacker. | ||
353 | 331 | |||
354 | 332 | <signature of Ty Coon>, 1 April 1989 | ||
355 | 333 | Ty Coon, President of Vice | ||
356 | 334 | |||
357 | 335 | This General Public License does not permit incorporating your program into | ||
358 | 336 | proprietary programs. If your program is a subroutine library, you may | ||
359 | 337 | consider it more useful to permit linking proprietary applications with the | ||
360 | 338 | library. If this is what you want to do, use the GNU Lesser General | ||
361 | 339 | Public License instead of this License. | ||
362 | 0 | 340 | ||
363 | === added file 'COPYING.GPL-3' | |||
364 | --- COPYING.GPL-3 1970-01-01 00:00:00 +0000 | |||
365 | +++ COPYING.GPL-3 2011-01-28 17:43:31 +0000 | |||
366 | @@ -0,0 +1,674 @@ | |||
367 | 1 | GNU GENERAL PUBLIC LICENSE | ||
368 | 2 | Version 3, 29 June 2007 | ||
369 | 3 | |||
370 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> | ||
371 | 5 | Everyone is permitted to copy and distribute verbatim copies | ||
372 | 6 | of this license document, but changing it is not allowed. | ||
373 | 7 | |||
374 | 8 | Preamble | ||
375 | 9 | |||
376 | 10 | The GNU General Public License is a free, copyleft license for | ||
377 | 11 | software and other kinds of works. | ||
378 | 12 | |||
379 | 13 | The licenses for most software and other practical works are designed | ||
380 | 14 | to take away your freedom to share and change the works. By contrast, | ||
381 | 15 | the GNU General Public License is intended to guarantee your freedom to | ||
382 | 16 | share and change all versions of a program--to make sure it remains free | ||
383 | 17 | software for all its users. We, the Free Software Foundation, use the | ||
384 | 18 | GNU General Public License for most of our software; it applies also to | ||
385 | 19 | any other work released this way by its authors. You can apply it to | ||
386 | 20 | your programs, too. | ||
387 | 21 | |||
388 | 22 | When we speak of free software, we are referring to freedom, not | ||
389 | 23 | price. Our General Public Licenses are designed to make sure that you | ||
390 | 24 | have the freedom to distribute copies of free software (and charge for | ||
391 | 25 | them if you wish), that you receive source code or can get it if you | ||
392 | 26 | want it, that you can change the software or use pieces of it in new | ||
393 | 27 | free programs, and that you know you can do these things. | ||
394 | 28 | |||
395 | 29 | To protect your rights, we need to prevent others from denying you | ||
396 | 30 | these rights or asking you to surrender the rights. Therefore, you have | ||
397 | 31 | certain responsibilities if you distribute copies of the software, or if | ||
398 | 32 | you modify it: responsibilities to respect the freedom of others. | ||
399 | 33 | |||
400 | 34 | For example, if you distribute copies of such a program, whether | ||
401 | 35 | gratis or for a fee, you must pass on to the recipients the same | ||
402 | 36 | freedoms that you received. You must make sure that they, too, receive | ||
403 | 37 | or can get the source code. And you must show them these terms so they | ||
404 | 38 | know their rights. | ||
405 | 39 | |||
406 | 40 | Developers that use the GNU GPL protect your rights with two steps: | ||
407 | 41 | (1) assert copyright on the software, and (2) offer you this License | ||
408 | 42 | giving you legal permission to copy, distribute and/or modify it. | ||
409 | 43 | |||
410 | 44 | For the developers' and authors' protection, the GPL clearly explains | ||
411 | 45 | that there is no warranty for this free software. For both users' and | ||
412 | 46 | authors' sake, the GPL requires that modified versions be marked as | ||
413 | 47 | changed, so that their problems will not be attributed erroneously to | ||
414 | 48 | authors of previous versions. | ||
415 | 49 | |||
416 | 50 | Some devices are designed to deny users access to install or run | ||
417 | 51 | modified versions of the software inside them, although the manufacturer | ||
418 | 52 | can do so. This is fundamentally incompatible with the aim of | ||
419 | 53 | protecting users' freedom to change the software. The systematic | ||
420 | 54 | pattern of such abuse occurs in the area of products for individuals to | ||
421 | 55 | use, which is precisely where it is most unacceptable. Therefore, we | ||
422 | 56 | have designed this version of the GPL to prohibit the practice for those | ||
423 | 57 | products. If such problems arise substantially in other domains, we | ||
424 | 58 | stand ready to extend this provision to those domains in future versions | ||
425 | 59 | of the GPL, as needed to protect the freedom of users. | ||
426 | 60 | |||
427 | 61 | Finally, every program is threatened constantly by software patents. | ||
428 | 62 | States should not allow patents to restrict development and use of | ||
429 | 63 | software on general-purpose computers, but in those that do, we wish to | ||
430 | 64 | avoid the special danger that patents applied to a free program could | ||
431 | 65 | make it effectively proprietary. To prevent this, the GPL assures that | ||
432 | 66 | patents cannot be used to render the program non-free. | ||
433 | 67 | |||
434 | 68 | The precise terms and conditions for copying, distribution and | ||
435 | 69 | modification follow. | ||
436 | 70 | |||
437 | 71 | TERMS AND CONDITIONS | ||
438 | 72 | |||
439 | 73 | 0. Definitions. | ||
440 | 74 | |||
441 | 75 | "This License" refers to version 3 of the GNU General Public License. | ||
442 | 76 | |||
443 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of | ||
444 | 78 | works, such as semiconductor masks. | ||
445 | 79 | |||
446 | 80 | "The Program" refers to any copyrightable work licensed under this | ||
447 | 81 | License. Each licensee is addressed as "you". "Licensees" and | ||
448 | 82 | "recipients" may be individuals or organizations. | ||
449 | 83 | |||
450 | 84 | To "modify" a work means to copy from or adapt all or part of the work | ||
451 | 85 | in a fashion requiring copyright permission, other than the making of an | ||
452 | 86 | exact copy. The resulting work is called a "modified version" of the | ||
453 | 87 | earlier work or a work "based on" the earlier work. | ||
454 | 88 | |||
455 | 89 | A "covered work" means either the unmodified Program or a work based | ||
456 | 90 | on the Program. | ||
457 | 91 | |||
458 | 92 | To "propagate" a work means to do anything with it that, without | ||
459 | 93 | permission, would make you directly or secondarily liable for | ||
460 | 94 | infringement under applicable copyright law, except executing it on a | ||
461 | 95 | computer or modifying a private copy. Propagation includes copying, | ||
462 | 96 | distribution (with or without modification), making available to the | ||
463 | 97 | public, and in some countries other activities as well. | ||
464 | 98 | |||
465 | 99 | To "convey" a work means any kind of propagation that enables other | ||
466 | 100 | parties to make or receive copies. Mere interaction with a user through | ||
467 | 101 | a computer network, with no transfer of a copy, is not conveying. | ||
468 | 102 | |||
469 | 103 | An interactive user interface displays "Appropriate Legal Notices" | ||
470 | 104 | to the extent that it includes a convenient and prominently visible | ||
471 | 105 | feature that (1) displays an appropriate copyright notice, and (2) | ||
472 | 106 | tells the user that there is no warranty for the work (except to the | ||
473 | 107 | extent that warranties are provided), that licensees may convey the | ||
474 | 108 | work under this License, and how to view a copy of this License. If | ||
475 | 109 | the interface presents a list of user commands or options, such as a | ||
476 | 110 | menu, a prominent item in the list meets this criterion. | ||
477 | 111 | |||
478 | 112 | 1. Source Code. | ||
479 | 113 | |||
480 | 114 | The "source code" for a work means the preferred form of the work | ||
481 | 115 | for making modifications to it. "Object code" means any non-source | ||
482 | 116 | form of a work. | ||
483 | 117 | |||
484 | 118 | A "Standard Interface" means an interface that either is an official | ||
485 | 119 | standard defined by a recognized standards body, or, in the case of | ||
486 | 120 | interfaces specified for a particular programming language, one that | ||
487 | 121 | is widely used among developers working in that language. | ||
488 | 122 | |||
489 | 123 | The "System Libraries" of an executable work include anything, other | ||
490 | 124 | than the work as a whole, that (a) is included in the normal form of | ||
491 | 125 | packaging a Major Component, but which is not part of that Major | ||
492 | 126 | Component, and (b) serves only to enable use of the work with that | ||
493 | 127 | Major Component, or to implement a Standard Interface for which an | ||
494 | 128 | implementation is available to the public in source code form. A | ||
495 | 129 | "Major Component", in this context, means a major essential component | ||
496 | 130 | (kernel, window system, and so on) of the specific operating system | ||
497 | 131 | (if any) on which the executable work runs, or a compiler used to | ||
498 | 132 | produce the work, or an object code interpreter used to run it. | ||
499 | 133 | |||
500 | 134 | The "Corresponding Source" for a work in object code form means all | ||
501 | 135 | the source code needed to generate, install, and (for an executable | ||
502 | 136 | work) run the object code and to modify the work, including scripts to | ||
503 | 137 | control those activities. However, it does not include the work's | ||
504 | 138 | System Libraries, or general-purpose tools or generally available free | ||
505 | 139 | programs which are used unmodified in performing those activities but | ||
506 | 140 | which are not part of the work. For example, Corresponding Source | ||
507 | 141 | includes interface definition files associated with source files for | ||
508 | 142 | the work, and the source code for shared libraries and dynamically | ||
509 | 143 | linked subprograms that the work is specifically designed to require, | ||
510 | 144 | such as by intimate data communication or control flow between those | ||
511 | 145 | subprograms and other parts of the work. | ||
512 | 146 | |||
513 | 147 | The Corresponding Source need not include anything that users | ||
514 | 148 | can regenerate automatically from other parts of the Corresponding | ||
515 | 149 | Source. | ||
516 | 150 | |||
517 | 151 | The Corresponding Source for a work in source code form is that | ||
518 | 152 | same work. | ||
519 | 153 | |||
520 | 154 | 2. Basic Permissions. | ||
521 | 155 | |||
522 | 156 | All rights granted under this License are granted for the term of | ||
523 | 157 | copyright on the Program, and are irrevocable provided the stated | ||
524 | 158 | conditions are met. This License explicitly affirms your unlimited | ||
525 | 159 | permission to run the unmodified Program. The output from running a | ||
526 | 160 | covered work is covered by this License only if the output, given its | ||
527 | 161 | content, constitutes a covered work. This License acknowledges your | ||
528 | 162 | rights of fair use or other equivalent, as provided by copyright law. | ||
529 | 163 | |||
530 | 164 | You may make, run and propagate covered works that you do not | ||
531 | 165 | convey, without conditions so long as your license otherwise remains | ||
532 | 166 | in force. You may convey covered works to others for the sole purpose | ||
533 | 167 | of having them make modifications exclusively for you, or provide you | ||
534 | 168 | with facilities for running those works, provided that you comply with | ||
535 | 169 | the terms of this License in conveying all material for which you do | ||
536 | 170 | not control copyright. Those thus making or running the covered works | ||
537 | 171 | for you must do so exclusively on your behalf, under your direction | ||
538 | 172 | and control, on terms that prohibit them from making any copies of | ||
539 | 173 | your copyrighted material outside their relationship with you. | ||
540 | 174 | |||
541 | 175 | Conveying under any other circumstances is permitted solely under | ||
542 | 176 | the conditions stated below. Sublicensing is not allowed; section 10 | ||
543 | 177 | makes it unnecessary. | ||
544 | 178 | |||
545 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. | ||
546 | 180 | |||
547 | 181 | No covered work shall be deemed part of an effective technological | ||
548 | 182 | measure under any applicable law fulfilling obligations under article | ||
549 | 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or | ||
550 | 184 | similar laws prohibiting or restricting circumvention of such | ||
551 | 185 | measures. | ||
552 | 186 | |||
553 | 187 | When you convey a covered work, you waive any legal power to forbid | ||
554 | 188 | circumvention of technological measures to the extent such circumvention | ||
555 | 189 | is effected by exercising rights under this License with respect to | ||
556 | 190 | the covered work, and you disclaim any intention to limit operation or | ||
557 | 191 | modification of the work as a means of enforcing, against the work's | ||
558 | 192 | users, your or third parties' legal rights to forbid circumvention of | ||
559 | 193 | technological measures. | ||
560 | 194 | |||
561 | 195 | 4. Conveying Verbatim Copies. | ||
562 | 196 | |||
563 | 197 | You may convey verbatim copies of the Program's source code as you | ||
564 | 198 | receive it, in any medium, provided that you conspicuously and | ||
565 | 199 | appropriately publish on each copy an appropriate copyright notice; | ||
566 | 200 | keep intact all notices stating that this License and any | ||
567 | 201 | non-permissive terms added in accord with section 7 apply to the code; | ||
568 | 202 | keep intact all notices of the absence of any warranty; and give all | ||
569 | 203 | recipients a copy of this License along with the Program. | ||
570 | 204 | |||
571 | 205 | You may charge any price or no price for each copy that you convey, | ||
572 | 206 | and you may offer support or warranty protection for a fee. | ||
573 | 207 | |||
574 | 208 | 5. Conveying Modified Source Versions. | ||
575 | 209 | |||
576 | 210 | You may convey a work based on the Program, or the modifications to | ||
577 | 211 | produce it from the Program, in the form of source code under the | ||
578 | 212 | terms of section 4, provided that you also meet all of these conditions: | ||
579 | 213 | |||
580 | 214 | a) The work must carry prominent notices stating that you modified | ||
581 | 215 | it, and giving a relevant date. | ||
582 | 216 | |||
583 | 217 | b) The work must carry prominent notices stating that it is | ||
584 | 218 | released under this License and any conditions added under section | ||
585 | 219 | 7. This requirement modifies the requirement in section 4 to | ||
586 | 220 | "keep intact all notices". | ||
587 | 221 | |||
588 | 222 | c) You must license the entire work, as a whole, under this | ||
589 | 223 | License to anyone who comes into possession of a copy. This | ||
590 | 224 | License will therefore apply, along with any applicable section 7 | ||
591 | 225 | additional terms, to the whole of the work, and all its parts, | ||
592 | 226 | regardless of how they are packaged. This License gives no | ||
593 | 227 | permission to license the work in any other way, but it does not | ||
594 | 228 | invalidate such permission if you have separately received it. | ||
595 | 229 | |||
596 | 230 | d) If the work has interactive user interfaces, each must display | ||
597 | 231 | Appropriate Legal Notices; however, if the Program has interactive | ||
598 | 232 | interfaces that do not display Appropriate Legal Notices, your | ||
599 | 233 | work need not make them do so. | ||
600 | 234 | |||
601 | 235 | A compilation of a covered work with other separate and independent | ||
602 | 236 | works, which are not by their nature extensions of the covered work, | ||
603 | 237 | and which are not combined with it such as to form a larger program, | ||
604 | 238 | in or on a volume of a storage or distribution medium, is called an | ||
605 | 239 | "aggregate" if the compilation and its resulting copyright are not | ||
606 | 240 | used to limit the access or legal rights of the compilation's users | ||
607 | 241 | beyond what the individual works permit. Inclusion of a covered work | ||
608 | 242 | in an aggregate does not cause this License to apply to the other | ||
609 | 243 | parts of the aggregate. | ||
610 | 244 | |||
611 | 245 | 6. Conveying Non-Source Forms. | ||
612 | 246 | |||
613 | 247 | You may convey a covered work in object code form under the terms | ||
614 | 248 | of sections 4 and 5, provided that you also convey the | ||
615 | 249 | machine-readable Corresponding Source under the terms of this License, | ||
616 | 250 | in one of these ways: | ||
617 | 251 | |||
618 | 252 | a) Convey the object code in, or embodied in, a physical product | ||
619 | 253 | (including a physical distribution medium), accompanied by the | ||
620 | 254 | Corresponding Source fixed on a durable physical medium | ||
621 | 255 | customarily used for software interchange. | ||
622 | 256 | |||
623 | 257 | b) Convey the object code in, or embodied in, a physical product | ||
624 | 258 | (including a physical distribution medium), accompanied by a | ||
625 | 259 | written offer, valid for at least three years and valid for as | ||
626 | 260 | long as you offer spare parts or customer support for that product | ||
627 | 261 | model, to give anyone who possesses the object code either (1) a | ||
628 | 262 | copy of the Corresponding Source for all the software in the | ||
629 | 263 | product that is covered by this License, on a durable physical | ||
630 | 264 | medium customarily used for software interchange, for a price no | ||
631 | 265 | more than your reasonable cost of physically performing this | ||
632 | 266 | conveying of source, or (2) access to copy the | ||
633 | 267 | Corresponding Source from a network server at no charge. | ||
634 | 268 | |||
635 | 269 | c) Convey individual copies of the object code with a copy of the | ||
636 | 270 | written offer to provide the Corresponding Source. This | ||
637 | 271 | alternative is allowed only occasionally and noncommercially, and | ||
638 | 272 | only if you received the object code with such an offer, in accord | ||
639 | 273 | with subsection 6b. | ||
640 | 274 | |||
641 | 275 | d) Convey the object code by offering access from a designated | ||
642 | 276 | place (gratis or for a charge), and offer equivalent access to the | ||
643 | 277 | Corresponding Source in the same way through the same place at no | ||
644 | 278 | further charge. You need not require recipients to copy the | ||
645 | 279 | Corresponding Source along with the object code. If the place to | ||
646 | 280 | copy the object code is a network server, the Corresponding Source | ||
647 | 281 | may be on a different server (operated by you or a third party) | ||
648 | 282 | that supports equivalent copying facilities, provided you maintain | ||
649 | 283 | clear directions next to the object code saying where to find the | ||
650 | 284 | Corresponding Source. Regardless of what server hosts the | ||
651 | 285 | Corresponding Source, you remain obligated to ensure that it is | ||
652 | 286 | available for as long as needed to satisfy these requirements. | ||
653 | 287 | |||
654 | 288 | e) Convey the object code using peer-to-peer transmission, provided | ||
655 | 289 | you inform other peers where the object code and Corresponding | ||
656 | 290 | Source of the work are being offered to the general public at no | ||
657 | 291 | charge under subsection 6d. | ||
658 | 292 | |||
659 | 293 | A separable portion of the object code, whose source code is excluded | ||
660 | 294 | from the Corresponding Source as a System Library, need not be | ||
661 | 295 | included in conveying the object code work. | ||
662 | 296 | |||
663 | 297 | A "User Product" is either (1) a "consumer product", which means any | ||
664 | 298 | tangible personal property which is normally used for personal, family, | ||
665 | 299 | or household purposes, or (2) anything designed or sold for incorporation | ||
666 | 300 | into a dwelling. In determining whether a product is a consumer product, | ||
667 | 301 | doubtful cases shall be resolved in favor of coverage. For a particular | ||
668 | 302 | product received by a particular user, "normally used" refers to a | ||
669 | 303 | typical or common use of that class of product, regardless of the status | ||
670 | 304 | of the particular user or of the way in which the particular user | ||
671 | 305 | actually uses, or expects or is expected to use, the product. A product | ||
672 | 306 | is a consumer product regardless of whether the product has substantial | ||
673 | 307 | commercial, industrial or non-consumer uses, unless such uses represent | ||
674 | 308 | the only significant mode of use of the product. | ||
675 | 309 | |||
676 | 310 | "Installation Information" for a User Product means any methods, | ||
677 | 311 | procedures, authorization keys, or other information required to install | ||
678 | 312 | and execute modified versions of a covered work in that User Product from | ||
679 | 313 | a modified version of its Corresponding Source. The information must | ||
680 | 314 | suffice to ensure that the continued functioning of the modified object | ||
681 | 315 | code is in no case prevented or interfered with solely because | ||
682 | 316 | modification has been made. | ||
683 | 317 | |||
684 | 318 | If you convey an object code work under this section in, or with, or | ||
685 | 319 | specifically for use in, a User Product, and the conveying occurs as | ||
686 | 320 | part of a transaction in which the right of possession and use of the | ||
687 | 321 | User Product is transferred to the recipient in perpetuity or for a | ||
688 | 322 | fixed term (regardless of how the transaction is characterized), the | ||
689 | 323 | Corresponding Source conveyed under this section must be accompanied | ||
690 | 324 | by the Installation Information. But this requirement does not apply | ||
691 | 325 | if neither you nor any third party retains the ability to install | ||
692 | 326 | modified object code on the User Product (for example, the work has | ||
693 | 327 | been installed in ROM). | ||
694 | 328 | |||
695 | 329 | The requirement to provide Installation Information does not include a | ||
696 | 330 | requirement to continue to provide support service, warranty, or updates | ||
697 | 331 | for a work that has been modified or installed by the recipient, or for | ||
698 | 332 | the User Product in which it has been modified or installed. Access to a | ||
699 | 333 | network may be denied when the modification itself materially and | ||
700 | 334 | adversely affects the operation of the network or violates the rules and | ||
701 | 335 | protocols for communication across the network. | ||
702 | 336 | |||
703 | 337 | Corresponding Source conveyed, and Installation Information provided, | ||
704 | 338 | in accord with this section must be in a format that is publicly | ||
705 | 339 | documented (and with an implementation available to the public in | ||
706 | 340 | source code form), and must require no special password or key for | ||
707 | 341 | unpacking, reading or copying. | ||
708 | 342 | |||
709 | 343 | 7. Additional Terms. | ||
710 | 344 | |||
711 | 345 | "Additional permissions" are terms that supplement the terms of this | ||
712 | 346 | License by making exceptions from one or more of its conditions. | ||
713 | 347 | Additional permissions that are applicable to the entire Program shall | ||
714 | 348 | be treated as though they were included in this License, to the extent | ||
715 | 349 | that they are valid under applicable law. If additional permissions | ||
716 | 350 | apply only to part of the Program, that part may be used separately | ||
717 | 351 | under those permissions, but the entire Program remains governed by | ||
718 | 352 | this License without regard to the additional permissions. | ||
719 | 353 | |||
720 | 354 | When you convey a copy of a covered work, you may at your option | ||
721 | 355 | remove any additional permissions from that copy, or from any part of | ||
722 | 356 | it. (Additional permissions may be written to require their own | ||
723 | 357 | removal in certain cases when you modify the work.) You may place | ||
724 | 358 | additional permissions on material, added by you to a covered work, | ||
725 | 359 | for which you have or can give appropriate copyright permission. | ||
726 | 360 | |||
727 | 361 | Notwithstanding any other provision of this License, for material you | ||
728 | 362 | add to a covered work, you may (if authorized by the copyright holders of | ||
729 | 363 | that material) supplement the terms of this License with terms: | ||
730 | 364 | |||
731 | 365 | a) Disclaiming warranty or limiting liability differently from the | ||
732 | 366 | terms of sections 15 and 16 of this License; or | ||
733 | 367 | |||
734 | 368 | b) Requiring preservation of specified reasonable legal notices or | ||
735 | 369 | author attributions in that material or in the Appropriate Legal | ||
736 | 370 | Notices displayed by works containing it; or | ||
737 | 371 | |||
738 | 372 | c) Prohibiting misrepresentation of the origin of that material, or | ||
739 | 373 | requiring that modified versions of such material be marked in | ||
740 | 374 | reasonable ways as different from the original version; or | ||
741 | 375 | |||
742 | 376 | d) Limiting the use for publicity purposes of names of licensors or | ||
743 | 377 | authors of the material; or | ||
744 | 378 | |||
745 | 379 | e) Declining to grant rights under trademark law for use of some | ||
746 | 380 | trade names, trademarks, or service marks; or | ||
747 | 381 | |||
748 | 382 | f) Requiring indemnification of licensors and authors of that | ||
749 | 383 | material by anyone who conveys the material (or modified versions of | ||
750 | 384 | it) with contractual assumptions of liability to the recipient, for | ||
751 | 385 | any liability that these contractual assumptions directly impose on | ||
752 | 386 | those licensors and authors. | ||
753 | 387 | |||
754 | 388 | All other non-permissive additional terms are considered "further | ||
755 | 389 | restrictions" within the meaning of section 10. If the Program as you | ||
756 | 390 | received it, or any part of it, contains a notice stating that it is | ||
757 | 391 | governed by this License along with a term that is a further | ||
758 | 392 | restriction, you may remove that term. If a license document contains | ||
759 | 393 | a further restriction but permits relicensing or conveying under this | ||
760 | 394 | License, you may add to a covered work material governed by the terms | ||
761 | 395 | of that license document, provided that the further restriction does | ||
762 | 396 | not survive such relicensing or conveying. | ||
763 | 397 | |||
764 | 398 | If you add terms to a covered work in accord with this section, you | ||
765 | 399 | must place, in the relevant source files, a statement of the | ||
766 | 400 | additional terms that apply to those files, or a notice indicating | ||
767 | 401 | where to find the applicable terms. | ||
768 | 402 | |||
769 | 403 | Additional terms, permissive or non-permissive, may be stated in the | ||
770 | 404 | form of a separately written license, or stated as exceptions; | ||
771 | 405 | the above requirements apply either way. | ||
772 | 406 | |||
773 | 407 | 8. Termination. | ||
774 | 408 | |||
775 | 409 | You may not propagate or modify a covered work except as expressly | ||
776 | 410 | provided under this License. Any attempt otherwise to propagate or | ||
777 | 411 | modify it is void, and will automatically terminate your rights under | ||
778 | 412 | this License (including any patent licenses granted under the third | ||
779 | 413 | paragraph of section 11). | ||
780 | 414 | |||
781 | 415 | However, if you cease all violation of this License, then your | ||
782 | 416 | license from a particular copyright holder is reinstated (a) | ||
783 | 417 | provisionally, unless and until the copyright holder explicitly and | ||
784 | 418 | finally terminates your license, and (b) permanently, if the copyright | ||
785 | 419 | holder fails to notify you of the violation by some reasonable means | ||
786 | 420 | prior to 60 days after the cessation. | ||
787 | 421 | |||
788 | 422 | Moreover, your license from a particular copyright holder is | ||
789 | 423 | reinstated permanently if the copyright holder notifies you of the | ||
790 | 424 | violation by some reasonable means, this is the first time you have | ||
791 | 425 | received notice of violation of this License (for any work) from that | ||
792 | 426 | copyright holder, and you cure the violation prior to 30 days after | ||
793 | 427 | your receipt of the notice. | ||
794 | 428 | |||
795 | 429 | Termination of your rights under this section does not terminate the | ||
796 | 430 | licenses of parties who have received copies or rights from you under | ||
797 | 431 | this License. If your rights have been terminated and not permanently | ||
798 | 432 | reinstated, you do not qualify to receive new licenses for the same | ||
799 | 433 | material under section 10. | ||
800 | 434 | |||
801 | 435 | 9. Acceptance Not Required for Having Copies. | ||
802 | 436 | |||
803 | 437 | You are not required to accept this License in order to receive or | ||
804 | 438 | run a copy of the Program. Ancillary propagation of a covered work | ||
805 | 439 | occurring solely as a consequence of using peer-to-peer transmission | ||
806 | 440 | to receive a copy likewise does not require acceptance. However, | ||
807 | 441 | nothing other than this License grants you permission to propagate or | ||
808 | 442 | modify any covered work. These actions infringe copyright if you do | ||
809 | 443 | not accept this License. Therefore, by modifying or propagating a | ||
810 | 444 | covered work, you indicate your acceptance of this License to do so. | ||
811 | 445 | |||
812 | 446 | 10. Automatic Licensing of Downstream Recipients. | ||
813 | 447 | |||
814 | 448 | Each time you convey a covered work, the recipient automatically | ||
815 | 449 | receives a license from the original licensors, to run, modify and | ||
816 | 450 | propagate that work, subject to this License. You are not responsible | ||
817 | 451 | for enforcing compliance by third parties with this License. | ||
818 | 452 | |||
819 | 453 | An "entity transaction" is a transaction transferring control of an | ||
820 | 454 | organization, or substantially all assets of one, or subdividing an | ||
821 | 455 | organization, or merging organizations. If propagation of a covered | ||
822 | 456 | work results from an entity transaction, each party to that | ||
823 | 457 | transaction who receives a copy of the work also receives whatever | ||
824 | 458 | licenses to the work the party's predecessor in interest had or could | ||
825 | 459 | give under the previous paragraph, plus a right to possession of the | ||
826 | 460 | Corresponding Source of the work from the predecessor in interest, if | ||
827 | 461 | the predecessor has it or can get it with reasonable efforts. | ||
828 | 462 | |||
829 | 463 | You may not impose any further restrictions on the exercise of the | ||
830 | 464 | rights granted or affirmed under this License. For example, you may | ||
831 | 465 | not impose a license fee, royalty, or other charge for exercise of | ||
832 | 466 | rights granted under this License, and you may not initiate litigation | ||
833 | 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that | ||
834 | 468 | any patent claim is infringed by making, using, selling, offering for | ||
835 | 469 | sale, or importing the Program or any portion of it. | ||
836 | 470 | |||
837 | 471 | 11. Patents. | ||
838 | 472 | |||
839 | 473 | A "contributor" is a copyright holder who authorizes use under this | ||
840 | 474 | License of the Program or a work on which the Program is based. The | ||
841 | 475 | work thus licensed is called the contributor's "contributor version". | ||
842 | 476 | |||
843 | 477 | A contributor's "essential patent claims" are all patent claims | ||
844 | 478 | owned or controlled by the contributor, whether already acquired or | ||
845 | 479 | hereafter acquired, that would be infringed by some manner, permitted | ||
846 | 480 | by this License, of making, using, or selling its contributor version, | ||
847 | 481 | but do not include claims that would be infringed only as a | ||
848 | 482 | consequence of further modification of the contributor version. For | ||
849 | 483 | purposes of this definition, "control" includes the right to grant | ||
850 | 484 | patent sublicenses in a manner consistent with the requirements of | ||
851 | 485 | this License. | ||
852 | 486 | |||
853 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free | ||
854 | 488 | patent license under the contributor's essential patent claims, to | ||
855 | 489 | make, use, sell, offer for sale, import and otherwise run, modify and | ||
856 | 490 | propagate the contents of its contributor version. | ||
857 | 491 | |||
858 | 492 | In the following three paragraphs, a "patent license" is any express | ||
859 | 493 | agreement or commitment, however denominated, not to enforce a patent | ||
860 | 494 | (such as an express permission to practice a patent or covenant not to | ||
861 | 495 | sue for patent infringement). To "grant" such a patent license to a | ||
862 | 496 | party means to make such an agreement or commitment not to enforce a | ||
863 | 497 | patent against the party. | ||
864 | 498 | |||
865 | 499 | If you convey a covered work, knowingly relying on a patent license, | ||
866 | 500 | and the Corresponding Source of the work is not available for anyone | ||
867 | 501 | to copy, free of charge and under the terms of this License, through a | ||
868 | 502 | publicly available network server or other readily accessible means, | ||
869 | 503 | then you must either (1) cause the Corresponding Source to be so | ||
870 | 504 | available, or (2) arrange to deprive yourself of the benefit of the | ||
871 | 505 | patent license for this particular work, or (3) arrange, in a manner | ||
872 | 506 | consistent with the requirements of this License, to extend the patent | ||
873 | 507 | license to downstream recipients. "Knowingly relying" means you have | ||
874 | 508 | actual knowledge that, but for the patent license, your conveying the | ||
875 | 509 | covered work in a country, or your recipient's use of the covered work | ||
876 | 510 | in a country, would infringe one or more identifiable patents in that | ||
877 | 511 | country that you have reason to believe are valid. | ||
878 | 512 | |||
879 | 513 | If, pursuant to or in connection with a single transaction or | ||
880 | 514 | arrangement, you convey, or propagate by procuring conveyance of, a | ||
881 | 515 | covered work, and grant a patent license to some of the parties | ||
882 | 516 | receiving the covered work authorizing them to use, propagate, modify | ||
883 | 517 | or convey a specific copy of the covered work, then the patent license | ||
884 | 518 | you grant is automatically extended to all recipients of the covered | ||
885 | 519 | work and works based on it. | ||
886 | 520 | |||
887 | 521 | A patent license is "discriminatory" if it does not include within | ||
888 | 522 | the scope of its coverage, prohibits the exercise of, or is | ||
889 | 523 | conditioned on the non-exercise of one or more of the rights that are | ||
890 | 524 | specifically granted under this License. You may not convey a covered | ||
891 | 525 | work if you are a party to an arrangement with a third party that is | ||
892 | 526 | in the business of distributing software, under which you make payment | ||
893 | 527 | to the third party based on the extent of your activity of conveying | ||
894 | 528 | the work, and under which the third party grants, to any of the | ||
895 | 529 | parties who would receive the covered work from you, a discriminatory | ||
896 | 530 | patent license (a) in connection with copies of the covered work | ||
897 | 531 | conveyed by you (or copies made from those copies), or (b) primarily | ||
898 | 532 | for and in connection with specific products or compilations that | ||
899 | 533 | contain the covered work, unless you entered into that arrangement, | ||
900 | 534 | or that patent license was granted, prior to 28 March 2007. | ||
901 | 535 | |||
902 | 536 | Nothing in this License shall be construed as excluding or limiting | ||
903 | 537 | any implied license or other defenses to infringement that may | ||
904 | 538 | otherwise be available to you under applicable patent law. | ||
905 | 539 | |||
906 | 540 | 12. No Surrender of Others' Freedom. | ||
907 | 541 | |||
908 | 542 | If conditions are imposed on you (whether by court order, agreement or | ||
909 | 543 | otherwise) that contradict the conditions of this License, they do not | ||
910 | 544 | excuse you from the conditions of this License. If you cannot convey a | ||
911 | 545 | covered work so as to satisfy simultaneously your obligations under this | ||
912 | 546 | License and any other pertinent obligations, then as a consequence you may | ||
913 | 547 | not convey it at all. For example, if you agree to terms that obligate you | ||
914 | 548 | to collect a royalty for further conveying from those to whom you convey | ||
915 | 549 | the Program, the only way you could satisfy both those terms and this | ||
916 | 550 | License would be to refrain entirely from conveying the Program. | ||
917 | 551 | |||
918 | 552 | 13. Use with the GNU Affero General Public License. | ||
919 | 553 | |||
920 | 554 | Notwithstanding any other provision of this License, you have | ||
921 | 555 | permission to link or combine any covered work with a work licensed | ||
922 | 556 | under version 3 of the GNU Affero General Public License into a single | ||
923 | 557 | combined work, and to convey the resulting work. The terms of this | ||
924 | 558 | License will continue to apply to the part which is the covered work, | ||
925 | 559 | but the special requirements of the GNU Affero General Public License, | ||
926 | 560 | section 13, concerning interaction through a network will apply to the | ||
927 | 561 | combination as such. | ||
928 | 562 | |||
929 | 563 | 14. Revised Versions of this License. | ||
930 | 564 | |||
931 | 565 | The Free Software Foundation may publish revised and/or new versions of | ||
932 | 566 | the GNU General Public License from time to time. Such new versions will | ||
933 | 567 | be similar in spirit to the present version, but may differ in detail to | ||
934 | 568 | address new problems or concerns. | ||
935 | 569 | |||
936 | 570 | Each version is given a distinguishing version number. If the | ||
937 | 571 | Program specifies that a certain numbered version of the GNU General | ||
938 | 572 | Public License "or any later version" applies to it, you have the | ||
939 | 573 | option of following the terms and conditions either of that numbered | ||
940 | 574 | version or of any later version published by the Free Software | ||
941 | 575 | Foundation. If the Program does not specify a version number of the | ||
942 | 576 | GNU General Public License, you may choose any version ever published | ||
943 | 577 | by the Free Software Foundation. | ||
944 | 578 | |||
945 | 579 | If the Program specifies that a proxy can decide which future | ||
946 | 580 | versions of the GNU General Public License can be used, that proxy's | ||
947 | 581 | public statement of acceptance of a version permanently authorizes you | ||
948 | 582 | to choose that version for the Program. | ||
949 | 583 | |||
950 | 584 | Later license versions may give you additional or different | ||
951 | 585 | permissions. However, no additional obligations are imposed on any | ||
952 | 586 | author or copyright holder as a result of your choosing to follow a | ||
953 | 587 | later version. | ||
954 | 588 | |||
955 | 589 | 15. Disclaimer of Warranty. | ||
956 | 590 | |||
957 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY | ||
958 | 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT | ||
959 | 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY | ||
960 | 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, | ||
961 | 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
962 | 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM | ||
963 | 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF | ||
964 | 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. | ||
965 | 599 | |||
966 | 600 | 16. Limitation of Liability. | ||
967 | 601 | |||
968 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING | ||
969 | 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS | ||
970 | 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY | ||
971 | 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE | ||
972 | 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF | ||
973 | 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD | ||
974 | 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), | ||
975 | 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF | ||
976 | 610 | SUCH DAMAGES. | ||
977 | 611 | |||
978 | 612 | 17. Interpretation of Sections 15 and 16. | ||
979 | 613 | |||
980 | 614 | If the disclaimer of warranty and limitation of liability provided | ||
981 | 615 | above cannot be given local legal effect according to their terms, | ||
982 | 616 | reviewing courts shall apply local law that most closely approximates | ||
983 | 617 | an absolute waiver of all civil liability in connection with the | ||
984 | 618 | Program, unless a warranty or assumption of liability accompanies a | ||
985 | 619 | copy of the Program in return for a fee. | ||
986 | 620 | |||
987 | 621 | END OF TERMS AND CONDITIONS | ||
988 | 622 | |||
989 | 623 | How to Apply These Terms to Your New Programs | ||
990 | 624 | |||
991 | 625 | If you develop a new program, and you want it to be of the greatest | ||
992 | 626 | possible use to the public, the best way to achieve this is to make it | ||
993 | 627 | free software which everyone can redistribute and change under these terms. | ||
994 | 628 | |||
995 | 629 | To do so, attach the following notices to the program. It is safest | ||
996 | 630 | to attach them to the start of each source file to most effectively | ||
997 | 631 | state the exclusion of warranty; and each file should have at least | ||
998 | 632 | the "copyright" line and a pointer to where the full notice is found. | ||
999 | 633 | |||
1000 | 634 | <one line to give the program's name and a brief idea of what it does.> | ||
1001 | 635 | Copyright (C) <year> <name of author> | ||
1002 | 636 | |||
1003 | 637 | This program is free software: you can redistribute it and/or modify | ||
1004 | 638 | it under the terms of the GNU General Public License as published by | ||
1005 | 639 | the Free Software Foundation, either version 3 of the License, or | ||
1006 | 640 | (at your option) any later version. | ||
1007 | 641 | |||
1008 | 642 | This program is distributed in the hope that it will be useful, | ||
1009 | 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1010 | 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1011 | 645 | GNU General Public License for more details. | ||
1012 | 646 | |||
1013 | 647 | You should have received a copy of the GNU General Public License | ||
1014 | 648 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
1015 | 649 | |||
1016 | 650 | Also add information on how to contact you by electronic and paper mail. | ||
1017 | 651 | |||
1018 | 652 | If the program does terminal interaction, make it output a short | ||
1019 | 653 | notice like this when it starts in an interactive mode: | ||
1020 | 654 | |||
1021 | 655 | <program> Copyright (C) <year> <name of author> | ||
1022 | 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. | ||
1023 | 657 | This is free software, and you are welcome to redistribute it | ||
1024 | 658 | under certain conditions; type `show c' for details. | ||
1025 | 659 | |||
1026 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate | ||
1027 | 661 | parts of the General Public License. Of course, your program's commands | ||
1028 | 662 | might be different; for a GUI interface, you would use an "about box". | ||
1029 | 663 | |||
1030 | 664 | You should also get your employer (if you work as a programmer) or school, | ||
1031 | 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. | ||
1032 | 666 | For more information on this, and how to apply and follow the GNU GPL, see | ||
1033 | 667 | <http://www.gnu.org/licenses/>. | ||
1034 | 668 | |||
1035 | 669 | The GNU General Public License does not permit incorporating your program | ||
1036 | 670 | into proprietary programs. If your program is a subroutine library, you | ||
1037 | 671 | may consider it more useful to permit linking proprietary applications with | ||
1038 | 672 | the library. If this is what you want to do, use the GNU Lesser General | ||
1039 | 673 | Public License instead of this License. But first, please read | ||
1040 | 674 | <http://www.gnu.org/philosophy/why-not-lgpl.html>. | ||
1041 | 0 | 675 | ||
1042 | === modified file 'hwpack/__init__.py' | |||
1043 | --- hwpack/__init__.py 2010-11-04 16:05:27 +0000 | |||
1044 | +++ hwpack/__init__.py 2011-01-28 17:43:31 +0000 | |||
1045 | @@ -1,3 +1,24 @@ | |||
1046 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1047 | 2 | # | ||
1048 | 3 | # Author: James Westby <james.westby@linaro.org> | ||
1049 | 4 | # | ||
1050 | 5 | # This file is part of Linaro Image Tools. | ||
1051 | 6 | # | ||
1052 | 7 | # Linaro Image Tools is free software; you can redistribute it and/or | ||
1053 | 8 | # modify it under the terms of the GNU General Public License | ||
1054 | 9 | # as published by the Free Software Foundation; either version 2 | ||
1055 | 10 | # of the License, or (at your option) any later version. | ||
1056 | 11 | # | ||
1057 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1058 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1059 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1060 | 15 | # GNU General Public License for more details. | ||
1061 | 16 | # | ||
1062 | 17 | # You should have received a copy of the GNU General Public License | ||
1063 | 18 | # along with Linaro Image Tools; if not, write to the Free Software | ||
1064 | 19 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
1065 | 20 | # USA. | ||
1066 | 21 | |||
1067 | 1 | import logging | 22 | import logging |
1068 | 2 | 23 | ||
1069 | 3 | 24 | ||
1070 | 4 | 25 | ||
1071 | === modified file 'hwpack/better_tarfile.py' | |||
1072 | --- hwpack/better_tarfile.py 2010-08-31 15:03:52 +0000 | |||
1073 | +++ hwpack/better_tarfile.py 2011-01-28 17:43:31 +0000 | |||
1074 | @@ -1,3 +1,24 @@ | |||
1075 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1076 | 2 | # | ||
1077 | 3 | # Author: James Westby <james.westby@linaro.org> | ||
1078 | 4 | # | ||
1079 | 5 | # This file is part of Linaro Image Tools. | ||
1080 | 6 | # | ||
1081 | 7 | # Linaro Image Tools is free software; you can redistribute it and/or | ||
1082 | 8 | # modify it under the terms of the GNU General Public License | ||
1083 | 9 | # as published by the Free Software Foundation; either version 2 | ||
1084 | 10 | # of the License, or (at your option) any later version. | ||
1085 | 11 | # | ||
1086 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1087 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1088 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1089 | 15 | # GNU General Public License for more details. | ||
1090 | 16 | # | ||
1091 | 17 | # You should have received a copy of the GNU General Public License | ||
1092 | 18 | # along with Linaro Image Tools; if not, write to the Free Software | ||
1093 | 19 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
1094 | 20 | # USA. | ||
1095 | 21 | |||
1096 | 1 | from contextlib import contextmanager | 22 | from contextlib import contextmanager |
1097 | 2 | from StringIO import StringIO | 23 | from StringIO import StringIO |
1098 | 3 | from tarfile import DIRTYPE, TarFile as StandardTarFile, TarInfo | 24 | from tarfile import DIRTYPE, TarFile as StandardTarFile, TarInfo |
1099 | 4 | 25 | ||
1100 | === modified file 'hwpack/builder.py' | |||
1101 | --- hwpack/builder.py 2010-12-17 02:30:00 +0000 | |||
1102 | +++ hwpack/builder.py 2011-01-28 17:43:31 +0000 | |||
1103 | @@ -1,3 +1,24 @@ | |||
1104 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1105 | 2 | # | ||
1106 | 3 | # Author: James Westby <james.westby@linaro.org> | ||
1107 | 4 | # | ||
1108 | 5 | # This file is part of Linaro Image Tools. | ||
1109 | 6 | # | ||
1110 | 7 | # Linaro Image Tools is free software; you can redistribute it and/or | ||
1111 | 8 | # modify it under the terms of the GNU General Public License | ||
1112 | 9 | # as published by the Free Software Foundation; either version 2 | ||
1113 | 10 | # of the License, or (at your option) any later version. | ||
1114 | 11 | # | ||
1115 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1116 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1117 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1118 | 15 | # GNU General Public License for more details. | ||
1119 | 16 | # | ||
1120 | 17 | # You should have received a copy of the GNU General Public License | ||
1121 | 18 | # along with Linaro Image Tools; if not, write to the Free Software | ||
1122 | 19 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
1123 | 20 | # USA. | ||
1124 | 21 | |||
1125 | 1 | import logging | 22 | import logging |
1126 | 2 | import errno | 23 | import errno |
1127 | 3 | 24 | ||
1128 | 4 | 25 | ||
1129 | === modified file 'hwpack/config.py' | |||
1130 | --- hwpack/config.py 2011-01-22 00:50:19 +0000 | |||
1131 | +++ hwpack/config.py 2011-01-28 17:43:31 +0000 | |||
1132 | @@ -1,3 +1,24 @@ | |||
1133 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1134 | 2 | # | ||
1135 | 3 | # Author: James Westby <james.westby@linaro.org> | ||
1136 | 4 | # | ||
1137 | 5 | # This file is part of Linaro Image Tools. | ||
1138 | 6 | # | ||
1139 | 7 | # Linaro Image Tools is free software; you can redistribute it and/or | ||
1140 | 8 | # modify it under the terms of the GNU General Public License | ||
1141 | 9 | # as published by the Free Software Foundation; either version 2 | ||
1142 | 10 | # of the License, or (at your option) any later version. | ||
1143 | 11 | # | ||
1144 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1145 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1146 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1147 | 15 | # GNU General Public License for more details. | ||
1148 | 16 | # | ||
1149 | 17 | # You should have received a copy of the GNU General Public License | ||
1150 | 18 | # along with Linaro Image Tools; if not, write to the Free Software | ||
1151 | 19 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
1152 | 20 | # USA. | ||
1153 | 21 | |||
1154 | 1 | import ConfigParser | 22 | import ConfigParser |
1155 | 2 | import re | 23 | import re |
1156 | 3 | 24 | ||
1157 | 4 | 25 | ||
1158 | === modified file 'hwpack/hardwarepack.py' | |||
1159 | --- hwpack/hardwarepack.py 2010-12-17 02:30:00 +0000 | |||
1160 | +++ hwpack/hardwarepack.py 2011-01-28 17:43:31 +0000 | |||
1161 | @@ -1,3 +1,24 @@ | |||
1162 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1163 | 2 | # | ||
1164 | 3 | # Author: James Westby <james.westby@linaro.org> | ||
1165 | 4 | # | ||
1166 | 5 | # This file is part of Linaro Image Tools. | ||
1167 | 6 | # | ||
1168 | 7 | # Linaro Image Tools is free software; you can redistribute it and/or | ||
1169 | 8 | # modify it under the terms of the GNU General Public License | ||
1170 | 9 | # as published by the Free Software Foundation; either version 2 | ||
1171 | 10 | # of the License, or (at your option) any later version. | ||
1172 | 11 | # | ||
1173 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1174 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1175 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1176 | 15 | # GNU General Public License for more details. | ||
1177 | 16 | # | ||
1178 | 17 | # You should have received a copy of the GNU General Public License | ||
1179 | 18 | # along with Linaro Image Tools; if not, write to the Free Software | ||
1180 | 19 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
1181 | 20 | # USA. | ||
1182 | 21 | |||
1183 | 1 | import time | 22 | import time |
1184 | 2 | 23 | ||
1185 | 3 | from hwpack.better_tarfile import writeable_tarfile | 24 | from hwpack.better_tarfile import writeable_tarfile |
1186 | 4 | 25 | ||
1187 | === modified file 'hwpack/packages.py' | |||
1188 | --- hwpack/packages.py 2011-01-22 10:17:26 +0000 | |||
1189 | +++ hwpack/packages.py 2011-01-28 17:43:31 +0000 | |||
1190 | @@ -1,3 +1,24 @@ | |||
1191 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1192 | 2 | # | ||
1193 | 3 | # Author: James Westby <james.westby@linaro.org> | ||
1194 | 4 | # | ||
1195 | 5 | # This file is part of Linaro Image Tools. | ||
1196 | 6 | # | ||
1197 | 7 | # Linaro Image Tools is free software; you can redistribute it and/or | ||
1198 | 8 | # modify it under the terms of the GNU General Public License | ||
1199 | 9 | # as published by the Free Software Foundation; either version 2 | ||
1200 | 10 | # of the License, or (at your option) any later version. | ||
1201 | 11 | # | ||
1202 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1203 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1204 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1205 | 15 | # GNU General Public License for more details. | ||
1206 | 16 | # | ||
1207 | 17 | # You should have received a copy of the GNU General Public License | ||
1208 | 18 | # along with Linaro Image Tools; if not, write to the Free Software | ||
1209 | 19 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
1210 | 20 | # USA. | ||
1211 | 21 | |||
1212 | 1 | import hashlib | 22 | import hashlib |
1213 | 2 | import logging | 23 | import logging |
1214 | 3 | import os | 24 | import os |
1215 | 4 | 25 | ||
1216 | === modified file 'hwpack/tarfile_matchers.py' | |||
1217 | --- hwpack/tarfile_matchers.py 2010-12-15 22:41:36 +0000 | |||
1218 | +++ hwpack/tarfile_matchers.py 2011-01-28 17:43:31 +0000 | |||
1219 | @@ -1,3 +1,24 @@ | |||
1220 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1221 | 2 | # | ||
1222 | 3 | # Author: James Westby <james.westby@linaro.org> | ||
1223 | 4 | # | ||
1224 | 5 | # This file is part of Linaro Image Tools. | ||
1225 | 6 | # | ||
1226 | 7 | # Linaro Image Tools is free software; you can redistribute it and/or | ||
1227 | 8 | # modify it under the terms of the GNU General Public License | ||
1228 | 9 | # as published by the Free Software Foundation; either version 2 | ||
1229 | 10 | # of the License, or (at your option) any later version. | ||
1230 | 11 | # | ||
1231 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1232 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1233 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1234 | 15 | # GNU General Public License for more details. | ||
1235 | 16 | # | ||
1236 | 17 | # You should have received a copy of the GNU General Public License | ||
1237 | 18 | # along with Linaro Image Tools; if not, write to the Free Software | ||
1238 | 19 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
1239 | 20 | # USA. | ||
1240 | 21 | |||
1241 | 1 | import tarfile | 22 | import tarfile |
1242 | 2 | 23 | ||
1243 | 3 | from testtools.matchers import Annotate, Equals, Matcher, Mismatch | 24 | from testtools.matchers import Annotate, Equals, Matcher, Mismatch |
1244 | 4 | 25 | ||
1245 | === modified file 'hwpack/testing.py' | |||
1246 | --- hwpack/testing.py 2010-12-17 11:17:53 +0000 | |||
1247 | +++ hwpack/testing.py 2011-01-28 17:43:31 +0000 | |||
1248 | @@ -1,3 +1,24 @@ | |||
1249 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1250 | 2 | # | ||
1251 | 3 | # Author: James Westby <james.westby@linaro.org> | ||
1252 | 4 | # | ||
1253 | 5 | # This file is part of Linaro Image Tools. | ||
1254 | 6 | # | ||
1255 | 7 | # Linaro Image Tools is free software; you can redistribute it and/or | ||
1256 | 8 | # modify it under the terms of the GNU General Public License | ||
1257 | 9 | # as published by the Free Software Foundation; either version 2 | ||
1258 | 10 | # of the License, or (at your option) any later version. | ||
1259 | 11 | # | ||
1260 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1261 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1262 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1263 | 15 | # GNU General Public License for more details. | ||
1264 | 16 | # | ||
1265 | 17 | # You should have received a copy of the GNU General Public License | ||
1266 | 18 | # along with Linaro Image Tools; if not, write to the Free Software | ||
1267 | 19 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
1268 | 20 | # USA. | ||
1269 | 21 | |||
1270 | 1 | from contextlib import contextmanager | 22 | from contextlib import contextmanager |
1271 | 2 | import hashlib | 23 | import hashlib |
1272 | 3 | import logging | 24 | import logging |
1273 | 4 | 25 | ||
1274 | === modified file 'hwpack/tests/__init__.py' | |||
1275 | --- hwpack/tests/__init__.py 2010-12-08 03:15:28 +0000 | |||
1276 | +++ hwpack/tests/__init__.py 2011-01-28 17:43:31 +0000 | |||
1277 | @@ -1,3 +1,24 @@ | |||
1278 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1279 | 2 | # | ||
1280 | 3 | # Author: James Westby <james.westby@linaro.org> | ||
1281 | 4 | # | ||
1282 | 5 | # This file is part of Linaro Image Tools. | ||
1283 | 6 | # | ||
1284 | 7 | # Linaro Image Tools is free software; you can redistribute it and/or | ||
1285 | 8 | # modify it under the terms of the GNU General Public License | ||
1286 | 9 | # as published by the Free Software Foundation; either version 2 | ||
1287 | 10 | # of the License, or (at your option) any later version. | ||
1288 | 11 | # | ||
1289 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1290 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1291 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1292 | 15 | # GNU General Public License for more details. | ||
1293 | 16 | # | ||
1294 | 17 | # You should have received a copy of the GNU General Public License | ||
1295 | 18 | # along with Linaro Image Tools; if not, write to the Free Software | ||
1296 | 19 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
1297 | 20 | # USA. | ||
1298 | 21 | |||
1299 | 1 | import unittest | 22 | import unittest |
1300 | 2 | 23 | ||
1301 | 3 | def test_suite(): | 24 | def test_suite(): |
1302 | 4 | 25 | ||
1303 | === modified file 'hwpack/tests/test_better_tarfile.py' | |||
1304 | --- hwpack/tests/test_better_tarfile.py 2010-08-31 15:03:52 +0000 | |||
1305 | +++ hwpack/tests/test_better_tarfile.py 2011-01-28 17:43:31 +0000 | |||
1306 | @@ -1,3 +1,24 @@ | |||
1307 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1308 | 2 | # | ||
1309 | 3 | # Author: James Westby <james.westby@linaro.org> | ||
1310 | 4 | # | ||
1311 | 5 | # This file is part of Linaro Image Tools. | ||
1312 | 6 | # | ||
1313 | 7 | # Linaro Image Tools is free software; you can redistribute it and/or | ||
1314 | 8 | # modify it under the terms of the GNU General Public License | ||
1315 | 9 | # as published by the Free Software Foundation; either version 2 | ||
1316 | 10 | # of the License, or (at your option) any later version. | ||
1317 | 11 | # | ||
1318 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1319 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1320 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1321 | 15 | # GNU General Public License for more details. | ||
1322 | 16 | # | ||
1323 | 17 | # You should have received a copy of the GNU General Public License | ||
1324 | 18 | # along with Linaro Image Tools; if not, write to the Free Software | ||
1325 | 19 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
1326 | 20 | # USA. | ||
1327 | 21 | |||
1328 | 1 | from contextlib import contextmanager | 22 | from contextlib import contextmanager |
1329 | 2 | from StringIO import StringIO | 23 | from StringIO import StringIO |
1330 | 3 | import tarfile | 24 | import tarfile |
1331 | 4 | 25 | ||
1332 | === modified file 'hwpack/tests/test_builder.py' | |||
1333 | --- hwpack/tests/test_builder.py 2010-12-17 02:30:00 +0000 | |||
1334 | +++ hwpack/tests/test_builder.py 2011-01-28 17:43:31 +0000 | |||
1335 | @@ -1,3 +1,24 @@ | |||
1336 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1337 | 2 | # | ||
1338 | 3 | # Author: James Westby <james.westby@linaro.org> | ||
1339 | 4 | # | ||
1340 | 5 | # This file is part of Linaro Image Tools. | ||
1341 | 6 | # | ||
1342 | 7 | # Linaro Image Tools is free software; you can redistribute it and/or | ||
1343 | 8 | # modify it under the terms of the GNU General Public License | ||
1344 | 9 | # as published by the Free Software Foundation; either version 2 | ||
1345 | 10 | # of the License, or (at your option) any later version. | ||
1346 | 11 | # | ||
1347 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1348 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1349 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1350 | 15 | # GNU General Public License for more details. | ||
1351 | 16 | # | ||
1352 | 17 | # You should have received a copy of the GNU General Public License | ||
1353 | 18 | # along with Linaro Image Tools; if not, write to the Free Software | ||
1354 | 19 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
1355 | 20 | # USA. | ||
1356 | 21 | |||
1357 | 1 | import os | 22 | import os |
1358 | 2 | import tarfile | 23 | import tarfile |
1359 | 3 | 24 | ||
1360 | 4 | 25 | ||
1361 | === modified file 'hwpack/tests/test_config.py' | |||
1362 | --- hwpack/tests/test_config.py 2010-09-14 18:02:33 +0000 | |||
1363 | +++ hwpack/tests/test_config.py 2011-01-28 17:43:31 +0000 | |||
1364 | @@ -1,3 +1,24 @@ | |||
1365 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1366 | 2 | # | ||
1367 | 3 | # Author: James Westby <james.westby@linaro.org> | ||
1368 | 4 | # | ||
1369 | 5 | # This file is part of Linaro Image Tools. | ||
1370 | 6 | # | ||
1371 | 7 | # Linaro Image Tools is free software; you can redistribute it and/or | ||
1372 | 8 | # modify it under the terms of the GNU General Public License | ||
1373 | 9 | # as published by the Free Software Foundation; either version 2 | ||
1374 | 10 | # of the License, or (at your option) any later version. | ||
1375 | 11 | # | ||
1376 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1377 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1378 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1379 | 15 | # GNU General Public License for more details. | ||
1380 | 16 | # | ||
1381 | 17 | # You should have received a copy of the GNU General Public License | ||
1382 | 18 | # along with Linaro Image Tools; if not, write to the Free Software | ||
1383 | 19 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
1384 | 20 | # USA. | ||
1385 | 21 | |||
1386 | 1 | from StringIO import StringIO | 22 | from StringIO import StringIO |
1387 | 2 | 23 | ||
1388 | 3 | from testtools import TestCase | 24 | from testtools import TestCase |
1389 | 4 | 25 | ||
1390 | === modified file 'hwpack/tests/test_hardwarepack.py' | |||
1391 | --- hwpack/tests/test_hardwarepack.py 2010-12-17 02:21:16 +0000 | |||
1392 | +++ hwpack/tests/test_hardwarepack.py 2011-01-28 17:43:31 +0000 | |||
1393 | @@ -1,3 +1,24 @@ | |||
1394 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1395 | 2 | # | ||
1396 | 3 | # Author: James Westby <james.westby@linaro.org> | ||
1397 | 4 | # | ||
1398 | 5 | # This file is part of Linaro Image Tools. | ||
1399 | 6 | # | ||
1400 | 7 | # Linaro Image Tools is free software; you can redistribute it and/or | ||
1401 | 8 | # modify it under the terms of the GNU General Public License | ||
1402 | 9 | # as published by the Free Software Foundation; either version 2 | ||
1403 | 10 | # of the License, or (at your option) any later version. | ||
1404 | 11 | # | ||
1405 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1406 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1407 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1408 | 15 | # GNU General Public License for more details. | ||
1409 | 16 | # | ||
1410 | 17 | # You should have received a copy of the GNU General Public License | ||
1411 | 18 | # along with Linaro Image Tools; if not, write to the Free Software | ||
1412 | 19 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
1413 | 20 | # USA. | ||
1414 | 21 | |||
1415 | 1 | from StringIO import StringIO | 22 | from StringIO import StringIO |
1416 | 2 | import re | 23 | import re |
1417 | 3 | import tarfile | 24 | import tarfile |
1418 | 4 | 25 | ||
1419 | === modified file 'hwpack/tests/test_packages.py' | |||
1420 | --- hwpack/tests/test_packages.py 2010-12-16 01:48:33 +0000 | |||
1421 | +++ hwpack/tests/test_packages.py 2011-01-28 17:43:31 +0000 | |||
1422 | @@ -1,3 +1,24 @@ | |||
1423 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1424 | 2 | # | ||
1425 | 3 | # Author: James Westby <james.westby@linaro.org> | ||
1426 | 4 | # | ||
1427 | 5 | # This file is part of Linaro Image Tools. | ||
1428 | 6 | # | ||
1429 | 7 | # Linaro Image Tools is free software; you can redistribute it and/or | ||
1430 | 8 | # modify it under the terms of the GNU General Public License | ||
1431 | 9 | # as published by the Free Software Foundation; either version 2 | ||
1432 | 10 | # of the License, or (at your option) any later version. | ||
1433 | 11 | # | ||
1434 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1435 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1436 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1437 | 15 | # GNU General Public License for more details. | ||
1438 | 16 | # | ||
1439 | 17 | # You should have received a copy of the GNU General Public License | ||
1440 | 18 | # along with Linaro Image Tools; if not, write to the Free Software | ||
1441 | 19 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
1442 | 20 | # USA. | ||
1443 | 21 | |||
1444 | 1 | import os | 22 | import os |
1445 | 2 | import re | 23 | import re |
1446 | 3 | import shutil | 24 | import shutil |
1447 | 4 | 25 | ||
1448 | === modified file 'hwpack/tests/test_script.py' | |||
1449 | --- hwpack/tests/test_script.py 2010-12-15 21:33:59 +0000 | |||
1450 | +++ hwpack/tests/test_script.py 2011-01-28 17:43:31 +0000 | |||
1451 | @@ -1,3 +1,24 @@ | |||
1452 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1453 | 2 | # | ||
1454 | 3 | # Author: James Westby <james.westby@linaro.org> | ||
1455 | 4 | # | ||
1456 | 5 | # This file is part of Linaro Image Tools. | ||
1457 | 6 | # | ||
1458 | 7 | # Linaro Image Tools is free software; you can redistribute it and/or | ||
1459 | 8 | # modify it under the terms of the GNU General Public License | ||
1460 | 9 | # as published by the Free Software Foundation; either version 2 | ||
1461 | 10 | # of the License, or (at your option) any later version. | ||
1462 | 11 | # | ||
1463 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1464 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1465 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1466 | 15 | # GNU General Public License for more details. | ||
1467 | 16 | # | ||
1468 | 17 | # You should have received a copy of the GNU General Public License | ||
1469 | 18 | # along with Linaro Image Tools; if not, write to the Free Software | ||
1470 | 19 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
1471 | 20 | # USA. | ||
1472 | 21 | |||
1473 | 1 | import os | 22 | import os |
1474 | 2 | import subprocess | 23 | import subprocess |
1475 | 3 | 24 | ||
1476 | 4 | 25 | ||
1477 | === modified file 'hwpack/tests/test_tarfile_matchers.py' | |||
1478 | --- hwpack/tests/test_tarfile_matchers.py 2010-12-15 22:41:36 +0000 | |||
1479 | +++ hwpack/tests/test_tarfile_matchers.py 2011-01-28 17:43:31 +0000 | |||
1480 | @@ -1,3 +1,24 @@ | |||
1481 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1482 | 2 | # | ||
1483 | 3 | # Author: James Westby <james.westby@linaro.org> | ||
1484 | 4 | # | ||
1485 | 5 | # This file is part of Linaro Image Tools. | ||
1486 | 6 | # | ||
1487 | 7 | # Linaro Image Tools is free software; you can redistribute it and/or | ||
1488 | 8 | # modify it under the terms of the GNU General Public License | ||
1489 | 9 | # as published by the Free Software Foundation; either version 2 | ||
1490 | 10 | # of the License, or (at your option) any later version. | ||
1491 | 11 | # | ||
1492 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1493 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1494 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1495 | 15 | # GNU General Public License for more details. | ||
1496 | 16 | # | ||
1497 | 17 | # You should have received a copy of the GNU General Public License | ||
1498 | 18 | # along with Linaro Image Tools; if not, write to the Free Software | ||
1499 | 19 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
1500 | 20 | # USA. | ||
1501 | 21 | |||
1502 | 1 | import tarfile | 22 | import tarfile |
1503 | 2 | 23 | ||
1504 | 3 | from testtools import TestCase | 24 | from testtools import TestCase |
1505 | 4 | 25 | ||
1506 | === modified file 'hwpack/tests/test_testing.py' | |||
1507 | --- hwpack/tests/test_testing.py 2010-12-13 03:01:30 +0000 | |||
1508 | +++ hwpack/tests/test_testing.py 2011-01-28 17:43:31 +0000 | |||
1509 | @@ -1,3 +1,24 @@ | |||
1510 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1511 | 2 | # | ||
1512 | 3 | # Author: James Westby <james.westby@linaro.org> | ||
1513 | 4 | # | ||
1514 | 5 | # This file is part of Linaro Image Tools. | ||
1515 | 6 | # | ||
1516 | 7 | # Linaro Image Tools is free software; you can redistribute it and/or | ||
1517 | 8 | # modify it under the terms of the GNU General Public License | ||
1518 | 9 | # as published by the Free Software Foundation; either version 2 | ||
1519 | 10 | # of the License, or (at your option) any later version. | ||
1520 | 11 | # | ||
1521 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1522 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1523 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1524 | 15 | # GNU General Public License for more details. | ||
1525 | 16 | # | ||
1526 | 17 | # You should have received a copy of the GNU General Public License | ||
1527 | 18 | # along with Linaro Image Tools; if not, write to the Free Software | ||
1528 | 19 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
1529 | 20 | # USA. | ||
1530 | 21 | |||
1531 | 1 | import doctest | 22 | import doctest |
1532 | 2 | import re | 23 | import re |
1533 | 3 | from StringIO import StringIO | 24 | from StringIO import StringIO |
1534 | 4 | 25 | ||
1535 | === modified file 'linaro-hwpack-create' | |||
1536 | --- linaro-hwpack-create 2010-12-17 00:52:40 +0000 | |||
1537 | +++ linaro-hwpack-create 2011-01-28 17:43:31 +0000 | |||
1538 | @@ -1,4 +1,24 @@ | |||
1539 | 1 | #!/usr/bin/python | 1 | #!/usr/bin/python |
1540 | 2 | # Copyright (C) 2010,2011 Linaro | ||
1541 | 3 | # | ||
1542 | 4 | # Author: James Westby <james.westby@linaro.org> | ||
1543 | 5 | # | ||
1544 | 6 | # This file is part of Linaro Image Tools. | ||
1545 | 7 | # | ||
1546 | 8 | # Linaro Image Tools is free software; you can redistribute it and/or | ||
1547 | 9 | # modify it under the terms of the GNU General Public License | ||
1548 | 10 | # as published by the Free Software Foundation; either version 2 | ||
1549 | 11 | # of the License, or (at your option) any later version. | ||
1550 | 12 | # | ||
1551 | 13 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1552 | 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1553 | 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1554 | 16 | # GNU General Public License for more details. | ||
1555 | 17 | # | ||
1556 | 18 | # You should have received a copy of the GNU General Public License | ||
1557 | 19 | # along with Linaro Image Tools; if not, write to the Free Software | ||
1558 | 20 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
1559 | 21 | # USA. | ||
1560 | 2 | 22 | ||
1561 | 3 | import argparse | 23 | import argparse |
1562 | 4 | import logging | 24 | import logging |
1563 | 5 | 25 | ||
1564 | === modified file 'linaro-hwpack-install' | |||
1565 | --- linaro-hwpack-install 2011-01-06 12:57:51 +0000 | |||
1566 | +++ linaro-hwpack-install 2011-01-28 17:43:31 +0000 | |||
1567 | @@ -6,19 +6,26 @@ | |||
1568 | 6 | # TODO: When upgrading to a newer hwpack, make sure packages and apt sources | 6 | # TODO: When upgrading to a newer hwpack, make sure packages and apt sources |
1569 | 7 | # that are no longer needed are removed. | 7 | # that are no longer needed are removed. |
1570 | 8 | 8 | ||
1578 | 9 | # Copyright 2010 Linaro | 9 | # Copyright (C) 2010,2011 Linaro |
1579 | 10 | # | 10 | # |
1580 | 11 | # This program is free software: you can redistribute it and/or modify | 11 | # Author: Guilherme Salgado <guilherme.salgado@linaro.org> |
1581 | 12 | # it under the terms of the GNU General Public License version 3 as published | 12 | # |
1582 | 13 | # by the Free Software Foundation. | 13 | # This file is part of Linaro Image Tools. |
1583 | 14 | # | 14 | # |
1584 | 15 | # This program is distributed in the hope that it will be useful, | 15 | # Linaro Image Tools is free software; you can redistribute it and/or |
1585 | 16 | # modify it under the terms of the GNU General Public License | ||
1586 | 17 | # as published by the Free Software Foundation; either version 2 | ||
1587 | 18 | # of the License, or (at your option) any later version. | ||
1588 | 19 | # | ||
1589 | 20 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1590 | 16 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 21 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
1591 | 17 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 22 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1592 | 18 | # GNU General Public License for more details. | 23 | # GNU General Public License for more details. |
1594 | 19 | # | 24 | # |
1595 | 20 | # You should have received a copy of the GNU General Public License | 25 | # You should have received a copy of the GNU General Public License |
1597 | 21 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | 26 | # along with Linaro Image Tools; if not, write to the Free Software |
1598 | 27 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | ||
1599 | 28 | # USA. | ||
1600 | 22 | 29 | ||
1601 | 23 | set -e | 30 | set -e |
1602 | 24 | 31 | ||
1603 | 25 | 32 | ||
1604 | === modified file 'linaro-media-create' | |||
1605 | --- linaro-media-create 2011-01-26 18:03:50 +0000 | |||
1606 | +++ linaro-media-create 2011-01-28 17:43:31 +0000 | |||
1607 | @@ -1,4 +1,22 @@ | |||
1608 | 1 | #!/usr/bin/env python | 1 | #!/usr/bin/env python |
1609 | 2 | # Copyright (C) 2010,2011 Linaro | ||
1610 | 3 | # | ||
1611 | 4 | # Author: Guilherme Salgado <guilherme.salgado@linaro.org> | ||
1612 | 5 | # | ||
1613 | 6 | # This file is part of Linaro Image Tools. | ||
1614 | 7 | # | ||
1615 | 8 | # Linaro Image Tools is free software: you can redistribute it and/or modify | ||
1616 | 9 | # it under the terms of the GNU General Public License as published by | ||
1617 | 10 | # the Free Software Foundation, either version 3 of the License, or | ||
1618 | 11 | # (at your option) any later version. | ||
1619 | 12 | # | ||
1620 | 13 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1621 | 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1622 | 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1623 | 16 | # GNU General Public License for more details. | ||
1624 | 17 | # | ||
1625 | 18 | # You should have received a copy of the GNU General Public License | ||
1626 | 19 | # along with Linaro Image Tools. If not, see <http://www.gnu.org/licenses/>. | ||
1627 | 2 | 20 | ||
1628 | 3 | import atexit | 21 | import atexit |
1629 | 4 | import os | 22 | import os |
1630 | 5 | 23 | ||
1631 | === modified file 'linaro_media_create/__init__.py' | |||
1632 | --- linaro_media_create/__init__.py 2011-01-26 00:39:33 +0000 | |||
1633 | +++ linaro_media_create/__init__.py 2011-01-28 17:43:31 +0000 | |||
1634 | @@ -1,3 +1,22 @@ | |||
1635 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1636 | 2 | # | ||
1637 | 3 | # Author: Guilherme Salgado <guilherme.salgado@linaro.org> | ||
1638 | 4 | # | ||
1639 | 5 | # This file is part of Linaro Image Tools. | ||
1640 | 6 | # | ||
1641 | 7 | # Linaro Image Tools is free software: you can redistribute it and/or modify | ||
1642 | 8 | # it under the terms of the GNU General Public License as published by | ||
1643 | 9 | # the Free Software Foundation, either version 3 of the License, or | ||
1644 | 10 | # (at your option) any later version. | ||
1645 | 11 | # | ||
1646 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1647 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1648 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1649 | 15 | # GNU General Public License for more details. | ||
1650 | 16 | # | ||
1651 | 17 | # You should have received a copy of the GNU General Public License | ||
1652 | 18 | # along with Linaro Image Tools. If not, see <http://www.gnu.org/licenses/>. | ||
1653 | 19 | |||
1654 | 1 | import argparse | 20 | import argparse |
1655 | 2 | 21 | ||
1656 | 3 | from linaro_media_create.boards import board_configs | 22 | from linaro_media_create.boards import board_configs |
1657 | 4 | 23 | ||
1658 | === modified file 'linaro_media_create/boards.py' | |||
1659 | --- linaro_media_create/boards.py 2011-01-28 14:25:54 +0000 | |||
1660 | +++ linaro_media_create/boards.py 2011-01-28 17:43:31 +0000 | |||
1661 | @@ -1,3 +1,22 @@ | |||
1662 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1663 | 2 | # | ||
1664 | 3 | # Author: Guilherme Salgado <guilherme.salgado@linaro.org> | ||
1665 | 4 | # | ||
1666 | 5 | # This file is part of Linaro Image Tools. | ||
1667 | 6 | # | ||
1668 | 7 | # Linaro Image Tools is free software: you can redistribute it and/or modify | ||
1669 | 8 | # it under the terms of the GNU General Public License as published by | ||
1670 | 9 | # the Free Software Foundation, either version 3 of the License, or | ||
1671 | 10 | # (at your option) any later version. | ||
1672 | 11 | # | ||
1673 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1674 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1675 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1676 | 15 | # GNU General Public License for more details. | ||
1677 | 16 | # | ||
1678 | 17 | # You should have received a copy of the GNU General Public License | ||
1679 | 18 | # along with Linaro Image Tools. If not, see <http://www.gnu.org/licenses/>. | ||
1680 | 19 | |||
1681 | 1 | """Configuration for boards supported by linaro-media-create. | 20 | """Configuration for boards supported by linaro-media-create. |
1682 | 2 | 21 | ||
1683 | 3 | To add support for a new board, you need to create a subclass of | 22 | To add support for a new board, you need to create a subclass of |
1684 | 4 | 23 | ||
1685 | === modified file 'linaro_media_create/check_device.py' (properties changed: +x to -x) | |||
1686 | --- linaro_media_create/check_device.py 2011-01-22 00:50:19 +0000 | |||
1687 | +++ linaro_media_create/check_device.py 2011-01-28 17:43:31 +0000 | |||
1688 | @@ -1,3 +1,22 @@ | |||
1689 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1690 | 2 | # | ||
1691 | 3 | # Author: Guilherme Salgado <guilherme.salgado@linaro.org> | ||
1692 | 4 | # | ||
1693 | 5 | # This file is part of Linaro Image Tools. | ||
1694 | 6 | # | ||
1695 | 7 | # Linaro Image Tools is free software: you can redistribute it and/or modify | ||
1696 | 8 | # it under the terms of the GNU General Public License as published by | ||
1697 | 9 | # the Free Software Foundation, either version 3 of the License, or | ||
1698 | 10 | # (at your option) any later version. | ||
1699 | 11 | # | ||
1700 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1701 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1702 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1703 | 15 | # GNU General Public License for more details. | ||
1704 | 16 | # | ||
1705 | 17 | # You should have received a copy of the GNU General Public License | ||
1706 | 18 | # along with Linaro Image Tools. If not, see <http://www.gnu.org/licenses/>. | ||
1707 | 19 | |||
1708 | 1 | import glob | 20 | import glob |
1709 | 2 | 21 | ||
1710 | 3 | import dbus | 22 | import dbus |
1711 | 4 | 23 | ||
1712 | === modified file 'linaro_media_create/cmd_runner.py' | |||
1713 | --- linaro_media_create/cmd_runner.py 2011-01-04 20:59:49 +0000 | |||
1714 | +++ linaro_media_create/cmd_runner.py 2011-01-28 17:43:31 +0000 | |||
1715 | @@ -1,3 +1,22 @@ | |||
1716 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1717 | 2 | # | ||
1718 | 3 | # Author: Guilherme Salgado <guilherme.salgado@linaro.org> | ||
1719 | 4 | # | ||
1720 | 5 | # This file is part of Linaro Image Tools. | ||
1721 | 6 | # | ||
1722 | 7 | # Linaro Image Tools is free software: you can redistribute it and/or modify | ||
1723 | 8 | # it under the terms of the GNU General Public License as published by | ||
1724 | 9 | # the Free Software Foundation, either version 3 of the License, or | ||
1725 | 10 | # (at your option) any later version. | ||
1726 | 11 | # | ||
1727 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1728 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1729 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1730 | 15 | # GNU General Public License for more details. | ||
1731 | 16 | # | ||
1732 | 17 | # You should have received a copy of the GNU General Public License | ||
1733 | 18 | # along with Linaro Image Tools. If not, see <http://www.gnu.org/licenses/>. | ||
1734 | 19 | |||
1735 | 1 | import os | 20 | import os |
1736 | 2 | import subprocess | 21 | import subprocess |
1737 | 3 | 22 | ||
1738 | 4 | 23 | ||
1739 | === modified file 'linaro_media_create/hwpack.py' | |||
1740 | --- linaro_media_create/hwpack.py 2011-01-17 17:51:13 +0000 | |||
1741 | +++ linaro_media_create/hwpack.py 2011-01-28 17:43:31 +0000 | |||
1742 | @@ -1,3 +1,22 @@ | |||
1743 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1744 | 2 | # | ||
1745 | 3 | # Author: Guilherme Salgado <guilherme.salgado@linaro.org> | ||
1746 | 4 | # | ||
1747 | 5 | # This file is part of Linaro Image Tools. | ||
1748 | 6 | # | ||
1749 | 7 | # Linaro Image Tools is free software: you can redistribute it and/or modify | ||
1750 | 8 | # it under the terms of the GNU General Public License as published by | ||
1751 | 9 | # the Free Software Foundation, either version 3 of the License, or | ||
1752 | 10 | # (at your option) any later version. | ||
1753 | 11 | # | ||
1754 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1755 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1756 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1757 | 15 | # GNU General Public License for more details. | ||
1758 | 16 | # | ||
1759 | 17 | # You should have received a copy of the GNU General Public License | ||
1760 | 18 | # along with Linaro Image Tools. If not, see <http://www.gnu.org/licenses/>. | ||
1761 | 19 | |||
1762 | 1 | import os | 20 | import os |
1763 | 2 | 21 | ||
1764 | 3 | from linaro_media_create import cmd_runner | 22 | from linaro_media_create import cmd_runner |
1765 | 4 | 23 | ||
1766 | === modified file 'linaro_media_create/partitions.py' | |||
1767 | --- linaro_media_create/partitions.py 2011-01-27 16:39:37 +0000 | |||
1768 | +++ linaro_media_create/partitions.py 2011-01-28 17:43:31 +0000 | |||
1769 | @@ -1,3 +1,22 @@ | |||
1770 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1771 | 2 | # | ||
1772 | 3 | # Author: Guilherme Salgado <guilherme.salgado@linaro.org> | ||
1773 | 4 | # | ||
1774 | 5 | # This file is part of Linaro Image Tools. | ||
1775 | 6 | # | ||
1776 | 7 | # Linaro Image Tools is free software: you can redistribute it and/or modify | ||
1777 | 8 | # it under the terms of the GNU General Public License as published by | ||
1778 | 9 | # the Free Software Foundation, either version 3 of the License, or | ||
1779 | 10 | # (at your option) any later version. | ||
1780 | 11 | # | ||
1781 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1782 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1783 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1784 | 15 | # GNU General Public License for more details. | ||
1785 | 16 | # | ||
1786 | 17 | # You should have received a copy of the GNU General Public License | ||
1787 | 18 | # along with Linaro Image Tools. If not, see <http://www.gnu.org/licenses/>. | ||
1788 | 19 | |||
1789 | 1 | import atexit | 20 | import atexit |
1790 | 2 | import glob | 21 | import glob |
1791 | 3 | import re | 22 | import re |
1792 | 4 | 23 | ||
1793 | === modified file 'linaro_media_create/populate_boot.py' | |||
1794 | --- linaro_media_create/populate_boot.py 2011-01-26 00:39:33 +0000 | |||
1795 | +++ linaro_media_create/populate_boot.py 2011-01-28 17:43:31 +0000 | |||
1796 | @@ -1,3 +1,22 @@ | |||
1797 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1798 | 2 | # | ||
1799 | 3 | # Author: Guilherme Salgado <guilherme.salgado@linaro.org> | ||
1800 | 4 | # | ||
1801 | 5 | # This file is part of Linaro Image Tools. | ||
1802 | 6 | # | ||
1803 | 7 | # Linaro Image Tools is free software: you can redistribute it and/or modify | ||
1804 | 8 | # it under the terms of the GNU General Public License as published by | ||
1805 | 9 | # the Free Software Foundation, either version 3 of the License, or | ||
1806 | 10 | # (at your option) any later version. | ||
1807 | 11 | # | ||
1808 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1809 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1810 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1811 | 15 | # GNU General Public License for more details. | ||
1812 | 16 | # | ||
1813 | 17 | # You should have received a copy of the GNU General Public License | ||
1814 | 18 | # along with Linaro Image Tools. If not, see <http://www.gnu.org/licenses/>. | ||
1815 | 19 | |||
1816 | 1 | import errno | 20 | import errno |
1817 | 2 | import os | 21 | import os |
1818 | 3 | 22 | ||
1819 | 4 | 23 | ||
1820 | === modified file 'linaro_media_create/rootfs.py' | |||
1821 | --- linaro_media_create/rootfs.py 2011-01-19 18:28:10 +0000 | |||
1822 | +++ linaro_media_create/rootfs.py 2011-01-28 17:43:31 +0000 | |||
1823 | @@ -1,3 +1,22 @@ | |||
1824 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1825 | 2 | # | ||
1826 | 3 | # Author: Guilherme Salgado <guilherme.salgado@linaro.org> | ||
1827 | 4 | # | ||
1828 | 5 | # This file is part of Linaro Image Tools. | ||
1829 | 6 | # | ||
1830 | 7 | # Linaro Image Tools is free software: you can redistribute it and/or modify | ||
1831 | 8 | # it under the terms of the GNU General Public License as published by | ||
1832 | 9 | # the Free Software Foundation, either version 3 of the License, or | ||
1833 | 10 | # (at your option) any later version. | ||
1834 | 11 | # | ||
1835 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1836 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1837 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1838 | 15 | # GNU General Public License for more details. | ||
1839 | 16 | # | ||
1840 | 17 | # You should have received a copy of the GNU General Public License | ||
1841 | 18 | # along with Linaro Image Tools. If not, see <http://www.gnu.org/licenses/>. | ||
1842 | 19 | |||
1843 | 1 | import glob | 20 | import glob |
1844 | 2 | import os | 21 | import os |
1845 | 3 | import tempfile | 22 | import tempfile |
1846 | 4 | 23 | ||
1847 | === modified file 'linaro_media_create/tests/fixtures.py' (properties changed: +x to -x) | |||
1848 | --- linaro_media_create/tests/fixtures.py 2011-01-27 17:54:57 +0000 | |||
1849 | +++ linaro_media_create/tests/fixtures.py 2011-01-28 17:43:31 +0000 | |||
1850 | @@ -1,3 +1,22 @@ | |||
1851 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1852 | 2 | # | ||
1853 | 3 | # Author: Guilherme Salgado <guilherme.salgado@linaro.org> | ||
1854 | 4 | # | ||
1855 | 5 | # This file is part of Linaro Image Tools. | ||
1856 | 6 | # | ||
1857 | 7 | # Linaro Image Tools is free software: you can redistribute it and/or modify | ||
1858 | 8 | # it under the terms of the GNU General Public License as published by | ||
1859 | 9 | # the Free Software Foundation, either version 3 of the License, or | ||
1860 | 10 | # (at your option) any later version. | ||
1861 | 11 | # | ||
1862 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1863 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1864 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1865 | 15 | # GNU General Public License for more details. | ||
1866 | 16 | # | ||
1867 | 17 | # You should have received a copy of the GNU General Public License | ||
1868 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
1869 | 19 | |||
1870 | 1 | import os | 20 | import os |
1871 | 2 | import shutil | 21 | import shutil |
1872 | 3 | import subprocess | 22 | import subprocess |
1873 | 4 | 23 | ||
1874 | === modified file 'linaro_media_create/tests/test_media_create.py' | |||
1875 | --- linaro_media_create/tests/test_media_create.py 2011-01-28 14:25:54 +0000 | |||
1876 | +++ linaro_media_create/tests/test_media_create.py 2011-01-28 17:43:31 +0000 | |||
1877 | @@ -1,3 +1,22 @@ | |||
1878 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1879 | 2 | # | ||
1880 | 3 | # Author: Guilherme Salgado <guilherme.salgado@linaro.org> | ||
1881 | 4 | # | ||
1882 | 5 | # This file is part of Linaro Image Tools. | ||
1883 | 6 | # | ||
1884 | 7 | # Linaro Image Tools is free software: you can redistribute it and/or modify | ||
1885 | 8 | # it under the terms of the GNU General Public License as published by | ||
1886 | 9 | # the Free Software Foundation, either version 3 of the License, or | ||
1887 | 10 | # (at your option) any later version. | ||
1888 | 11 | # | ||
1889 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1890 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1891 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1892 | 15 | # GNU General Public License for more details. | ||
1893 | 16 | # | ||
1894 | 17 | # You should have received a copy of the GNU General Public License | ||
1895 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
1896 | 19 | |||
1897 | 1 | import atexit | 20 | import atexit |
1898 | 2 | import glob | 21 | import glob |
1899 | 3 | import os | 22 | import os |
1900 | 4 | 23 | ||
1901 | === modified file 'linaro_media_create/unpack_binary_tarball.py' | |||
1902 | --- linaro_media_create/unpack_binary_tarball.py 2011-01-11 21:26:54 +0000 | |||
1903 | +++ linaro_media_create/unpack_binary_tarball.py 2011-01-28 17:43:31 +0000 | |||
1904 | @@ -1,3 +1,22 @@ | |||
1905 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1906 | 2 | # | ||
1907 | 3 | # Author: Guilherme Salgado <guilherme.salgado@linaro.org> | ||
1908 | 4 | # | ||
1909 | 5 | # This file is part of Linaro Image Tools. | ||
1910 | 6 | # | ||
1911 | 7 | # Linaro Image Tools is free software: you can redistribute it and/or modify | ||
1912 | 8 | # it under the terms of the GNU General Public License as published by | ||
1913 | 9 | # the Free Software Foundation, either version 3 of the License, or | ||
1914 | 10 | # (at your option) any later version. | ||
1915 | 11 | # | ||
1916 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1917 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1918 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1919 | 15 | # GNU General Public License for more details. | ||
1920 | 16 | # | ||
1921 | 17 | # You should have received a copy of the GNU General Public License | ||
1922 | 18 | # along with Linaro Image Tools. If not, see <http://www.gnu.org/licenses/>. | ||
1923 | 19 | |||
1924 | 1 | from linaro_media_create import cmd_runner | 20 | from linaro_media_create import cmd_runner |
1925 | 2 | 21 | ||
1926 | 3 | 22 | ||
1927 | 4 | 23 | ||
1928 | === modified file 'linaro_media_create/utils.py' | |||
1929 | --- linaro_media_create/utils.py 2011-01-27 17:54:57 +0000 | |||
1930 | +++ linaro_media_create/utils.py 2011-01-28 17:43:31 +0000 | |||
1931 | @@ -1,3 +1,22 @@ | |||
1932 | 1 | # Copyright (C) 2010,2011 Linaro | ||
1933 | 2 | # | ||
1934 | 3 | # Author: Guilherme Salgado <guilherme.salgado@linaro.org> | ||
1935 | 4 | # | ||
1936 | 5 | # This file is part of Linaro Image Tools. | ||
1937 | 6 | # | ||
1938 | 7 | # Linaro Image Tools is free software: you can redistribute it and/or modify | ||
1939 | 8 | # it under the terms of the GNU General Public License as published by | ||
1940 | 9 | # the Free Software Foundation, either version 3 of the License, or | ||
1941 | 10 | # (at your option) any later version. | ||
1942 | 11 | # | ||
1943 | 12 | # Linaro Image Tools is distributed in the hope that it will be useful, | ||
1944 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1945 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1946 | 15 | # GNU General Public License for more details. | ||
1947 | 16 | # | ||
1948 | 17 | # You should have received a copy of the GNU General Public License | ||
1949 | 18 | # along with Linaro Image Tools. If not, see <http://www.gnu.org/licenses/>. | ||
1950 | 19 | |||
1951 | 1 | import platform | 20 | import platform |
1952 | 2 | 21 | ||
1953 | 3 | try: | 22 | try: |
+Source: http:// launchpad. net/linaro- image-tools
should be https
Otherwise looks good; perhaps "2010, 2011" instead of 2010,2011 in copyright entries just to look good