diff options
Diffstat (limited to 'meta/files')
-rw-r--r-- | meta/files/common-licenses/DocBook-XML | 48 | ||||
-rw-r--r-- | meta/files/common-licenses/GPL-2.0-with-Linux-syscall-note | 357 | ||||
-rw-r--r-- | meta/files/common-licenses/OASIS | 13 | ||||
-rw-r--r-- | meta/files/license-hashes.csv | 94 | ||||
-rw-r--r-- | meta/files/overlayfs-create-dirs.service.in | 5 | ||||
-rw-r--r-- | meta/files/overlayfs-etc-preinit.sh.in | 3 | ||||
-rw-r--r-- | meta/files/overlayfs-unit.mount.in | 2 | ||||
-rw-r--r-- | meta/files/toolchain-shar-extract.sh | 37 | ||||
-rw-r--r-- | meta/files/toolchain-shar-relocate.sh | 12 |
9 files changed, 538 insertions, 33 deletions
diff --git a/meta/files/common-licenses/DocBook-XML b/meta/files/common-licenses/DocBook-XML new file mode 100644 index 0000000000..0a82d60c1c --- /dev/null +++ b/meta/files/common-licenses/DocBook-XML | |||
@@ -0,0 +1,48 @@ | |||
1 | Copyright | ||
2 | --------- | ||
3 | Copyright (C) 1999-2007 Norman Walsh | ||
4 | Copyright (C) 2003 Jiří Kosek | ||
5 | Copyright (C) 2004-2007 Steve Ball | ||
6 | Copyright (C) 2005-2008 The DocBook Project | ||
7 | Copyright (C) 2011-2012 O'Reilly Media | ||
8 | |||
9 | Permission is hereby granted, free of charge, to any person | ||
10 | obtaining a copy of this software and associated documentation | ||
11 | files (the ``Software''), to deal in the Software without | ||
12 | restriction, including without limitation the rights to use, | ||
13 | copy, modify, merge, publish, distribute, sublicense, and/or | ||
14 | sell copies of the Software, and to permit persons to whom the | ||
15 | Software is furnished to do so, subject to the following | ||
16 | conditions: | ||
17 | |||
18 | The above copyright notice and this permission notice shall be | ||
19 | included in all copies or substantial portions of the Software. | ||
20 | |||
21 | Except as contained in this notice, the names of individuals | ||
22 | credited with contribution to this software shall not be used in | ||
23 | advertising or otherwise to promote the sale, use or other | ||
24 | dealings in this Software without prior written authorization | ||
25 | from the individuals in question. | ||
26 | |||
27 | Any stylesheet derived from this Software that is publically | ||
28 | distributed will be identified with a different name and the | ||
29 | version strings in any derived Software will be changed so that | ||
30 | no possibility of confusion between the derived package and this | ||
31 | Software will exist. | ||
32 | |||
33 | Warranty | ||
34 | -------- | ||
35 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
36 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||
37 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
38 | NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER | ||
39 | CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
40 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
41 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
42 | OTHER DEALINGS IN THE SOFTWARE. | ||
43 | |||
44 | Contacting the Author | ||
45 | --------------------- | ||
46 | The DocBook XSL stylesheets are maintained by Norman Walsh, | ||
47 | <ndw@nwalsh.com>, and members of the DocBook Project, | ||
48 | <docbook-developers@sf.net> | ||
diff --git a/meta/files/common-licenses/GPL-2.0-with-Linux-syscall-note b/meta/files/common-licenses/GPL-2.0-with-Linux-syscall-note new file mode 100644 index 0000000000..90b059c286 --- /dev/null +++ b/meta/files/common-licenses/GPL-2.0-with-Linux-syscall-note | |||
@@ -0,0 +1,357 @@ | |||
1 | |||
2 | GNU GENERAL PUBLIC LICENSE | ||
3 | Version 2, June 1991 | ||
4 | |||
5 | Copyright (C) 1989, 1991 Free Software Foundation, Inc. | ||
6 | 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
7 | Everyone is permitted to copy and distribute verbatim copies | ||
8 | of this license document, but changing it is not allowed. | ||
9 | |||
10 | Preamble | ||
11 | |||
12 | The licenses for most software are designed to take away your | ||
13 | freedom to share and change it. By contrast, the GNU General Public | ||
14 | License is intended to guarantee your freedom to share and change free | ||
15 | software--to make sure the software is free for all its users. This | ||
16 | General Public License applies to most of the Free Software | ||
17 | Foundation's software and to any other program whose authors commit to | ||
18 | using it. (Some other Free Software Foundation software is covered by | ||
19 | the GNU Library General Public License instead.) You can apply it to | ||
20 | your programs, too. | ||
21 | |||
22 | When we speak of free software, we are referring to freedom, not | ||
23 | price. Our General Public Licenses are designed to make sure that you | ||
24 | have the freedom to distribute copies of free software (and charge for | ||
25 | this service if you wish), that you receive source code or can get it | ||
26 | if you want it, that you can change the software or use pieces of it | ||
27 | in new free programs; and that you know you can do these things. | ||
28 | |||
29 | To protect your rights, we need to make restrictions that forbid | ||
30 | anyone to deny you these rights or to ask you to surrender the rights. | ||
31 | These restrictions translate to certain responsibilities for you if you | ||
32 | distribute copies of the software, or if you modify it. | ||
33 | |||
34 | For example, if you distribute copies of such a program, whether | ||
35 | gratis or for a fee, you must give the recipients all the rights that | ||
36 | you have. You must make sure that they, too, receive or can get the | ||
37 | source code. And you must show them these terms so they know their | ||
38 | rights. | ||
39 | |||
40 | We protect your rights with two steps: (1) copyright the software, and | ||
41 | (2) offer you this license which gives you legal permission to copy, | ||
42 | distribute and/or modify the software. | ||
43 | |||
44 | Also, for each author's protection and ours, we want to make certain | ||
45 | that everyone understands that there is no warranty for this free | ||
46 | software. If the software is modified by someone else and passed on, we | ||
47 | want its recipients to know that what they have is not the original, so | ||
48 | that any problems introduced by others will not reflect on the original | ||
49 | authors' reputations. | ||
50 | |||
51 | Finally, any free program is threatened constantly by software | ||
52 | patents. We wish to avoid the danger that redistributors of a free | ||
53 | program will individually obtain patent licenses, in effect making the | ||
54 | program proprietary. To prevent this, we have made it clear that any | ||
55 | patent must be licensed for everyone's free use or not licensed at all. | ||
56 | |||
57 | The precise terms and conditions for copying, distribution and | ||
58 | modification follow. | ||
59 | |||
60 | GNU GENERAL PUBLIC LICENSE | ||
61 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | ||
62 | |||
63 | 0. This License applies to any program or other work which contains | ||
64 | a notice placed by the copyright holder saying it may be distributed | ||
65 | under the terms of this General Public License. The "Program", below, | ||
66 | refers to any such program or work, and a "work based on the Program" | ||
67 | means either the Program or any derivative work under copyright law: | ||
68 | that is to say, a work containing the Program or a portion of it, | ||
69 | either verbatim or with modifications and/or translated into another | ||
70 | language. (Hereinafter, translation is included without limitation in | ||
71 | the term "modification".) Each licensee is addressed as "you". | ||
72 | |||
73 | Activities other than copying, distribution and modification are not | ||
74 | covered by this License; they are outside its scope. The act of | ||
75 | running the Program is not restricted, and the output from the Program | ||
76 | is covered only if its contents constitute a work based on the | ||
77 | Program (independent of having been made by running the Program). | ||
78 | Whether that is true depends on what the Program does. | ||
79 | |||
80 | 1. You may copy and distribute verbatim copies of the Program's | ||
81 | source code as you receive it, in any medium, provided that you | ||
82 | conspicuously and appropriately publish on each copy an appropriate | ||
83 | copyright notice and disclaimer of warranty; keep intact all the | ||
84 | notices that refer to this License and to the absence of any warranty; | ||
85 | and give any other recipients of the Program a copy of this License | ||
86 | along with the Program. | ||
87 | |||
88 | You may charge a fee for the physical act of transferring a copy, and | ||
89 | you may at your option offer warranty protection in exchange for a fee. | ||
90 | |||
91 | 2. You may modify your copy or copies of the Program or any portion | ||
92 | of it, thus forming a work based on the Program, and copy and | ||
93 | distribute such modifications or work under the terms of Section 1 | ||
94 | above, provided that you also meet all of these conditions: | ||
95 | |||
96 | a) You must cause the modified files to carry prominent notices | ||
97 | stating that you changed the files and the date of any change. | ||
98 | |||
99 | b) You must cause any work that you distribute or publish, that in | ||
100 | whole or in part contains or is derived from the Program or any | ||
101 | part thereof, to be licensed as a whole at no charge to all third | ||
102 | parties under the terms of this License. | ||
103 | |||
104 | c) If the modified program normally reads commands interactively | ||
105 | when run, you must cause it, when started running for such | ||
106 | interactive use in the most ordinary way, to print or display an | ||
107 | announcement including an appropriate copyright notice and a | ||
108 | notice that there is no warranty (or else, saying that you provide | ||
109 | a warranty) and that users may redistribute the program under | ||
110 | these conditions, and telling the user how to view a copy of this | ||
111 | License. (Exception: if the Program itself is interactive but | ||
112 | does not normally print such an announcement, your work based on | ||
113 | the Program is not required to print an announcement.) | ||
114 | |||
115 | These requirements apply to the modified work as a whole. If | ||
116 | identifiable sections of that work are not derived from the Program, | ||
117 | and can be reasonably considered independent and separate works in | ||
118 | themselves, then this License, and its terms, do not apply to those | ||
119 | sections when you distribute them as separate works. But when you | ||
120 | distribute the same sections as part of a whole which is a work based | ||
121 | on the Program, the distribution of the whole must be on the terms of | ||
122 | this License, whose permissions for other licensees extend to the | ||
123 | entire whole, and thus to each and every part regardless of who wrote it. | ||
124 | |||
125 | Thus, it is not the intent of this section to claim rights or contest | ||
126 | your rights to work written entirely by you; rather, the intent is to | ||
127 | exercise the right to control the distribution of derivative or | ||
128 | collective works based on the Program. | ||
129 | |||
130 | In addition, mere aggregation of another work not based on the Program | ||
131 | with the Program (or with a work based on the Program) on a volume of | ||
132 | a storage or distribution medium does not bring the other work under | ||
133 | the scope of this License. | ||
134 | |||
135 | 3. You may copy and distribute the Program (or a work based on it, | ||
136 | under Section 2) in object code or executable form under the terms of | ||
137 | Sections 1 and 2 above provided that you also do one of the following: | ||
138 | |||
139 | a) Accompany it with the complete corresponding machine-readable | ||
140 | source code, which must be distributed under the terms of Sections | ||
141 | 1 and 2 above on a medium customarily used for software interchange; or, | ||
142 | |||
143 | b) Accompany it with a written offer, valid for at least three | ||
144 | years, to give any third party, for a charge no more than your | ||
145 | cost of physically performing source distribution, a complete | ||
146 | machine-readable copy of the corresponding source code, to be | ||
147 | distributed under the terms of Sections 1 and 2 above on a medium | ||
148 | customarily used for software interchange; or, | ||
149 | |||
150 | c) Accompany it with the information you received as to the offer | ||
151 | to distribute corresponding source code. (This alternative is | ||
152 | allowed only for noncommercial distribution and only if you | ||
153 | received the program in object code or executable form with such | ||
154 | an offer, in accord with Subsection b above.) | ||
155 | |||
156 | The source code for a work means the preferred form of the work for | ||
157 | making modifications to it. For an executable work, complete source | ||
158 | code means all the source code for all modules it contains, plus any | ||
159 | associated interface definition files, plus the scripts used to | ||
160 | control compilation and installation of the executable. However, as a | ||
161 | special exception, the source code distributed need not include | ||
162 | anything that is normally distributed (in either source or binary | ||
163 | form) with the major components (compiler, kernel, and so on) of the | ||
164 | operating system on which the executable runs, unless that component | ||
165 | itself accompanies the executable. | ||
166 | |||
167 | If distribution of executable or object code is made by offering | ||
168 | access to copy from a designated place, then offering equivalent | ||
169 | access to copy the source code from the same place counts as | ||
170 | distribution of the source code, even though third parties are not | ||
171 | compelled to copy the source along with the object code. | ||
172 | |||
173 | 4. You may not copy, modify, sublicense, or distribute the Program | ||
174 | except as expressly provided under this License. Any attempt | ||
175 | otherwise to copy, modify, sublicense or distribute the Program is | ||
176 | void, and will automatically terminate your rights under this License. | ||
177 | However, parties who have received copies, or rights, from you under | ||
178 | this License will not have their licenses terminated so long as such | ||
179 | parties remain in full compliance. | ||
180 | |||
181 | 5. You are not required to accept this License, since you have not | ||
182 | signed it. However, nothing else grants you permission to modify or | ||
183 | distribute the Program or its derivative works. These actions are | ||
184 | prohibited by law if you do not accept this License. Therefore, by | ||
185 | modifying or distributing the Program (or any work based on the | ||
186 | Program), you indicate your acceptance of this License to do so, and | ||
187 | all its terms and conditions for copying, distributing or modifying | ||
188 | the Program or works based on it. | ||
189 | |||
190 | 6. Each time you redistribute the Program (or any work based on the | ||
191 | Program), the recipient automatically receives a license from the | ||
192 | original licensor to copy, distribute or modify the Program subject to | ||
193 | these terms and conditions. You may not impose any further | ||
194 | restrictions on the recipients' exercise of the rights granted herein. | ||
195 | You are not responsible for enforcing compliance by third parties to | ||
196 | this License. | ||
197 | |||
198 | 7. If, as a consequence of a court judgment or allegation of patent | ||
199 | infringement or for any other reason (not limited to patent issues), | ||
200 | conditions are imposed on you (whether by court order, agreement or | ||
201 | otherwise) that contradict the conditions of this License, they do not | ||
202 | excuse you from the conditions of this License. If you cannot | ||
203 | distribute so as to satisfy simultaneously your obligations under this | ||
204 | License and any other pertinent obligations, then as a consequence you | ||
205 | may not distribute the Program at all. For example, if a patent | ||
206 | license would not permit royalty-free redistribution of the Program by | ||
207 | all those who receive copies directly or indirectly through you, then | ||
208 | the only way you could satisfy both it and this License would be to | ||
209 | refrain entirely from distribution of the Program. | ||
210 | |||
211 | If any portion of this section is held invalid or unenforceable under | ||
212 | any particular circumstance, the balance of the section is intended to | ||
213 | apply and the section as a whole is intended to apply in other | ||
214 | circumstances. | ||
215 | |||
216 | It is not the purpose of this section to induce you to infringe any | ||
217 | patents or other property right claims or to contest validity of any | ||
218 | such claims; this section has the sole purpose of protecting the | ||
219 | integrity of the free software distribution system, which is | ||
220 | implemented by public license practices. Many people have made | ||
221 | generous contributions to the wide range of software distributed | ||
222 | through that system in reliance on consistent application of that | ||
223 | system; it is up to the author/donor to decide if he or she is willing | ||
224 | to distribute software through any other system and a licensee cannot | ||
225 | impose that choice. | ||
226 | |||
227 | This section is intended to make thoroughly clear what is believed to | ||
228 | be a consequence of the rest of this License. | ||
229 | |||
230 | 8. If the distribution and/or use of the Program is restricted in | ||
231 | certain countries either by patents or by copyrighted interfaces, the | ||
232 | original copyright holder who places the Program under this License | ||
233 | may add an explicit geographical distribution limitation excluding | ||
234 | those countries, so that distribution is permitted only in or among | ||
235 | countries not thus excluded. In such case, this License incorporates | ||
236 | the limitation as if written in the body of this License. | ||
237 | |||
238 | 9. The Free Software Foundation may publish revised and/or new versions | ||
239 | of the General Public License from time to time. Such new versions will | ||
240 | be similar in spirit to the present version, but may differ in detail to | ||
241 | address new problems or concerns. | ||
242 | |||
243 | Each version is given a distinguishing version number. If the Program | ||
244 | specifies a version number of this License which applies to it and "any | ||
245 | later version", you have the option of following the terms and conditions | ||
246 | either of that version or of any later version published by the Free | ||
247 | Software Foundation. If the Program does not specify a version number of | ||
248 | this License, you may choose any version ever published by the Free Software | ||
249 | Foundation. | ||
250 | |||
251 | 10. If you wish to incorporate parts of the Program into other free | ||
252 | programs whose distribution conditions are different, write to the author | ||
253 | to ask for permission. For software which is copyrighted by the Free | ||
254 | Software Foundation, write to the Free Software Foundation; we sometimes | ||
255 | make exceptions for this. Our decision will be guided by the two goals | ||
256 | of preserving the free status of all derivatives of our free software and | ||
257 | of promoting the sharing and reuse of software generally. | ||
258 | |||
259 | NO WARRANTY | ||
260 | |||
261 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY | ||
262 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN | ||
263 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES | ||
264 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED | ||
265 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
266 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS | ||
267 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE | ||
268 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, | ||
269 | REPAIR OR CORRECTION. | ||
270 | |||
271 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING | ||
272 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR | ||
273 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, | ||
274 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING | ||
275 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED | ||
276 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY | ||
277 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER | ||
278 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE | ||
279 | POSSIBILITY OF SUCH DAMAGES. | ||
280 | |||
281 | END OF TERMS AND CONDITIONS | ||
282 | |||
283 | How to Apply These Terms to Your New Programs | ||
284 | |||
285 | If you develop a new program, and you want it to be of the greatest | ||
286 | possible use to the public, the best way to achieve this is to make it | ||
287 | free software which everyone can redistribute and change under these terms. | ||
288 | |||
289 | To do so, attach the following notices to the program. It is safest | ||
290 | to attach them to the start of each source file to most effectively | ||
291 | convey the exclusion of warranty; and each file should have at least | ||
292 | the "copyright" line and a pointer to where the full notice is found. | ||
293 | |||
294 | <one line to give the program's name and a brief idea of what it does.> | ||
295 | Copyright (C) <year> <name of author> | ||
296 | |||
297 | This program is free software; you can redistribute it and/or modify | ||
298 | it under the terms of the GNU General Public License as published by | ||
299 | the Free Software Foundation; either version 2 of the License, or | ||
300 | (at your option) any later version. | ||
301 | |||
302 | This program is distributed in the hope that it will be useful, | ||
303 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
304 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
305 | GNU General Public License for more details. | ||
306 | |||
307 | You should have received a copy of the GNU General Public License | ||
308 | along with this program; if not, write to the Free Software | ||
309 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
310 | |||
311 | |||
312 | Also add information on how to contact you by electronic and paper mail. | ||
313 | |||
314 | If the program is interactive, make it output a short notice like this | ||
315 | when it starts in an interactive mode: | ||
316 | |||
317 | Gnomovision version 69, Copyright (C) year name of author | ||
318 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. | ||
319 | This is free software, and you are welcome to redistribute it | ||
320 | under certain conditions; type `show c' for details. | ||
321 | |||
322 | The hypothetical commands `show w' and `show c' should show the appropriate | ||
323 | parts of the General Public License. Of course, the commands you use may | ||
324 | be called something other than `show w' and `show c'; they could even be | ||
325 | mouse-clicks or menu items--whatever suits your program. | ||
326 | |||
327 | You should also get your employer (if you work as a programmer) or your | ||
328 | school, if any, to sign a "copyright disclaimer" for the program, if | ||
329 | necessary. Here is a sample; alter the names: | ||
330 | |||
331 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program | ||
332 | `Gnomovision' (which makes passes at compilers) written by James Hacker. | ||
333 | |||
334 | <signature of Ty Coon>, 1 April 1989 | ||
335 | Ty Coon, President of Vice | ||
336 | |||
337 | This General Public License does not permit incorporating your program into | ||
338 | proprietary programs. If your program is a subroutine library, you may | ||
339 | consider it more useful to permit linking proprietary applications with the | ||
340 | library. If this is what you want to do, use the GNU Library General | ||
341 | Public License instead of this License. | ||
342 | |||
343 | |||
344 | |||
345 | NOTE! This copyright does *not* cover user programs that use kernel | ||
346 | services by normal system calls - this is merely considered normal use | ||
347 | of the kernel, and does *not* fall under the heading of "derived work". | ||
348 | Also note that the GPL below is copyrighted by the Free Software | ||
349 | Foundation, but the instance of code that it refers to (the Linux | ||
350 | kernel) is copyrighted by me and others who actually wrote it. | ||
351 | |||
352 | Also note that the only valid version of the GPL as far as the kernel | ||
353 | is concerned is _this_ particular version of the license (ie v2, not | ||
354 | v2.2 or v3.x or whatever), unless explicitly otherwise stated. | ||
355 | |||
356 | Linus Torvalds | ||
357 | |||
diff --git a/meta/files/common-licenses/OASIS b/meta/files/common-licenses/OASIS deleted file mode 100644 index f93df7af27..0000000000 --- a/meta/files/common-licenses/OASIS +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | Permission to use, copy, modify and distribute the DocBook DTD and | ||
2 | its accompanying documentation for any purpose and without fee is | ||
3 | hereby granted in perpetuity, provided that the above copyright | ||
4 | notice and this paragraph appear in all copies. The copyright | ||
5 | holders make no representation about the suitability of the DTD for | ||
6 | any purpose. It is provided "as is" without expressed or implied | ||
7 | warranty. | ||
8 | |||
9 | If you modify the DocBook DTD in any way, except for declaring and | ||
10 | referencing additional sets of general entities and declaring | ||
11 | additional notations, label your DTD as a variant of DocBook. See | ||
12 | the maintenance documentation for more information. | ||
13 | |||
diff --git a/meta/files/license-hashes.csv b/meta/files/license-hashes.csv new file mode 100644 index 0000000000..5e81dbcdec --- /dev/null +++ b/meta/files/license-hashes.csv | |||
@@ -0,0 +1,94 @@ | |||
1 | 008c22318c8ea65928bf730ddd0273e3,BSD-3-Clause | ||
2 | 02d4002e9171d41a8fad93aa7faf3956,BSD-3-Clause | ||
3 | 0636e73ff0215e8d672dc4c32c317bb3,GPL-2.0-only | ||
4 | 063b5c3ebb5f3aa4c85a2ed18a31fbe7,GPL-2.0-only | ||
5 | 0a97f8e4cbaf889d6fa51f84b89a79f6,ISC | ||
6 | 0c241922fc69330e2e5590de114f3bf5,BSD-3-Clause | ||
7 | 0ceb9ff3b27d3a8cf451ca3785d73c71,MIT | ||
8 | 0dd48ae8103725bd7b401261520cdfbb,BSD-3-Clause | ||
9 | 0e46634a01bfef056892949acaea85b1,BSD-3-Clause | ||
10 | 1034431802e57486b393d00c5d262b8a,Apache-2.0 | ||
11 | 12f884d2ae1ff87c09e5b7ccc2c4ca7e,GPL-2.0-only | ||
12 | 18810669f13b87348459e611d31ab760,GPL-2.0-only | ||
13 | 19cbd64715b51267a47bf3750cc6a8a5,Apache-2.0 | ||
14 | 201414b6610203caed355323b1ab3116,BSD-3-Clause | ||
15 | 252890d9eee26aab7b432e8b8a616475,LGPL-2.0-only | ||
16 | 2b8c039b2b9a25f0feb4410c4542d346,BSD-2-Clause | ||
17 | 2d1c30374313ae40df7772dc92ef9fd5,GPL-3.0-only | ||
18 | 2d5025d4aa3495befef8f17206a5b0a1,LGPL-2.1-only | ||
19 | 3214f080875748938ba060314b4f727d,LGPL-2.0-only | ||
20 | 37acb030ba070680be4a9fcb57f2735a,MIT | ||
21 | 385c55653886acac3821999a3ccd17b3,Artistic-1.0 | GPL-2.0-only | ||
22 | 38be95f95200434dc208e2ee3dab5081,BSD-3-Clause | ||
23 | 393a5ca445f6965873eca0259a17f833,GPL-2.0-only | ||
24 | 3b83ef96387f14655fc854ddc3c6bd57,Apache-2.0 | ||
25 | 3bf50002aefd002f49e7bb854063f7e7,LGPL-2.0-only | ||
26 | 3c91c17266710e16afdbb2b6d15c761c,Apache-2.0 | ||
27 | 3debde09238a8c8e1f6a847e1ec9055b,LGPL-2.1-only | ||
28 | 4325afd396febcb659c36b49533135d4,GPL-2.0-only | ||
29 | 4c641f2d995c47f5cb08bdb4b5b6ea05,BSD-2-Clause | ||
30 | 4e2a8d8f9935d6a766a5879a77ddc24d,Apache-2.0 | ||
31 | 4ee4feb2b545c2231749e5c54ace343e,BSD-3-Clause | ||
32 | 4efd8bdbab9cff00dcd75f2c3ee4e190,BSD-2-Clause | ||
33 | 4fbd65380cdd255951079008b364516c,LGPL-2.1-only | ||
34 | 50fab24ce589d69af8964fdbfe414c60,BSD-2-Clause | ||
35 | 54c7042be62e169199200bc6477f04d1,BSD-3-Clause | ||
36 | 55ca817ccb7d5b5b66355690e9abc605,LGPL-2.0-only | ||
37 | 59530bdf33659b29e73d4adb9f9f6552,GPL-2.0-only | ||
38 | 5d4950ecb7b26d2c5e4e7b4e0dd74707,BSD-3-Clause | ||
39 | 5f30f0716dfdd0d91eb439ebec522ec2,LGPL-2.0-only | ||
40 | 6551d79bf661eed41a50157513ee4ad6,BSD-3-Clause | ||
41 | 6a6a8e020838b23406c81b19c1d46df6,LGPL-3.0-only | ||
42 | 721f23a96ff4161ca3a5f071bbe18108,MIT | ||
43 | 7364d1e4653d3584181e9d22d81f275f,CC0-1.0 | ||
44 | 751419260aa954499f7abaabaa882bbe,GPL-2.0-only | ||
45 | 75512892d6f59dddb6d1c7e191957e9c,Zlib | ||
46 | 75605e6bdd564791ab698fca65c94a4f,Unlicense | ||
47 | 7998cb338f82d15c0eff93b7004d272a,BSD-3-Clause | ||
48 | 7f5202f4d44ed15dcd4915f5210417d8,LGPL-2.1-only | ||
49 | 7fbc338309ac38fefcd64b04bb903e34,LGPL-2.1-only | ||
50 | 80fa7b56a28e8c902e6af194003220a5,BSD-2-Clause | ||
51 | 85d8a977ee9d7c5ab4ac03c9b95431c4,MIT-0 | ||
52 | 88073b6dd8ec00fe09da59e0b6dfded1,BSD-3-Clause | ||
53 | 88a4355858a1433fea99fae34a44da88,GPL-2.0-only | ||
54 | 8bd23871802951c9ad63855151204c2c,BSD-2-Clause | ||
55 | 8c6127b79304a5e0a5756d03c7a58766,MIT | ||
56 | 8ca43cbc842c2336e835926c2166c28b,GPL-2.0-only | ||
57 | 939cce1ec101726fa754e698ac871622,BSD-3-Clause | ||
58 | 94d55d512a9ba36caa9b7df079bae19f,GPL-2.0-only | ||
59 | 9ac2e7cff1ddaf48b6eab6028f23ef88,GPL-2.0-only | ||
60 | 9f604d8a4f8e74f4f5140845a21b6674,LGPL-2.0-only | ||
61 | a39327c997c20da0937955192d86232d,BSD-3-Clause | ||
62 | a54a1a6a39e7f9dbb4a23a42f5c7fd1c,Apache-2.0 | ||
63 | a651bb3d8b1c412632e28823bb432b40,BSD-3-Clause | ||
64 | a6f89e2100d9b6cdffcea4f398e37343,LGPL-2.1-only | ||
65 | ad4e9d34a2e966dfe9837f18de03266d,GFDL-1.1-only | ||
66 | ae6de3dee02712a1e55b280671be53bf,BSD-3-Clause | ||
67 | b234ee4d69f5fce4486a80fdaf4a4263,GPL-2.0-only | ||
68 | b27575459e02221ccef97ec0bfd457ae,Apache-2.0 | ||
69 | b278a92d2c1509760384428817710378,MPL-2.0 | ||
70 | b376d29a53c9573006b9970709231431,MIT | ||
71 | b5f72aef53d3b2b432702c30b0215666,BSD-3-Clause | ||
72 | b66384e7137e41a9b1904ef4d39703b6,Apache-2.0 | ||
73 | bbb461211a33b134d42ed5ee802b37ff,LGPL-2.1-only | ||
74 | bfe1f75d606912a4111c90743d6c7325,MPL-1.1-only | ||
75 | c93c0550bd3173f4504b2cbd8991e50b,GPL-2.0-only | ||
76 | d014fb11a34eb67dc717fdcfc97e60ed,GFDL-1.2-only | ||
77 | d0b68be4a2dc957aaf09144970bc6696,MIT | ||
78 | d0fd9ebda39468b51ff4539c9fbb13a8,BSD-3-Clause | ||
79 | d32239bcb673463ab874e80d47fae504,GPL-3.0-only | ||
80 | d44fdeb607e2d2614db9464dbedd4094,MPL-2.0 | ||
81 | d4eb2084b3083d2c275ec52ef4ba9ac1,BSD-3-Clause | ||
82 | d7810fab7487fb0aad327b76f1be7cd7,GPL-2.0-only | ||
83 | d8045f3b8f929c1cb29a1e3fd737b499,LGPL-2.1-only | ||
84 | db979804f025cf55aabec7129cb671ed,LGPL-2.0-only | ||
85 | e020ca655b06c112def28e597ab844f1,GFDL-1.3-only | ||
86 | e659f77bfd9002659e112d0d3d59b2c1,BSD-2-Clause | ||
87 | eb1e647870add0502f8f010b19de32af,AGPL-3.0-or-later | ||
88 | eb723b61539feef013de476e68b5c50a,GPL-2.0-only | ||
89 | ebb5c50ab7cab4baeffba14977030c07,GPL-2.0-only | ||
90 | efe2cb9a35826992b9df68224e3c2628,EPL-1.0 | ||
91 | f27defe1e96c2e1ecd4e0c9be8967949,GPL-3.0-only | ||
92 | f90c613c51aa35da4d79dd55fc724ceb,LGPL-3.0-only | ||
93 | fad9b3332be894bab9bc501572864b29,LGPL-2.1-only | ||
94 | fbc093901857fcd118f065f900982c24,LGPL-2.1-only | ||
diff --git a/meta/files/overlayfs-create-dirs.service.in b/meta/files/overlayfs-create-dirs.service.in index c949a6dc73..c8431548d7 100644 --- a/meta/files/overlayfs-create-dirs.service.in +++ b/meta/files/overlayfs-create-dirs.service.in | |||
@@ -1,7 +1,6 @@ | |||
1 | [Unit] | 1 | [Unit] |
2 | Description=Overlayfs directories setup | 2 | Description=Overlayfs directories setup {LOWERDIR} |
3 | Requires={DATA_MOUNT_UNIT} | 3 | RequiresMountsFor={DATA_MOUNT_POINT} |
4 | After={DATA_MOUNT_UNIT} | ||
5 | DefaultDependencies=no | 4 | DefaultDependencies=no |
6 | 5 | ||
7 | [Service] | 6 | [Service] |
diff --git a/meta/files/overlayfs-etc-preinit.sh.in b/meta/files/overlayfs-etc-preinit.sh.in index b05e3957a3..973887649a 100644 --- a/meta/files/overlayfs-etc-preinit.sh.in +++ b/meta/files/overlayfs-etc-preinit.sh.in | |||
@@ -48,5 +48,8 @@ else | |||
48 | echo "PREINIT: Mounting </data> failed!" | 48 | echo "PREINIT: Mounting </data> failed!" |
49 | fi | 49 | fi |
50 | 50 | ||
51 | umount /sys | ||
52 | umount /proc | ||
53 | |||
51 | echo "PREINIT: done; starting </sbin/init>" | 54 | echo "PREINIT: done; starting </sbin/init>" |
52 | exec {SBIN_INIT_NAME} | 55 | exec {SBIN_INIT_NAME} |
diff --git a/meta/files/overlayfs-unit.mount.in b/meta/files/overlayfs-unit.mount.in index 1d33b7e39c..9c117f2c52 100644 --- a/meta/files/overlayfs-unit.mount.in +++ b/meta/files/overlayfs-unit.mount.in | |||
@@ -1,5 +1,5 @@ | |||
1 | [Unit] | 1 | [Unit] |
2 | Description=Overlayfs mount unit | 2 | Description=Overlayfs mount unit {LOWERDIR} |
3 | Requires={CREATE_DIRS_SERVICE} | 3 | Requires={CREATE_DIRS_SERVICE} |
4 | After={CREATE_DIRS_SERVICE} | 4 | After={CREATE_DIRS_SERVICE} |
5 | 5 | ||
diff --git a/meta/files/toolchain-shar-extract.sh b/meta/files/toolchain-shar-extract.sh index 89d30005fd..e2c617958a 100644 --- a/meta/files/toolchain-shar-extract.sh +++ b/meta/files/toolchain-shar-extract.sh | |||
@@ -1,9 +1,14 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | export LC_ALL=en_US.UTF-8 | 3 | export LC_ALL=en_US.UTF-8 |
4 | |||
5 | # The pipefail option is now part of POSIX (POSIX.1-2024) and available in more | ||
6 | # and more shells. Enable it if available to make the SDK installer more robust. | ||
7 | (set -o pipefail 2> /dev/null) && set -o pipefail | ||
8 | |||
4 | #Make sure at least one python is installed | 9 | #Make sure at least one python is installed |
5 | INIT_PYTHON=$(which python3 2>/dev/null ) | 10 | INIT_PYTHON=$(command -v python3 2>/dev/null ) |
6 | [ -z "$INIT_PYTHON" ] && INIT_PYTHON=$(which python2 2>/dev/null) | 11 | [ -z "$INIT_PYTHON" ] && INIT_PYTHON=$(command -v python2 2>/dev/null) |
7 | [ -z "$INIT_PYTHON" ] && echo "Error: The SDK needs a python installed" && exit 1 | 12 | [ -z "$INIT_PYTHON" ] && echo "Error: The SDK needs a python installed" && exit 1 |
8 | 13 | ||
9 | # Remove invalid PATH elements first (maybe from a previously setup toolchain now deleted | 14 | # Remove invalid PATH elements first (maybe from a previously setup toolchain now deleted |
@@ -26,9 +31,6 @@ tweakpath /sbin | |||
26 | INST_ARCH=$(uname -m | sed -e "s/i[3-6]86/ix86/" -e "s/x86[-_]64/x86_64/") | 31 | INST_ARCH=$(uname -m | sed -e "s/i[3-6]86/ix86/" -e "s/x86[-_]64/x86_64/") |
27 | SDK_ARCH=$(echo @SDK_ARCH@ | sed -e "s/i[3-6]86/ix86/" -e "s/x86[-_]64/x86_64/") | 32 | SDK_ARCH=$(echo @SDK_ARCH@ | sed -e "s/i[3-6]86/ix86/" -e "s/x86[-_]64/x86_64/") |
28 | 33 | ||
29 | INST_GCC_VER=$(gcc --version 2>/dev/null | sed -ne 's/.* \([0-9]\+\.[0-9]\+\)\.[0-9]\+.*/\1/p') | ||
30 | SDK_GCC_VER='@SDK_GCC_VER@' | ||
31 | |||
32 | verlte () { | 34 | verlte () { |
33 | [ "$1" = "`printf "$1\n$2" | sort -V | head -n1`" ] | 35 | [ "$1" = "`printf "$1\n$2" | sort -V | head -n1`" ] |
34 | } | 36 | } |
@@ -140,11 +142,6 @@ fi | |||
140 | # SDK_EXTENSIBLE is exposed from the SDK_PRE_INSTALL_COMMAND above | 142 | # SDK_EXTENSIBLE is exposed from the SDK_PRE_INSTALL_COMMAND above |
141 | if [ "$SDK_EXTENSIBLE" = "1" ]; then | 143 | if [ "$SDK_EXTENSIBLE" = "1" ]; then |
142 | DEFAULT_INSTALL_DIR="@SDKEXTPATH@" | 144 | DEFAULT_INSTALL_DIR="@SDKEXTPATH@" |
143 | if [ "$INST_GCC_VER" = '4.8' -a "$SDK_GCC_VER" = '4.9' ] || [ "$INST_GCC_VER" = '4.8' -a "$SDK_GCC_VER" = '' ] || \ | ||
144 | [ "$INST_GCC_VER" = '4.9' -a "$SDK_GCC_VER" = '' ]; then | ||
145 | echo "Error: Incompatible SDK installer! Your host gcc version is $INST_GCC_VER and this SDK was built by gcc higher version." | ||
146 | exit 1 | ||
147 | fi | ||
148 | fi | 145 | fi |
149 | 146 | ||
150 | if [ "$target_sdk_dir" = "" ]; then | 147 | if [ "$target_sdk_dir" = "" ]; then |
@@ -229,7 +226,7 @@ if [ ! -x $target_sdk_dir -o ! -w $target_sdk_dir -o ! -r $target_sdk_dir ]; the | |||
229 | exit 1 | 226 | exit 1 |
230 | fi | 227 | fi |
231 | 228 | ||
232 | SUDO_EXEC=$(which "sudo") | 229 | SUDO_EXEC=$(command -v "sudo") |
233 | if [ -z $SUDO_EXEC ]; then | 230 | if [ -z $SUDO_EXEC ]; then |
234 | echo "No command 'sudo' found, please install sudo first. Abort!" | 231 | echo "No command 'sudo' found, please install sudo first. Abort!" |
235 | exit 1 | 232 | exit 1 |
@@ -245,13 +242,27 @@ fi | |||
245 | 242 | ||
246 | printf "Extracting SDK..." | 243 | printf "Extracting SDK..." |
247 | if [ @SDK_ARCHIVE_TYPE@ = "zip" ]; then | 244 | if [ @SDK_ARCHIVE_TYPE@ = "zip" ]; then |
245 | if [ -z "$(command -v unzip)" ]; then | ||
246 | echo "Aborted, unzip is required to extract the SDK archive, please make sure it's installed on your system!" | ||
247 | exit 1 | ||
248 | fi | ||
248 | tail -n +$payload_offset "$0" > sdk.zip | 249 | tail -n +$payload_offset "$0" > sdk.zip |
249 | if $SUDO_EXEC unzip $EXTRA_TAR_OPTIONS sdk.zip -d $target_sdk_dir;then | 250 | if $SUDO_EXEC unzip $EXTRA_TAR_OPTIONS sdk.zip -d $target_sdk_dir;then |
250 | rm sdk.zip | 251 | rm sdk.zip |
251 | else | 252 | else |
252 | rm sdk.zip && exit 1 | 253 | rm sdk.zip && exit 1 |
253 | fi | 254 | fi |
255 | elif [ @SDK_ARCHIVE_TYPE@ = "tar.zst" ]; then | ||
256 | if [ -z "$(command -v zstd)" ]; then | ||
257 | echo "Aborted, zstd is required to extract the SDK archive, please make sure it's installed on your system!" | ||
258 | exit 1 | ||
259 | fi | ||
260 | tail -n +$payload_offset "$0"| zstd -T0 -dc | $SUDO_EXEC tar mx -C $target_sdk_dir --checkpoint=.2500 $EXTRA_TAR_OPTIONS || exit 1 | ||
254 | else | 261 | else |
262 | if [ -z "$(command -v xz)" ]; then | ||
263 | echo "Aborted, xz is required to extract the SDK archive, please make sure it's installed on your system!" | ||
264 | exit 1 | ||
265 | fi | ||
255 | tail -n +$payload_offset "$0"| $SUDO_EXEC tar mxJ -C $target_sdk_dir --checkpoint=.2500 $EXTRA_TAR_OPTIONS || exit 1 | 266 | tail -n +$payload_offset "$0"| $SUDO_EXEC tar mxJ -C $target_sdk_dir --checkpoint=.2500 $EXTRA_TAR_OPTIONS || exit 1 |
256 | fi | 267 | fi |
257 | echo "done" | 268 | echo "done" |
@@ -286,6 +297,10 @@ post_relocate="$target_sdk_dir/post-relocate-setup.sh" | |||
286 | if [ -e "$post_relocate" ]; then | 297 | if [ -e "$post_relocate" ]; then |
287 | $SUDO_EXEC sed -e "s:@SDKPATH@:$target_sdk_dir:g" -i $post_relocate | 298 | $SUDO_EXEC sed -e "s:@SDKPATH@:$target_sdk_dir:g" -i $post_relocate |
288 | $SUDO_EXEC /bin/sh $post_relocate "$target_sdk_dir" "@SDKPATH@" | 299 | $SUDO_EXEC /bin/sh $post_relocate "$target_sdk_dir" "@SDKPATH@" |
300 | if [ $? -ne 0 ]; then | ||
301 | echo "Executing $post_relocate failed" | ||
302 | exit 1 | ||
303 | fi | ||
289 | $SUDO_EXEC rm -f $post_relocate | 304 | $SUDO_EXEC rm -f $post_relocate |
290 | fi | 305 | fi |
291 | 306 | ||
diff --git a/meta/files/toolchain-shar-relocate.sh b/meta/files/toolchain-shar-relocate.sh index b017714df0..c7170349db 100644 --- a/meta/files/toolchain-shar-relocate.sh +++ b/meta/files/toolchain-shar-relocate.sh | |||
@@ -8,8 +8,8 @@ done | |||
8 | # fix dynamic loader paths in all ELF SDK binaries | 8 | # fix dynamic loader paths in all ELF SDK binaries |
9 | # allow symlinks to be accessed via the find command too | 9 | # allow symlinks to be accessed via the find command too |
10 | native_sysroot=$($SUDO_EXEC cat $env_setup_script |grep 'OECORE_NATIVE_SYSROOT='|cut -d'=' -f2|tr -d '"') | 10 | native_sysroot=$($SUDO_EXEC cat $env_setup_script |grep 'OECORE_NATIVE_SYSROOT='|cut -d'=' -f2|tr -d '"') |
11 | dl_path=$($SUDO_EXEC find $native_sysroot/lib/ -maxdepth 1 -name "ld-linux*") | 11 | dl_paths=$($SUDO_EXEC find $native_sysroot/lib*/ -maxdepth 1 -name "ld-linux*") |
12 | if [ "$dl_path" = "" ] ; then | 12 | if [ "$dl_paths" = "" ] ; then |
13 | echo "SDK could not be set up. Relocate script unable to find ld-linux.so. Abort!" | 13 | echo "SDK could not be set up. Relocate script unable to find ld-linux.so. Abort!" |
14 | exit 1 | 14 | exit 1 |
15 | fi | 15 | fi |
@@ -39,7 +39,9 @@ if [ x\${PYTHON} = "x" ]; then | |||
39 | echo "SDK could not be relocated. No python found." | 39 | echo "SDK could not be relocated. No python found." |
40 | exit 1 | 40 | exit 1 |
41 | fi | 41 | fi |
42 | \${PYTHON} ${env_setup_script%/*}/relocate_sdk.py $target_sdk_dir $dl_path $executable_files | 42 | for dl_path in \$(echo "$dl_paths"); do |
43 | \${PYTHON} ${env_setup_script%/*}/relocate_sdk.py $target_sdk_dir \$dl_path $executable_files | ||
44 | done | ||
43 | EOF | 45 | EOF |
44 | 46 | ||
45 | $SUDO_EXEC mv $tdir/relocate_sdk.sh ${env_setup_script%/*}/relocate_sdk.sh | 47 | $SUDO_EXEC mv $tdir/relocate_sdk.sh ${env_setup_script%/*}/relocate_sdk.sh |
@@ -57,8 +59,8 @@ fi | |||
57 | # replace the host perl with SDK perl. | 59 | # replace the host perl with SDK perl. |
58 | for replace in "$target_sdk_dir -maxdepth 1" "$native_sysroot"; do | 60 | for replace in "$target_sdk_dir -maxdepth 1" "$native_sysroot"; do |
59 | $SUDO_EXEC find $replace -type f | 61 | $SUDO_EXEC find $replace -type f |
60 | done | xargs -n100 file | grep ":.*\(ASCII\|script\|source\).*text" | \ | 62 | done | xargs -d '\n' -n100 file | \ |
61 | awk -F': ' '{printf "\"%s\"\n", $1}' | \ | 63 | awk -F': ' '{if (match($2, ".*(ASCII|script|source).*text")) {printf "\"%s\"\n", $1}}' | \ |
62 | grep -Fv -e "$target_sdk_dir/environment-setup-" \ | 64 | grep -Fv -e "$target_sdk_dir/environment-setup-" \ |
63 | -e "$target_sdk_dir/relocate_sdk" \ | 65 | -e "$target_sdk_dir/relocate_sdk" \ |
64 | -e "$target_sdk_dir/post-relocate-setup" \ | 66 | -e "$target_sdk_dir/post-relocate-setup" \ |