Codebase list live-build / 0c03cbe
Imported Upstream version 3.0~b4 Raphaƫl Hertzog 11 years ago
282 changed file(s) with 34760 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 GNU GENERAL PUBLIC LICENSE
1 Version 3, 29 June 2007
2
3 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
4 Everyone is permitted to copy and distribute verbatim copies
5 of this license document, but changing it is not allowed.
6
7 Preamble
8
9 The GNU General Public License is a free, copyleft license for
10 software and other kinds of works.
11
12 The licenses for most software and other practical works are designed
13 to take away your freedom to share and change the works. By contrast,
14 the GNU General Public License is intended to guarantee your freedom to
15 share and change all versions of a program--to make sure it remains free
16 software for all its users. We, the Free Software Foundation, use the
17 GNU General Public License for most of our software; it applies also to
18 any other work released this way by its authors. You can apply it to
19 your programs, too.
20
21 When we speak of free software, we are referring to freedom, not
22 price. Our General Public Licenses are designed to make sure that you
23 have the freedom to distribute copies of free software (and charge for
24 them if you wish), that you receive source code or can get it if you
25 want it, that you can change the software or use pieces of it in new
26 free programs, and that you know you can do these things.
27
28 To protect your rights, we need to prevent others from denying you
29 these rights or asking you to surrender the rights. Therefore, you have
30 certain responsibilities if you distribute copies of the software, or if
31 you modify it: responsibilities to respect the freedom of others.
32
33 For example, if you distribute copies of such a program, whether
34 gratis or for a fee, you must pass on to the recipients the same
35 freedoms that you received. You must make sure that they, too, receive
36 or can get the source code. And you must show them these terms so they
37 know their rights.
38
39 Developers that use the GNU GPL protect your rights with two steps:
40 (1) assert copyright on the software, and (2) offer you this License
41 giving you legal permission to copy, distribute and/or modify it.
42
43 For the developers' and authors' protection, the GPL clearly explains
44 that there is no warranty for this free software. For both users' and
45 authors' sake, the GPL requires that modified versions be marked as
46 changed, so that their problems will not be attributed erroneously to
47 authors of previous versions.
48
49 Some devices are designed to deny users access to install or run
50 modified versions of the software inside them, although the manufacturer
51 can do so. This is fundamentally incompatible with the aim of
52 protecting users' freedom to change the software. The systematic
53 pattern of such abuse occurs in the area of products for individuals to
54 use, which is precisely where it is most unacceptable. Therefore, we
55 have designed this version of the GPL to prohibit the practice for those
56 products. If such problems arise substantially in other domains, we
57 stand ready to extend this provision to those domains in future versions
58 of the GPL, as needed to protect the freedom of users.
59
60 Finally, every program is threatened constantly by software patents.
61 States should not allow patents to restrict development and use of
62 software on general-purpose computers, but in those that do, we wish to
63 avoid the special danger that patents applied to a free program could
64 make it effectively proprietary. To prevent this, the GPL assures that
65 patents cannot be used to render the program non-free.
66
67 The precise terms and conditions for copying, distribution and
68 modification follow.
69
70 TERMS AND CONDITIONS
71
72 0. Definitions.
73
74 "This License" refers to version 3 of the GNU General Public License.
75
76 "Copyright" also means copyright-like laws that apply to other kinds of
77 works, such as semiconductor masks.
78
79 "The Program" refers to any copyrightable work licensed under this
80 License. Each licensee is addressed as "you". "Licensees" and
81 "recipients" may be individuals or organizations.
82
83 To "modify" a work means to copy from or adapt all or part of the work
84 in a fashion requiring copyright permission, other than the making of an
85 exact copy. The resulting work is called a "modified version" of the
86 earlier work or a work "based on" the earlier work.
87
88 A "covered work" means either the unmodified Program or a work based
89 on the Program.
90
91 To "propagate" a work means to do anything with it that, without
92 permission, would make you directly or secondarily liable for
93 infringement under applicable copyright law, except executing it on a
94 computer or modifying a private copy. Propagation includes copying,
95 distribution (with or without modification), making available to the
96 public, and in some countries other activities as well.
97
98 To "convey" a work means any kind of propagation that enables other
99 parties to make or receive copies. Mere interaction with a user through
100 a computer network, with no transfer of a copy, is not conveying.
101
102 An interactive user interface displays "Appropriate Legal Notices"
103 to the extent that it includes a convenient and prominently visible
104 feature that (1) displays an appropriate copyright notice, and (2)
105 tells the user that there is no warranty for the work (except to the
106 extent that warranties are provided), that licensees may convey the
107 work under this License, and how to view a copy of this License. If
108 the interface presents a list of user commands or options, such as a
109 menu, a prominent item in the list meets this criterion.
110
111 1. Source Code.
112
113 The "source code" for a work means the preferred form of the work
114 for making modifications to it. "Object code" means any non-source
115 form of a work.
116
117 A "Standard Interface" means an interface that either is an official
118 standard defined by a recognized standards body, or, in the case of
119 interfaces specified for a particular programming language, one that
120 is widely used among developers working in that language.
121
122 The "System Libraries" of an executable work include anything, other
123 than the work as a whole, that (a) is included in the normal form of
124 packaging a Major Component, but which is not part of that Major
125 Component, and (b) serves only to enable use of the work with that
126 Major Component, or to implement a Standard Interface for which an
127 implementation is available to the public in source code form. A
128 "Major Component", in this context, means a major essential component
129 (kernel, window system, and so on) of the specific operating system
130 (if any) on which the executable work runs, or a compiler used to
131 produce the work, or an object code interpreter used to run it.
132
133 The "Corresponding Source" for a work in object code form means all
134 the source code needed to generate, install, and (for an executable
135 work) run the object code and to modify the work, including scripts to
136 control those activities. However, it does not include the work's
137 System Libraries, or general-purpose tools or generally available free
138 programs which are used unmodified in performing those activities but
139 which are not part of the work. For example, Corresponding Source
140 includes interface definition files associated with source files for
141 the work, and the source code for shared libraries and dynamically
142 linked subprograms that the work is specifically designed to require,
143 such as by intimate data communication or control flow between those
144 subprograms and other parts of the work.
145
146 The Corresponding Source need not include anything that users
147 can regenerate automatically from other parts of the Corresponding
148 Source.
149
150 The Corresponding Source for a work in source code form is that
151 same work.
152
153 2. Basic Permissions.
154
155 All rights granted under this License are granted for the term of
156 copyright on the Program, and are irrevocable provided the stated
157 conditions are met. This License explicitly affirms your unlimited
158 permission to run the unmodified Program. The output from running a
159 covered work is covered by this License only if the output, given its
160 content, constitutes a covered work. This License acknowledges your
161 rights of fair use or other equivalent, as provided by copyright law.
162
163 You may make, run and propagate covered works that you do not
164 convey, without conditions so long as your license otherwise remains
165 in force. You may convey covered works to others for the sole purpose
166 of having them make modifications exclusively for you, or provide you
167 with facilities for running those works, provided that you comply with
168 the terms of this License in conveying all material for which you do
169 not control copyright. Those thus making or running the covered works
170 for you must do so exclusively on your behalf, under your direction
171 and control, on terms that prohibit them from making any copies of
172 your copyrighted material outside their relationship with you.
173
174 Conveying under any other circumstances is permitted solely under
175 the conditions stated below. Sublicensing is not allowed; section 10
176 makes it unnecessary.
177
178 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
179
180 No covered work shall be deemed part of an effective technological
181 measure under any applicable law fulfilling obligations under article
182 11 of the WIPO copyright treaty adopted on 20 December 1996, or
183 similar laws prohibiting or restricting circumvention of such
184 measures.
185
186 When you convey a covered work, you waive any legal power to forbid
187 circumvention of technological measures to the extent such circumvention
188 is effected by exercising rights under this License with respect to
189 the covered work, and you disclaim any intention to limit operation or
190 modification of the work as a means of enforcing, against the work's
191 users, your or third parties' legal rights to forbid circumvention of
192 technological measures.
193
194 4. Conveying Verbatim Copies.
195
196 You may convey verbatim copies of the Program's source code as you
197 receive it, in any medium, provided that you conspicuously and
198 appropriately publish on each copy an appropriate copyright notice;
199 keep intact all notices stating that this License and any
200 non-permissive terms added in accord with section 7 apply to the code;
201 keep intact all notices of the absence of any warranty; and give all
202 recipients a copy of this License along with the Program.
203
204 You may charge any price or no price for each copy that you convey,
205 and you may offer support or warranty protection for a fee.
206
207 5. Conveying Modified Source Versions.
208
209 You may convey a work based on the Program, or the modifications to
210 produce it from the Program, in the form of source code under the
211 terms of section 4, provided that you also meet all of these conditions:
212
213 a) The work must carry prominent notices stating that you modified
214 it, and giving a relevant date.
215
216 b) The work must carry prominent notices stating that it is
217 released under this License and any conditions added under section
218 7. This requirement modifies the requirement in section 4 to
219 "keep intact all notices".
220
221 c) You must license the entire work, as a whole, under this
222 License to anyone who comes into possession of a copy. This
223 License will therefore apply, along with any applicable section 7
224 additional terms, to the whole of the work, and all its parts,
225 regardless of how they are packaged. This License gives no
226 permission to license the work in any other way, but it does not
227 invalidate such permission if you have separately received it.
228
229 d) If the work has interactive user interfaces, each must display
230 Appropriate Legal Notices; however, if the Program has interactive
231 interfaces that do not display Appropriate Legal Notices, your
232 work need not make them do so.
233
234 A compilation of a covered work with other separate and independent
235 works, which are not by their nature extensions of the covered work,
236 and which are not combined with it such as to form a larger program,
237 in or on a volume of a storage or distribution medium, is called an
238 "aggregate" if the compilation and its resulting copyright are not
239 used to limit the access or legal rights of the compilation's users
240 beyond what the individual works permit. Inclusion of a covered work
241 in an aggregate does not cause this License to apply to the other
242 parts of the aggregate.
243
244 6. Conveying Non-Source Forms.
245
246 You may convey a covered work in object code form under the terms
247 of sections 4 and 5, provided that you also convey the
248 machine-readable Corresponding Source under the terms of this License,
249 in one of these ways:
250
251 a) Convey the object code in, or embodied in, a physical product
252 (including a physical distribution medium), accompanied by the
253 Corresponding Source fixed on a durable physical medium
254 customarily used for software interchange.
255
256 b) Convey the object code in, or embodied in, a physical product
257 (including a physical distribution medium), accompanied by a
258 written offer, valid for at least three years and valid for as
259 long as you offer spare parts or customer support for that product
260 model, to give anyone who possesses the object code either (1) a
261 copy of the Corresponding Source for all the software in the
262 product that is covered by this License, on a durable physical
263 medium customarily used for software interchange, for a price no
264 more than your reasonable cost of physically performing this
265 conveying of source, or (2) access to copy the
266 Corresponding Source from a network server at no charge.
267
268 c) Convey individual copies of the object code with a copy of the
269 written offer to provide the Corresponding Source. This
270 alternative is allowed only occasionally and noncommercially, and
271 only if you received the object code with such an offer, in accord
272 with subsection 6b.
273
274 d) Convey the object code by offering access from a designated
275 place (gratis or for a charge), and offer equivalent access to the
276 Corresponding Source in the same way through the same place at no
277 further charge. You need not require recipients to copy the
278 Corresponding Source along with the object code. If the place to
279 copy the object code is a network server, the Corresponding Source
280 may be on a different server (operated by you or a third party)
281 that supports equivalent copying facilities, provided you maintain
282 clear directions next to the object code saying where to find the
283 Corresponding Source. Regardless of what server hosts the
284 Corresponding Source, you remain obligated to ensure that it is
285 available for as long as needed to satisfy these requirements.
286
287 e) Convey the object code using peer-to-peer transmission, provided
288 you inform other peers where the object code and Corresponding
289 Source of the work are being offered to the general public at no
290 charge under subsection 6d.
291
292 A separable portion of the object code, whose source code is excluded
293 from the Corresponding Source as a System Library, need not be
294 included in conveying the object code work.
295
296 A "User Product" is either (1) a "consumer product", which means any
297 tangible personal property which is normally used for personal, family,
298 or household purposes, or (2) anything designed or sold for incorporation
299 into a dwelling. In determining whether a product is a consumer product,
300 doubtful cases shall be resolved in favor of coverage. For a particular
301 product received by a particular user, "normally used" refers to a
302 typical or common use of that class of product, regardless of the status
303 of the particular user or of the way in which the particular user
304 actually uses, or expects or is expected to use, the product. A product
305 is a consumer product regardless of whether the product has substantial
306 commercial, industrial or non-consumer uses, unless such uses represent
307 the only significant mode of use of the product.
308
309 "Installation Information" for a User Product means any methods,
310 procedures, authorization keys, or other information required to install
311 and execute modified versions of a covered work in that User Product from
312 a modified version of its Corresponding Source. The information must
313 suffice to ensure that the continued functioning of the modified object
314 code is in no case prevented or interfered with solely because
315 modification has been made.
316
317 If you convey an object code work under this section in, or with, or
318 specifically for use in, a User Product, and the conveying occurs as
319 part of a transaction in which the right of possession and use of the
320 User Product is transferred to the recipient in perpetuity or for a
321 fixed term (regardless of how the transaction is characterized), the
322 Corresponding Source conveyed under this section must be accompanied
323 by the Installation Information. But this requirement does not apply
324 if neither you nor any third party retains the ability to install
325 modified object code on the User Product (for example, the work has
326 been installed in ROM).
327
328 The requirement to provide Installation Information does not include a
329 requirement to continue to provide support service, warranty, or updates
330 for a work that has been modified or installed by the recipient, or for
331 the User Product in which it has been modified or installed. Access to a
332 network may be denied when the modification itself materially and
333 adversely affects the operation of the network or violates the rules and
334 protocols for communication across the network.
335
336 Corresponding Source conveyed, and Installation Information provided,
337 in accord with this section must be in a format that is publicly
338 documented (and with an implementation available to the public in
339 source code form), and must require no special password or key for
340 unpacking, reading or copying.
341
342 7. Additional Terms.
343
344 "Additional permissions" are terms that supplement the terms of this
345 License by making exceptions from one or more of its conditions.
346 Additional permissions that are applicable to the entire Program shall
347 be treated as though they were included in this License, to the extent
348 that they are valid under applicable law. If additional permissions
349 apply only to part of the Program, that part may be used separately
350 under those permissions, but the entire Program remains governed by
351 this License without regard to the additional permissions.
352
353 When you convey a copy of a covered work, you may at your option
354 remove any additional permissions from that copy, or from any part of
355 it. (Additional permissions may be written to require their own
356 removal in certain cases when you modify the work.) You may place
357 additional permissions on material, added by you to a covered work,
358 for which you have or can give appropriate copyright permission.
359
360 Notwithstanding any other provision of this License, for material you
361 add to a covered work, you may (if authorized by the copyright holders of
362 that material) supplement the terms of this License with terms:
363
364 a) Disclaiming warranty or limiting liability differently from the
365 terms of sections 15 and 16 of this License; or
366
367 b) Requiring preservation of specified reasonable legal notices or
368 author attributions in that material or in the Appropriate Legal
369 Notices displayed by works containing it; or
370
371 c) Prohibiting misrepresentation of the origin of that material, or
372 requiring that modified versions of such material be marked in
373 reasonable ways as different from the original version; or
374
375 d) Limiting the use for publicity purposes of names of licensors or
376 authors of the material; or
377
378 e) Declining to grant rights under trademark law for use of some
379 trade names, trademarks, or service marks; or
380
381 f) Requiring indemnification of licensors and authors of that
382 material by anyone who conveys the material (or modified versions of
383 it) with contractual assumptions of liability to the recipient, for
384 any liability that these contractual assumptions directly impose on
385 those licensors and authors.
386
387 All other non-permissive additional terms are considered "further
388 restrictions" within the meaning of section 10. If the Program as you
389 received it, or any part of it, contains a notice stating that it is
390 governed by this License along with a term that is a further
391 restriction, you may remove that term. If a license document contains
392 a further restriction but permits relicensing or conveying under this
393 License, you may add to a covered work material governed by the terms
394 of that license document, provided that the further restriction does
395 not survive such relicensing or conveying.
396
397 If you add terms to a covered work in accord with this section, you
398 must place, in the relevant source files, a statement of the
399 additional terms that apply to those files, or a notice indicating
400 where to find the applicable terms.
401
402 Additional terms, permissive or non-permissive, may be stated in the
403 form of a separately written license, or stated as exceptions;
404 the above requirements apply either way.
405
406 8. Termination.
407
408 You may not propagate or modify a covered work except as expressly
409 provided under this License. Any attempt otherwise to propagate or
410 modify it is void, and will automatically terminate your rights under
411 this License (including any patent licenses granted under the third
412 paragraph of section 11).
413
414 However, if you cease all violation of this License, then your
415 license from a particular copyright holder is reinstated (a)
416 provisionally, unless and until the copyright holder explicitly and
417 finally terminates your license, and (b) permanently, if the copyright
418 holder fails to notify you of the violation by some reasonable means
419 prior to 60 days after the cessation.
420
421 Moreover, your license from a particular copyright holder is
422 reinstated permanently if the copyright holder notifies you of the
423 violation by some reasonable means, this is the first time you have
424 received notice of violation of this License (for any work) from that
425 copyright holder, and you cure the violation prior to 30 days after
426 your receipt of the notice.
427
428 Termination of your rights under this section does not terminate the
429 licenses of parties who have received copies or rights from you under
430 this License. If your rights have been terminated and not permanently
431 reinstated, you do not qualify to receive new licenses for the same
432 material under section 10.
433
434 9. Acceptance Not Required for Having Copies.
435
436 You are not required to accept this License in order to receive or
437 run a copy of the Program. Ancillary propagation of a covered work
438 occurring solely as a consequence of using peer-to-peer transmission
439 to receive a copy likewise does not require acceptance. However,
440 nothing other than this License grants you permission to propagate or
441 modify any covered work. These actions infringe copyright if you do
442 not accept this License. Therefore, by modifying or propagating a
443 covered work, you indicate your acceptance of this License to do so.
444
445 10. Automatic Licensing of Downstream Recipients.
446
447 Each time you convey a covered work, the recipient automatically
448 receives a license from the original licensors, to run, modify and
449 propagate that work, subject to this License. You are not responsible
450 for enforcing compliance by third parties with this License.
451
452 An "entity transaction" is a transaction transferring control of an
453 organization, or substantially all assets of one, or subdividing an
454 organization, or merging organizations. If propagation of a covered
455 work results from an entity transaction, each party to that
456 transaction who receives a copy of the work also receives whatever
457 licenses to the work the party's predecessor in interest had or could
458 give under the previous paragraph, plus a right to possession of the
459 Corresponding Source of the work from the predecessor in interest, if
460 the predecessor has it or can get it with reasonable efforts.
461
462 You may not impose any further restrictions on the exercise of the
463 rights granted or affirmed under this License. For example, you may
464 not impose a license fee, royalty, or other charge for exercise of
465 rights granted under this License, and you may not initiate litigation
466 (including a cross-claim or counterclaim in a lawsuit) alleging that
467 any patent claim is infringed by making, using, selling, offering for
468 sale, or importing the Program or any portion of it.
469
470 11. Patents.
471
472 A "contributor" is a copyright holder who authorizes use under this
473 License of the Program or a work on which the Program is based. The
474 work thus licensed is called the contributor's "contributor version".
475
476 A contributor's "essential patent claims" are all patent claims
477 owned or controlled by the contributor, whether already acquired or
478 hereafter acquired, that would be infringed by some manner, permitted
479 by this License, of making, using, or selling its contributor version,
480 but do not include claims that would be infringed only as a
481 consequence of further modification of the contributor version. For
482 purposes of this definition, "control" includes the right to grant
483 patent sublicenses in a manner consistent with the requirements of
484 this License.
485
486 Each contributor grants you a non-exclusive, worldwide, royalty-free
487 patent license under the contributor's essential patent claims, to
488 make, use, sell, offer for sale, import and otherwise run, modify and
489 propagate the contents of its contributor version.
490
491 In the following three paragraphs, a "patent license" is any express
492 agreement or commitment, however denominated, not to enforce a patent
493 (such as an express permission to practice a patent or covenant not to
494 sue for patent infringement). To "grant" such a patent license to a
495 party means to make such an agreement or commitment not to enforce a
496 patent against the party.
497
498 If you convey a covered work, knowingly relying on a patent license,
499 and the Corresponding Source of the work is not available for anyone
500 to copy, free of charge and under the terms of this License, through a
501 publicly available network server or other readily accessible means,
502 then you must either (1) cause the Corresponding Source to be so
503 available, or (2) arrange to deprive yourself of the benefit of the
504 patent license for this particular work, or (3) arrange, in a manner
505 consistent with the requirements of this License, to extend the patent
506 license to downstream recipients. "Knowingly relying" means you have
507 actual knowledge that, but for the patent license, your conveying the
508 covered work in a country, or your recipient's use of the covered work
509 in a country, would infringe one or more identifiable patents in that
510 country that you have reason to believe are valid.
511
512 If, pursuant to or in connection with a single transaction or
513 arrangement, you convey, or propagate by procuring conveyance of, a
514 covered work, and grant a patent license to some of the parties
515 receiving the covered work authorizing them to use, propagate, modify
516 or convey a specific copy of the covered work, then the patent license
517 you grant is automatically extended to all recipients of the covered
518 work and works based on it.
519
520 A patent license is "discriminatory" if it does not include within
521 the scope of its coverage, prohibits the exercise of, or is
522 conditioned on the non-exercise of one or more of the rights that are
523 specifically granted under this License. You may not convey a covered
524 work if you are a party to an arrangement with a third party that is
525 in the business of distributing software, under which you make payment
526 to the third party based on the extent of your activity of conveying
527 the work, and under which the third party grants, to any of the
528 parties who would receive the covered work from you, a discriminatory
529 patent license (a) in connection with copies of the covered work
530 conveyed by you (or copies made from those copies), or (b) primarily
531 for and in connection with specific products or compilations that
532 contain the covered work, unless you entered into that arrangement,
533 or that patent license was granted, prior to 28 March 2007.
534
535 Nothing in this License shall be construed as excluding or limiting
536 any implied license or other defenses to infringement that may
537 otherwise be available to you under applicable patent law.
538
539 12. No Surrender of Others' Freedom.
540
541 If conditions are imposed on you (whether by court order, agreement or
542 otherwise) that contradict the conditions of this License, they do not
543 excuse you from the conditions of this License. If you cannot convey a
544 covered work so as to satisfy simultaneously your obligations under this
545 License and any other pertinent obligations, then as a consequence you may
546 not convey it at all. For example, if you agree to terms that obligate you
547 to collect a royalty for further conveying from those to whom you convey
548 the Program, the only way you could satisfy both those terms and this
549 License would be to refrain entirely from conveying the Program.
550
551 13. Use with the GNU Affero General Public License.
552
553 Notwithstanding any other provision of this License, you have
554 permission to link or combine any covered work with a work licensed
555 under version 3 of the GNU Affero General Public License into a single
556 combined work, and to convey the resulting work. The terms of this
557 License will continue to apply to the part which is the covered work,
558 but the special requirements of the GNU Affero General Public License,
559 section 13, concerning interaction through a network will apply to the
560 combination as such.
561
562 14. Revised Versions of this License.
563
564 The Free Software Foundation may publish revised and/or new versions of
565 the GNU General Public License from time to time. Such new versions will
566 be similar in spirit to the present version, but may differ in detail to
567 address new problems or concerns.
568
569 Each version is given a distinguishing version number. If the
570 Program specifies that a certain numbered version of the GNU General
571 Public License "or any later version" applies to it, you have the
572 option of following the terms and conditions either of that numbered
573 version or of any later version published by the Free Software
574 Foundation. If the Program does not specify a version number of the
575 GNU General Public License, you may choose any version ever published
576 by the Free Software Foundation.
577
578 If the Program specifies that a proxy can decide which future
579 versions of the GNU General Public License can be used, that proxy's
580 public statement of acceptance of a version permanently authorizes you
581 to choose that version for the Program.
582
583 Later license versions may give you additional or different
584 permissions. However, no additional obligations are imposed on any
585 author or copyright holder as a result of your choosing to follow a
586 later version.
587
588 15. Disclaimer of Warranty.
589
590 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
591 APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
592 HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
593 OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
594 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
595 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
596 IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
597 ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
598
599 16. Limitation of Liability.
600
601 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
602 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
603 THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
604 GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
605 USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
606 DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
607 PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
608 EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
609 SUCH DAMAGES.
610
611 17. Interpretation of Sections 15 and 16.
612
613 If the disclaimer of warranty and limitation of liability provided
614 above cannot be given local legal effect according to their terms,
615 reviewing courts shall apply local law that most closely approximates
616 an absolute waiver of all civil liability in connection with the
617 Program, unless a warranty or assumption of liability accompanies a
618 copy of the Program in return for a fee.
619
620 END OF TERMS AND CONDITIONS
621
622 How to Apply These Terms to Your New Programs
623
624 If you develop a new program, and you want it to be of the greatest
625 possible use to the public, the best way to achieve this is to make it
626 free software which everyone can redistribute and change under these terms.
627
628 To do so, attach the following notices to the program. It is safest
629 to attach them to the start of each source file to most effectively
630 state the exclusion of warranty; and each file should have at least
631 the "copyright" line and a pointer to where the full notice is found.
632
633 <one line to give the program's name and a brief idea of what it does.>
634 Copyright (C) <year> <name of author>
635
636 This program is free software: you can redistribute it and/or modify
637 it under the terms of the GNU General Public License as published by
638 the Free Software Foundation, either version 3 of the License, or
639 (at your option) any later version.
640
641 This program is distributed in the hope that it will be useful,
642 but WITHOUT ANY WARRANTY; without even the implied warranty of
643 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
644 GNU General Public License for more details.
645
646 You should have received a copy of the GNU General Public License
647 along with this program. If not, see <http://www.gnu.org/licenses/>.
648
649 Also add information on how to contact you by electronic and paper mail.
650
651 If the program does terminal interaction, make it output a short
652 notice like this when it starts in an interactive mode:
653
654 <program> Copyright (C) <year> <name of author>
655 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
656 This is free software, and you are welcome to redistribute it
657 under certain conditions; type `show c' for details.
658
659 The hypothetical commands `show w' and `show c' should show the appropriate
660 parts of the General Public License. Of course, your program's commands
661 might be different; for a GUI interface, you would use an "about box".
662
663 You should also get your employer (if you work as a programmer) or school,
664 if any, to sign a "copyright disclaimer" for the program, if necessary.
665 For more information on this, and how to apply and follow the GNU GPL, see
666 <http://www.gnu.org/licenses/>.
667
668 The GNU General Public License does not permit incorporating your program
669 into proprietary programs. If your program is a subroutine library, you
670 may consider it more useful to permit linking proprietary applications with
671 the library. If this is what you want to do, use the GNU Lesser General
672 Public License instead of this License. But first, please read
673 <http://www.gnu.org/philosophy/why-not-lgpl.html>.
0 # Makefile
1
2 SHELL := sh -e
3
4 LANGUAGES = $(shell cd manpages/po && ls)
5
6 SCRIPTS = bin/* frontends/cgi/live-build-cgi frontends/cgi/live-build-cgi.cron functions/* examples/auto/* examples/hooks/* scripts/*.sh scripts/*/* share/bin/* share/hooks/*
7
8 all: build
9
10 test:
11 @echo -n "Checking for syntax errors"
12
13 @for SCRIPT in $(SCRIPTS); \
14 do \
15 sh -n $${SCRIPT}; \
16 echo -n "."; \
17 done
18
19 @echo " done."
20
21 @echo -n "Checking for bashisms"
22
23 @if [ -x /usr/bin/checkbashisms ]; \
24 then \
25 for SCRIPT in $(SCRIPTS); \
26 do \
27 checkbashisms -f -x $${SCRIPT}; \
28 echo -n "."; \
29 done; \
30 else \
31 echo "WARNING: skipping bashism test - you need to install devscripts."; \
32 fi
33
34 @echo " done."
35
36 build:
37 @echo "Nothing to build."
38
39 install:
40 # Installing shared data
41 mkdir -p $(DESTDIR)/usr/share/live/build
42 cp -r frontends/cgi data functions templates VERSION $(DESTDIR)/usr/share/live/build
43 cp -r share/* $(DESTDIR)/usr/share/live/build
44
45 # Installing executables
46 mkdir -p $(DESTDIR)/usr/bin
47 cp -a bin/* $(DESTDIR)/usr/bin
48
49 mkdir -p $(DESTDIR)/usr/lib/live
50 cp -a scripts/* $(DESTDIR)/usr/lib/live
51
52 # Installing documentation
53 mkdir -p $(DESTDIR)/usr/share/doc/live-build
54 cp -r COPYING docs/* examples $(DESTDIR)/usr/share/doc/live-build
55
56 # Installing manpages
57 for MANPAGE in manpages/en/*; \
58 do \
59 SECTION="$$(basename $${MANPAGE} | awk -F. '{ print $$2 }')"; \
60 install -D -m 0644 $${MANPAGE} $(DESTDIR)/usr/share/man/man$${SECTION}/$$(basename $${MANPAGE}); \
61 done
62
63 for LANGUAGE in $(LANGUAGES); \
64 do \
65 for MANPAGE in manpages/$${LANGUAGE}/*; \
66 do \
67 SECTION="$$(basename $${MANPAGE} | awk -F. '{ print $$3 }')"; \
68 install -D -m 0644 $${MANPAGE} $(DESTDIR)/usr/share/man/$${LANGUAGE}/man$${SECTION}/$$(basename $${MANPAGE} .$${LANGUAGE}.$${SECTION}).$${SECTION}; \
69 done; \
70 done
71
72 uninstall:
73 # Uninstalling shared data
74 rm -rf $(DESTDIR)/usr/share/live/build
75 rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/live > /dev/null 2>&1 || true
76
77 # Uninstalling executables
78 rm -f $(DESTDIR)/usr/bin/lb $(DESTDIR)/usr/bin/live-build
79
80 # Uninstalling documentation
81 rm -rf $(DESTDIR)/usr/share/doc/live-build
82
83 # Uninstalling manpages
84 for MANPAGE in manpages/en/*; \
85 do \
86 SECTION="$$(basename $${MANPAGE} | awk -F. '{ print $$2 }')"; \
87 rm -f $(DESTDIR)/usr/share/man/man$${SECTION}/$$(basename $${MANPAGE} .en.$${SECTION}).$${SECTION}; \
88 done
89
90 for LANGUAGE in $(LANGUAGES); \
91 do \
92 for MANPAGE in manpages/$${LANGUAGE}/*; \
93 do \
94 SECTION="$$(basename $${MANPAGE} | awk -F. '{ print $$3 }')"; \
95 rm -f $(DESTDIR)/usr/share/man/$${LANGUAGE}/man$${SECTION}/$$(basename $${MANPAGE} .$${LANGUAGE}.$${SECTION}).$${SECTION}; \
96 done; \
97 done
98
99 clean:
100
101 distclean:
102
103 reinstall: uninstall install
0 3.0~b4-1
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'utility to build Debian Live systems')"
17 HELP="FIXME"
18 USAGE="FIXME"
19
20 case "${1}" in
21 -h|--help)
22 if [ -x "$(which man 2>/dev/null)" ]
23 then
24 man lb
25 exit 0
26 else
27 ${0} --usage
28 exit 0
29 fi
30 ;;
31
32 ""|-u|--usage)
33 Usage
34 ;;
35
36 -v|--version)
37 echo "${VERSION}"
38 exit 0
39 ;;
40
41 *)
42 COMMAND="${1}"
43 shift
44
45 ENV=""
46
47 for _FILE in config/environment config/environment.binary
48 do
49 if [ -e "${_FILE}" ]
50 then
51 ENV="${ENV} $(grep -v '^#' ${_FILE})"
52 fi
53 done
54
55 if [ -x "${LIVE_BUILD}/scripts/build/${COMMAND}" ]
56 then
57 # User has live-build copied locally in the system
58 SCRIPT="${LIVE_BUILD}/scripts/build/${COMMAND}"
59 elif [ -x "local/live-build/scripts/build/${COMMAND}" ]
60 then
61 # User has live-build embedded in the config
62 SCRIPT="local/live-build/scripts/build/${COMMAND}"
63 elif [ -x /usr/lib/live/build/${COMMAND} ]
64 then
65 # User has live-build installed in the system
66 SCRIPT=/usr/lib/live/build/"${COMMAND}"
67 elif [ -x "$(which ${COMMAND} 2>/dev/null)" ]
68 then
69 # User has live-build commands in path
70 SCRIPT="${COMMAND}"
71 else
72 Echo_error "no such script: ${COMMAND}"
73 exit 1
74 fi
75
76 Echo "[%s] %s" "$(date +'%F %T')" "lb ${COMMAND} $(echo ${@})"
77 ${ENV} exec "${SCRIPT}" "${@}"
78 ;;
79 esac
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program is free software: you can redistribute it and/or modify
6 ## it under the terms of the GNU General Public License as published by
7 ## the Free Software Foundation, either version 3 of the License, or
8 ## (at your option) any later version.
9 ##
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 ## GNU General Public License for more details.
14 ##
15 ## You should have received a copy of the GNU General Public License
16 ## along with this program. If not, see <http://www.gnu.org/licenses/>.
17 ##
18 ## The complete text of the GNU General Public License
19 ## can be found in /usr/share/common-licenses/GPL-3 file.
20
21
22 set -e
23
24 # Including common functions
25 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
26
27 if [ -x "$(which man 2>/dev/null)" ]
28 then
29 man live-build
30 exit 0
31 else
32 Echo "live-build is a set of scripts to build Debian Live system images."
33 echo
34 Echo "The idea behind live-build is a framework that uses a configuration directory to completely automate and customize all aspects of building a Live image."
35 echo
36 Echo "An introduction to live-build can be found in the live-build(7) manpage."
37 exit 0
38 fi
0 The grub splash for Debian Live was made by Daniel Baumann <[email protected]>
1 based on the original work of Mark Riedesel.
2
3 The contribution of Daniel is hereby placed in the public domain (no rights
4 reserved).
5
6 ---------------
7 http://dugnet.com/klown/pics/klowner_debboot.png
8 by Mark Riedesel, license same as open use logo
9
10 To create klowner.rle:
11
12 1. convert klowner.png klowner.bmp
13 2. bmptoppm < klowner.bmp | ppmtolss16 #FBFDFA=7 > klowner.rle
14
15 (FBFDFA is the color used for the inside of the "n" in Debian.)
16 ---------------
17
18 Debian Open Use Logo License
19
20 Copyright (c) 1999 Software in the Public Interest
21 This logo or a modified version may be used by anyone to refer to the Debian
22 project, but does not indicate endorsement by the project.
23
24 Note: we would appreciate that you make the image a link to
25 http://www.debian.org/ if you use it on a web page.
0 maverickāŽ
0 maverickāŽ
0 netcfg
1 ethdetect
2 pcmcia-cs-udeb
3 wireless-tools-udeb
0 netcfg
1 ethdetect
2 pcmcia-cs-udeb
3 wireless-tools-udeb
0 netcfg
1 ethdetect
2 pcmcia-cs-udeb
3 wireless-tools-udeb
0 netcfg
1 ethdetect
2 pcmcia-cs-udeb
3 wireless-tools-udeb
0 choose-mirror
1 netcfg
2 ethdetect
3 pcmcia-cs-udeb
4 wireless-tools-udeb
0 netcfg
1 ethdetect
2 pcmcia-cs-udeb
3 wireless-tools-udeb
0 netcfg
1 ethdetect
2 pcmcia-cs-udeb
3 wireless-tools-udeb
0 netcfg
1 ethdetect
2 pcmcia-cs-udeb
3 wireless-tools-udeb
0 netcfg
1 ethdetect
2 pcmcia-cs-udeb
3 wireless-tools-udeb
0 choose-mirror
1 netcfg
2 ethdetect
3 wireless-tools-udeb
0 netcfg
1 ethdetect
2 wireless-tools-udeb
0 netcfg
1 ethdetect
2 pcmcia-cs-udeb
3 wireless-tools-udeb
0 netcfg
1 ethdetect
2 pcmcia-cs-udeb
3 wireless-tools-udeb
0 maverickāŽ
0 squeezeāŽ
0 choose-mirror
1 netcfg
2 ethdetect
3 pcmciautils-udeb
0 netcfg
1 ethdetect
2 pcmciautils-udeb
0 netcfg
1 ethdetect
2 pcmciautils-udeb
0 # These udebs build the d-i cdrom initrd. As such, there is no reason
1 # to keep another copy of them on the CD in udeb form.
2 #
3 # This duplicates data found in the file build/pkg-lists/kernel, in d-i svn
4 kernel-image-*
5 # build/pkg-lists/base in d-i svn
6 archdetect
7 rootskel
8 main-menu
9 cdebconf-udeb
10 udpkg
11 anna
12 di-utils
13 di-utils-shell
14 di-utils-reboot
15 lowmemcheck
16 # build/pkg-lists/cdrom/common, in d-i svn (also included in the
17 # root+cd-drivers floppies)
18 busybox-udeb
19 installation-locale
20 localechooser
21 iso-3166-udeb
22 hw-detect
23 cdrom-detect
24 cdrom-retriever
25 load-cdrom
26 cdrom-checker
27 bogl-bterm-udeb
28 di-utils-terminfo
29 cdebconf-priority
30 cdebconf-newt-udeb
31 usb-discover
32 preseed-common
33 initrd-preseed
34 file-preseed
35 nano-udeb
36 floppy-retriever
37 libfribidi0-udeb
38 # Already on the initrd as dependencies
39 libdebconfclient0-udeb
40 libdebian-installer4-udeb
41 libdebian-installer-extra4-udeb
42 # These udebs are only useful in building the boot floppy image
43 busybox-floppy-udeb
44 rootskel-bootfloppy
45 # Graphical installer: common udebs included in initrd
46 rootskel-gtk
47 cdebconf-gtk-udeb
48 fontconfig-udeb
49 gtk2-engines-udeb
50 libatk1.0-udeb
51 libexpat1-udeb
52 libfreetype6-udeb
53 libglib2.0-udeb
54 libgtk2-engines-udeb
55 libpango1.0-udeb
56 libpcre3-udeb
57 libpixman-1-0-udeb
58 libpng12-0-udeb
59 libsdl1.2debian-udeb
60 mouse-modules-*
61 ttf-*
62 fbset-udeb
63 # Graphical installer: udebs for directfb
64 libdirectfb-*-udeb
65 libcairo-directfb2-udeb
66 libgtk-directfb-2.0-0-udeb
67 # Graphical installer: udebs for X.Org
68 xserver-xorg-core-udeb
69 xserver-xorg-input-evdev-udeb
70 xserver-xorg-video-fbdev-udeb
71 x11-xkb-utils-udeb
72 xkb-data-udeb
73 libcairo2-udeb
74 libdrm2-udeb
75 libfontenc1-udeb
76 libgtk-x11-udeb
77 libpciaccess0-udeb
78 libx11-6-udeb
79 libxau6-udeb
80 libxcb1-udeb
81 libxcursor1-udeb
82 libxdmcp6-udeb
83 libxext6-udeb
84 libxfixes3-udeb
85 libxfont1-udeb
86 libxft2-udeb
87 libxi6-udeb
88 libxinerama1-udeb
89 libxkbfile1-udeb
90 libxrender1-udeb
91 # Graphical installer: terminal support is included in initrd
92 cdebconf-gtk-terminal
93 libvte9-udeb
94 # Not currently used
95 cdebootstrap-udeb
96 hdparm-udeb
97 dhcp-client-udeb
98 # This package is only useful in the d-i-demo
99 di-utils-exit-installer
100 # No need for these loaders.
101 download-installer
102 load-floppy
103 # Only useful in the hd-media initrd
104 iso-scan
105 load-iso
106 # Nothing currently depends on this, and it seems not useful on its own
107 reiserfsprogs-udeb
108 # These are not really needed, the regular netcfg subsumes them
109 netcfg-static
110 # skolelinux stuff, not for the stock CDs
111 debian-edu-install-udeb
112 debian-edu-profile-udeb
113 debian-edu-archive-keyring-udeb
114 ltsp-client-builder
115 autopartkit
116 # live CD stuff
117 live-installer
118 simple-cdd-profiles
119 # If needed, will be on the initrd already
120 module-init-tools-udeb
121 env-preseed
122 rescue-check
123 cdebconf-text-udeb
124 brltty-udeb
125 klibc-utils-udeb
126 libklibc-udeb
127 udev-udeb
128 udev-gtk-udeb
129 ai-choosers
130 auto-install
131 libslang2-udeb
132 kbd-chooser
133 kbd-udeb
134 # Currently unused
135 nbd-client-udeb
136 pwgen-udeb
137 # Eh?
138 gnumach-udeb
0 # These udebs are in the d-i cdrom initrd and the hd-media initrd.
1 # As such, there is no reason to keep another copy of them on the CD
2 # in udeb form.
3 console-keymaps-at
4 console-keymaps-usb
5 kbd-chooser
6 acpi-modules-*
7 ata-modules-*
8 cdrom-core-modules-*
9 core-modules-*
10 fat-modules-*
11 fb-modules-*
12 ide-core-modules-*
13 ide-modules-*
14 input-modules-*
15 isofs-modules-*
16 mmc-modules-*
17 nls-core-modules-*
18 parport-modules-*
19 pcmcia-modules-*
20 sata-modules-*
21 scsi-common-modules-*
22 scsi-core-modules-*
23 scsi-modules-*
24 serial-modules-*
25 speakup-modules-*
26 usb-modules-*
27 usb-serial-modules-*
28 usb-storage-modules-*
29 zlib-modules-*
30 # Not used on amd64
31 console-keymaps-acorn
32 console-keymaps-amiga
33 console-keymaps-atari
34 console-keymaps-dec
35 console-keymaps-sun
36 # Not needed with the 2.6 kernel on amd64.
37 userdevfs
38 # Only needed on arches that use partconf or autopartkit.
39 partconf-mkfstab
40 # Not needed on arches that use partman
41 mdcfg
42 lvmcfg
0 # These udebs are in the d-i cdrom initrd and the cd-drivers+root floppies.
1 # As such, there is no reason to keep another copy of them on the CD
2 # in udeb form.
3 console-keymaps-at
4 console-keymaps-usb
5 kbd-chooser
6 acpi-modules-*
7 ata-modules-*
8 cdrom-core-modules-*
9 core-modules-*
10 fat-modules-*
11 fb-modules-*
12 ide-core-modules-*
13 ide-modules-*
14 input-modules-*
15 isofs-modules-*
16 mmc-modules-*
17 nls-core-modules-*
18 parport-modules-*
19 pcmcia-modules-*
20 sata-modules-*
21 scsi-common-modules-*
22 scsi-core-modules-*
23 scsi-modules-*
24 serial-modules-*
25 speakup-modules-*
26 usb-modules-*
27 usb-serial-modules-*
28 usb-storage-modules-*
29 zlib-modules-*
30 # 686-bigmem kernel udebs are only used for the Xen netboot image
31 *-686-bigmem-di !xen
32 # Not used on i386
33 console-keymaps-acorn
34 console-keymaps-amiga
35 console-keymaps-atari
36 console-keymaps-dec
37 console-keymaps-sun
38 # Not needed with the 2.4 kernel on i386.
39 userdevfs
40 # Only needed on arches that use partconf or autopartkit.
41 partconf-mkfstab
42 # Not needed on arches that use partman
43 mdcfg
44 lvmcfg
0 # These udebs build the d-i cdrom initrd. As such, there is no reason
1 # to keep another copy of them on the CD in udeb form.
2 #
3 # This duplicates data found in the file build/pkg-lists/cdrom/powerpc,
4 # in d-i Subversion.
5
6 cdrom-core-modules-*
7 console-keymaps-at
8 console-keymaps-usb
9 eject-udeb
10 firewire-core-modules-*
11 fs-common-modules-*
12 ide-modules-*
13 input-modules-*
14 kbd-chooser
15 scsi-common-modules-*
16 scsi-core-modules-*
17 scsi-modules-*
18 socket-modules-*
19 usb-modules-*
20 usb-storage-modules-*
21 # Not needed with the 2.4 kernel on powerpc.
22 userdevfs
23 # Only needed on arches that use partconf or autopartkit.
24 partconf-mkfstab
25 # Not needed on arches that use partman
26 mdcfg
27 lvmcfg
0 # S/390 does not support loading udebs off the CD image,
1 # so we can exclude all udebs from it
2 *
0 # Only needed on arches that use partconf or autopartkit.
1 partconf-mkfstab
2 # Not needed on arches that use partman
3 mdcfg
4 lvmcfg
0 choose-mirror
1 netcfg
2 ethdetect
3 pcmciautils-udeb
0 netcfg
1 ethdetect
2 pcmciautils-udeb
0 netcfg
1 ethdetect
2 pcmciautils-udeb
0 netcfg
1 ethdetect
2 pcmciautils-udeb
0 squeezeāŽ
0 Main Author:
1
2 * Daniel Baumann <[email protected]>
3
4 Main Contributors:
5
6 * Chris Lamb <[email protected]>
7 * Otavio Salvador <[email protected]>
8 * Richard Nelson <[email protected]>
0 Patches (alphabetical order):
1
2 * Alex Owen <[email protected]>
3 * An-Cheng Huang <[email protected]>
4 * Antonio Amorim <[email protected]>
5 * Antonio Terceiro <[email protected]>
6 * Bas Wijnen <[email protected]>
7 * Ben Armstrong <[email protected]>
8 * Cedric Lucantis <[email protected]>
9 * Chris Lamb <[email protected]>
10 * Cody A.W. Somerville <[email protected]>
11 * Cyril Brulebois <[email protected]>
12 * David Madore <[email protected]>
13 * Erwan Le Gall <[email protected]>
14 * Fathi Boudra <[email protected]>
15 * Franklin Piat <[email protected]>
16 * Frederic Daniel Luc Lehobey <[email protected]>
17 * Guerkan Senguen <[email protected]>
18 * Hadar Weiss <[email protected]>
19 * Inigo Tejedor Arrondo <[email protected]>
20 * Jason D. Clinton <[email protected]>
21 * Jean Pierre LeJacq <[email protected]>
22 * Jesse Hathaway <[email protected]>
23 * Justin Pryzby <[email protected]>
24 * Kai Hendry <[email protected]>
25 * Kel Modderman <[email protected]>
26 * Maarten ter Huurne <[email protected]>
27 * Marcelo D. Re <[email protected]>
28 * Marco Amadori <[email protected]>
29 * Markus Bauer <[email protected]>
30 * Mathieu Geli <[email protected]>
31 * Otavio Salvador <[email protected]>
32 * Peter Holik <[email protected]>
33 * Peter Skogstroem <[email protected]>
34 * Rene Merou <[email protected]>
35 * Richard Nelson <[email protected]>
36 * Scott Edwards <[email protected]>
37 * Sebastian Raveau <[email protected]>
38 * Thomas Lange <[email protected]>
39 * Tiago Bortoletto Vaz <[email protected]>
40 * Trent Buck <[email protected]>
41 * Tzafrir Cohen <[email protected]>
42 * Vladimir Stavrinov <[email protected]>
43
44 Donations (alphabetical order):
45
46 * Gracie <[email protected]>
47
48 Special thanks (alphabetical order):
49
50 * Ben Armstrong <[email protected]> for his IRC support and tremendous work on
51 documentation.
52 * Jason D. Clinton <[email protected]> for his work on netboot type.
53 * Otavio Salvador <[email protected]> for his QA patches.
54 * Richard Nelson <[email protected]> for live-webhelper.
55 * Sebastian Raveau <[email protected]> for his work on encryption
56 support.
57 * Scott Edwards <[email protected]> for his work on d-i/g-i integration.
58 * Michael Dorrington <[email protected]> for distracting Luk Claes on DebConf 7,
59 so that Luk couldn't disturb me all the time and I could finally do some
60 work.
61
62 ...and countless other people showed up on the #debian-live IRC channel since
63 February 2006: thanks for all your help, ideas, and wishes.
0 commit 4217cf64597aa81b82a8c8e6a79fee1381e06aa3
1 Author: Daniel Baumann <[email protected]>
2
3 Re-enabling live-initscripts and live-webhelper.
4
5 examples/cron/snapshots.sh | 2 +-
6 1 files changed, 1 insertions(+), 1 deletions(-)
7
8 commit c4bb536877d822570176d462a45d3497de05a01b
9 Author: Daniel Baumann <[email protected]>
10
11 Respecting LH_QUIET for genisoimage/mkisofs calls, thanks to Justin Pryzby <[email protected]>.
12
13 helpers/lh_binary_iso | 5 +++++
14 helpers/lh_source_iso | 5 +++++
15 2 files changed, 10 insertions(+), 0 deletions(-)
16
17 commit a019b98615f9edd154f48337f45656fbc86cd181
18 Author: Daniel Baumann <[email protected]>
19
20 Respecting LH_QUIET for wget calls, thanks to Justin Pryzby <[email protected]>.
21
22 helpers/lh_binary_debian-installer | 19 ++++++++++++-------
23 1 files changed, 12 insertions(+), 7 deletions(-)
24
25 commit 09faf3f24b1d24394071fc651685436a269c37a4
26 Author: Daniel Baumann <[email protected]>
27
28 Handling case when memtest is disabled.
29
30 helpers/lh_source_debian | 5 ++++-
31 1 files changed, 4 insertions(+), 1 deletions(-)
32
33 commit f3706cd7f2fa293fed28523c760715967a7ae2e1
34 Author: Daniel Baumann <[email protected]>
35
36 Adding check for 'none', not just 'disabled'.
37
38 helpers/lh_binary_memtest | 2 +-
39 1 files changed, 1 insertions(+), 1 deletions(-)
40
41 commit 793f620b2dd2687f1c1cbb2db6b2eb65ed63275b
42 Author: Daniel Baumann <[email protected]>
43
44 Restoring file permissions.
45
46 0 files changed, 0 insertions(+), 0 deletions(-)
47
48 commit 4b52adb6f77b855ac9e6f63de187ae6ecba3602e
49 Author: Daniel Baumann <[email protected]>
50
51 Adding local udeb_exclude file functionality.
52
53 helpers/lh_binary_debian-installer | 6 ++++++
54 helpers/lh_config | 1 +
55 2 files changed, 7 insertions(+), 0 deletions(-)
56
57 commit fbae06c4262ee01d22af51b9720470a87a1e571b
58 Author: Daniel Baumann <[email protected]>
59
60 Fixing typing error in lh_binary_syslinux, thanks to Jean Pierre LeJacq <[email protected]> (Closes: #443099).
61
62 debian/changelog | 2 ++
63 helpers/lh_binary_syslinux | 2 +-
64 2 files changed, 3 insertions(+), 1 deletions(-)
65
66 commit 9ceced95c4a101b632d2b40cb0716338b223faeb
67 Author: Daniel Baumann <[email protected]>
68
69 Adding preinst to take care about package upgrades with respect to directories that are symlinks now (Closes: #442408, #442922).
70
71 debian/changelog | 4 +++-
72 debian/preinst | 40 ++++++++++++++++++++++++++++++++++++++++
73 2 files changed, 43 insertions(+), 1 deletions(-)
74
75 commit 4d06f0aa2b3a3f8a300b8a45310e1b7b5748c4a3
76 Author: Daniel Baumann <[email protected]>
77
78 Adding contrib/graph-helpers/*.
79
80 contrib/graph-helpers.py | 74 --------------------------------
81 contrib/graph-helpers/graph-helpers.py | 74 ++++++++++++++++++++++++++++++++
82 debian/copyright | 23 +++++++++-
83 3 files changed, 95 insertions(+), 76 deletions(-)
84
85 commit 39d4c50fc75166d6d8f43126a079e5497e7ff089
86 Author: Daniel Baumann <[email protected]>
87
88 Added graph-helpers.py from Chris Lamb <[email protected]>.
89
90 contrib/graph-helpers.py | 74 ++++++++++++++++++++++++++++++++++++++++++++++
91 1 files changed, 74 insertions(+), 0 deletions(-)
92
93 commit 5e759644a47983d74338d46904106b552153c446
94 Author: Daniel Baumann <[email protected]>
95
96 Passing live bootappends to debian-installer.
97
98 functions/defaults.sh | 2 +-
99 helpers/lh_config | 16 ++++++++--------
100 2 files changed, 9 insertions(+), 9 deletions(-)
101
102 commit f64d4d2c3124043b9039a38d9c1f037e923c3297
103 Author: Daniel Baumann <[email protected]>
104
105 Preparing live-helper 1.0~a29-1.
106
107 Makefile | 6 +++---
108 debian/changelog | 6 ++++++
109 functions/common.sh | 2 +-
110 manpages/lh_binary.de.1 | 2 +-
111 manpages/lh_binary.en.1 | 2 +-
112 manpages/lh_bootstrap.de.1 | 2 +-
113 manpages/lh_bootstrap.en.1 | 2 +-
114 manpages/lh_bootstrap_cdebootstrap.de.1 | 2 +-
115 manpages/lh_bootstrap_cdebootstrap.en.1 | 2 +-
116 manpages/lh_bootstrap_debootstrap.de.1 | 2 +-
117 manpages/lh_bootstrap_debootstrap.en.1 | 2 +-
118 manpages/lh_build.de.1 | 2 +-
119 manpages/lh_build.en.1 | 2 +-
120 manpages/lh_chroot.de.1 | 2 +-
121 manpages/lh_chroot.en.1 | 2 +-
122 manpages/lh_clean.de.1 | 2 +-
123 manpages/lh_clean.en.1 | 2 +-
124 manpages/lh_config.de.1 | 2 +-
125 manpages/lh_config.en.1 | 2 +-
126 manpages/lh_source.de.1 | 2 +-
127 manpages/lh_source.en.1 | 2 +-
128 manpages/lh_testroot.de.1 | 2 +-
129 manpages/lh_testroot.en.1 | 2 +-
130 manpages/live-helper.de.7 | 2 +-
131 manpages/live-helper.en.7 | 2 +-
132 25 files changed, 32 insertions(+), 26 deletions(-)
133
134 commit 7d5c33610881beee30fea2dc162d21f9e7436039
135 Author: Daniel Baumann <[email protected]>
136
137 Releasing live-helper 1.0~a28-1.
138
139 debian/changelog | 2 +-
140 docs/ChangeLog | 286 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
141 2 files changed, 287 insertions(+), 1 deletions(-)
142
143 commit f6d46179dfb64ace95c6cdec6a5b910d9106a7e7
144 Author: Daniel Baumann <[email protected]>
145
146 Making binary hooks executable in case the are not.
147
148 helpers/lh_binary_local-hooks | 6 ++++++
149 1 files changed, 6 insertions(+), 0 deletions(-)
150
151 commit f36f7d499ad7ba96a66977ae5e8955fb6b74128e
152 Author: Daniel Baumann <[email protected]>
153
154 Do not remove pkgsel anymore.
155
156 helpers/lh_binary_debian-installer | 2 --
157 1 files changed, 0 insertions(+), 2 deletions(-)
158
159 commit 2b817e2b897f6db20e81fcd52e40f90bcda16237
160 Author: Daniel Baumann <[email protected]>
161
162 Fixed wrong sed call.
163
164 helpers/lh_binary_syslinux | 4 ++--
165 1 files changed, 2 insertions(+), 2 deletions(-)
166
167 commit 1db91d83b0d0311c07d8f96023e850efdb44f7eb
168 Author: Daniel Baumann <[email protected]>
169
170 Do not create symlinks on usb-hdd images.
171
172 helpers/lh_binary_debian-installer | 5 ++++-
173 1 files changed, 4 insertions(+), 1 deletions(-)
174
175 commit ed5bb2e1870d68a8d6318933d9fe6ca2f1d9069c
176 Author: Daniel Baumann <[email protected]>
177
178 Adding LH_BOOTAPPEND_INSTALL.
179
180 functions/defaults.sh | 1 +
181 helpers/lh_binary_grub | 4 ++--
182 helpers/lh_binary_syslinux | 8 ++++----
183 helpers/lh_binary_yaboot | 4 ++--
184 helpers/lh_config | 12 +++++++++++-
185 5 files changed, 20 insertions(+), 9 deletions(-)
186
187 commit 851d21e47455408a300ce8c527e3805f2e039e64
188 Author: Daniel Baumann <[email protected]>
189
190 Renaming LH_BOOTAPPEND to LH_BOOTAPPEND_LIVE.
191
192 functions/defaults.sh | 2 +-
193 helpers/lh_binary_grub | 18 +++++++++---------
194 helpers/lh_binary_syslinux | 28 ++++++++++++++--------------
195 helpers/lh_binary_yaboot | 20 ++++++++++----------
196 helpers/lh_config | 12 ++++++------
197 5 files changed, 40 insertions(+), 40 deletions(-)
198
199 commit 26961cb572225683e29e03176698447b58b19bc4
200 Author: Daniel Baumann <[email protected]>
201
202 Making local udebs/local debs architecture aware.
203
204 helpers/lh_binary_debian-installer | 8 ++++----
205 1 files changed, 4 insertions(+), 4 deletions(-)
206
207 commit caeb8b9d72f691833691f193102537fe6c146422
208 Author: Daniel Baumann <[email protected]>
209
210 Setting default distribution to lenny.
211
212 functions/defaults.sh | 6 +++++-
213 1 files changed, 5 insertions(+), 1 deletions(-)
214
215 commit 20aad4c211bb423d714a38728ffccea5757840a2
216 Author: Daniel Baumann <[email protected]>
217
218 Removing both required local and d-i udebs when using live-installer.
219
220 helpers/lh_binary_debian-installer | 6 ++++++
221 1 files changed, 6 insertions(+), 0 deletions(-)
222
223 commit c338316ee23fbf687fc4554765c24887cee2fd1a
224 Author: Daniel Baumann <[email protected]>
225
226 Added forgotten path to bootstrap-base removal.
227
228 helpers/lh_binary_debian-installer | 2 +-
229 1 files changed, 1 insertions(+), 1 deletions(-)
230
231 commit 789677ab838dc589ef954ff4745609e22d9d6d6e
232 Author: Daniel Baumann <[email protected]>
233
234 Simplifying debian-installer download.
235
236 helpers/lh_binary_debian-installer | 22 ++++------------------
237 1 files changed, 4 insertions(+), 18 deletions(-)
238
239 commit 0e4a03132a9cb16779d41022ff9f518694295ab6
240 Author: Daniel Baumann <[email protected]>
241
242 Adding support for live-installer.
243
244 helpers/lh_binary_debian-installer | 8 +++++++-
245 helpers/lh_binary_disk | 12 ++++++------
246 2 files changed, 13 insertions(+), 7 deletions(-)
247
248 commit 117d1ef02c09404d595a27023e86765841909398
249 Author: Daniel Baumann <[email protected]>
250
251 Polishing and updating with recent news.
252
253 docs/NEWS | 28 +++++++++++++++++-----------
254 1 files changed, 17 insertions(+), 11 deletions(-)
255
256 commit 173bd27953afd4020f2ac5700b147e41af727735
257 Author: Daniel Baumann <[email protected]>
258
259 Temporarily disabling extended options, they seem to make problems and need testing.
260
261 templates/syslinux/common/syslinux.cfg | 16 ++++++++--------
262 1 files changed, 8 insertions(+), 8 deletions(-)
263
264 commit 508cf68252a5253ba40fcaa0dc46a3ffffc3dbfa
265 Author: Daniel Baumann <[email protected]>
266
267 Adding Rene Merou <[email protected]>.
268
269 docs/CREDITS | 1 +
270 1 files changed, 1 insertions(+), 0 deletions(-)
271
272 commit 7c25acdfc10c851bc30ccafc273a71113758f175
273 Author: Daniel Baumann <[email protected]>
274
275 Added Spanish syslinux templates translation from Rene Merou <[email protected]>.
276
277 templates/syslinux/es/boot.txt | 3 +++
278 templates/syslinux/es/f1.txt.install | 25 +++++++++++++++++++++++++
279 templates/syslinux/es/f1.txt.live | 25 +++++++++++++++++++++++++
280 templates/syslinux/es/f10.txt | 23 +++++++++++++++++++++++
281 templates/syslinux/es/f2.txt.install | 23 +++++++++++++++++++++++
282 templates/syslinux/es/f2.txt.live | 23 +++++++++++++++++++++++
283 templates/syslinux/es/f3.txt.install | 23 +++++++++++++++++++++++
284 templates/syslinux/es/f3.txt.install.g-i | 23 +++++++++++++++++++++++
285 templates/syslinux/es/f3.txt.live | 23 +++++++++++++++++++++++
286 templates/syslinux/es/f4.txt.install | 23 +++++++++++++++++++++++
287 templates/syslinux/es/f4.txt.install.g-i | 23 +++++++++++++++++++++++
288 templates/syslinux/es/f4.txt.live | 23 +++++++++++++++++++++++
289 templates/syslinux/es/f5.txt | 23 +++++++++++++++++++++++
290 templates/syslinux/es/f6.txt | 23 +++++++++++++++++++++++
291 templates/syslinux/es/f7.txt | 23 +++++++++++++++++++++++
292 templates/syslinux/es/f8.txt.install | 23 +++++++++++++++++++++++
293 templates/syslinux/es/f8.txt.live | 23 +++++++++++++++++++++++
294 templates/syslinux/es/f9.txt.install | 23 +++++++++++++++++++++++
295 templates/syslinux/es/f9.txt.live | 23 +++++++++++++++++++++++
296 19 files changed, 421 insertions(+), 0 deletions(-)
297
298 commit 8407eb17e393c18ce76afe3fc3d48a5128c22344
299 Author: Daniel Baumann <[email protected]>
300
301 Added Catalan syslinux templates translation from Rene Merou <[email protected]>.
302
303 templates/syslinux/ca/boot.txt | 3 +++
304 templates/syslinux/ca/f1.txt.install | 25 +++++++++++++++++++++++++
305 templates/syslinux/ca/f1.txt.live | 25 +++++++++++++++++++++++++
306 templates/syslinux/ca/f10.txt | 23 +++++++++++++++++++++++
307 templates/syslinux/ca/f2.txt.install | 23 +++++++++++++++++++++++
308 templates/syslinux/ca/f2.txt.live | 23 +++++++++++++++++++++++
309 templates/syslinux/ca/f3.txt.install | 23 +++++++++++++++++++++++
310 templates/syslinux/ca/f3.txt.install.g-i | 23 +++++++++++++++++++++++
311 templates/syslinux/ca/f3.txt.live | 23 +++++++++++++++++++++++
312 templates/syslinux/ca/f4.txt.install | 23 +++++++++++++++++++++++
313 templates/syslinux/ca/f4.txt.install.g-i | 25 +++++++++++++++++++++++++
314 templates/syslinux/ca/f4.txt.live | 23 +++++++++++++++++++++++
315 templates/syslinux/ca/f5.txt | 23 +++++++++++++++++++++++
316 templates/syslinux/ca/f6.txt | 23 +++++++++++++++++++++++
317 templates/syslinux/ca/f7.txt | 23 +++++++++++++++++++++++
318 templates/syslinux/ca/f8.txt.install | 23 +++++++++++++++++++++++
319 templates/syslinux/ca/f8.txt.live | 23 +++++++++++++++++++++++
320 templates/syslinux/ca/f9.txt.install | 23 +++++++++++++++++++++++
321 templates/syslinux/ca/f9.txt.live | 23 +++++++++++++++++++++++
322 19 files changed, 423 insertions(+), 0 deletions(-)
323
324 commit 78450950715061a76a7f3bc02bb5bc4b6d21545e
325 Author: Daniel Baumann <[email protected]>
326
327 Setting default language to 'en'.
328
329 functions/defaults.sh | 2 +-
330 templates/syslinux/common/syslinux.cfg | 36 ++++++++++++++++++++++++++++++
331 templates/syslinux/en/boot.txt | 3 ++
332 templates/syslinux/en/f1.txt.install | 25 ++++++++++++++++++++
333 templates/syslinux/en/f1.txt.live | 25 ++++++++++++++++++++
334 templates/syslinux/en/f10.txt | 23 +++++++++++++++++++
335 templates/syslinux/en/f2.txt.install | 23 +++++++++++++++++++
336 templates/syslinux/en/f2.txt.live | 23 +++++++++++++++++++
337 templates/syslinux/en/f3.txt.install | 23 +++++++++++++++++++
338 templates/syslinux/en/f3.txt.install.g-i | 23 +++++++++++++++++++
339 templates/syslinux/en/f3.txt.live | 23 +++++++++++++++++++
340 templates/syslinux/en/f4.txt.install | 23 +++++++++++++++++++
341 templates/syslinux/en/f4.txt.install.g-i | 23 +++++++++++++++++++
342 templates/syslinux/en/f4.txt.live | 23 +++++++++++++++++++
343 templates/syslinux/en/f5.txt | 23 +++++++++++++++++++
344 templates/syslinux/en/f6.txt | 23 +++++++++++++++++++
345 templates/syslinux/en/f7.txt | 23 +++++++++++++++++++
346 templates/syslinux/en/f8.txt.install | 23 +++++++++++++++++++
347 templates/syslinux/en/f8.txt.live | 23 +++++++++++++++++++
348 templates/syslinux/en/f9.txt.install | 23 +++++++++++++++++++
349 templates/syslinux/en/f9.txt.live | 23 +++++++++++++++++++
350 21 files changed, 458 insertions(+), 1 deletions(-)
351
352 commit 3fddecbe0eab7d49fb67800bec436d9caa72dfa5
353 Author: Daniel Baumann <[email protected]>
354
355 Supporting localized syslinux templates based on LH_LANGUAGE.
356
357 helpers/lh_binary_syslinux | 9 +++++--
358 templates/syslinux/boot.txt | 3 --
359 templates/syslinux/common/splash.rle | Bin 0 -> 10489 bytes
360 templates/syslinux/f1.txt.install | 25 ----------------------
361 templates/syslinux/f1.txt.live | 25 ----------------------
362 templates/syslinux/f10.txt | 23 ---------------------
363 templates/syslinux/f2.txt.install | 23 ---------------------
364 templates/syslinux/f2.txt.live | 23 ---------------------
365 templates/syslinux/f3.txt.install | 23 ---------------------
366 templates/syslinux/f3.txt.install.g-i | 23 ---------------------
367 templates/syslinux/f3.txt.live | 23 ---------------------
368 templates/syslinux/f4.txt.install | 23 ---------------------
369 templates/syslinux/f4.txt.install.g-i | 23 ---------------------
370 templates/syslinux/f4.txt.live | 23 ---------------------
371 templates/syslinux/f5.txt | 23 ---------------------
372 templates/syslinux/f6.txt | 23 ---------------------
373 templates/syslinux/f7.txt | 23 ---------------------
374 templates/syslinux/f8.txt.install | 23 ---------------------
375 templates/syslinux/f8.txt.live | 23 ---------------------
376 templates/syslinux/f9.txt.install | 23 ---------------------
377 templates/syslinux/f9.txt.live | 23 ---------------------
378 templates/syslinux/splash.rle | Bin 10489 -> 0 bytes
379 templates/syslinux/syslinux.cfg | 36 ---------------------------------
380 23 files changed, 6 insertions(+), 460 deletions(-)
381
382 commit 1956c132a8bac04cd3a025f60acdadb8fa9dd668
383 Author: Daniel Baumann <[email protected]>
384
385 Adding forgotten cp call.
386
387 helpers/lh_binary_disk | 2 +-
388 1 files changed, 1 insertions(+), 1 deletions(-)
389
390 commit f4af8492a6738f873237802e5dd2005e3ca5bab2
391 Author: Daniel Baumann <[email protected]>
392
393 Removing cruft from debian-cd templates.
394
395 templates/syslinux/f7.txt | 2 +-
396 templates/syslinux/f8.txt.install | 2 +-
397 templates/syslinux/f8.txt.live | 2 +-
398 templates/syslinux/f9.txt.install | 2 +-
399 templates/syslinux/f9.txt.live | 2 +-
400 5 files changed, 5 insertions(+), 5 deletions(-)
401
402 commit 9ec9d931e7809058a4d35991c07af1057d7db875
403 Author: Daniel Baumann <[email protected]>
404
405 Using new Homepage field now.
406
407 debian/control | 3 +--
408 1 files changed, 1 insertions(+), 2 deletions(-)
409
410 commit 9da34f5a3bbd3eaa4ea9f1f91d8a8748ce94f068
411 Author: Daniel Baumann <[email protected]>
412
413 Adding Marco Amadori <[email protected]>.
414
415 docs/CREDITS | 1 +
416 1 files changed, 1 insertions(+), 0 deletions(-)
417
418 commit 83fc7ca480fb36e40e21dad7c892ec92cf8c3679
419 Author: Daniel Baumann <[email protected]>
420
421 Downgrading Ubuntu minimal requirements from gutsy to feisty.
422
423 functions/defaults.sh | 4 ++--
424 1 files changed, 2 insertions(+), 2 deletions(-)
425
426 commit 23c269f3afba1449f2ff6352bf9504fbdba582f8
427 Author: Daniel Baumann <[email protected]>
428
429 Simplyfing LH_BASE calls.
430
431 helpers/lh_binary_debian-installer | 6 +++---
432 1 files changed, 3 insertions(+), 3 deletions(-)
433
434 commit 16b85ffe14a24a693cfdafa2d100f96d5d65cf0a
435 Author: Daniel Baumann <[email protected]>
436
437 Using udeb_include files from debian-cd.
438
439 helpers/lh_binary_disk | 28 +++-------------------------
440 1 files changed, 3 insertions(+), 25 deletions(-)
441
442 commit e9ed48833fee3e9232917282f0af88d39bca673e
443 Author: Daniel Baumann <[email protected]>
444
445 Using Debian terminology for images of unreleased suites.
446
447 functions/releases.sh | 4 ++--
448 helpers/lh_binary_disk | 5 +++++
449 2 files changed, 7 insertions(+), 2 deletions(-)
450
451 commit 6c45ff08704bd84fd7c45b294e843c642cc17a16
452 Author: Daniel Baumann <[email protected]>
453
454 Setting debian-installer default flavour to netinst.
455
456 helpers/lh_binary_debian-installer | 2 +-
457 helpers/lh_binary_disk | 2 +-
458 2 files changed, 2 insertions(+), 2 deletions(-)
459
460 commit 04f8e669b49da796863e2f548620ee5f15494b2d
461 Author: Daniel Baumann <[email protected]>
462
463 Adding forgotten handling of default case.
464
465 helpers/lh_clean | 11 +++++++++--
466 1 files changed, 9 insertions(+), 2 deletions(-)
467
468 commit 9f59f16c7c1da6cd227fa47897dc76bf8004cb8e
469 Author: Daniel Baumann <[email protected]>
470
471 Only removing old packages if they exist.
472
473 examples/cron/snapshots.sh | 11 +++++++----
474 1 files changed, 7 insertions(+), 4 deletions(-)
475
476 commit 471b32c6821eea5d1a73c62c16eb31defe9c0895
477 Author: Daniel Baumann <[email protected]>
478
479 Fixing typing error.
480
481 debian/control | 4 ++--
482 1 files changed, 2 insertions(+), 2 deletions(-)
483
484 commit fbd4861b2347b024caa54af443b18ca1c6646a31
485 Author: Daniel Baumann <[email protected]>
486
487 Preparing live-helper 1.0~a28-1.
488
489 Makefile | 6 +++---
490 debian/changelog | 6 ++++++
491 functions/common.sh | 2 +-
492 manpages/lh_binary.de.1 | 2 +-
493 manpages/lh_binary.en.1 | 2 +-
494 manpages/lh_bootstrap.de.1 | 2 +-
495 manpages/lh_bootstrap.en.1 | 2 +-
496 manpages/lh_bootstrap_cdebootstrap.de.1 | 2 +-
497 manpages/lh_bootstrap_cdebootstrap.en.1 | 2 +-
498 manpages/lh_bootstrap_debootstrap.de.1 | 2 +-
499 manpages/lh_bootstrap_debootstrap.en.1 | 2 +-
500 manpages/lh_build.de.1 | 2 +-
501 manpages/lh_build.en.1 | 2 +-
502 manpages/lh_chroot.de.1 | 2 +-
503 manpages/lh_chroot.en.1 | 2 +-
504 manpages/lh_clean.de.1 | 2 +-
505 manpages/lh_clean.en.1 | 2 +-
506 manpages/lh_config.de.1 | 2 +-
507 manpages/lh_config.en.1 | 2 +-
508 manpages/lh_source.de.1 | 2 +-
509 manpages/lh_source.en.1 | 2 +-
510 manpages/lh_testroot.de.1 | 2 +-
511 manpages/lh_testroot.en.1 | 2 +-
512 manpages/live-helper.de.7 | 2 +-
513 manpages/live-helper.en.7 | 2 +-
514 25 files changed, 32 insertions(+), 26 deletions(-)
515 2007-09-09 Daniel Baumann <[email protected]>
516
517 * functions/defaults.sh:
518 - Fixing typing error.
519 * data/debian-cd:
520 - Merging debian-cd 3.0.3 data files.
521 * functions/defaults.sh, helpers/lh_config:
522 - Adding debian-installer daily images option.
523 * helpers/lh_binary_debian-installer:
524 - Reworking debian-installer flavours and urls.
525 - Failing when no bootstrap package cache.
526 * helpers/lh_binary_disk:
527 - Reworking disk information.
528 * helpers/lh_bootstrap_cache:
529 - Creating bootstrap stagefile when restoring cache.
530 * helpers/lh_bootstrap_cache, lh_chroot_cache:
531 - Refactoring stage caching.
532 * helpers/lh_clean:
533 - Removing cache/stages_bootstrap restore.
534 * lists/devel-live:
535 - Moving from svn to git.
536 * Uploading 1.0~a27-1.
537
538 2007-09-04 Daniel Baumann <[email protected]>
539
540 * helpers/lh_chroot_cache:
541 - Added forgotten creation of the stagefile as mentioned by
542 Peter Holik <[email protected]>.
543
544 2007-09-04 Daniel Baumann <[email protected]>
545
546 * helpers/lh_binary_syslinux, lh_config:
547 - Applied fixes from Peter Holik <[email protected]>.
548 * helpers/lh_chroot_local-packages:
549 - Added check for actual packages as mentioned by Peter Holik
550 <[email protected]>.
551 * helpers/lh_bootstrap_cache:
552 - Added forgotten creation of the stagefile as mentioned by
553 Peter Holik <[email protected]>.
554 * Uploading 1.0~a26-1.
555
556 2007-08-28 Daniel Baumann <[email protected]>
557
558 * functions/defaults.sh:
559 - Prefering debootstrap over cdebootstrap.
560 * helpers/lh_chroot_local-packages:
561 - Only copy packages matching the build-architecture. This way, you
562 can store local packages for different architectures in the very
563 same config directory.
564 * Uploading 1.0~a25-1.
565
566 2007-08-28 Daniel Baumann <[email protected]>
567
568 * helpers/lh_clean:
569 - Accepting more than one parameter at the same time.
570 * Uploading 1.0~a24-1.
571
572 2007-08-14 Daniel Baumann <[email protected]>
573
574 * helpers/*:
575 - Added --conffile to all helpers.
576 * manpages/lh_config.de.1, lh_config.en.1:
577 - Added.
578 * Uploading 1.0~a23-1.
579
580 2007-08-13 Daniel Baumann <[email protected]>
581
582 * helpers/lh_binary_memtest:
583 - Improved grub workaround.
584
585 2007-08-12 Daniel Baumann <[email protected]>
586
587 * helpers/lh_chroot_dpkg:
588 - Added.
589
590 2007-08-12 Daniel Baumann <[email protected]>
591
592 * Uploaded 1.0~a22-1.
593
594 2007-08-08 Daniel Baumann <[email protected]>
595
596 * functions/lh_chroot_hacks:
597 - Remove resume partition configuration in initramfs on etch.
598
599 2007-08-07 Daniel Baumann <[email protected]>
600
601 * functions/defaults.sh:
602 - Added auto mode for LH_INITRAMFS.
603
604 2007-08-05 Daniel Baumann <[email protected]>
605
606 * functions/defaults.sh:
607 - Added debian-edu mode.
608 * lists/knoppix, knoppix-dvd:
609 - Added.
610
611 2007-08-05 Mathieu Geli <[email protected]>
612
613 * lists/studio, studio-gnome, studio-kde, studio-xfce:
614 - Added.
615
616 2007-08-04 Daniel Baumann <[email protected]>
617
618 * functions/*, helpers/*:
619 - Renaming LIVE_* variables to LH_*.
620 * excamples/cron/*:
621 - Updated to make-live removal.
622 * helpers/lh_binary_chroot:
623 - Exit earlier when rootfs was cached.
624 * helpers/lh_binary_debian-installer, lh_binary_includes:
625 - Fixed some bashisms.
626 * helpers/lh_binary_grub, lh_binary_syslinux, lh_binary_yaboot:
627 - Workaround from matth over /bin/echo to avoid wrong expansion
628 of entries when using dash (Closes: #431748).
629 * helpers/lh_chroot_hostname:
630 - Installing fake hostname, less intrusive approach for the build
631 system (Closes: #435699).
632 * helpers/lh_config:
633 - Added argument handling.
634 * helpers/lh_losetup:
635 - Simplified and corrected to make it actually work.
636 * helpers/lh_source:
637 - Not using 'echo -e' anymore.
638 * helpers/make-live:
639 - Replaced with a dummy: make-live is deprecated now, use lh_config
640 and lh_build instead.
641
642 2007-08-03 Daniel Baumann <[email protected]>
643
644 * helpers/lh_chroot_apt:
645 - Updated configuration of recommends handling for apt.
646
647 2007-07-29 Daniel Baumann <[email protected]>
648
649 * functions/packages.sh:
650 - Using dpkg-query to check for packages when building in chroot,
651 and on systems where dpkg-query is available.
652 * functions/stagefile.sh:
653 - Added missing NAME.
654 * Uploaded 1.0~a21-1.
655
656 2007-07-28 Daniel Baumann <[email protected]>
657
658 * functions/chroot.sh:
659 - Added XORG_CONFIG="custom" to chroot call in order to disable
660 xserver-xorg.postinst (Closes: #430566).
661 * helpers/lh_binary_usb-hdd:
662 - Fixes for binary non-chroot build.
663
664 2007-07-27 Daniel Baumann <[email protected]>
665
666 * Makefile, debian/postinst, prerm:
667 - Added alternatives handling for includes and templates.
668 * examples/hooks/*:
669 - Cleaned up.
670 * helpers/lh_chroot_preseed:
671 - Process flavour specific preseeds, if available, dropping
672 LIVE_PRESEED.
673 * helpers/lh_chroot_local-preseed:
674 - Added.
675 * templates/syslinux:
676 - Added installer specific templates.
677 - Renamebled additional boot targets (localboot).
678 * Uploaded 1.0~a20-1.
679
680 2007-07-24 Mathieu Geli <[email protected]>
681
682 * helpers/make-live:
683 - synced usage message and getopts parsing (Closes and extends
684 #434481).
685
686 2007-07-19 Daniel Baumann <[email protected]>
687
688 * functions/defaults.sh, package.sh, helpers/lh_config, lh_binary_*:
689 - Added support for non-chrooted build.
690 - Added caching of deb packages on this stage too.
691 * helpers/lh_binary_grub:
692 - Added forgotten destdir for default entries.
693 * helpers/lh_binary_memtest:
694 - Added workaround for grub inside chroot when installing memtest as
695 suggested by Vladimir Stavrinov <[email protected]>.
696 * helpers/lh_binary_rootfs:
697 - Updated squashfs-tools package check.
698 * helpers/lh_binary_syslinux:
699 - Using etch workaround for long filenames in syslinux on all
700 distributions.
701 * Uploaded 1.0~a19-1.
702
703 2007-07-15 Daniel Baumann <[email protected]>
704
705 * examples/cron/manpages.sh, examples/hooks/win32-loader.sh:
706 - Added.
707
708 2007-07-15 Otavio Salvador <[email protected]>
709
710 * functions/templates.sh:
711 - Changed whole code to export TEMPLATES for the item beeing
712 checked.
713 * helpers/lh_binary_grub, helpers/lh_binary_syslinux,
714 helpers/lh_binary_yaboot:
715 - Changed code to use the new TEMPLATES variable and avoid
716 hardcoding the path.
717
718 2007-07-14 Daniel Baumann <[email protected]>
719
720 * helpers/lh_binary_debian-installer:
721 - Addded 'live' mode.
722 - Fixed a minor typo.
723 * helpers/lh_binary_includes:
724 - Moved copying of parameters.txt to lh_binary_linux-image.
725 - Moved parameters.txt.* to live-initramfs and data/casper.
726
727 2007-07-12 Daniel Baumann <[email protected]>
728
729 * helpers/lh_binary_grub, lh_binary_syslinux:
730 - Also respect local menu.lst and syslinux.cfg.
731 * helpers/lh_binary_syslinux:
732 - Cleaned up netboot specific parts as suggested by
733 Vladimir Stavrinov <[email protected]>.
734 * helpers/lh_binary_linux-image:
735 - Skip vmlinuz/initrd symlinks.
736 * helpers/lh_chroot_hacks:
737 - Setting correct permissions user home directory in case of includes.
738 * helpers/make-live:
739 - Fixed typo in variable name.
740 * lists/rescue:
741 - Added aide and tripwire.
742 * Uploaded 1.0~a18-1.
743
744 2007-07-09 Chris Lamb <[email protected]>
745
746 * functions/chroot.sh, functions/defaults.sh:
747 - Altered LH_DEBCONF_NOWARNINGS so that it accepts "enabled/disabled"
748 as well as "yes/no" for consistency.
749
750 2007-07-09 Daniel Baumann <[email protected]>
751
752 * functions/architecture.sh, helpers/lh_binary_debian-installer,
753 lh_binary_grub, lh_binary_linux-image, lh_binary_memtest,
754 lh_binary_syslinux, lh_binary_yaboot:
755 - Simplified multi-arch checks/overrides.
756 * helpers/lh_binary_grub, lh_binary_syslinux, lh_binary_yaboot:
757 - Added priority=critical for auto/autogui boot labels.
758
759 2007-07-07 Daniel Baumann <[email protected]>
760
761 * helpers/lh_binary_chroot:
762 - Going back to full copy instead of hardlinks.
763 * helpers/lh_binary_debian-installer:
764 - Added architectures for daily images.
765 * helpers/lh_binary_grub:
766 - Refactored.
767 * helpers/lh_binary_grub, lh_binary_syslinux, lh_binary_yaboot:
768 - Added 'quiet' for everything newer than etch.
769 * helpers/lh_binary_hacks:
770 - Merged into lh_binary_includes.
771 * helpers/lh_chroot_hacks:
772 - Added removal of some build-system influenced files.
773 - Cleaned up a bit.
774 * helpers/lh_chroot_localization:
775 - Fixed typo.
776 - Added k3b and gwenview.
777 * helpers/lh_chroot_sysvrc:
778 - Renamed to lh_chroot_sysv-rc.
779 * hooks/mini, minimal:
780 - Using apt-get autoremove.
781 * lists/devel-live:
782 - Added.
783
784 2007-07-06 Otavio Salvador <[email protected]>
785
786 * helpers/lh_binary_rootfs:
787 - Fix parameters to allow the removal of kernels inside of
788 squashfs.
789
790 2007-07-05 Otavio Salvador <[email protected]>
791
792 * helpers/lh_binary_rootfs:
793 - Fix inverted logic error to detect when exclude the kernel
794 from the squashfs image.
795
796 2007-07-04 Otavio Salvador <[email protected]>
797
798 * helpers/lh_binary_hacks:
799 - Do not fail if binary/parameters.txt.${LH_INITRAMFS} doesn't
800 exists.
801 * hooks/mini, hooks/minimal:
802 - Do not fail if the package isn't installed.
803
804 2007-07-04 Daniel Baumann <[email protected]>
805
806 * functions/defaults.sh:
807 - Added architecture handling to mirror defaults.
808 * helpers/lh_binary_hacks,
809 includes/includes/sid/live/parameters.txt.casper,
810 parameters.txt.live-initramfs:
811 - Added.
812
813 2007-07-02 Otavio Salvador <[email protected]>
814
815 * helpers/lh_binary_syslinux:
816 - Fix paths for kernel and initrd image loading.
817
818 2007-07-02 Daniel Baumann <[email protected]>
819
820 * helpers/lh_binary_grub:
821 - Also respect splash.xpm and not just splash.xpm.gz as local grub
822 splash images.
823
824 2007-07-01 Daniel Baumann <[email protected]>
825
826 * helpers/lh_binary_debian-installer:
827 - Added caching of udebs.
828 * functions/defaults.sh, helpers/lh_binary_grub, lh_binary_syslinux,
829 lh_binary_grub, lh_config:
830 - Added support for aufs.
831 * Uploaded 1.0~a17-1.
832
833 2007-06-30 Daniel Baumann <[email protected]>
834
835 * functions/releases.sh, helpers/lh_binary_disk, lh_source_disk,
836 lh_chroot_hostname:
837 - Added.
838
839 2007-06-29 Daniel Baumann <[email protected]>
840
841 * helpers/lh_binary_syslinux:
842 - Fixed damaged memtest entry.
843 - Corrected code style.
844 - Added NUMBER initaliazation to fixed wrong numbering when in compat
845 mode.
846 - Fixed bug with isolinux.cfg fuckup if flavours are in this order:
847 686 686-bigmem.
848 * helpers/lh_binary_grub, lh_binary_linux-image, lh_binary_memtest,
849 lh_binary_syslinux:
850 - Added compat mode for casper/live directories.
851 * helpers/lh_binary_manifest, lh_binary_md5sum, lh_source_mdsum:
852 - Added introductional text to the generated file.
853 * helpers/lh_binary_manifest:
854 - Only create the correct manifest file for the respective initramfs.
855 * helpers/lh_binary_disk, lh_source_disk:
856 - Added.
857
858 2007-06-27 Otavio Salvador <[email protected]>
859
860 * helpers/lh_binary_syslinux:
861 - Added new methods (syslinux_live_entry and syslinux_di_entry) and
862 change whole code to use them making it much easier to read and
863 modify.
864 * functions/arch.sh:
865 - Added.
866 * helpers/lh_binary_grub, lh_binary_syslinux, lh_binary_yaboot:
867 - Use the new Check_architecture method to avoid duplicated code.
868 * functions/templates.sh:
869 - Added.
870 * helpers/lh_binary_grub, helpers/lh_binary_syslinux,
871 helpers/lh_binary_yaboot:
872 - Use the new Check_templates method to avoid duplicated code.
873
874 2007-06-25 Daniel Baumann <[email protected]>
875
876 * helpers/lh_binary_local-hooks:
877 - Added.
878 * helpers/lh_chroot_linux-image:
879 - Caching downloaded packages.
880 * examples/hooks/qemu-launcher.sh:
881 - Added.
882 * Uploaded 1.0~a16-1.
883
884 2007-06-18 Chris Lamb <[email protected]>
885
886 * helpers/lh_chroot_packageslists, lh_chroot_local-packageslists:
887 - Added support for '#<include>' pragma to include other list files.
888 * functions/packagelists.sh:
889 - Added.
890 * lists/*:
891 - Translated existing lists to be include-based, added a few missing
892 lists.
893
894 2007-06-18 Daniel Baumann <[email protected]>
895
896 * helpers/*:
897 - All cache operations use hardlinks now.
898
899 2007-06-16 Daniel Baumann <[email protected]>
900
901 * helpers/lh_bootstrap_clone, lh_bootstrap_copy:
902 - Added.
903 * helpers/lh_binary_live-installer:
904 - Added.
905 * Uploaded 1.0~a15-1.
906
907 2007-06-10 Daniel Baumann <[email protected]>
908
909 * helpers/*:
910 - Excluding lenny from the syslinux workarounds as syslinux 3.36 did
911 migrate into testing.
912 * helpers/lh_bootstrap_cache, lh_chroot_cache:
913 - Fixed typos which made caching fail on rebuilds.
914 * helpers/lh_clean:
915 - Added unmount of binfmt on clean.
916 * helpers/lh_binary_usb-hdd:
917 - Including script to write grub to the loop device from Thomas Lange
918 <[email protected]>.
919
920 2007-06-10 Daniel Baumann <[email protected]>
921
922 * helpers/lh_binary_grub, lh_binary_rootfs, lh_binary_yaboot,
923 lh_binary_syslinux:
924 - Fixed some typos as found by Peter Holik <[email protected]>.
925 * manpages/live-helper.en.7:
926 - Fixed typo.
927 * helpers/lh_bootstrap_cache, lh_chroot_cache:
928 - Added.
929 * Uploaded 1.0~a14-1.
930
931 2007-06-08 Daniel Baumann <[email protected]>
932
933 * helpers/make-live:
934 - Adjusted reading of configuration to match the previously renamed
935 files.
936
937 2007-06-04 Daniel Baumann <[email protected]>
938
939 * helpers/lh_binary_hdd, lh_source_hdd:
940 - Renamed to lh_binary_tar and lh_source_tar.
941 * helpers/lh_source_generic:
942 - Removed.
943
944 2007-06-03 Daniel Baumann <[email protected]>
945
946 * Uploaded 1.0~a13-1.
947
948 2007-06-02 Otavio Salvador <[email protected]>
949
950 * helpers/lh_chroot_preseed:
951 - Use {Check,Install,Remove}_package to handle debconf dependency.
952 * Add support to specify the apt/aptitude pipeline depth.
953
954 2007-06-02 Daniel Baumann <[email protected]>
955
956 * Applied patches from Otavio Salvador <[email protected]>:
957 - Add support to override helpers base directory
958 - Use LIVE_BOOTSTRAP_CONFIG instead of LIVE_DISTRIBUTION_CONFIG.
959 - Add support to specify the keyring to be used while bootstraping.
960 - Add lh_chroot_preseed helper.
961
962 2007-05-28 Daniel Baumann <[email protected]>
963
964 * helpers/*:
965 - Added initial P: messages.
966 - Removed some bashisms.
967 - Added some of the proposed cleanups from Trent Buck
968 <[email protected]>.
969 * lists/mini, minimal:
970 - Removed, already pulled in with live-initramfs depends.
971
972 2007-05-27 Daniel Baumann <[email protected]>
973
974 * helpers/lh_binary_rootfs:
975 - Added check for config/binary_rootfs/squashfs.sort for passing a
976 sorting list to mksquashfs.
977
978 2007-05-26 Daniel Baumann <[email protected]>
979
980 * lists/rescue:
981 - Updated with suggestions from Inigo Tejedor Arrondo
982 <[email protected]>
983 * Uploaded 1.0~a12-1.
984
985 2007-05-25 Daniel Baumann <[email protected]>
986
987 * functions/defaults.sh:
988 - Updated check for LH_BOOTSTRAP on ubuntu.
989 * helpers/lh_binary_iso, lh_source_iso:
990 - Added configuration support for ISO application, preparer and
991 publisher field.
992
993 2007-05-24 Daniel Baumann <[email protected]>
994
995 * helpers/lh_binary_syslinux:
996 - Added dedicated directory handling for syslinux (>= 3.36) on usb.
997 * helpers/lh_binary_debian-installer, lh_binary_linux-image,
998 lh_binary_memtest, lh_binary_syslinux:
999 - Added legacy support for syslinux (<< 3.36).
1000 * Uploaded 1.0~a11-1.
1001
1002 2007-05-18 Daniel Baumann <[email protected]>
1003
1004 * helpers/*:
1005 - Renamed LIVE_KERNEL_FLAVOUR to LIVE_LINUX_FLAVOURS.
1006 - Renamed LIVE_KERNEL_PACKAGES to LIVE_LINUX_PACKAGES.
1007 - Renamed LIVE_BINARY_IMAGE to LIVE_BINARY_IMAGES.
1008 - Renamed LIVE_SOURCE_IMAGE to LIVE_SOURCE_IMAGES.
1009 - Renamed LIVE_FILESYSTEM to LIVE_CHROOT_FILESYSTEM.
1010 - Renamed LIVE_SERVER_ADDRESS to LIVE_NET_SERVER.
1011 - Renamed LIVE_SERVER_PATH to LIVE_NET_PATH.
1012 * Uploaded 1.0~a10-1.
1013
1014 2007-05-18 Mathieu Geli <[email protected]>
1015
1016 * examples/hooks/*
1017 - Added new hooks for non-free/contrib drivers
1018 Intel : ipw3945, ipw2100, ipw2200
1019 Nvidia : nvidia-legacy
1020 Ralink : rt2x00, rt2570
1021 - Changed behavior of beryl hook: autostart beryl
1022 if video driver allows it (minimal detection based on glxinfo)
1023
1024 2007-05-17 Daniel Baumann <[email protected]>
1025
1026 * helpers/lh_binary_md5sum, lh_source,md5sum:
1027 - Fixed accidentally inclusion of md5sum.txt itself into
1028 binary/md5sum.txt.
1029
1030 2007-05-16 Daniel Baumann <[email protected]>
1031
1032 * helpers/*:
1033 - Added check for local includes and templates.
1034 - Renamed LH_APT_GENERIC to LIVE_BINARY_INDICES.
1035 - Renamed lh_binary_localincludes to lh_binary_local-includes.
1036 - Renamed lh_chroot_localhooks to lh_chroot_local-hooks.
1037 - Renamed lh_chroot_localincludes to lh_chroot_local-includes.
1038 - Renamed lh_chroot_localpackages to lh_chroot_local-packages.
1039 - Renamed lh_chroot_localpackageslists to
1040 lh_chroot_local-packageslists.
1041 - Renamed lh_source_download to lh_source_debian.
1042 - Renamed lh_source_config to lh_source_debian-live.
1043
1044 2007-05-09 Daniel Baumann <[email protected]>
1045
1046 * helpers/*:
1047 - Renamed LH_MIRROR*_BUILD to LH_MIRROR*_BOOTSTRAP.
1048 - Renamed LH_MIRROR*_IMAGE to LH_MIRROR*_BINARY.
1049 * helpers/lh_chroot_sources:
1050 - Added aptitude overwrite for untrusted sources.
1051 - Changed checks for *.build/*.image to *.bootstrap/*.binary.
1052
1053 2007-05-08 Daniel Baumann <[email protected]>
1054
1055 * helpers/*:
1056 - Renamed lh_binary_linuximage to lh_binary_linux-image.
1057 - Renamed lh_chroot_linuximage to lh_chroot_linux-image.
1058 * helpers/lh_bootstrap_cdebootstrap, lh_bootstrap_debootstrap:
1059 - Added missing cache directory when only caching stages.
1060 * helpers/lh_binary_debian-installer, lh_binary_linux-image,
1061 lh_binary_memtest:
1062 - Changed kernel installation directories.
1063
1064 2007-05-07 Daniel Baumann <[email protected]>
1065
1066 * examples/snapshot-build.sh, live-snapshot.sources.list:
1067 - Added.
1068 * helpers/lh_binary_rootfs:
1069 - Fixed wrong order of squashfs options.
1070
1071 2007-05-06 Daniel Baumann <[email protected]>
1072
1073 * templates/syslinux:
1074 - Updated again.
1075 * helpers/lh_config:
1076 - Fixed overwriting of LH_* options.
1077 * helpers/lh_binary_includes:
1078 - Fixed a quoting typo.
1079 - Working arround symlinks on usb-hdd binary images.
1080 * Uploaded 1.0~a9-1.
1081
1082 2007-04-31 Daniel Baumann <[email protected]>
1083
1084 * helpers/*:
1085 - Added LH_INITRAMFS.
1086 - Splitted config/image into config/binary and config/source.
1087 * Uploaded 1.0~a8-1.
1088
1089 2007-04-26 Daniel Baumann <[email protected]>
1090
1091 * helpers/*:
1092 - Implemented paranoid caching with LIVE_CACHE_INDICES,
1093 LIVE_CACHE_PACKAGES and LIVE_CACHE_STAGES. This allows to build
1094 images offline from the cache.
1095
1096 2007-04-25 Daniel Baumann <[email protected]>
1097
1098 * helpers/lh_binary_usb, lh_source_usb:
1099 - In preparation of adding support for usb-zip images, the usb binary
1100 type is renamed to usb-hdd.
1101
1102 2007-04-24 Daniel Baumann <[email protected]>
1103
1104 * functions/stagefile.sh:
1105 - Requite_stagefile can require more than one stage.
1106 * helpers/lh_binary_debian-installer:
1107 - Added.
1108
1109 2007-04-23 Daniel Baumann <[email protected]>
1110
1111 * helpers/lh_binary_includes, lh_binary_usb, lh_source_usb:
1112 - Added workaround for vfat limitations.
1113
1114 2007-04-23 Daniel Baumann <[email protected]>
1115
1116 * Makefile:
1117 - Added simple test rule.
1118 * functions/*, helpers/*:
1119 - Added LH_ROOT_COMMAND to support sudo.
1120 * functions/package.sh:
1121 - Added. Helper dependencies in-chroot can now be handled by
1122 functions.
1123 * helpers/make-live:
1124 - Added trap to unmount proc and sys on exit and failure.
1125 * Uploaded 1.0~a7-1.
1126
1127 2007-04-22 Daniel Baumann <[email protected]>
1128
1129 * functions/defaults.sh:
1130 - In ubuntu mode, setting default sections to main restricted.
1131 * helpers/lh_binary_grub:
1132 - Making copy call of grub arch independent.
1133 * helpers/lh_chroot_sources:
1134 - In debian mode, checking for non-sid rather than if-etch.
1135 - Fixed wrong Ubuntu security URL.
1136
1137 2007-04-20 Daniel Baumann <[email protected]>
1138
1139 * helpers/lh_binary_rootfs, lh_binary_iso:
1140 - Added mksquashfs/genisoimage quiet/verbose options.
1141
1142 2007-04-19 Daniel Baumann <[email protected]>
1143
1144 * helpers/lh_binary_grub, lh_binary_syslinux:
1145 - Added check for splash in config directory.
1146
1147 2007-04-18 Daniel Baumann <[email protected]>
1148
1149 * debian/cron.daily, default:
1150 - Added.
1151 * doc/BUGS, DOWNLOAD:
1152 - Added.
1153 * examples/edu.sources.list, fai.sources.list:
1154 - Added.
1155 * manpages/*:
1156 - Added language suffix.
1157 - Added German translations.
1158
1159 2007-04-17 Daniel Baumann <[email protected]>
1160
1161 * helpers/lh_chroot_hooks:
1162 - Also check for tasks specific hooks, not just for package lists.
1163 * helpers/lh_chroot_tasks:
1164 - Allowing to use either aptitude or tasksel.
1165 * hooks/kde-desktop:
1166 - Added.
1167 * manpages/lh_build.1, lh_source.1:
1168 - Added.
1169
1170 2007-04-16 Daniel Baumann <[email protected]>
1171
1172 * functions/defaults.sh:
1173 - Using lsb_release, if existing, to set default mode to ubuntu on
1174 ubuntu systems.
1175 - Moved desktop task to the end, so that gdm doesn't take
1176 gnome-session as default.
1177 * helpers/lh_chroot_hooks:
1178 - Added simple --hooks for easy testing.
1179 * Uploaded 1.0~a6-1.
1180
1181 2007-04-15 Daniel Baumann <[email protected]>
1182
1183 * functions/defaults.sh:
1184 - Set LH_APT to apt-get when using mini or minimal.
1185 * helpers/lh_chroot_sources:
1186 - Excluding comments from local sources lists.
1187 * helpers/lh_bootstrap_cdebootstrap:
1188 - Removing imported configuration files by cdebootstrap.
1189
1190 2007-04-13 Daniel Baumann <[email protected]>
1191
1192 * Moved examples from /usr/share/doc to /usr/share/live-helper.
1193 * examples/bpo.sources.list:
1194 - Added.
1195 * functions/defaults.sh:
1196 - Setting LH_GENISOIMAGE on ubuntu to legacy mkisofs.
1197 * helpers/lh_clean:
1198 - Added missing removal of generic source.
1199
1200 2007-04-12 Daniel Baumann <[email protected]>
1201
1202 * helpers/lh_config, make-live:
1203 - Adding --config.
1204 * helpers/lh_binary_memtester86:
1205 - Renamed to lh_binary_memtest, made more generic.
1206 * functions/defaults.sh:
1207 - Setting default distribution to etch until 2.6.20 has setteled in
1208 unstable.
1209
1210 2007-04-11 Daniel Baumann <[email protected]>
1211
1212 * Merging from sidux fllbuilder 1.0.4:
1213 - functions/chroot: Added LH_DEBCONF_NOWARNINGS.
1214 - helpers/lh_chroot_linuximage: Added additional options to
1215 kernel-img.conf.
1216 - helpers/lh_chroot_proc: Made binfmt umount conditional.
1217 * contrib/grub-splash/*, templates/grub/splash.xpm.gz:
1218 - Added.
1219 * helpers/lh_binary_grub, lh_binary_syslinux:
1220 - Added failsafe kernel entries.
1221 * helpers/lh_chroot_apt:
1222 - Using apt.conf.d also for apt, not just for aptitude.
1223 - Minor code cleanup.
1224 * helpers/lh_source_*:
1225 - Minor code cleanup.
1226 * helpers/lh_source_download:
1227 - Added LIVE_BOOTLOADER to the list of source packages.
1228 * contrib/grub-splash/*, templates/grub/splash.xpm.gz:
1229 - Added.
1230
1231 2007-04-10 Daniel Baumann <[email protected]>
1232
1233 * helpers/lh_binary_includes, includes/*:
1234 - Redone.
1235
1236 2007-04-09 Daniel Baumann <[email protected]>
1237
1238 * helpers/lh_binary_yaboot, templates/yaboot:
1239 - Added.
1240
1241 2007-04-09 Daniel Baumann <[email protected]>
1242
1243 * helpers/lh_config, make-live, functions/defaults.sh:
1244 - Added mode to distinguish between Debian and Ubuntu.
1245 * helpers/lh_chroot_sources:
1246 - Added check for LIVE_MIRROR_BUILD* to be equal to
1247 LIVE_MIRROR_IMAGE*.
1248 * Uploaded 1.0~a5-1.
1249
1250 2007-04-08 Daniel Baumann <[email protected]>
1251
1252 * helpers/lh_binary_net:
1253 - Added check for namespace collision with LIVE_SERVER_PATH.
1254 * helpers/lh_binary_grub:
1255 - Added functionality for usb|hdd images.
1256
1257 2007-04-07 Daniel Baumann <[email protected]>
1258
1259 * helpers/lh_chroot_sources:
1260 - Moved check for local source lists from
1261 config/sources.lists.{build,image} to
1262 config/chroot_sources/*.{build,image}.
1263 - Added check for local gpg keys in
1264 config/chroot_sources/*.{build,image}.gpg.
1265 - Added check for local keyring packages in
1266 config/chroot_sources/*.deb.
1267 - Added LIVE_KEYRING_PACKAGES.
1268
1269 2007-04-06 Daniel Baumann <[email protected]>
1270
1271 * functions/breakpoints.sh, helpers/*:
1272 - Added initial breakpoints.
1273 * functions/chroot.sh:
1274 - Adding /usr/local to path.
1275 * functions/lockfile.sh:
1276 - Added additional signals to the trap.
1277 * helpers/lh_binary_includes:
1278 - Respect LIVE_INCLUDES=none.
1279 * manpages/*:
1280 - Updated.
1281
1282 2007-04-05 Daniel Baumann <[email protected]>
1283
1284 * helpers/lh_binary_grub, templates/grub/menu.lst:
1285 - Added splash functionality.
1286 * Uploaded 1.0~a4-1.
1287
1288 2007-04-03 Daniel Baumann <[email protected]>
1289
1290 * helpers/lh_binary_grub, lh_binary_grub:
1291 - Added check for LIVE_TEMPLATES to be existing.
1292 * helpers/lh_binary_includes:
1293 - Added check for LIVE_INCLUDES to be existing.
1294
1295 2007-04-02 Daniel Baumann <[email protected]>
1296
1297 * functions/*, helpers/*:
1298 - Merged LIVE_SYSLINUX and LIVE_GRUB into LIVE_BOOTLOADER.
1299 * helpers/lh_binary_iso:
1300 - Added exclude for the bootloader from the iso image content.
1301
1302 2007-04-01 Daniel Baumann <[email protected]>
1303
1304 * helper/lh_binary_grub:
1305 - Added.
1306
1307 2007-03-30 Daniel Baumann <[email protected]>
1308
1309 * helper/lh_chroot_localincludes:
1310 - Fixed wrong path for hook removal.
1311
1312 2007-03-29 Daniel Baumann <[email protected]>
1313
1314 * functions/common.sh, echo.sh:
1315 - Added.
1316 * doc/README, helpers/lh_source, manpages/lh_binary.1, live-helper.7:
1317 - Added forgotten helpers.
1318 * doc/FAQ:
1319 - Added.
1320 * lists/mini, minimal:
1321 - Added --yes to apt call to make them non-interactive.
1322 * manpages/lh_chroot.1:
1323 - Added.
1324
1325 2007-03-28 Daniel Baumann <[email protected]>
1326
1327 * helpers/lh_bootstrap_cdebootstrap, lh_bootstrap_debootstrap:
1328 - Added --debug, --quiet, and --verbose.
1329
1330 2007-03-27 Daniel Baumann <[email protected]>
1331
1332 * helpers/lh_binary_linuximage, lh_binary_memtest86:
1333 - Added missing Read_conffiles to fix foreign architecture builds.
1334
1335 2007-03-26 Daniel Baumann <[email protected]>
1336
1337 * helpers/lh_bootstrap_cdebootstrap, lh_bootstrap_debootstrap,
1338 lh_clean:
1339 - Added routine to cache bootstrapped chroot as suggested by Kai
1340 Hendry <[email protected]>.
1341 * helpers/lh_chroot_rootfs:
1342 - Fixed typo in net type.
1343 * lists/gnome*, kde*, standard-x11, xfce*:
1344 - Added menu.
1345
1346 2007-03-26 Daniel Baumann <[email protected]>
1347
1348 * functions/defaults.sh:
1349 - Fixed handling of desktop list variable loop.
1350 * Uploaded 1.0~a3-1.
1351
1352 2007-03-25 Daniel Baumann <[email protected]>
1353
1354 * functions/*, helpers/*:
1355 - Renamed LIVE_FLAVOUR to LIVE_BOOTSTRAP_FLAVOUR.
1356 - Renamed LIVE_PACKAGES_LIST to LIVE_PACKAGES_LISTS.
1357 * functions/cache.sh:
1358 - Added.
1359 * helpers/lh_bootstrap_cdebootstrap:
1360 - Added removal of cdebootstrap-helper-diverts.
1361 * helpers/lh_binary_chroot:
1362 - Added.
1363 * helpers/lh_binary_rootfs:
1364 - Moved filesystem routines into chroot.
1365 * helpers/lh_chroot_localization, lh_chroot_localpackages,
1366 lh_chroot_localpackageslists, lh_chroot_packages,
1367 lh_chroot_packageslists, lh_chroot_tasks:
1368 - Added check for LH_CACHE.
1369 * helpers/lh_chroot_apt:
1370 - Removing old apt.conf if existing as suggested by Ben Armstrong
1371 <[email protected]>.
1372 * helpers/lh_chroot_hacks:
1373 - Added check for already installed smbfs.
1374 - Added check for already configured initramfs.conf as suggested by
1375 Ben Armstrong <[email protected]>.
1376 * helpers/lh_chroot_interactive:
1377 - Added.
1378 * helpers/lh_chroot_tasks:
1379 - Added routine for LH_APT=apt.
1380 * lists/minimal-net:
1381 - Minimized.
1382
1383 2007-03-24 Daniel Baumann <[email protected]>
1384
1385 * functions/*, helpers/*, hooks/*:
1386 - Added GPL blurb.
1387 * functions/arguments.sh, helpers/*:
1388 - Added common arguments.
1389 * functions/arguments.sh, stagefile.sh, helpers/*,
1390 manpages/live-helper.7:
1391 - Added --force option.
1392 * functions/defaults.sh, helpers/lh_binary_syslinux, lh_config,
1393 make-live:
1394 - Added LIVE_USERNAME and LIVE_HOSTNAME.
1395 * helpers/lh_binary_linuximage, lh_binary_memtest86,
1396 lh_binary_syslinux:
1397 - Moved kernel directory to live.
1398 * helpers/lh_clean:
1399 - Added purge.
1400
1401 2007-03-23 Daniel Baumann <[email protected]>
1402
1403 * helpers/make-live:
1404 - Calling Arguments twice to catch case with non-default root.
1405
1406 2007-03-22 Daniel Baumann <[email protected]>
1407
1408 * functions/default.sh, helpers/*:
1409 - Renamed lh_chroot_packageslist to lh_chroot_packageslists and
1410 lh_chroot_localpackageslist to lh_chroot_localpackageslists
1411 * helpers/lh_binary_includes:
1412 - Using LIVE_INCLUDES now.
1413 * helpers/lh_chroot_apt:
1414 - Added LH_APT_SECURE.
1415 * helpers/lh_chroot_linuximage:
1416 - Added check for LIVE_KERNEL_PACKGES=none to allow kernel packages as
1417 local packages.
1418
1419 2007-03-21 Daniel Baumann <[email protected]>
1420
1421 * helpers/lh_binary_hdd, lh_binary_iso, lh_binary_net, lh_binary_usb:
1422 - Checking earlier if there is something todo.
1423 * helpers/lh_binary_linuximage, lh_binary_syslinux,
1424 lh_chroot_linuximage, templates/syslinux/isolinux.cfg:
1425 - Extended to support multiple kernels at once.
1426 * helpers/lh_binary_includes, lh_binary_localincludes,
1427 lh_chroot_localincludes:
1428 - Replaced path with variable as suggested Kai Hendry <[email protected]>.
1429 * helpers/lh_source_md5sum:
1430 - Added.
1431 * helpers/make-live:
1432 - Added short options in ARGUMENTS.
1433 * functions/defaults.sh, helpers/*:
1434 - Renamed LIVE_KERNEL to LIVE_KERNEL_FLAVOUR.
1435 - Renamed LIVE_MIRROR_LOCAL to LIVE_MIRROR_BUILD and
1436 LIVE_MIRROR_GENERIC to LIVE_MIRROR_IMAGE.
1437
1438 2007-03-20 Daniel Baumann <[email protected]>
1439
1440 * helpers/make-live:
1441 - Fixed typo in ARGUMENTS.
1442
1443 2007-03-19 Daniel Baumann <[email protected]>
1444
1445 * lists/gnome*, kde*, standard-x11, xfce*:
1446 - Added alsa-base, alsa-oss, alsa-utils, and discover.
1447
1448 2007-03-19 Daniel Baumann <[email protected]>
1449
1450 * Uploaded 1.0~a2-1.
1451
1452 2007-03-18 Daniel Baumann <[email protected]>
1453
1454 * functions/defaults.sh:
1455 - Quoted date call in LIVE_ISO_VOLUME.
1456 * manpages/lh_clean.1:
1457 - Added.
1458
1459 2007-03-17 Daniel Baumann <[email protected]>
1460
1461 * functions/defaults.sh, helpers/*:
1462 - Renamed LIVE_MIRROR to LIVE_MIRROR_LOCAL and LIVE_MIRROR_SECURITY
1463 to LIVE_MIRROR_LOCAL_SECURITY.
1464 * doc/examples/beryl-hook.sh:
1465 - Added, submitted by Inigo Tejedor Arrondo <[email protected]>.
1466 * helpers/lh_config, make-live:
1467 - Added check for newconfig to prevent overwriting of non-specified
1468 options to default values.
1469 * helpers/lh_chroot_localhooks:
1470 - Added basename where needed.
1471 * helpers/lh_chroot_sources:
1472 - Added check for local sources.list in config for custom
1473 repositories.
1474 - Replaced security check for etch with check for not-unstable.
1475 * manpages/lh_binary.1, lh_bootstrap.1, lh_bootstrap_cdebootstrap.1,
1476 lh_bootstrap_debootstrap.1, lh_testroot.1:
1477 - Added.
1478 * templates/syslinux/pxlinux.cfg:
1479 - Fixed path.
1480
1481 2007-03-16 Daniel Baumann <[email protected]>
1482
1483 * helpers/lh_binary_usb: Corrected stagefile creation.
1484
1485 2007-03-15 Daniel Baumann <[email protected]>
1486
1487 * Makefile:
1488 - Replaced helper uninstall routine with a less intrusive one.
1489 * doc/NEWS:
1490 - Updated.
1491 * functions/conffile.sh:
1492 - Beautified.
1493 * functions/defaults.sh:
1494 - Added LH_LOSETUP.
1495 * functions/lockfile.sh:
1496 - Beautified.
1497 * helpers/*:
1498 - Allowing apt-get, not just apt in LH_APT.
1499 * helpers/lh_config:
1500 - Added check for existing configuration.
1501 * helpers/lh_binary_md5sum:
1502 - Removed legacy code.
1503 * helpers/lh_binary_manifest:
1504 - Added creation of packages.txt.
1505 * helpers/lh_binary_usb, lh_source_usb:
1506 - Replaced loop device node workaround with a better one.
1507 * helpers/lh_chroot_hooks, lh_chroot_localhooks:
1508 - Fixed executable check.
1509 * helpers/lh_source_config:
1510 - Added.
1511 * helpers/lh_source_download:
1512 - Separeted debian sources and debian-live configuration into
1513 different directories.
1514 - Added live-helper to the sources.
1515 * helpers/lh_source_generic, lh_source_iso, lh_source_usb,
1516 lh_source_net:
1517 - Removed annyoing warning when sources are disabled.
1518 * helpers/lh_source_net:
1519 - Beautified.
1520 * helpers/make-live:
1521 - Fixed typo in ARGUMENTS.
1522 - Moved help, usage, version into functions.
1523 - Removed build pre-option.
1524 * manpages/live-helper.7:
1525 - Added.
1526 * templates/syslinux/f10.txt:
1527 - Added note about Debian Live project.
1528
1529 2007-03-14 Daniel Baumann <[email protected]>
1530
1531 * functions/defaults.sh, helpers/*:
1532 - Converted LIVE_ROOT to directory, not full path.
1533 * functions/*, helpers/*:
1534 - Replaced LIVE_CHROOT with directory name.
1535 * functions/conffile.sh:
1536 - Added warning if CONFFILE is not readable.
1537 * helpers/lh_chroot_localization:
1538 - Completed check for koffice.
1539 * helpers/lh_source_download:
1540 - Fixed typo in old source removal.
1541
1542 2007-03-14 Daniel Baumann <[email protected]>
1543
1544 * helpers/lh_chroot_hacks:
1545 - Added removal of udev persistent-net rule.
1546 * Uploaded 1.0~a1-3.
1547
1548 2007-03-14 Daniel Baumann <[email protected]>
1549
1550 * functions/defaults.sh:
1551 - Fixed setting of LIVE_SYSVINIT.
1552 * helpers/lh_chroot_sysvinit:
1553 - Changed check for LIVE_SYSVINIT from disabled to enabled.
1554 * Uploaded 1.0~a1-2.
1555
1556 2007-03-12 Daniel Baumann <[email protected]>
1557
1558 * Rewritten live-package.
1559 * Uploaded 1.0~a1-1.
0 2007-03-10 Daniel Baumann <[email protected]>
1
2 * Added knoppix and knoppix-dvd package lists.
3
4 2007-03-09 Daniel Baumann <[email protected]>
5
6 * Getting free loopdevice from inside the chroot, not outside.
7
8 2007-03-09 Daniel Baumann <[email protected]>
9
10 * Added kbd to all !minimal lists.
11 * Uploaded 0.99.25.
12
13 2007-03-08 Otavio Salvador <[email protected]>
14
15 * helpers/lh_configapt: Fix aptitude configuration to really avoid
16 recommended packages to get installed.
17 * src/scripts/02defaults.sh: Export LIVE_ISOLINUX_SPLASH.
18
19 2007-03-04 Daniel Baumann <[email protected]>
20
21 * Replaced removal of kernel on minimal flavours with excludes on the
22 mksquashfs call.
23 * Added LIVE_INCLUDE_CHROOT to the manual exported variables as reported
24 by Mathieu Geli <[email protected]>.
25 * Exported CODENAME_* manually as reported by CĆ©dric Lucantis
26 <[email protected]>.
27 * Fixed typo s/aptiude/aptitude/ as reported by Kai Hendry
28 <[email protected]>.
29 * Uploaded 0.99.24.
30
31 2007-02-22 Daniel Baumann <[email protected]>
32
33 * Added xresprobe to all x11 lists.
34
35 2007-02-22 Daniel Baumann <[email protected]>
36
37 * Applied patches from Otavio Salvador <[email protected]>:
38 - add and cleanup variable exporting in defaults.
39 - add LIVE_BOOTSTRAP_CONFIG to lh_debootstrap.
40 * Uploaded 0.99.23.
41
42 2007-02-21 Daniel Baumann <[email protected]>
43
44 * Added gnome-junior, kde-junior and xfce-junior lists.
45 * Uploaded 0.99.22.
46
47 2007-02-19 Daniel Baumann <[email protected]>
48
49 * Fixed manifest.
50
51 2007-02-15 Daniel Baumann <[email protected]>
52
53 * Applied patch from Sebastian Raveau <[email protected]> to
54 add support for filesystem images encrypted with loop-aes.
55
56 2007-02-13 Daniel Baumann <[email protected]>
57
58 * Broken out scripts into modularized lh_* subscripts.
59
60 2007-02-12 Daniel Baumann <[email protected]>
61
62 * Added some code as suggested by Alex Owen <[email protected]> to
63 check if the depends (syslinux, memtest etc.) are intentionally
64 installed in the chroot, and hence, don't remove them.
65 * Moved some depends into the chroot.
66 * Uploaded 0.99.21.
67
68 2007-02-11 Daniel Baumann <[email protected]>
69
70 * Added mini flavour.
71
72 2007-02-10 Daniel Baumann <[email protected]>
73
74 * Added legacy code for genisoimage.
75 * Uploaded 0.99.20.
76
77 2007-02-09 Daniel Baumann <[email protected]>
78
79 * Added usb type.
80
81 2007-02-08 Daniel Baumann <[email protected]>
82
83 * Added desktop task to the *-desktop flavours.
84
85 2007-02-07 Daniel Baumann <[email protected]>
86
87 * Extended cron job a bit.
88 * Fixed manual pruning in minimal flavour as suggested by Bas Wijnen
89 <[email protected]>
90
91 2007-02-02 Daniel Baumann <[email protected]>
92
93 * Added "--without-daemons".
94
95 2007-02-01 Daniel Baumann <[email protected]>
96
97 * Added "--tasks".
98 * Added desktop-base to all desktop package lists.
99
100 2007-01-31 Daniel Baumann <[email protected]>
101
102 * Changed vars in autobuilding script to be able to source
103 make-live.conf.
104 * Uploaded 0.99.19.
105
106 2007-01-30 Daniel Baumann <[email protected]>
107
108 * Added cron job for autobuilding images.
109
110 2007-01-25 Daniel Baumann <[email protected]>
111
112 * Added additional pruning to minimal flavour.
113 * Using interactive frontend while processing --hook.
114 * Uploaded 0.99.18.
115
116 2007-01-24 Daniel Baumann <[email protected]>
117
118 * Applied patches from Otavio Salvador <[email protected]>:
119 - adding "--keyring" flag.
120 - adding LIVE_DISK_VOLUME.
121 - adding start-stop-daemon wrapper to avoid daemons to be started.
122 - adding workaround to prevent binfmt locking /proc.
123 - adding LIVE_ISOLINUX_SPLASH.
124 * Uploaded 0.99.17.
125
126 2007-01-19 Daniel Baumann <[email protected]>
127
128 * Replacing mkisofs with genisoimage.
129
130 2007-01-18 Daniel Baumann <[email protected]>
131
132 * Cleanups.
133 * Uploaded 0.99.16.
134
135 2007-01-16 Daniel Baumann <[email protected]>
136
137 * Switched default distribution back to unstable, as unstable is usable
138 again from the kernel point of view.
139 * Added file to the minimal package list.
140 * Uploaded 0.99.15.
141
142 2007-01-04 Daniel Baumann <[email protected]>
143
144 * Added workaround for new xorg packages by including
145 xserver-xorg-input-all and xserver-xorg-video-all in all X11 package
146 lists. See #405639 for more information.
147 * Added xdebconfigurator to all X11 package lists.
148 * Adding workaround for initrd backup files.
149
150 2006-11-06 Daniel Baumann <[email protected]>
151
152 * Uploaded 0.99.14.
153
154 2006-11-05 Daniel Baumann <[email protected]>
155
156 * Applied patch from Markus Bauer <[email protected]>:
157 - fixing script sourcing to exclude files in .svn
158
159 2006-11-03 Daniel Baumann <[email protected]>
160
161 * Fixed typo in the policy-rc.d hack.
162
163 2006-11-02 Daniel Baumann <[email protected]>
164
165 * Using aptitude instead of apt-get.
166 * Added '--with-recommends' and '--without-recommends'.
167
168 2006-11-01 Daniel Baumann <[email protected]>
169
170 * Fixed regression when using -d ${CODENAME} wrt/ kernel packages.
171
172 2006-10-30 Daniel Baumann <[email protected]>
173
174 * Uploaded 0.99.13.
175
176 2006-10-29 Daniel Baumann <[email protected]>
177
178 * Added minimal-net flavour.
179
180 2006-10-28 Daniel Baumann <[email protected]>
181
182 * Added console-common to standard selection.
183
184 2006-10-27 Daniel Baumann <[email protected]>
185
186 * Added patch from Otavio Salvador <[email protected]>:
187 - fixing preseeding error-handling.
188
189 2006-10-26 Daniel Baumann <[email protected]>
190
191 * Added gnustep package selection based on the suggestion of
192 Guerkan Senguen <[email protected]>.
193
194 2006-10-25 Daniel Baumann <[email protected]>
195
196 * Applied patch from Marcelo D. Re <[email protected]>:
197 - skip deb-src source-list entries when building images with
198 --without-source.
199 * Applied patches from Otavio Salvador <[email protected]>:
200 - adding '--bootstrap-config' to support cdebootstraps
201 '--suite-config'.
202 - allowing override of ${BASE}.
203 - adjust sourcing of scripts, so that only the real scripts are
204 sourced and not other (backup) files.
205 - allowing override of kernel-packages.
206 * Reverted mangling of LIVE_DISTRIBUTION for sources.list generation.
207
208 2006-10-23 Daniel Baumann <[email protected]>
209
210 * Uploaded 0.99.12.
211
212 2006-10-18 Daniel Baumann <[email protected]>
213
214 * Autodetecting proxy now.
215
216 2006-10-16 Daniel Baumann <[email protected]>
217
218 * Readded and slightly changed --clone and --preseed.
219 * Uploaded 0.99.11.
220
221 2006-10-09 Daniel Baumann <[email protected]>
222
223 * Cleanups.
224 * Uploaded 0.99.10.
225
226 2006-10-02 Daniel Baumann <[email protected]>
227
228 * Uploaded 0.99.9.
229
230 2006-10-01 Daniel Baumann <[email protected]>
231
232 * Added multiple repositories.
233 * Using LIVE_PROXY_* also for bootstraping.
234
235 2006-09-27 Daniel Baumann <[email protected]>
236
237 * Changing manpage section.
238
239 2006-09-26 Daniel Baumann <[email protected]>
240
241 * Added default flavour hooks.
242 * minimal flavour does not install debian-archive-keyring to save space.
243 * Adjusted network patch.
244
245 2006-09-25 Daniel Baumann <[email protected]>
246
247 * Removed now unused initramfs-tools hack.
248 * Simplified xorg check based on distribution rather than version.
249 * Added fix from Bas Wijnen <[email protected]> for space handling in
250 arguments.
251 * Fixed package list handling similar to the fix suggested by Alex Owen
252 <[email protected]>.
253 * Uploaded 0.99.8.
254
255 2006-09-24 Marco Amadori <[email protected]>
256
257 * 13hack.sh: initramfs-tools hack, check added for xorg.
258
259 2006-09-18 Daniel Baumann <[email protected]>
260
261 * Uploaded 0.99.7.
262
263 2006-09-15 Daniel Baumann <[email protected]>
264
265 * Added eject to minimal package selection.
266
267 2006-09-14 Daniel Baumann <[email protected]>
268
269 * Adjustements for linux 2.6.17 testing propagation.
270
271 2006-09-11 Daniel Baumann <[email protected]>
272
273 * Uploaded 0.99.6.
274
275 2006-09-08 Marco Amadori <[email protected]>
276
277 * 23net.sh: Fixed binary missing directory creation.
278 * templates/iso: Moved common files to templates/common.
279
280 2006-09-07 Daniel Baumann <[email protected]>
281
282 * Minor cleanups.
283 * Fixed dist target.
284
285 2006-09-06 Marco Amadori <[email protected]>
286
287 * 14chroot.sh, main.sh: Added manifest support.
288 * 23net.sh: Added 2 variables for basenames to ease readability.
289 * main.sh, 02default.sh: Modified Usage() uses.
290
291 2006-09-04 Daniel Baumann <[email protected]>
292
293 * Uploaded 0.99.5.
294
295 2006-09-03 Daniel Baumann <[email protected]>
296
297 * Added dist parameter to easily pull images for live.debian.net.
298 * Added "--output" to specify the image name prefix.
299 * Exclude iso templates for minimal flavour.
300
301 2006-09-02 Daniel Baumann <[email protected]>
302
303 * Added experimental as distribution.
304 * Added source image generation.
305 * Using dpkg instead of dpkg-architecture, removed dpkg-dev dependency.
306
307 2006-08-31 Daniel Baumann <[email protected]>
308
309 * Added "--disable-generic-indices" and "--enable-generic-indices".
310 * Fixed i18n lists.
311 * Rewritten all lists, comments are now possible.
312 * Lists must be now explicitly given with --package-list, no longer as
313 last argument of the make-live call.
314 * Setting default sources.list while the image generation, restoring
315 customized ones afterwards.
316
317 2006-08-30 Daniel Baumann <[email protected]>
318
319 * Cleanups:
320 - moved 14patch_packages.sh to 13hack.sh.
321 - simplified 13hack.sh.
322
323 2006-08-29 Marco Amadori <[email protected]>
324
325 * pxelinux.cfg: Updated to right defaults, first cifs then nfs or
326 select your favorite way. Rationale: /dev/nfs is for kernel
327 discovering, not for initramfs discover, casper will be just fine
328 with "netboot".
329 * 13chroot.sh, 14patch_packages.sh: Added a simple system for patching
330 packages, mainly for xserver-xorg so far.
331
332 2006-08-28 Daniel Baumann <[email protected]>
333
334 * Updated documentation.
335 * Added patch from Alex Owen <[email protected]> to update
336 pxelinux.cfg for NFS root in casper.
337 * Uploaded 0.99.4.
338
339 2006-08-27 Daniel Baumann <[email protected]>
340
341 * Cleanups.
342
343 2006-08-27 Marco Amadori <[email protected]>
344
345 * Added sysv init blocking policy.
346
347 2006-08-22 Daniel Baumann <[email protected]>
348
349 * Reorganised sources.
350 * Added staging support.
351 * Cleaned up parameter names.
352 * testing is now supported.
353
354 2006-08-21 Daniel Baumann <[email protected]>
355
356 * Uploaded 0.99.3.
357
358 2006-08-02 Marco Amadori <[email protected]>
359
360 * Rewrote netboot support.
361 * Added support for pure directory rootfs images.
362
363 2006-07-31 Daniel Baumann <[email protected]>
364
365 * Uploaded 0.99.2.
366
367 2006-07-28 Daniel Baumann <[email protected]>
368
369 * Added DEBIAN_FRONTEND to chroots(), now completely non-interactive.
370 * Fixed wrong chroot patch.
371
372 2006-07-27 Marco Amadori <[email protected]>
373
374 * Changed amd64 kernel naming scheme.
375
376 2006-07-24 Daniel Baumann <[email protected]>
377
378 * Uploaded 0.99.1.
379
380 2006-07-19 Daniel Baumann <[email protected]>
381
382 * Bugfixes.
383
384 2006-07-18 Daniel Baumann <[email protected]>
385
386 * Added iso templates.
387
388 2006-07-17 Daniel Baumann <[email protected]>
389
390 * Added chroot to 01-patch.sh.
391 * Added "--logfile".
392 * Uploaded 0.99.
393
394 2006-07-01 Daniel Baumann <[email protected]>
395
396 * Added "--flavour".
397
398 2006-06-28 Daniel Baumann <[email protected]>
399
400 * Added "--debug" and "--verbose".
401
402 2006-06-23 Daniel Baumann <[email protected]>
403
404 * Rewritten manpages.
405
406 2006-06-19 Marco Amadori <[email protected]>
407
408 * Added "--templates" options.
409 * Fixed some typos.
410
411 2006-06-15 Daniel Baumann <[email protected]>
412
413 * General fixes.
414
415 2006-06-18 Marco Amadori <[email protected]>
416
417 * Added "-a|--architecture" and "-p|--package-list" options.
418 * Reworked how lists works.
419
420 2006-06-15 Daniel Baumann <[email protected]>
421
422 * General cleanup.
423
424 2006-06-14 Marco Amadori <[email protected]>
425
426 * Re-added "-f|--filesystem".
427
428 2006-06-12 Marco Amadori <[email protected]>
429
430 * Added "--conffile", "--preseed", "--clone", and "--rootfs" options.
431
432 2006-06-12 Daniel Baumann <[email protected]>
433
434 * Added new splash.rle.
435 * Added memtest86+.
436 * Added "--distribution", and "--section" options.
437 * Moved /etc/default/make-live to /etc/make-live.conf.
438
439 2006-06-11 Marco Amadori <[email protected]>
440
441 * Added handling of md5sums.
442
443 2006-06-09 Marco Amadori <[email protected]>
444
445 * Added splashy support.
446 * Added ext2 rootfs support.
447 * Added external hook and path support.
448 * Swiched to getopt.
449
450 2006-06-02 Daniel Baumann <[email protected]>
451
452 * Added patch from Jason D. Clinton <[email protected]>:
453 - Added netboot flavour.
454 - Thanks to SafeDesk Solutions <http://www.safedesk.com/>.
455
456 2006-06-01 Daniel Baumann <[email protected]>
457
458 * Moved syslinux inside the chroot.
459
460 2006-05-31 Daniel Baumann <[email protected]>
461
462 * Added kde-*i18n and standard-i18n lists.
463
464 2006-05-28 Daniel Baumann <[email protected]>
465
466 * Added patch from Frederic Lehobey <[email protected]>:
467 - Added locales to LIVE_PACKAGES.
468 - Added LIVE_MIRROR_KEY, LIVE_REPOSITORY, LIVE_REPOSITORY_KEY, and
469 LIVE_BOOTAPPEND.
470
471 2006-05-27 Daniel Baumann <[email protected]>
472
473 * Initial release.
0 commit 1f4cf146edbd72a2d61ac2e60324d392569c9f24
1 Author: Daniel Baumann <[email protected]>
2 Date: Wed Oct 14 13:35:25 2009 +0200
3
4 Updating vcs fields.
5
6 commit d1ab019de29691407e3bde1af2ff5efe9a284380
7 Author: Richard Nelson <[email protected]>
8 Date: Wed May 27 09:42:55 2009 -0500
9
10 Update quoting on variables for safety.
11
12 commit 601b25634d291706fc477342b712554a54c42016
13 Author: Richard Nelson <[email protected]>
14 Date: Sat Mar 14 22:19:41 2009 -0500
15
16 update copyright years
17
18 commit fed4e5adfd49b339bec16b0338b73f9f90ca40ce
19 Author: Richard Nelson <[email protected]>
20 Date: Sat Mar 14 21:47:27 2009 -0500
21
22 Set lenny as defualt build
23
24 commit 083a14f46cc1298b33908991dea145cf4ec7415d
25 Author: Richard Nelson <[email protected]>
26 Date: Sun Nov 30 16:41:15 2008 -0600
27
28 Bug fix on usb-hdd builds.
29
30 commit 7742576d3a9b84807c6456007ad3bc0147ca3024
31 Author: Richard Nelson <[email protected]>
32 Date: Thu Nov 27 22:44:51 2008 -0600
33
34 Remove -x flag left on cron during debug operations.
35
36 commit 6817dca69fd0c53578c1e14c9c5333d5be94419d
37 Author: Richard Nelson <[email protected]>
38 Date: Thu Nov 27 22:42:58 2008 -0600
39
40 Update to start using more live-helper functions.
41
42 commit 649fc3a0fac8eae1b8a239a9ba250e89f4b89dfd
43 Author: Richard Nelson <[email protected]>
44 Date: Wed Nov 26 22:13:57 2008 -0600
45
46 Update Copyright (C) to 2007-2008
47
48 commit 5449c921111b2f300006cc41d7b6582270959a82
49 Author: Daniel Baumann <[email protected]>
50 Date: Fri Nov 7 18:08:01 2008 +0100
51
52 Replacing obsolete dh_clean -k with dh_prep.
53
54 commit cd7a4a353ae652a45057da5726467e23401be52d
55 Author: Richard Nelson <[email protected]>
56 Date: Tue Nov 4 18:40:06 2008 -0600
57
58 Bug fix on custom bootstrap and custom binary.
59
60 commit fc227fc32f06ba8e5af8c9ebdcd147f98790b6ea
61 Author: Richard Nelson <[email protected]>
62 Date: Thu Oct 2 17:24:37 2008 -0500
63
64 Bug fix in netboot server and path.
65
66 commit 446a99439bfee38c89615e1e24bb4729b2223e9e
67 Author: Richard Nelson <[email protected]>
68 Date: Mon Sep 8 21:39:37 2008 -0500
69
70 Include common functions from live-helper for code reuse.
71
72 commit 359e51591318966e97128b00bff38c62d07c6827
73 Author: Richard Nelson <[email protected]>
74 Date: Mon Sep 8 21:35:52 2008 -0500
75
76 Added test for unmounting devpts-live.
77
78 commit 3fdcc59654986d57f014b6c6721b2a3abde2f722
79 Author: Richard Nelson <[email protected]>
80 Date: Mon Sep 8 21:29:41 2008 -0500
81
82 Local variable prefix with _ on VAR i.e. _VAR
83
84 commit 4bbf10e31754f290d3aa0e158a45d09316487544
85 Author: Richard Nelson <[email protected]>
86 Date: Mon Sep 8 16:12:22 2008 -0500
87
88 Local variable LH_ removal/cleanup.
89
90 commit 472a6a0825656fbc16f4df6cb19bb16e1df8605f
91 Author: Richard Nelson <[email protected]>
92 Date: Mon Sep 8 16:02:36 2008 -0500
93
94 Minor local variable confusion for LH_ prefix cleanup.
95
96 commit df23442fca1c727dd43ca1ea464b277e3617cb0f
97 Author: Richard Nelson <[email protected]>
98 Date: Mon Sep 8 15:59:08 2008 -0500
99
100 Upgrade variables to have the LH_ prefix for LH_* variable, to work with the current live-helper version.
101
102 commit f00e0cb212e0c84268e099ca35ca386982e4d82b
103 Author: Daniel Baumann <[email protected]>
104 Date: Sun Sep 7 21:57:51 2008 +0200
105
106 Removing currently unused Upstream-Depends field in control.
107
108 commit 4c85494fa2907a54dd99eaf17816a4d403ddb5bc
109 Author: Daniel Baumann <[email protected]>
110 Date: Sun Sep 7 21:57:41 2008 +0200
111
112 Updating vcs fields in control file.
113
114 commit eaf87ebd9f828740430cc60d3e9f201d88c67c25
115 Author: Daniel Baumann <[email protected]>
116 Date: Thu Aug 28 23:40:35 2008 +0200
117
118 Setting project email address to the new [email protected].
119
120 commit 6fbca8e14be271dc62988d5555bba9f453ddbaa7
121 Author: Daniel Baumann <[email protected]>
122 Date: Wed Apr 23 18:50:17 2008 +0200
123
124 Updating Richards email address.
125
126 commit 25e1e7bc4f6a095aaf248a80aeaa3795f4a3e3a9
127 Author: Daniel Baumann <[email protected]>
128 Date: Tue Oct 30 11:04:42 2007 +0100
129
130 Correcting vcs fields.
131
132 commit c49d9ff77bd5be73d5367fd567a9e39fccf78410
133 Author: Daniel Baumann <[email protected]>
134 Date: Wed Oct 3 09:11:29 2007 +0200
135
136 Fixing wrong homepage field.
137
138 commit 8e01ba16a737d04a0367ecf1d4f3d7f80437fe97
139 Author: Daniel Baumann <[email protected]>
140 Date: Sun Sep 23 16:04:04 2007 +0200
141
142 Using new Homepage field now.
143
144 commit 49ca83a4d57051b2b4b4b950178063c6df25e222
145 Author: Daniel Baumann <[email protected]>
146 Date: Sun Sep 23 16:04:04 2007 +0200
147
148 Adding Upstream-Depends field.
149
150 commit 39a9d3e82c71451734f0d4ddb630b67c9d55541a
151 Author: Daniel Baumann <[email protected]>
152 Date: Sun Sep 23 16:04:04 2007 +0200
153
154 Moving from svn to git.
155
156 commit 7e823babbe815bdf520becbfd6f4ccec814aa7e2
157 Author: Daniel Baumann <[email protected]>
158 Date: Sun Sep 23 16:04:03 2007 +0200
159
160 Removing not uploaded versions.
161
162 commit 46e8777246485a15fc6d5a202a361662f4e724b5
163 Author: Daniel Baumann <[email protected]>
164 Date: Sun Sep 23 16:03:52 2007 +0200
165
166 Adding live-webhelper trunk 20070911.
167
168 2007-07-19 Daniel Baumann <[email protected]>
169
170 * Introducing build modes.
171
172 2007-07-14 Daniel Baumann <[email protected]>
173
174 * scripts/cgi:
175 - Quick fix in EMAIL.
176
177 2007-06-04 Daniel Baumann <[email protected]>
178
179 * templates/form.html:
180 - Set default source image to 'generic'.
181 * Starting live-webhelper.
0 #!/bin/sh
1
2 lb build noauto "${@}" 2>&1 | tee build.log
0 #!/bin/sh
1
2 lb clean noauto "${@}"
3
4 rm -f config/binary config/bootstrap config/chroot config/common config/source
5 rm -f build.log
0 #!/bin/sh
1
2 lb config noauto \
3 "${@}"
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Removing unused packages
13 for PACKAGE in apt-utils aptitude man-db manpages info wget
14 do
15 if ! apt-get remove --purge --yes "${PACKAGE}"
16 then
17 echo "WARNING: ${PACKAGE} isn't installed"
18 fi
19 done
20
21 apt-get autoremove --yes || true
22
23 # Removing unused files
24 find . -name *~ -print0 | xargs -0 rm -f
25
26 rm -rf /var/cache/man/*
27
28 # Truncating logs
29 for FILE in $(find /var/log/ -type f)
30 do
31 : > ${FILE}
32 done
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # WARNING: Using this hook will result in a stripped system, means,
13 # it may very well be possible that other packages are depending
14 # on certain files that get removed here.
15 # Therefore, this hooks is merely an inspiration for what could be
16 # removed and not a generic nor recommendet solution to get the
17 # image filesize down. In any event, using this hook can lead to
18 # unforseen bugs and breakages in other packages and you should
19 # be prepared to find and fix it for your own images.
20
21 # Removing unused packages
22 for PACKAGE in apt-utils aptitude man-db manpages info wget dselect
23 do
24 if ! apt-get remove --purge --yes "${PACKAGE}"
25 then
26 echo "WARNING: ${PACKAGE} isn't installed"
27 fi
28 done
29
30 apt-get autoremove --yes || true
31
32 # Removing unused files
33 find . -name *~ | xargs rm -f
34
35 rm -rf /usr/include/*
36 #rm -rf /usr/share/groff/*
37 rm -rf /usr/share/doc/*
38 rm -rf /usr/share/locale/*
39 rm -rf /usr/share/man/*
40 rm -rf /usr/share/i18n/*
41 rm -rf /usr/share/info/*
42 rm -rf /usr/share/lintian/*
43 rm -rf /usr/share/linda/*
44 rm -rf /usr/share/zoneinfo/*
45 rm -rf /var/cache/man/*
46
47 # Truncating logs
48 for FILE in $(find /var/log/ -type f)
49 do
50 : > ${FILE}
51 done
0 # Makefile
1
2 install:
3 install -D -m 0755 live-build-cgi $(DESTDIR)/usr/lib/cgi-bin/live-build
4 install -D -m 0755 live-build-cgi.cron $(DESTDIR)/etc/cron.hourly/live-build-cgi
5 install -D -m 0644 live-build-cgi.crontab $(DESTDIR)/etc/cron.d/live-build-cgi
6 install -D -m 0644 live-build-cgi.default $(DESTDIR)/etc/default/live-build-cgi
7 install -D -m 0644 live-build-cgi.logrotate $(DESTDIR)/etc/logrotate.d/live-build-cgi
8
9 install -d -m 0755 $(DESTDIR)/var/log
10 touch $(DESTDIR)/var/log/live
11 chown www-data:www-data $(DESTDIR)/var/log/live
12
13 uninstall:
14 rm -f $(DESTDIR)/usr/lib/cgi-bin/live-build
15 rm -f $(DESTDIR)/etc/cron.d/live-build-cgi
16 rm -f $(DESTDIR)/etc/cron.hourly/live-build-cgi
17 rm -f $(DESTDIR)/etc/default/live-build-cgi
18 rm -f $(DESTDIR)/etc/logrotate.d/live-build-cgi
19
20 reinstall: uninstall install
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 # Including common functions
11 . /usr/lib/live/build.sh
12
13 # Reading defaults
14 if [ -r /etc/default/live-build-cgi ]
15 then
16 . /etc/default/live-build-cgi
17 else
18 echo "E: /etc/default/live-build-cgi missing"
19 exit 1
20 fi
21
22 _HOSTNAME="$(hostname -f)"
23
24 # Turn on debug if true
25 if [ "${_DEBUG}" = "true" ]
26 then
27 set -x
28 fi
29
30 # Sending http header
31 echo "Content-type: text/html"
32 echo
33
34 # Sending html header
35 cat "${_TEMPLATES}"/header.html
36
37 # CGI
38 if [ -z "${QUERY_STRING}" ]
39 then
40 # Sending html form
41 sed -e "s/VERSION/${VERSION}/" \
42 -e "s/DATE/`date +%Y%m%d-%H:%M`/" \
43 "${_TEMPLATES}"/form.html
44 else
45 # Converting spaces: sed 's/+/ /g'
46 # Converting '@': sed 's/%40/@/g'
47 # Converting ':': sed 's/%3A/:/g'
48 # Converting ';': sed 's/%3B/\;/g'
49 # Converting '/': sed 's/%2F/\//g'
50 # Converting '~': sed 's/%7E/\~/g'
51 # Converting '=': sed 's/%3D/=/g'
52 # Converting '+': sed 's/%2B/+/g'
53
54 # Translate parameters
55 QUERY_STRING=$(echo "${QUERY_STRING}" | sed -e 's/%2F/\//g' -e 's/+/ /g' -e 's/%3B/;/g' -e 's/%7E/~/g' -e 's/%3A/:/g' -e 's/%40/@/g' -e 's/%3D/=/g' -e 's/%2B/+/g')
56 # Debug the filtering string
57 # echo ${QUERY_STRING}
58
59 # Email
60 _EMAIL=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])email=[-0-9a-zA-Z._@]+' | cut -f 2 -d '=' | head -n1)
61
62 # CGI Packages List
63 _LB_CGIPACKAGES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])cgipackages=[-0-9a-zA-Z. _+]+' | cut -f 2 -d '=' | head -n1)
64
65 # CGI Config for git
66 _LB_CONFIG=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])config=[-a-z]+' | cut -f 2 -d '=' | head -n1)
67
68 # Standard options
69 LB_BINARY_IMAGES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])binary_images=[-a-z]+' | cut -f 2 -d '=' | head -n1)
70 LB_DISTRIBUTION=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])distribution=[a-z]+' | cut -f 2 -d '=' | head -n1)
71
72 # Advanced bootstrap options
73 LB_ARCHITECTURES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])architectures=[0-9a-z]+' | cut -f 2 -d '=' | head -n1)
74 LB_ARCHIVE_AREAS=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])archive_areas=[a-z]+' | cut -f 2 -d '=' | head -n1)
75
76 # Advanced chroot options
77 LB_CHROOT_FILESYSTEM=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])chroot_filesystem=[0-9a-z]+' | cut -f 2 -d '=' | head -n1)
78 LB_LINUX_FLAVOURS=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])linux_flavours=[-0-9a-z]+' | cut -f 2 -d '=' | head -n1)
79 LB_SECURITY=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])security=[a-z]+' | cut -f 2 -d '=' | head -n1)
80
81 # Advanced binary options
82 LB_APT_INDICES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])apt_indices=[a-z]+' | cut -f 2 -d '=' | head -n1)
83 LB_BOOTAPPEND_INSTALL=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])bootappend_install=[-0-9a-zA-Z. _+=:/]+' | cut -f2- -d '=' | head -n1)
84 LB_BOOTAPPEND_LIVE=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])bootappend_live=[-0-9a-zA-Z. _+=:/]+' | cut -f2- -d '=' | head -n1)
85 LB_BOOTLOADER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])bootloader=[a-z]+' | cut -f 2 -d '=' | head -n1)
86 LB_DEBIAN_INSTALLER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])debian_installer=[a-z]+' | cut -f 2 -d '=' | head -n1)
87 LB_ISO_APPLICATION=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])iso_application=[-0-9a-zA-Z. ~;:/_]+' | cut -f 2 -d '=' | head -n1)
88 LB_ISO_PREPARER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])iso_preparer=[-0-9a-zA-Z. ~;:/_]+' | cut -f 2 -d '=' | head -n1)
89 LB_ISO_PUBLISHER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])iso_publisher=[-0-9a-zA-Z. ~;:/_@]+' | cut -f 2 -d '=' | head -n1)
90 LB_ISO_VOLUME=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])iso_volume=[-0-9a-zA-Z. ~;:/_]+' | cut -f 2 -d '=' | head -n1)
91 LB_MEMTEST=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])memtest=[0-9a-z+]+' | cut -f 2 -d '=' | head -n1)
92 LB_NET_ROOT_PATH=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])net_path=[-0-9a-zA-Z._/]+' | cut -f 2 -d '=' | head -n1)
93 LB_NET_ROOT_SERVER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])net_server=[0-9.]+' | cut -f 2 -d '=' | head -n1)
94
95 # Advanced source options
96 LB_SOURCE=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])source=[a-z]+' | cut -f 2 -d '=' | head -n1)
97 LB_SOURCE_IMAGES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])source_images=[a-z]+' | cut -f 2 -d '=' | head -n1)
98
99 # FIXME: filter invalid options
100 unset QUERY_STRING
101
102 if [ -z "${_EMAIL}" ]
103 then
104 echo "<h2><div style='color: red;'>Error: No email address specified.</div></h2>"
105
106 sed -e "s/VERSION/${VERSION}/" \
107 -e "s/DATE/`date +%Y%m%d-%H:%M`/" \
108 "${_TEMPLATES}"/form.html
109
110 exit
111 fi
112
113 # Getting build identifier
114 _BUILD=$(date +%Y%m%d.%H%M%S.%N)
115
116 # Getting number of builds pending.
117 _QUEUENUM=$(ls "${_TEMPDIR}"/*.build | wc -l)
118
119 #echo "${QUERY_STRING}"
120 # Sending html confirmation
121 # Note: On each string remember to use a delimeter that is not in the string.
122 sed -e "s/BUILD/${_BUILD}/g" \
123 -e "s/EMAIL/${_EMAIL}/" \
124 -e "s/QUEUENUM/${_QUEUENUM}/" \
125 -e "s/LB_BINARY_IMAGES/${LB_BINARY_IMAGES}/" \
126 -e "s/LB_DISTRIBUTION/${LB_DISTRIBUTION}/" \
127 -e "s#_LB_CONFIG#${_LB_CONFIG}#" \
128 -e "s/_LB_CGIPACKAGES/${_LB_CGIPACKAGES}/" \
129 -e "s/LB_ARCHITECTURES/${LB_ARCHITECTURES}/" \
130 -e "s/LB_ARCHIVE_AREAS/${LB_ARCHIVE_AREAS}/" \
131 -e "s/LB_CHROOT_FILESYSTEM/${LB_CHROOT_FILESYSTEM}/" \
132 -e "s/LB_LINUX_FLAVOURS/${LB_LINUX_FLAVOURS}/" \
133 -e "s/LB_SECURITY/${LB_SECURITY}/" \
134 -e "s/LB_APT_INDICES/${LB_APT_INDICES}/" \
135 -e "s#LB_BOOTAPPEND_INSTALL#${LB_BOOTAPPEND_INSTALL}#" \
136 -e "s#LB_BOOTAPPEND_LIVE#${LB_BOOTAPPEND_LIVE}#" \
137 -e "s/LB_BOOTLOADER/${LB_BOOTLOADER}/" \
138 -e "s/LB_DEBIAN_INSTALLER/${LB_DEBIAN_INSTALLER}/" \
139 -e "s#LB_ISO_APPLICATION#${LB_ISO_APPLICATION}#" \
140 -e "s#LB_ISO_PREPARER#${LB_ISO_PREPARER}#" \
141 -e "s#LB_ISO_PUBLISHER#${LB_ISO_PUBLISHER}#" \
142 -e "s#LB_ISO_VOLUME#${LB_ISO_VOLUME}#" \
143 -e "s/LB_MEMTEST/${LB_MEMTEST}/" \
144 -e "s#LB_NET_ROOT_PATH#${LB_NET_ROOT_PATH}#" \
145 -e "s/LB_NET_ROOT_SERVER/${LB_NET_ROOT_SERVER}/" \
146 -e "s#SERVER#${_SERVER}#g" \
147 -e "s/LB_SOURCE_IMAGES/${LB_SOURCE_IMAGES}/" \
148 -e "s/LB_SOURCE/${LB_SOURCE}/" \
149 "${_TEMPLATES}"/build.html
150
151 # Creating temporary directory
152 mkdir -p "${_TEMPDIR}"
153
154 # Writing build file
155 cat > "${_TEMPDIR}"/"${_BUILD}".build << EOF
156 # live-build-cgi "${VERSION}" build file
157 # `date -R`
158
159 _BUILD="${_BUILD}"
160 _EMAIL="${_EMAIL}"
161
162 REMOTE_ADDR="${REMOTE_ADDR}"
163
164 # CGI Packages List
165 _LB_CGIPACKAGES="${_LB_CGIPACKAGES}"
166
167 # CGI Config for git
168 _LB_CONFIG="${_LB_CONFIG}"
169
170 # Standard options
171 LB_BINARY_IMAGES="${LB_BINARY_IMAGES}"
172 LB_DISTRIBUTION="${LB_DISTRIBUTION}"
173
174 # Advanced bootstrap options
175 LB_ARCHITECTURES="${LB_ARCHITECTURES}"
176 LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS}"
177
178 # Advanced chroot options
179 LB_CHROOT_FILESYSTEM="${LB_CHROOT_FILESYSTEM}"
180 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS}"
181 LB_SECURITY="${LB_SECURITY}"
182
183 # Advanced binary options
184 LB_APT_INDICES="${LB_APT_INDICES}"
185 LB_BOOTAPPEND_INSTALL="${LB_BOOTAPPEND_INSTALL}"
186 LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE}"
187 LB_BOOTLOADER="${LB_BOOTLOADER}"
188 LB_DEBIAN_INSTALLER="${LB_DEBIAN_INSTALLER}"
189 LB_ISO_APPLICATION="${LB_ISO_APPLICATION}"
190 LB_ISO_PREPARER="${LB_ISO_PREPARER}"
191 LB_ISO_PUBLISHER="${LB_ISO_PUBLISHER}"
192 LB_ISO_VOLUME="${LB_ISO_VOLUME}"
193 LB_MEMTEST="${LB_MEMTEST}"
194 LB_NET_ROOT_PATH="${LB_NET_ROOT_PATH}"
195 LB_NET_ROOT_SERVER="${LB_NET_ROOT_SERVER}"
196
197 # Advanced source options
198 LB_SOURCE_IMAGES="${LB_SOURCE_IMAGES}"
199 LB_SOURCE="${LB_SOURCE}"
200
201 EOF
202
203 echo "$(date +%b\ %d\ %H:%M:%S) ${_HOSTNAME} live-build-cgi: add web build (${_BUILD}) from ${REMOTE_ADDR}." >> /var/log/live
204 echo "$(date +%b\ %d\ %H:%M:%S) ${_HOSTNAME} live-build-cgi: options ${_BUILD} |email ${_EMAIL}|binary_images ${LB_BINARY_IMAGES}|distribution ${LB_DISTRIBUTION}|config ${_LB_CONFIG}|cgipackages ${_LB_CGIPACKAGES}|architectures ${LB_ARCHITECTURES}|archive_areas ${LB_ARCHIVE_AREAS}|chroot_filesystem ${LB_CHROOT_FILESYSTEM}|linux_flavours ${LB_LINUX_FLAVOURS}|security ${LB_SECURITY}|apt_indices ${LB_APT_INDICES}|bootappend_install ${LB_BOOTAPPEND_INSTALL}|bootappend_live ${LB_BOOTAPPEND_LIVE}|bootloader ${LB_BOOTLOADER}|debian_installer ${LB_DEBIAN_INSTALLER}|iso_application ${LB_ISO_APPLICATION}|iso_preparer ${LB_ISO_PREPARER}|iso_publisher ${LB_ISO_PUBLISHER}|iso_volume ${LB_ISO_VOLUME}|memtest ${LB_MEMTEST}|net_path ${LB_NET_ROOT_PATH}|net_server ${LB_NET_ROOT_SERVER}|source_images ${LB_SOURCE_IMAGES}|sources ${LB_SOURCE}" >> /var/log/live
205 fi
206
207 sed -e "s/VERSION/${VERSION}/" "${_TEMPLATES}"/footer.html
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9 # Including common functions
10 . /usr/lib/live/build.sh
11
12 # Reading defaults
13 if [ -r /etc/default/live-build-cgi ]
14 then
15 . /etc/default/live-build-cgi
16 else
17 echo "E: /etc/default/live-build-cgi missing"
18 exit 1
19 fi
20
21 # Exit if disabled
22 if [ "${_WEBBUILD}" != "true" ]
23 then
24 exit 0
25 fi
26
27 _HOSTNAME="$(hostname -f)"
28
29 # Turn on debug if true
30 if [ "${_DEBUG}" = "true" ]
31 then
32 set -x
33 fi
34
35 # Checking lock file
36 if [ -f /var/lock/live-build-cgi.lock ]
37 then
38 echo "E: live-build-cgi already/still running."
39 exit 1
40 fi
41
42 # Creating lock trap
43 trap "test -f /var/lock/live-build-cgi.lock && rm -f /var/lock/live-build-cgi.lock; exit 0" 0 1 2 3 9 15
44
45 # Creating lock file
46 touch /var/lock/live-build-cgi.lock
47
48 # Cleanup old builds: cron should be run at least once per hour to take effect
49 if ls "${_DESTDIR}"/`date -d yesterday +%Y%m%d.%H`* > /dev/null 2>&1
50 then
51 rm -rf "${_DESTDIR}"/`date -d yesterday +%Y%m%d.%H`*
52
53 echo "`date +%b\ %d\ %H:%M:%S` ${_HOSTNAME} live-build-cgi: remove web build (`date -d yesterday +%Y%m%d.%H`*)." >> /var/log/live
54 fi
55
56 # Ok from here spin through the live-build-cgi files we have waiting to build
57 #if ls "${_TEMPDIR}"/*.build > /dev/null 2>&1
58 if Find_files ${_TEMPDIR}/*.build
59 then
60 for _FILE in "${_TEMPDIR}"/*.build
61 do
62 # Pull in variables from the build file.
63 . "${_FILE}"
64
65 # Clone the git config to target build directory
66 git clone ${_LB_GIT} "${_TEMPDIR}"/"${_BUILD}" >> /var/log/live
67 _ERRORGIT="${?}"
68
69 # Now set a variable for the correct build path
70 _BUILD_PATH="${_TEMPDIR}/${_BUILD}/images/${_LB_CONFIG}"
71
72 # Drop out some build data for information if something goes wrong.
73 echo "`date +%b\ %d\ %H:%M:%S` ${_HOSTNAME} live-build-cgi: begin web build (${_BUILD})." >> /var/log/live
74
75 # Creating directory for the config/package-lists
76 mkdir -p "${_BUILD_PATH}"/config/package-lists
77
78 # Add cgipackages.list.chroot
79 if [ -n "${_LB_CGIPACKAGES}" ]
80 then
81 echo "${_LB_CGIPACKAGES}" > "${_BUILD_PATH}"/config/package-lists/cgipackages.list.chroot
82 fi
83
84 _DATE_START="`date -R`"
85 echo "Begin: ${_DATE_START}" > "${_BUILD_PATH}"/log
86
87 # Generating config here
88 if [ "${_ERRORGIT}" -eq "0" ]
89 then
90 cd "${_BUILD_PATH}"
91 # Do config with git and stack on config file params to build
92 lb config --distribution "${LB_DISTRIBUTION}" --architectures "${LB_ARCHITECTURES}" --archive-areas "${LB_ARCHIVE_AREAS}" --chroot-filesystem "${LB_CHROOT_FILESYSTEM}" --linux-flavours "${LB_LINUX_FLAVOURS}" --security "${LB_SECURITY}" --apt-indices "${LB_APT_INDICES}" --bootappend-install "${LB_BOOTAPPEND_INSTALL}" --bootappend-live "${LB_BOOTAPPEND_LIVE}" --bootloader "${LB_BOOTLOADER}" --debian-installer "${LB_DEBIAN_INSTALLER}" --iso-application "${LB_ISO_APPLICATION}" --iso-preparer "${LB_ISO_PREPARER}" --iso-publisher "${LB_ISO_PUBLISHER}" --iso-volume "${LB_ISO_VOLUME}" --memtest "${LB_MEMTEST}" --net-root-path "${LB_NET_ROOT_PATH}" --net-root-server "${LB_NET_ROOT_SERVER}" --source-images "${LB_SOURCE_IMAGES}" --source "${LB_SOURCE}"
93 _ERRORCONFIG="${?}"
94 else
95 echo "Config stage skipped. The git clone produced an error: ${_ERRORGIT}" > "${_BUILD_PATH}"/log
96 fi
97
98 # Run build if config went ok
99 if [ "${_ERRORCONFIG}" -eq "0" ]
100 then
101 lb build >> "${_BUILD_PATH}"/log 2>&1
102 _ERRORBUILD="${?}"
103 else
104 echo "Build stage skipped. Config produced an error: ${_ERRORCONFIG}" > "${_BUILD_PATH}"/log
105 fi
106
107 _DATE_END="`date -R`"
108 echo "End: ${_DATE_END}" >> "${_BUILD_PATH}"/log
109
110 # Creating image directory
111 mkdir -p "${_DESTDIR}"/"${_BUILD}"
112
113 # Creating mail and logging.
114 if [ "${_ERRORGIT}" -eq "0" ] && [ "${_ERRORCONFIG}" -eq "0" ] && [ "${_ERRORBUILD}" -eq "0" ]
115 then
116 _STATUS="maybe-successful"
117 echo "${REMOTE_ADDR} - - `date +[%d/%b/%Y:%H:%m:%S\ %z]` \"${_BUILD} ${LB_ARCHITECTURES}/${LB_DISTRIBUTION}/${_LB_CGIPACKAGES}\" 200 - \"-\" \"\"">>/var/log/live-cgi.builds
118 else
119 _STATUS="maybe-failed"
120 echo "${REMOTE_ADDR} - - `date +[%d/%b/%Y:%H:%m:%S\ %z]` \"${_BUILD} ${LB_ARCHITECTURES}/${LB_DISTRIBUTION}/${_LB_CGIPACKAGES}\" 404 - \"-\" \"\"">>/var/log/live-cgi.builds
121 fi
122
123 sed -e "s/BUILD/${_BUILD}/g" \
124 -e "s/EMAIL/${_EMAIL}/" \
125 -e "s/VERSION/${VERSION}/" \
126 -e "s/DATE_START/${_DATE_START}/" \
127 -e "s/DATE_END/${_DATE_END}/" \
128 -e "s/STATUS/${_STATUS}/" \
129 -e "s#SERVER#${_SERVER}#" \
130 "${_TEMPLATES}"/mail.txt > "${_DESTDIR}"/"${_BUILD}"/mail
131
132 cat >> "${_DESTDIR}"/"${_BUILD}"/mail << EOF
133
134 ---
135
136 Here's a list of all build-options that were used to build your image:
137
138 EOF
139
140 cat "${_TEMPDIR}"/"${_BUILD}".build >> "${_DESTDIR}"/"${_BUILD}"/mail
141
142 # Moving binary image
143 #if ls "${_TEMPDIR}"/"${_BUILD}"/binary*.* > /dev/null 2>&1
144 if Find_files ${_BUILD_PATH}/binary*.*
145 then
146 mv "${_BUILD_PATH}"/binary*.* "${_DESTDIR}"/"${_BUILD}"
147 fi
148
149 # Moving source image
150 #if ls "${_TEMPDIR}"/"${_BUILD}"/source.* > /dev/null 2>&1
151 if Find_files ${_BUILD_PATH}/source.*
152 then
153 mv "${_BUILD_PATH}"/source.* "${_DESTDIR}"/"${_BUILD}"
154 fi
155
156 # Moving build
157 mv "${_TEMPDIR}"/"${_BUILD}".build "${_DESTDIR}"/"${_BUILD}"/build
158
159 # Moving log
160 mv "${_BUILD_PATH}"/log "${_DESTDIR}"/"${_BUILD}"
161
162 # Generating md5sum
163 cd "${_DESTDIR}"/"${_BUILD}"
164 md5sum * > md5sum
165 cd "${OLDPWD}"
166
167 # Sending mail
168 cat "${_DESTDIR}"/"${_BUILD}"/mail | /usr/sbin/sendmail -t
169
170 # Unmounting devpts-live
171 #if ls "${_TEMPDIR}"/"${_BUILD}"/chroot/dev/pts/* > /dev/null 2>&1
172 if Find_files ${_BUILD_PATH}/chroot/dev/pts/*
173 then
174 umount "${_BUILD_PATH}"/chroot/dev/pts
175 fi
176
177 # Unmounting proc
178 if [ -f "${_BUILD_PATH}"/chroot/proc/version ]
179 then
180 umount "${_BUILD_PATH}"/chroot/proc
181 fi
182
183 # Unmounting sysfs
184 if [ -d "${_BUILD_PATH}"/chroot/sys/kernel ]
185 then
186 umount "${_BUILD_PATH}"/chroot/sys
187 fi
188
189 # Removing build directory
190 rm -rf "${_TEMPDIR}"/"${_BUILD}"
191
192 echo "`date +%b\ %d\ %H:%M:%S` ${_HOSTNAME} live-build-cgi: end web build (${_BUILD}: ${_STATUS})." >> /var/log/live
193 done
194 fi
0 # /etc/crontab - system-wide crontab
1
2 SHELL=/bin/sh
3 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
4
5 # m h dom mon dow user command
6 */1 * * * * root /etc/cron.hourly/live-build-cgi > /dev/null 2>&1
0 # Defaults for /etc/cron.daily/live-build-cgi
1
2 _WEBBUILD="false"
3
4 _MODE="debian"
5
6 _DEBUG="false"
7
8 _DESTDIR="/srv/debian-live/build/www"
9 _TEMPLATES="/usr/share/live/build/templates/cgi/${_MODE}"
10 _TEMPDIR="/srv/debian-live/build/tmp"
11
12 _SERVER="http://live.debian.net/build"
13
14 _LB_GIT="git://live-systems.org/git/live-images.git"
0 # /etc/logrotate.d/live-build
1
2 /var/log/live
3 {
4 compress
5 copytruncate
6 missingok
7 monthly
8 notifempty
9 rotate 24
10 }
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 Find_files ()
11 {
12 (ls "${@}" | grep -qs .) > /dev/null 2>&1
13 }
14
15 In_list ()
16 {
17 NEEDLES="${1}"
18 shift
19
20 for ITEM in ${@}
21 do
22 for NEEDLE in ${NEEDLES}
23 do
24 if [ "${NEEDLE}" = "${ITEM}" ]
25 then
26 return 0
27 fi
28 done
29 done
30
31 return 1
32 }
33
34 Truncate ()
35 {
36 for FILE in ${@}
37 do
38 : > ${FILE}
39 done
40 }
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 Check_architectures ()
11 {
12 ARCHITECTURES="${@}"
13 VALID="false"
14
15 for ARCHITECTURE in ${ARCHITECTURES}
16 do
17 if [ "$(echo ${LB_ARCHITECTURES} | grep ${ARCHITECTURE})" ]
18 then
19 VALID="true"
20 break
21 fi
22 done
23
24 if [ "${ARCHITECTURES}" = "${LB_BOOTSTRAP_QEMU_ARCHITECTURES}" ]
25 then
26 VALID="true"
27
28 if [ ! -e "${LB_BOOTSTRAP_QEMU_STATIC}" ]
29 then
30 Echo_warning "skipping %s, qemu-static binary ${LB_BOOTSTRAP_QEMU_ARCHITECTURES} was not found"
31 VALID="false"
32 fi
33
34 if [ ! -x "${LB_BOOTSTRAP_QEMU_STATIC}" ]
35 then
36 Echo_warning "skipping %s, qemu-static binary ${LB_BOOTSTRAP_QEMU_STATIC} is not executable"
37 VALID="false"
38 fi
39
40 fi
41
42 if [ "${VALID}" = "false" ]
43 then
44 Echo_warning "skipping %s, foreign architecture(s)." "${0}"
45 exit 0
46 fi
47 }
48
49 Check_crossarchitectures ()
50 {
51 if [ -x /usr/bin/dpkg ]
52 then
53 HOST="$(dpkg --print-architecture)"
54 else
55 HOST="$(uname -m)"
56 fi
57
58 case "${HOST}" in
59 amd64|i386|x86_64)
60 CROSS="amd64 i386"
61 ;;
62
63 powerpc|ppc64)
64 CROSS="powerpc ppc64"
65 ;;
66
67 *)
68 CROSS="${HOST}"
69 ;;
70 esac
71
72 if [ "${LB_ARCHITECTURES}" = "${LB_BOOTSTRAP_QEMU_ARCHITECTURES}" ]
73 then
74
75 if [ ! -e "${LB_BOOTSTRAP_QEMU_STATIC}" ]
76 then
77 Echo_warning "skipping %s, qemu-static binary ${LB_BOOTSTRAP_QEMU_ARCHITECTURES} was not found"
78 exit 0
79 fi
80
81 if [ ! -x "${LB_BOOTSTRAP_QEMU_STATIC}" ]
82 then
83 Echo_warning "skipping %s, qemu-static binary ${LB_BOOTSTRAP_QEMU_STATIC} is not executable"
84 exit 0
85 fi
86 return
87 fi
88
89
90 Check_architectures "${CROSS}"
91 }
92
93 Check_multiarchitectures ()
94 {
95 if [ "$(echo ${LB_ARCHITECTURES} | wc -w)" -gt "1" ]
96 then
97 # First, only support multiarch on iso
98 case "${LB_BINARY_IMAGES}" in
99 iso*)
100 # Assemble multi-arch
101 case "${LB_CURRENT_ARCHITECTURE}" in
102 amd64)
103 DESTDIR="${DESTDIR}.amd"
104 DESTDIR_LIVE="${DESTDIR_LIVE}.amd"
105 DESTDIR_INSTALL="${DESTDIR_INSTALL}.amd"
106 ;;
107
108 i386)
109 DESTDIR="${DESTDIR}.386"
110 DESTDIR_LIVE="${DESTDIR_LIVE}.386"
111 DESTDIR_INSTALL="${DESTDIR_INSTALL}.386"
112 ;;
113
114 powerpc)
115 DESTDIR="${DESTDIR}.ppc"
116 DESTDIR_LIVE="${DESTDIR_LIVE}.ppc"
117 DESTDIR_INSTALL="${DESTDIR_INSTALL}.ppc"
118 ;;
119 esac
120 ;;
121 esac
122 fi
123 }
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 Arguments ()
11 {
12 ARGUMENTS="$(getopt --longoptions breakpoints,conffile:,debug,force,help,quiet,usage,verbose,version --name=${PROGRAM} --options c:huv --shell sh -- "${@}")"
13
14 if [ "${?}" != "0" ]
15 then
16 Echo_error "terminating" >&2
17 exit 1
18 fi
19
20 eval set -- "${ARGUMENTS}"
21
22 while true
23 do
24 case "${1}" in
25 --breakpoints)
26 _BREAKPOINTS="true"
27 shift
28 ;;
29
30 -c|--conffile)
31 _CONFFILE="${2}"
32 shift 2
33 ;;
34
35 --debug)
36 _DEBUG="true"
37 shift
38 ;;
39
40 --force)
41 _FORCE="true"
42 shift
43 ;;
44
45 -h|--help)
46 Man
47 shift
48 ;;
49
50 --quiet)
51 _QUIET="true"
52 shift
53 ;;
54
55 -u|--usage)
56 Usage
57 shift
58 ;;
59
60 --verbose)
61 _VERBOSE="true"
62 shift
63 ;;
64
65 -v|--version)
66 echo "${VERSION}"
67 exit 0
68 ;;
69
70 --)
71 shift
72 break
73 ;;
74
75 *)
76 Echo_error "internal error %s" "${0}"
77 exit 1
78 ;;
79 esac
80 done
81 }
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 Breakpoint ()
11 {
12 NAME="${1}"
13
14 if [ "${_BREAKPOINTS}" = "true" ]
15 then
16 Echo_message "Waiting at %s" "${NAME}"
17 read WAIT
18 fi
19 }
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 Restore_cache ()
11 {
12 DIRECTORY="${1}"
13
14 if [ "${LB_CACHE}" = "true" ] && [ "${LB_CACHE_PACKAGES}" = "true" ]
15 then
16 if [ -d "${DIRECTORY}" ]
17 then
18 # Restore old cache
19 if [ "$(stat --printf %d ${DIRECTORY})" = "$(stat --printf %d chroot/var/cache/apt/archives)" ]
20 then
21 # with hardlinks
22 find "${DIRECTORY}" -name "*.deb" | xargs cp -fl -t chroot/var/cache/apt/archives
23 else
24 # without hardlinks
25 find "${DIRECTORY}" -name "*.deb" | xargs cp -t chroot/var/cache/apt/archives
26 fi
27 fi
28 fi
29 }
30
31 Save_cache ()
32 {
33 DIRECTORY="${1}"
34
35 if [ "${LB_CACHE}" = "true" ] && [ "${LB_CACHE_PACKAGES}" = "true" ]
36 then
37 # Cleaning current cache
38 # In case of interrupted or incomplete builds, this may return an error,
39 # but we still do want to save the cache.
40 Chroot chroot "apt-get autoclean" || true
41
42 if ls chroot/var/cache/apt/archives/*.deb > /dev/null 2>&1
43 then
44 # Creating cache directory
45 mkdir -p "${DIRECTORY}"
46
47 # Saving new cache
48 for PACKAGE in chroot/var/cache/apt/archives/*.deb
49 do
50 if [ -e "${DIRECTORY}"/"$(basename ${PACKAGE})" ]
51 then
52 rm -f "${PACKAGE}"
53 else
54 mv "${PACKAGE}" "${DIRECTORY}"
55 fi
56 done
57 fi
58 else
59 # Purging current cache
60 rm -f chroot/var/cache/apt/archives/*.deb
61 fi
62 }
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 Chroot ()
11 {
12 CHROOT="${1}"; shift
13 COMMANDS="${@}"
14
15 # Executing commands in chroot
16 Echo_debug "Executing: %s" "${COMMANDS}"
17
18 ENV=""
19
20 for _FILE in config/environment config/environment.chroot
21 do
22 if [ -e "${_FILE}" ]
23 then
24 ENV="${ENV} $(grep -v '^#' ${_FILE})"
25 fi
26 done
27
28 if [ "${LB_USE_FAKEROOT}" != "true" ]
29 then
30 ${LB_ROOT_COMMAND} ${_LINUX32} chroot "${CHROOT}" /usr/bin/env -i HOME="/root" PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin" TERM="${TERM}" DEBIAN_FRONTEND="${LB_DEBCONF_FRONTEND}" DEBIAN_PRIORITY="${LB_DEBCONF_PRIORITY}" DEBCONF_NONINTERACTIVE_SEEN="true" DEBCONF_NOWARNINGS="true" ${ENV} ${COMMANDS}
31 else
32 # Building with fakeroot/fakechroot
33 ${LB_ROOT_COMMAND} ${_LINUX32} chroot "${CHROOT}" ${ENV} ${COMMANDS}
34 fi
35
36 return "${?}"
37 }
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 NO_COLOR="\033[0m"
11
12 UNDERSCORE="\033[4m"
13 BLINK="\033[5m"
14
15 BLACK="\033[0;30m"
16 DARK_GRAY="\033[1;30m"
17
18 RED="\033[0;31m"
19 LIGHT_RED="\033[1;31m"
20
21 GREEN="\033[0;32m"
22 LIGHT_GREEN="\033[1;32m"
23
24 BROWN="\033[0;33m"
25 YELLOW="\033[1;33m"
26
27 BLUE="\033[0;34m"
28 LIGHT_BLUE="\033[1;34m"
29
30 PURPLE="\033[0;35m"
31 LIGHT_PURPLE="\033[1;35m"
32
33 CYAN="\033[0;36m"
34 LIGHT_CYAN="\033[1;36m"
35
36 GRAY="\033[0;37m"
37 WHITE="\033[1;37m"
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 PROGRAM="live-build"
11 VERSION="$(if [ -e ${LIVE_BUILD}/VERSION ]; then cat ${LIVE_BUILD}/VERSION; else cat /usr/share/live/build/VERSION; fi)"
12 CONFIG_VERSION="$(echo ${VERSION} | awk -F- '{ print $1 }')"
13
14 PATH="${PWD}/local/bin:${PATH}"
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 Get_conffiles ()
11 {
12 if [ -n "${LB_CONFIG}" ]
13 then
14 FILES="${LB_CONFIG}"
15 else
16 for FILE in ${@}
17 do
18 FILES="${FILES} ${FILE} ${FILE}.${LB_ARCHITECTURES} ${FILE}.${DISTRIBUTION}"
19 FILES="${FILES} config/$(echo ${PROGRAM} | sed -e 's|^lb_||')"
20 FILES="${FILES} config/$(echo ${PROGRAM} | sed -e 's|^lb_||').${ARCHITECTURE}"
21 FILES="${FILES} config/$(echo ${PROGRAM} | sed -e 's|^lb_||').${DISTRIBUTION}"
22 done
23 fi
24
25 echo ${FILES}
26 }
27
28 Read_conffiles ()
29 {
30 for CONFFILE in Get_conffiles "${@}"
31 do
32 if [ -f "${CONFFILE}" ]
33 then
34 if [ -r "${CONFFILE}" ]
35 then
36 Echo_debug "Reading configuration file %s" "${CONFFILE}"
37 . "${CONFFILE}"
38 else
39 Echo_warning "Failed to read configuration file %s" "${CONFFILE}"
40 fi
41 fi
42 done
43 }
44
45 Print_conffiles ()
46 {
47 for CONFFILE in Get_conffiles "${@}"
48 do
49 if [ -f "${CONFFILE}" ]
50 then
51 Echo_file "${CONFFILE}"
52 fi
53 done
54 }
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 Cursor_goto_position ()
11 {
12 __LINE="${1}"
13 __COLUMN="${2}"
14
15 #echo -e "[${__LINE};${__COLUMN};H\c"
16 printf "[${__LINE};${__COLUMN};H"
17 }
18
19 Cursor_save_position ()
20 {
21 #echo -e "\c"
22 printf ""
23 }
24
25 Cursor_restore_position ()
26 {
27 #echo -e "\c"
28 printf ""
29 }
30
31 Cursor_line_up ()
32 {
33 __LINES="${1}"
34
35 #echo -e "[${__LINES}A\c"
36 printf "[${__LINES}A"
37 }
38
39 Cursor_line_down ()
40 {
41 __LINES="${1}"
42
43 #echo -e "[${__LINES}B\c"
44 printf "[${__LINES}B"
45 }
46
47 Cursor_columns_forward ()
48 {
49 __COLUMNS="${1}"
50
51 #echo -e "[${__COLUMNS}C\c"
52 printf "[${__COLUMNS}C"
53 }
54
55 Cursor_columns_backward ()
56 {
57 __COLUMNS="${1}"
58
59 #echo -e "[${__COLUMNS}D\c"
60 printf "[${__COLUMNS}D"
61 }
62
63 Cursor_clear_screen ()
64 {
65 #echo -e "\c"
66 printf ""
67 }
68
69 Cursor_erase_EOL ()
70 {
71 #echo -e "\c"
72 printf ""
73 }
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 Set_defaults ()
11 {
12 ## config/common
13
14 if [ -e local/live-build ]
15 then
16 LIVE_BUILD="${LIVE_BUILD:-${PWD}/local/live-build}"
17 export LIVE_BUILD
18 fi
19
20 # Setting system type
21 LB_SYSTEM="${LB_SYSTEM:-live}"
22
23 # Setting mode (currently: debian, emdebian, progress-linux, and ubuntu)
24 if [ -x /usr/bin/lsb_release ]
25 then
26 _DISTRIBUTOR="$(lsb_release -is | tr [A-Z] [a-z])"
27
28 case "${_DISTRIBUTOR}" in
29 debian|progress-linux|ubuntu)
30 LB_MODE="${LB_MODE:-${_DISTRIBUTOR}}"
31 ;;
32
33 *)
34 LB_MODE="${LB_MODE:-debian}"
35 ;;
36 esac
37 else
38 if [ -e /etc/progress-linux_version ]
39 then
40 LB_MODE="${LB_MODE:-progress-linux}"
41 elif [ -e /etc/ubuntu_version ]
42 then
43 LB_MODE="${LB_MODE:-ubuntu}"
44 else
45 LB_MODE="${LB_MODE:-debian}"
46 fi
47 fi
48
49 # Setting distribution name
50 case "${LB_MODE}" in
51 progress-linux)
52 LB_DISTRIBUTION="${LB_DISTRIBUTION:-baureo}"
53 LB_DERIVATIVE="true"
54 ;;
55
56 ubuntu)
57 LB_DISTRIBUTION="${LB_DISTRIBUTION:-precise}"
58 LB_DERIVATIVE="false"
59 ;;
60
61 *)
62 LB_DISTRIBUTION="${LB_DISTRIBUTION:-wheezy}"
63 LB_DERIVATIVE="false"
64 ;;
65 esac
66
67 case "${LB_MODE}" in
68 progress-linux)
69 case "${LB_DISTRIBUTION}" in
70 artax|artax-backports)
71 LB_PARENT_DISTRIBUTION="${LB_PARENT_DISTRIBUTION:-squeeze}"
72 LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION:-${LB_PARENT_DISTRIBUTION}}"
73 ;;
74
75 baureo|baureo-backports)
76 LB_PARENT_DISTRIBUTION="${LB_PARENT_DISTRIBUTION:-wheezy}"
77 LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION:-${LB_PARENT_DISTRIBUTION}}"
78 ;;
79
80 charon|charon-backports)
81 LB_PARENT_DISTRIBUTION="${LB_PARENT_DISTRIBUTION:-sid}"
82 LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION:-${LB_PARENT_DISTRIBUTION}}"
83 ;;
84 esac
85
86 LB_BACKPORTS="${LB_BACKPORTS:-true}"
87 ;;
88
89 *)
90 LB_PARENT_DISTRIBUTION="${LB_PARENT_DISTRIBUTION:-${LB_DISTRIBUTION}}"
91 LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION:-${LB_PARENT_DISTRIBUTION}}"
92
93 LB_BACKPORTS="${LB_BACKPORTS:-false}"
94 ;;
95 esac
96
97 # Setting package manager
98 LB_APT="${LB_APT:-apt}"
99
100 # Setting apt ftp proxy
101 LB_APT_FTP_PROXY="${LB_APT_FTP_PROXY}"
102
103 # Setting apt http proxy
104 LB_APT_HTTP_PROXY="${LB_APT_HTTP_PROXY}"
105
106 # Setting apt pipeline
107 # LB_APT_PIPELINE
108
109 APT_OPTIONS="${APT_OPTIONS:---yes}"
110 APTITUDE_OPTIONS="${APTITUDE_OPTIONS:---assume-yes}"
111
112 BZIP2_OPTIONS="${BZIP2_OPTIONS:--6}"
113
114 GZIP_OPTIONS="${GZIP_OPTIONS:--6}"
115
116 if gzip --help | grep -qs "\-\-rsyncable"
117 then
118 GZIP_OPTIONS="$(echo ${GZIP_OPTIONS} | sed -e 's|--rsyncable||') --rsyncable"
119 fi
120
121 LZIP_OPTIONS="${LZIP_OPTIONS:--6}"
122
123 LZMA_OPTIONS="${LZMA_OPTIONS:--6}"
124
125 XZ_OPTIONS="${XZ_OPTIONS:--6}"
126
127 # Setting apt recommends
128 case "${LB_MODE}" in
129 emdebian|progress-linux)
130 LB_APT_RECOMMENDS="${LB_APT_RECOMMENDS:-false}"
131 ;;
132
133 *)
134 LB_APT_RECOMMENDS="${LB_APT_RECOMMENDS:-true}"
135 ;;
136 esac
137
138 # Setting apt secure
139 LB_APT_SECURE="${LB_APT_SECURE:-true}"
140
141 # Setting apt source
142 case "${LB_MODE}" in
143 progress-linux)
144 LB_APT_SOURCE_ARCHIVES="${LB_APT_SOURCE_ARCHIVES:-false}"
145 ;;
146
147 *)
148 LB_APT_SOURCE_ARCHIVES="${LB_APT_SOURCE_ARCHIVES:-true}"
149 ;;
150 esac
151
152 # Setting bootstrap program
153 if [ -z "${LB_BOOTSTRAP}" ] || ( [ ! -x "$(which ${LB_BOOTSTRAP} 2>/dev/null)" ] && [ "${LB_BOOTSTRAP}" != "copy" ] )
154 then
155 if [ -x "/usr/sbin/debootstrap" ]
156 then
157 LB_BOOTSTRAP="debootstrap"
158 elif [ -x "/usr/bin/cdebootstrap" ]
159 then
160 LB_BOOTSTRAP="cdebootstrap"
161 fi
162 fi
163
164 # Setting cache option
165 LB_CACHE="${LB_CACHE:-true}"
166 LB_CACHE_INDICES="${LB_CACHE_INDICES:-false}"
167 LB_CACHE_PACKAGES="${LB_CACHE_PACKAGES:-true}"
168 LB_CACHE_STAGES="${LB_CACHE_STAGES:-bootstrap}"
169
170 # Setting debconf frontend
171 LB_DEBCONF_FRONTEND="${LB_DEBCONF_FRONTEND:-noninteractive}"
172 LB_DEBCONF_PRIORITY="${LB_DEBCONF_PRIORITY:-critical}"
173
174 # Setting initramfs hook
175 case "${LB_SYSTEM}" in
176 live)
177 case "${LB_MODE}" in
178 ubuntu)
179 LB_INITRAMFS="${LB_INITRAMFS:-casper}"
180 ;;
181
182 *)
183 LB_INITRAMFS="${LB_INITRAMFS:-live-boot}"
184 ;;
185 esac
186 ;;
187
188 normal)
189 LB_INITRAMFS="${LB_INITRAMFS:-none}"
190 ;;
191 esac
192
193 LB_INITRAMFS_COMPRESSION="${LB_INITRAMFS_COMPRESSION:-gzip}"
194
195 # Setting initsystem
196 case "${LB_MODE}" in
197 ubuntu)
198 case "${LB_INITRAMFS}" in
199 live-boot)
200 LB_INITSYSTEM="${LB_INITSYSTEM:-upstart}"
201 ;;
202 esac
203 ;;
204
205 progress-linux)
206 case "${LB_DISTRIBUTION}" in
207 artax|artax-backports)
208 LB_INITSYSTEM="${LB_INITSYSTEM:-sysvinit}"
209 ;;
210
211 *)
212 LB_INITSYSTEM="${LB_INITSYSTEM:-systemd}"
213 ;;
214 esac
215 ;;
216
217 *)
218 case "${LB_SYSTEM}" in
219 live)
220 LB_INITSYSTEM="${LB_INITSYSTEM:-sysvinit}"
221 ;;
222
223 normal)
224 LB_INITSYSTEM="${LB_INITSYSTEM:-none}"
225 ;;
226 esac
227 ;;
228 esac
229
230 # Setting fdisk
231 if [ -z "${LB_FDISK}" ] || [ ! -x "${LB_FDISK}" ]
232 then
233 # Workaround for gnu-fdisk divertion
234 # (gnu-fdisk is buggy, #445304).
235 if [ -x /sbin/fdisk.distrib ]
236 then
237 LB_FDISK="fdisk.distrib"
238 elif [ -x /sbin/fdisk ]
239 then
240 LB_FDISK="fdisk"
241 else
242 Echo_error "Can't process file /sbin/fdisk"
243 fi
244 fi
245
246 # Setting losetup
247 if [ -z "${LB_LOSETUP}" ] || [ "${LB_LOSETUP}" != "/sbin/losetup.orig" ]
248 then
249 # Workaround for loop-aes-utils divertion
250 # (loop-aes-utils' losetup lacks features).
251 if [ -x /sbin/losetup.orig ]
252 then
253 LB_LOSETUP="losetup.orig"
254 elif [ -x /sbin/losetup ]
255 then
256 LB_LOSETUP="losetup"
257 else
258 Echo_error "Can't process file /sbin/losetup"
259 fi
260 fi
261
262 if [ "$(id -u)" = "0" ]
263 then
264 # If we are root, disable root command
265 LB_ROOT_COMMAND=""
266 else
267 if [ -x /usr/bin/sudo ]
268 then
269 # FIXME: this is false until considered safe
270 #LB_ROOT_COMMAND="sudo"
271 LB_ROOT_COMMAND=""
272 fi
273 fi
274
275 if [ "${LB_ARCHITECTURE}" = "i386" ] && [ "$(uname -m)" = "x86_64" ]
276 then
277 _LINUX32="linux32"
278 else
279 _LINUX32=""
280 fi
281
282 # Setting tasksel
283 case "${LB_PARENT_DISTRIBUTION}" in
284 squeeze)
285 LB_TASKSEL="${LB_TASKSEL:-tasksel}"
286 ;;
287
288 *)
289 LB_TASKSEL="${LB_TASKSEL:-apt}"
290 ;;
291 esac
292
293 # Setting root directory
294 case "${LB_MODE}" in
295 progress-linux)
296 LB_ROOT="${LB_ROOT:-progress-linux}"
297 ;;
298
299 *)
300 LB_ROOT="${LB_ROOT:-${LB_MODE}-live}"
301 ;;
302 esac
303
304 # Setting templates
305 if [ -n "${LIVE_BUID}" ]
306 then
307 LB_TEMPLATES="${LB_TEMPLATES:-${LIVE_BUILD}/templates}"
308 else
309 LB_TEMPLATES="${LB_TEMPLATES:-/usr/share/live/build/templates}"
310 fi
311
312 # Setting live build options
313 _BREAKPOINTS="${_BREAKPOINTS:-false}"
314 _COLOR="${_COLOR:-false}"
315 _DEBUG="${_DEBUG:-false}"
316 _FORCE="${_FORCE:-false}"
317 _QUIET="${_QUIET:-false}"
318 _VERBOSE="${_VERBOSE:-false}"
319
320 ## config/bootstrap
321
322 # Setting architecture value
323 if [ -z "${LB_ARCHITECTURES}" ]
324 then
325 if [ -x "/usr/bin/dpkg" ]
326 then
327 LB_ARCHITECTURES="$(dpkg --print-architecture)"
328 else
329 case "$(uname -m)" in
330 sparc|powerpc)
331 LB_ARCHITECTURES="$(uname -m)"
332 ;;
333 x86_64)
334 LB_ARCHITECTURES="amd64"
335 ;;
336 *)
337 if [ -e /lib64 ]
338 then
339 LB_ARCHITECTURES="amd64"
340 else
341 LB_ARCHITECTURES="i386"
342 fi
343
344 Echo_warning "Can't determine architecture, assuming ${LB_ARCHITECTURES}"
345 ;;
346 esac
347 fi
348 fi
349
350 # Setting mirror to fetch packages from
351 case "${LB_MODE}" in
352 debian)
353 LB_MIRROR_BOOTSTRAP="${LB_MIRROR_BOOTSTRAP:-http://ftp.debian.org/debian/}"
354 LB_PARENT_MIRROR_BOOTSTRAP="${LB_PARENT_MIRROR_BOOTSTRAP:-${LB_MIRROR_BOOTSTRAP}}"
355 ;;
356
357 emdebian)
358 LB_MIRROR_BOOTSTRAP="${LB_MIRROR_BOOTSTRAP:-http://www.emdebian.org/grip/}"
359 LB_PARENT_MIRROR_BOOTSTRAP="${LB_PARENT_MIRROR_BOOTSTRAP:-${LB_MIRROR_BOOTSTRAP}}"
360 ;;
361
362 progress-linux)
363 LB_PARENT_MIRROR_BOOTSTRAP="${LB_PARENT_MIRROR_BOOTSTRAP:-http://ftp.debian.org/debian/}"
364 LB_MIRROR_BOOTSTRAP="${LB_MIRROR_BOOTSTRAP:-http://cdn.archive.progress-linux.org/progress/}"
365 ;;
366
367 ubuntu)
368 case "${LB_ARCHITECTURES}" in
369 amd64|i386)
370 LB_MIRROR_BOOTSTRAP="${LB_MIRROR_BOOTSTRAP:-http://archive.ubuntu.com/ubuntu/}"
371 ;;
372
373 *)
374 LB_MIRROR_BOOTSTRAP="${LB_MIRROR_BOOTSTRAP:-http://ports.ubuntu.com/ubuntu-ports/}"
375 ;;
376 esac
377
378 LB_PARENT_MIRROR_BOOTSTRAP="${LB_PARENT_MIRROR_BOOTSTRAP:-${LB_MIRROR_BOOTSTRAP}}"
379 ;;
380 esac
381
382 LB_PARENT_MIRROR_CHROOT="${LB_PARENT_MIRROR_CHROOT:-${LB_PARENT_MIRROR_BOOTSTRAP}}"
383 LB_MIRROR_CHROOT="${LB_MIRROR_CHROOT:-${LB_MIRROR_BOOTSTRAP}}"
384
385 # Setting security mirror to fetch packages from
386 case "${LB_MODE}" in
387 debian)
388 LB_MIRROR_CHROOT_SECURITY="${LB_MIRROR_CHROOT_SECURITY:-http://security.debian.org/}"
389 LB_PARENT_MIRROR_CHROOT_SECURITY="${LB_PARENT_MIRROR_CHROOT_SECURITY:-${LB_MIRROR_CHROOT_SECURITY}}"
390 ;;
391
392 emdebian)
393 LB_MIRROR_CHROOT_SECURITY="${LB_MIRROR_CHROOT_SECURITY:-none}"
394 LB_PARENT_MIRROR_CHROOT_SECURITY="${LB_PARENT_MIRROR_CHROOT_SECURITY:-${LB_MIRROR_CHROOT_SECURITY}}"
395 ;;
396
397 progress-linux)
398 LB_PARENT_MIRROR_CHROOT_SECURITY="${LB_PARENT_MIRROR_CHROOT_SECURITY:-http://security.debian.org/}"
399 LB_MIRROR_CHROOT_SECURITY="${LB_MIRROR_CHROOT_SECURITY:-${LB_MIRROR_CHROOT}}"
400 ;;
401
402 ubuntu)
403 case "${LB_ARCHITECTURES}" in
404 amd64|i386)
405 LB_MIRROR_CHROOT_SECURITY="${LB_MIRROR_CHROOT_SECURITY:-http://security.ubuntu.com/ubuntu/}"
406 ;;
407
408 *)
409 LB_MIRROR_CHROOT_SECURITY="${LB_MIRROR_CHROOT_SECURITY:-http://ports.ubuntu.com/ubuntu-ports/}"
410 ;;
411 esac
412
413 LB_PARENT_MIRROR_CHROOT_SECURITY="${LB_PARENT_MIRROR_CHROOT_SECURITY:-${LB_MIRROR_CHROOT_SECURITY}}"
414 ;;
415 esac
416
417 # Setting updates mirror to fetch packages from
418 case "${LB_MODE}" in
419 debian|progress-linux)
420 LB_PARENT_MIRROR_CHROOT_UPDATES="${LB_PARENT_MIRROR_CHROOT_UPDATES:-${LB_PARENT_MIRROR_CHROOT}}"
421 LB_MIRROR_CHROOT_UPDATES="${LB_MIRROR_CHROOT_UPDATES:-${LB_MIRROR_CHROOT}}"
422 ;;
423
424 ubuntu)
425 case "${LB_ARCHITECTURES}" in
426 amd64|i386)
427 LB_MIRROR_CHROOT_UPDATES="${LB_MIRROR_CHROOT_UPDATES:-http://archive.ubuntu.com/ubuntu/}"
428 ;;
429
430 *)
431 LB_MIRROR_CHROOT_UPDATES="${LB_MIRROR_CHROOT_UPDATES:-http://ports.ubuntu.com/ubuntu-ports/}"
432 ;;
433 esac
434
435 LB_PARENT_MIRROR_CHROOT_UPDATES="${LB_PARENT_MIRROR_CHROOT_UPDATES:-${LB_PARENT_MIRROR_CHROOT}}"
436 ;;
437
438 *)
439 LB_PARENT_MIRROR_CHROOT_UPDATES="${LB_PARENT_MIRROR_CHROOT_UPDATES:-none}"
440 LB_MIRROR_CHROOT_UPDATES="${LB_MIRROR_CHROOT_UPDATES:-none}"
441 ;;
442 esac
443
444 # Setting backports mirror to fetch packages from
445 case "${LB_MODE}" in
446 debian)
447 LB_MIRROR_CHROOT_BACKPORTS="${LB_MIRROR_CHROOT_BACKPORTS:-http://backports.debian.org/debian-backports/}"
448 LB_PARENT_MIRROR_CHROOT_BACKPORTS="${LB_PARENT_MIRROR_CHROOT_BACKPORTS:-${LB_MIRROR_CHROOT_BACKPORTS}}"
449 ;;
450
451 progress-linux)
452 LB_MIRROR_CHROOT_BACKPORTS="${LB_MIRROR_CHROOT_BACKPORTS:-${LB_MIRROR_CHROOT}}"
453 ;;
454
455 *)
456 LB_PARENT_MIRROR_CHROOT_BACKPORTS="${LB_PARENT_MIRROR_CHROOT_BACKPORTS:-none}"
457 LB_MIRROR_CHROOT_BACKPORTS="${LB_MIRROR_CHROOT_BACKPORTS:-none}"
458 ;;
459 esac
460
461 # Setting mirror which ends up in the image
462 case "${LB_MODE}" in
463 debian)
464 LB_MIRROR_BINARY="${LB_MIRROR_BINARY:-http://http.debian.net/debian/}"
465 LB_PARENT_MIRROR_BINARY="${LB_PARENT_MIRROR_BINARY:-${LB_MIRROR_BINARY}}"
466 ;;
467
468 progress-linux)
469 LB_PARENT_MIRROR_BINARY="${LB_PARENT_MIRROR_BINARY:-http://ftp.debian.org/debian/}"
470 LB_MIRROR_BINARY="${LB_MIRROR_BINARY:-${LB_MIRROR_CHROOT}}"
471 ;;
472
473 emdebian)
474 LB_MIRROR_BINARY="${LB_MIRROR_BINARY:-http://www.emdebian.org/grip/}"
475 LB_PARENT_MIRROR_BINARY="${LB_PARENT_MIRROR_BINARY:-${LB_MIRROR_BINARY}}"
476 ;;
477
478 ubuntu)
479 case "${LB_ARCHITECTURES}" in
480 amd64|i386)
481 LB_MIRROR_BINARY="${LB_MIRROR_BINARY:-http://archive.ubuntu.com/ubuntu/}"
482 ;;
483
484 *)
485 LB_MIRROR_BINARY="${LB_MIRROR_BINARY:-http://ports.ubuntu.com/ubuntu-ports/}"
486 ;;
487 esac
488
489 LB_PARENT_MIRROR_BINARY="${LB_PARENT_MIRROR_BINARY:-${LB_MIRROR_BINARY}}"
490 ;;
491 esac
492
493 # Setting security mirror which ends up in the image
494 case "${LB_MODE}" in
495 debian)
496 LB_MIRROR_BINARY_SECURITY="${LB_MIRROR_BINARY_SECURITY:-http://security.debian.org/}"
497 LB_PARENT_MIRROR_BINARY_SECURITY="${LB_PARENT_MIRROR_BINARY_SECURITY:-${LB_MIRROR_BINARY_SECURITY}}"
498 ;;
499
500 emdebian)
501 LB_MIRROR_BINARY_SECURITY="${LB_MIRROR_BINARY_SECURITY:-none}"
502 LB_PARENT_MIRROR_BINARY_SECURITY="${LB_PARENT_MIRROR_BINARY_SECURITY:-${LB_MIRROR_BINARY_SECURITY}}"
503 ;;
504
505 progress-linux)
506 LB_PARENT_MIRROR_BINARY_SECURITY="${LB_PARENT_MIRROR_BINARY_SECURITY:-http://security.debian.org/}"
507 LB_MIRROR_BINARY_SECURITY="${LB_MIRROR_BINARY_SECURITY:-${LB_MIRROR_CHROOT}}"
508 ;;
509
510 ubuntu)
511 case "${LB_ARCHITECTURES}" in
512 amd64|i386)
513 LB_MIRROR_BINARY_SECURITY="${LB_MIRROR_BINARY_SECURITY:-http://security.ubuntu.com/ubuntu/}"
514 ;;
515
516 *)
517 LB_MIRROR_BINARY_SECURITY="${LB_MIRROR_BINARY_SECURITY:-http://ports.ubuntu.com/ubuntu-ports/}"
518 ;;
519 esac
520
521 LB_PARENT_MIRROR_BINARY_SECURITY="${LB_PARENT_MIRROR_BINARY_SECURITY:-${LB_MIRROR_BINARY_SECURITY}}"
522 ;;
523 esac
524
525 # Setting updates mirror which ends up in the image
526 case "${LB_MODE}" in
527 debian)
528 LB_MIRROR_BINARY_UPDATES="${LB_MIRROR_BINARY_UPDATES:-${LB_MIRROR_BINARY}}"
529 LB_PARENT_MIRROR_BINARY_UPDATES="${LB_PARENT_MIRROR_BINARY_UPDATES:-${LB_PARENT_MIRROR_BINARY}}"
530 ;;
531
532 progress-linux)
533 LB_PARENT_MIRROR_BINARY_UPDATES="${LB_PARENT_MIRROR_BINARY_UPDATES:-${LB_PARENT_MIRROR_BINARY}}"
534 LB_MIRROR_BINARY_UPDATES="${LB_MIRROR_BINARY_UPDATES:-${LB_MIRROR_BINARY}}"
535 ;;
536
537 ubuntu)
538 case "${LB_ARCHITECTURES}" in
539 amd64|i386)
540 LB_MIRROR_BINARY_UPDATES="${LB_MIRROR_BINARY_UPDATES:-http://archive.ubuntu.com/ubuntu/}"
541 ;;
542
543 *)
544 LB_MIRROR_BINARY_UPDATES="${LB_MIRROR_BINARY_UPDATES:-http://ports.ubuntu.com/ubuntu-ports/}"
545 ;;
546 esac
547
548 LB_PARENT_MIRROR_BINARY_UPDATES="${LB_PARENT_MIRROR_BINARY_UPDATES:-${LB_PARENT_MIRROR_BINARY}}"
549 ;;
550
551 *)
552 LB_PARENT_MIRROR_BINARY_UPDATES="${LB_PARENT_MIRROR_BINARY_UPDATES:-none}"
553 ;;
554 esac
555
556 # Setting backports mirror which ends up in the image
557 case "${LB_MODE}" in
558 debian)
559 LB_MIRROR_BINARY_BACKPORTS="${LB_MIRROR_BINARY_BACKPORTS:-http://http.debian.net/debian-backports/}"
560 LB_PARENT_MIRROR_BINARY_BACKPORTS="${LB_PARENT_MIRROR_BINARY_BACKPORTS:-${LB_MIRROR_BINARY_BACKPORTS}}"
561 ;;
562
563 progress-linux)
564 LB_MIRROR_BINARY_BACKPORTS="${LB_MIRROR_BINARY_BACKPORTS:-${LB_MIRROR_BINARY}}"
565 ;;
566
567 *)
568 LB_PARENT_MIRROR_BINARY_BACKPORTS="${LB_PARENT_MIRROR_BINARY_BACKPORTS:-none}"
569 LB_MIRROR_BINARY_BACKPORTS="${LB_MIRROR_BINARY_BACKPORTS:-none}"
570 ;;
571 esac
572
573 case "${LB_MODE}" in
574 progress-linux)
575 LB_PARENT_MIRROR_DEBIAN_INSTALLER="${LB_PARENT_MIRROR_DEBIAN_INSTALLER:-${LB_MIRROR_CHROOT}}"
576 LB_MIRROR_DEBIAN_INSTALLER="${LB_MIRROR_DEBIAN_INSTALLER:-${LB_MIRROR_CHROOT}}"
577 ;;
578
579 *)
580 LB_MIRROR_DEBIAN_INSTALLER="${LB_MIRROR_DEBIAN_INSTALLER:-${LB_MIRROR_CHROOT}}"
581 LB_PARENT_MIRROR_DEBIAN_INSTALLER="${LB_PARENT_MIRROR_DEBIAN_INSTALLER:-${LB_PARENT_MIRROR_CHROOT}}"
582 ;;
583 esac
584
585 # Setting archive areas value
586 case "${LB_MODE}" in
587 progress-linux)
588 LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS:-main contrib non-free}"
589 LB_PARENT_ARCHIVE_AREAS="${LB_PARENT_ARCHIVE_AREAS:-${LB_ARCHIVE_AREAS}}"
590 ;;
591
592 ubuntu)
593 LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS:-main restricted}"
594 LB_PARENT_ARCHIVE_AREAS="${LB_PARENT_ARCHIVE_AREAS:-${LB_ARCHIVE_AREAS}}"
595 ;;
596
597 *)
598 LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS:-main}"
599 LB_PARENT_ARCHIVE_AREAS="${LB_PARENT_ARCHIVE_AREAS:-${LB_ARCHIVE_AREAS}}"
600 ;;
601 esac
602
603 ## config/chroot
604
605 # Setting chroot filesystem
606 LB_CHROOT_FILESYSTEM="${LB_CHROOT_FILESYSTEM:-squashfs}"
607
608 # Setting whether to expose root filesystem as read only
609 LB_EXPOSED_ROOT="${LB_EXPOSED_ROOT:-false}"
610
611 # Setting union filesystem
612 LB_UNION_FILESYSTEM="${LB_UNION_FILESYSTEM:-aufs}"
613
614 # Setting distribution hooks
615 LB_CHROOT_HOOKS="${LB_CHROOT_HOOKS:-disable-kexec-tools \
616 remove-adjtime-configuration \
617 remove-backup-files \
618 remove-dbus-machine-id \
619 remove-gnome-icon-cache \
620 remove-log-files \
621 remove-mdadm-configuration \
622 remove-openssh-server-host-keys \
623 remove-python-py \
624 remove-temporary-files \
625 remove-udev-persistent-rules \
626 update-apt-file-cache \
627 update-apt-xapian-index \
628 update-glx-alternative \
629 update-mlocate-database \
630 update-nvidia-alternative}"
631 #remove-apt-sources-lists
632
633 # Setting interactive shell/X11/Xnest
634 LB_INTERACTIVE="${LB_INTERACTIVE:-false}"
635
636 # Setting keyring packages
637 case "${LB_MODE}" in
638 ubuntu)
639 LB_KEYRING_PACKAGES="${LB_KEYRING_PACKAGES:-ubuntu-keyring}"
640 ;;
641
642 *)
643 LB_KEYRING_PACKAGES="${LB_KEYRING_PACKAGES:-debian-archive-keyring}"
644 ;;
645 esac
646
647 # Setting linux flavour string
648 case "${LB_ARCHITECTURES}" in
649 armel)
650 case "${LB_MODE}" in
651 ubuntu)
652 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-omap}"
653 ;;
654 *)
655 # armel will have special images: one rootfs image and many additional kernel images.
656 # therefore we default to all available armel flavours
657 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-iop32x ixp4xx kirkwood orion5x versatile}"
658 ;;
659 esac
660 ;;
661
662 armhf)
663 # armhf will have special images: one rootfs image and many additional kernel images.
664 # therefore we default to all available armel flavours
665 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-mx5 omap}"
666 ;;
667
668 amd64)
669 case "${LB_MODE}" in
670 ubuntu)
671 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-generic}"
672 ;;
673
674 *)
675 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-amd64}"
676 ;;
677 esac
678 ;;
679
680 i386)
681 case "${LB_MODE}" in
682 progress-linux)
683 case "${LB_DISTRIBUTION}" in
684 artax)
685 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-686}"
686 ;;
687
688 *)
689 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-686-pae}"
690 ;;
691 esac
692 ;;
693
694 ubuntu)
695 case "${LB_DISTRIBUTION}" in
696 precise)
697 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-generic-pae}"
698 ;;
699
700 *)
701 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-generic}"
702 ;;
703 esac
704 ;;
705
706 *)
707 case "${LB_PARENT_DISTRIBUTION}" in
708 squeeze)
709 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-486 686}"
710 ;;
711
712 *)
713 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-486 686-pae}"
714 ;;
715 esac
716 ;;
717 esac
718 ;;
719
720 ia64)
721 case "${LB_MODE}" in
722 progress-linux)
723 Echo_error "Architecture ${LB_ARCHITECTURES} not supported in the ${LB_MODE} mode."
724 exit 1
725 ;;
726
727 *)
728 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-itanium}"
729 ;;
730 esac
731 ;;
732
733 powerpc)
734 case "${LB_MODE}" in
735 progress-linux)
736 Echo_error "Architecture ${LB_ARCHITECTURES} not supported in the ${LB_MODE} mode."
737 exit 1
738 ;;
739
740 ubuntu)
741 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-powerpc-smp powerpc64-smp e500 powerpc-e500mc}"
742 ;;
743
744 *)
745 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-powerpc powerpc64}"
746 ;;
747 esac
748 ;;
749
750 s390)
751 case "${LB_MODE}" in
752 progress-linux|ubuntu)
753 Echo_error "Architecture ${LB_ARCHITECTURES} not supported in the ${LB_MODE} mode."
754 exit 1
755 ;;
756
757 *)
758 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-s390}"
759 ;;
760 esac
761 ;;
762
763 sparc)
764 case "${LB_MODE}" in
765 progress-linux)
766 Echo_error "Architecture ${LB_ARCHITECTURES} not supported in the ${LB_MODE} mode."
767 exit 1
768 ;;
769
770 *)
771 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-sparc64}"
772 ;;
773 esac
774 ;;
775
776 *)
777 Echo_error "Architecture(s) ${LB_ARCHITECTURES} not yet supported (FIXME)"
778 exit 1
779 ;;
780 esac
781
782 # Set linux packages
783 case "${LB_MODE}" in
784 ubuntu)
785 LB_LINUX_PACKAGES="${LB_LINUX_PACKAGES:-linux}"
786 ;;
787
788 *)
789 case "${LB_PARENT_DISTRIBUTION}" in
790 squeeze)
791 LB_LINUX_PACKAGES="${LB_LINUX_PACKAGES:-linux-image-2.6}"
792 ;;
793
794 *)
795 LB_LINUX_PACKAGES="${LB_LINUX_PACKAGES:-linux-image}"
796 ;;
797 esac
798 ;;
799 esac
800
801 # Setting security updates option
802 case "${LB_PARENT_DISTRIBUTION}" in
803 jessie|sid)
804 LB_SECURITY="${LB_SECURITY:-false}"
805 ;;
806
807 *)
808 LB_SECURITY="${LB_SECURITY:-true}"
809 ;;
810 esac
811
812 # Setting updates updates option
813 case "${LB_PARENT_DISTRIBUTION}" in
814 wheezy|jessie|sid)
815 LB_UPDATES="${LB_UPDATES:-false}"
816 ;;
817
818 *)
819 LB_UPDATES="${LB_UPDATES:-true}"
820 ;;
821 esac
822
823 ## config/binary
824
825 # Setting image filesystem
826 case "${LB_ARCHITECTURES}" in
827 sparc)
828 LB_BINARY_FILESYSTEM="${LB_BINARY_FILESYSTEM:-ext4}"
829 ;;
830
831 *)
832 LB_BINARY_FILESYSTEM="${LB_BINARY_FILESYSTEM:-fat16}"
833 ;;
834 esac
835
836 # Setting image type
837 case "${LB_ARCHITECTURES}" in
838 amd64|i386)
839 LB_BINARY_IMAGES="${LB_BINARY_IMAGES:-iso-hybrid}"
840 ;;
841
842 *)
843 LB_BINARY_IMAGES="${LB_BINARY_IMAGES:-iso}"
844 ;;
845 esac
846
847 # Setting apt indices
848 case "${LB_MODE}" in
849 progress-linux)
850 LB_APT_INDICES="${LB_APT_INDICES:-none}"
851 ;;
852
853 *)
854 LB_APT_INDICES="${LB_APT_INDICES:-true}"
855 ;;
856 esac
857
858 # Setting bootloader
859 if [ -z "${LB_BOOTLOADER}" ]
860 then
861 case "${LB_ARCHITECTURES}" in
862 amd64|i386)
863 LB_BOOTLOADER="syslinux"
864 ;;
865
866 powerpc)
867 LB_BOOTLOADER="yaboot"
868 ;;
869
870 sparc)
871 LB_BOOTLOADER="silo"
872 ;;
873 esac
874 fi
875
876 # Setting checksums
877 LB_CHECKSUMS="${LB_CHECKSUMS:-sha256}"
878
879 # Setting compression
880 LB_COMPRESSION="${LB_COMPRESSION:-none}"
881
882 # Setting zsync
883 LB_ZSYNC="${LB_ZSYNC:-true}"
884
885 # Setting chroot option
886 LB_BUILD_WITH_CHROOT="${LB_BUILD_WITH_CHROOT:-true}"
887
888 LB_BUILD_WITH_TMPFS="${LB_BUILD_WITH_TMPFS:-false}"
889
890 # Setting debian-installer option
891 case "${LB_MODE}" in
892 progress-linux)
893 LB_DEBIAN_INSTALLER="${LB_DEBIAN_INSTALLER:-live}"
894 ;;
895
896 *)
897 LB_DEBIAN_INSTALLER="${LB_DEBIAN_INSTALLER:-false}"
898 ;;
899 esac
900
901 LB_DEBIAN_INSTALLER_DISTRIBUTION="${LB_DEBIAN_INSTALLER_DISTRIBUTION:-${LB_DISTRIBUTION}}"
902
903 # Setting debian-installer-gui
904 case "${LB_MODE}" in
905 debian|progress-linux)
906 LB_DEBIAN_INSTALLER_GUI="${LB_DEBIAN_INSTALLER_GUI:-true}"
907 ;;
908
909 *)
910 LB_DEBIAN_INSTALLER_GUI="${LB_DEBIAN_INSTALLER_GUI:-false}"
911 ;;
912 esac
913
914 # Setting debian-installer preseed filename
915 if [ -z "${LB_DEBIAN_INSTALLER_PRESEEDFILE}" ]
916 then
917 if Find_files config/debian-installer/preseed.cfg
918 then
919 LB_DEBIAN_INSTALLER_PRESEEDFILE="/preseed.cfg"
920 fi
921
922 if Find_files config/debian-installer/*.cfg && [ ! -e config/debian-installer/preseed.cfg ]
923 then
924 Echo_warning "You have placed some preseeding files into config/debian-installer but you didn't specify the default preseeding file through LB_DEBIAN_INSTALLER_PRESEEDFILE. This means that debian-installer will not take up a preseeding file by default."
925 fi
926 fi
927
928 # Setting boot parameters
929 case "${LB_INITRAMFS}" in
930 live-boot)
931 LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE:-boot=live config quiet splash}"
932 LB_BOOTAPPEND_LIVE_FAILSAFE="${LB_BOOTAPPEND_LIVE_FAILSAFE:-boot=live config memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal}"
933 ;;
934
935 casper)
936 LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE:-boot=casper quiet splash}"
937 LB_BOOTAPPEND_LIVE_FAILSAFE="${LB_BOOTAPPEND_LIVE_FAILSAFE:-boot=casper memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal}"
938 ;;
939
940 none)
941 LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE:-quiet splash}"
942 LB_BOOTAPPEND_LIVE_FAILSAFE="${LB_BOOTAPPEND_LIVE_FAILSAFE:-memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal}"
943 ;;
944 esac
945
946 if [ -n "${LB_DEBIAN_INSTALLER_PRESEEDFILE}" ]
947 then
948 case "${LB_BINARY_IMAGES}" in
949 iso*)
950 _LB_BOOTAPPEND_PRESEED="file=/cdrom/install/${LB_DEBIAN_INSTALLER_PRESEEDFILE}"
951 ;;
952
953 hdd*)
954 case "${LB_MODE}" in
955 ubuntu)
956 if [ "${LB_DEBIAN_INSTALLER}" = "live" ]
957 then
958 _LB_BOOTAPPEND_PRESEED="file=/cdrom/install/${LB_DEBIAN_INSTALLER_PRESEEDFILE}"
959 else
960 _LB_BOOTAPPEND_PRESEED="file=/hd-media/install/${LB_DEBIAN_INSTALLER_PRESEEDFILE}"
961 fi
962 ;;
963
964 *)
965 _LB_BOOTAPPEND_PRESEED="file=/hd-media/install/${LB_DEBIAN_INSTALLER_PRESEEDFILE}"
966 ;;
967 esac
968 ;;
969
970 netboot)
971 case "${LB_DEBIAN_INSTALLER_PRESEEDFILE}" in
972 *://*)
973 _LB_BOOTAPPEND_PRESEED="file=${LB_DEBIAN_INSTALLER_PRESEEDFILE}"
974 ;;
975
976 *)
977 _LB_BOOTAPPEND_PRESEED="file=/${LB_DEBIAN_INSTALLER_PRESEEDFILE}"
978 ;;
979 esac
980 ;;
981 esac
982 fi
983
984 if [ -n ${_LB_BOOTAPPEND_PRESEED} ]
985 then
986 LB_BOOTAPPEND_INSTALL="${LB_BOOTAPPEND_INSTALL} ${_LB_BOOTAPPEND_PRESEED}"
987 fi
988
989 LB_BOOTAPPEND_INSTALL="$(echo ${LB_BOOTAPPEND_INSTALL} | sed -e 's/[ \t]*$//')"
990
991 # Setting grub splash
992 # LB_GRUB_SPLASH
993
994 # Setting iso author
995 case "${LB_MODE}" in
996 debian)
997 LB_ISO_APPLICATION="${LB_ISO_APPLICATION:-Debian Live}"
998 ;;
999
1000 emdebian)
1001 LB_ISO_APPLICATION="${LB_ISO_APPLICATION:-Emdebian Live}"
1002 ;;
1003
1004 progress-linux)
1005 LB_ISO_APPLICATION="${LB_ISO_APPLICATION:-Progress Linux}"
1006 ;;
1007
1008 ubuntu)
1009 LB_ISO_APPLICATION="${LB_ISO_APPLICATION:-Ubuntu Live}"
1010 ;;
1011 esac
1012
1013 # Set iso preparer
1014 LB_ISO_PREPARER="${LB_ISO_PREPARER:-live-build \$VERSION; http://packages.qa.debian.org/live-build}"
1015
1016 # Set iso publisher
1017 case "${LB_MODE}" in
1018 progress-linux)
1019 LB_ISO_PUBLISHER="${LB_ISO_PUBLISHER:-Progress Linux; http://www.progress-linux.org/; [email protected]}"
1020 ;;
1021
1022 *)
1023 LB_ISO_PUBLISHER="${LB_ISO_PUBLISHER:-Debian Live project; http://live.debian.net/; [email protected]}"
1024 ;;
1025 esac
1026
1027 # Setting hdd options
1028 case "${LB_MODE}" in
1029 debian)
1030 LB_HDD_LABEL="${LB_HDD_LABEL:-DEBIAN_LIVE}"
1031 ;;
1032
1033 emdebian)
1034 LB_HDD_LABEL="${LB_HDD_LABEL:-EMDEBIAN_LIVE}"
1035 ;;
1036
1037 progress-linux)
1038 LB_HDD_LABEL="${LB_HDD_LABEL:-PROGRESS_$(echo ${LB_DISTRIBUTION} | tr [a-z] [A-Z])}"
1039 ;;
1040
1041 ubuntu)
1042 LB_HDD_LABEL="${LB_HDD_LABEL:-UBUNTU}"
1043 ;;
1044 esac
1045
1046 # Setting hdd size
1047 LB_HDD_SIZE="${LB_HDD_SIZE:-10000}"
1048
1049 # Setting iso volume
1050 case "${LB_MODE}" in
1051 debian)
1052 LB_ISO_VOLUME="${LB_ISO_VOLUME:-Debian ${LB_DISTRIBUTION} \$(date +%Y%m%d-%H:%M)}"
1053 ;;
1054
1055 emdebian)
1056 LB_ISO_VOLUME="${LB_ISO_VOLUME:-Emdebian ${LB_DISTRIBUTION} \$(date +%Y%m%d-%H:%M)}"
1057 ;;
1058
1059 progress-linux)
1060 LB_ISO_VOLUME="${LB_ISO_VOLUME:-Progress ${LB_DISTRIBUTION}}"
1061 ;;
1062
1063 ubuntu)
1064 LB_ISO_VOLUME="${LB_ISO_VOLUME:-Ubuntu ${LB_DISTRIBUTION} \$(date +%Y%m%d-%H:%M)}"
1065 ;;
1066 esac
1067
1068 # Setting memtest option
1069 LB_MEMTEST="${LB_MEMTEST:-memtest86+}"
1070
1071 # Setting loadlin option
1072 case "${LB_MODE}" in
1073 progress-linux|ubuntu)
1074
1075 ;;
1076
1077 *)
1078 case "${LB_ARCHITECTURES}" in
1079 amd64|i386)
1080 if [ "${LB_DEBIAN_INSTALLER}" != "false" ]
1081 then
1082 LB_LOADLIN="${LB_LOADLIN:-true}"
1083 else
1084 LB_LOADLIN="${LB_LOADLIN:-false}"
1085 fi
1086 ;;
1087
1088 *)
1089 LB_LOADLIN="${LB_LOADLIN:-false}"
1090 ;;
1091 esac
1092 ;;
1093 esac
1094
1095 # Setting win32-loader option
1096 case "${LB_MODE}" in
1097 progress-linux|ubuntu)
1098
1099 ;;
1100
1101 *)
1102 case "${LB_ARCHITECTURES}" in
1103 amd64|i386)
1104 if [ "${LB_DEBIAN_INSTALLER}" != "false" ]
1105 then
1106 LB_WIN32_LOADER="${LB_WIN32_LOADER:-true}"
1107 else
1108 LB_WIN32_LOADER="${LB_WIN32_LOADER:-false}"
1109 fi
1110 ;;
1111
1112 *)
1113 LB_WIN32_LOADER="${LB_WIN32_LOADER:-false}"
1114 ;;
1115 esac
1116 ;;
1117 esac
1118
1119 # Setting netboot filesystem
1120 LB_NET_ROOT_FILESYSTEM="${LB_NET_ROOT_FILESYSTEM:-nfs}"
1121
1122 # Setting netboot server path
1123 case "${LB_MODE}" in
1124 progress-linux)
1125 LB_NET_ROOT_PATH="${LB_NET_ROOT_PATH:-/srv/progress-linux}"
1126 ;;
1127
1128 *)
1129 LB_NET_ROOT_PATH="${LB_NET_ROOT_PATH:-/srv/${LB_MODE}-live}"
1130 ;;
1131 esac
1132
1133 # Setting netboot server address
1134 LB_NET_ROOT_SERVER="${LB_NET_ROOT_SERVER:-192.168.1.1}"
1135
1136 # Setting net cow filesystem
1137 LB_NET_COW_FILESYSTEM="${LB_NET_COW_FILESYSTEM:-nfs}"
1138
1139 # Setting net tarball
1140 LB_NET_TARBALL="${LB_NET_TARBALL:-true}"
1141
1142 # Setting syslinux theme package
1143 case "${LB_MODE}" in
1144 progress-linux)
1145 LB_SYSLINUX_THEME="${LB_SYSLINUX_THEME:-progress-standard}"
1146 ;;
1147
1148 ubuntu)
1149 LB_SYSLINUX_THEME="${LB_SYSLINUX_THEME:-ubuntu-oneiric}"
1150 ;;
1151
1152 *)
1153 LB_SYSLINUX_THEME="${LB_SYSLINUX_THEME:-live-build}"
1154 ;;
1155 esac
1156
1157 # Setting firmware option
1158 case "${LB_MODE}" in
1159 ubuntu)
1160 LB_FIRMWARE_CHROOT="${LB_FIRMWARE_CHROOT:-false}"
1161 LB_FIRMWARE_BINARY="${LB_FIRMWARE_BINARY:-false}"
1162 ;;
1163
1164 *)
1165 LB_FIRMWARE_CHROOT="${LB_FIRMWARE_CHROOT:-true}"
1166 LB_FIRMWARE_BINARY="${LB_FIRMWARE_BINARY:-true}"
1167 ;;
1168 esac
1169
1170 # Setting swap file
1171 LB_SWAP_FILE_SIZE="${LB_SWAP_FILE_SIZE:-512}"
1172
1173 ## config/source
1174
1175 # Setting source option
1176 LB_SOURCE="${LB_SOURCE:-false}"
1177
1178 # Setting image type
1179 LB_SOURCE_IMAGES="${LB_SOURCE_IMAGES:-tar}"
1180
1181 # Setting fakeroot/fakechroot
1182 LB_USE_FAKEROOT="${LB_USE_FAKEROOT:-false}"
1183 }
1184
1185 Check_defaults ()
1186 {
1187 if [ "${LB_CONFIG_VERSION}" ]
1188 then
1189 # We're only checking when we're actually running the checks
1190 # that's why the check for emptyness of the version;
1191 # however, as live-build always declares LB_CONFIG_VERSION
1192 # internally, this is safe assumption (no cases where it's unset,
1193 # except when bootstrapping the functions/defaults etc.).
1194 CURRENT_CONFIG_VERSION="$(echo ${LB_CONFIG_VERSION} | awk -F. '{ print $1 }')"
1195
1196 if [ ${CURRENT_CONFIG_VERSION} -ne 3 ]
1197 then
1198 if [ ${CURRENT_CONFIG_VERSION} -ge 4 ]
1199 then
1200 Echo_error "This config tree is too new for this version of live-build (${VERSION})."
1201 Echo_error "Aborting build, please get a new version of live-build."
1202
1203 exit 1
1204 elif [ ${CURRENT_CONFIG_VERSION} -le 2 ]
1205 then
1206 Echo_error "This config tree is too old for this version of live-build (${VERSION})."
1207 Echo_error "Aborting build, please regenerate the config tree."
1208
1209 exit 1
1210 else
1211 Echo_warning "This config tree does not specify a format version or has an unknown version number."
1212 Echo_warning "Continuing build, but it could lead to errors or different results. Please regenerate the config tree."
1213 fi
1214 fi
1215 fi
1216
1217 if [ "${LB_DEBIAN_INSTALLER}" != "false" ]
1218 then
1219 # d-i true, no caching
1220 if ! echo ${LB_CACHE_STAGES} | grep -qs "bootstrap\b" || [ "${LB_CACHE}" != "true" ] || [ "${LB_CACHE_PACKAGES}" != "true" ]
1221 then
1222 Echo_warning "You have selected values of LB_CACHE, LB_CACHE_PACKAGES, LB_CACHE_STAGES and LB_DEBIAN_INSTALLER which will result in 'bootstrap' packages not being cached. This configuration is potentially unsafe as the bootstrap packages are re-used when integrating the Debian Installer."
1223 fi
1224 fi
1225
1226 if [ "${LB_BOOTLOADER}" = "syslinux" ]
1227 then
1228 # syslinux + fat
1229 case "${LB_BINARY_FILESYSTEM}" in
1230 fat*|ntfs)
1231 ;;
1232 *)
1233 Echo_warning "You have selected values of LB_BOOTLOADER and LB_BINARY_FILESYSTEM which are incompatible - syslinux only supports FAT and NTFS filesystems."
1234 ;;
1235 esac
1236 fi
1237
1238 case "${LB_BINARY_IMAGES}" in
1239 hdd*)
1240 # grub or yaboot + hdd
1241 case "${LB_BOOTLOADER}" in
1242 grub|yaboot)
1243 Echo_error "You have selected a combination of bootloader and image type that is currently not supported by live-build. Please use either another bootloader or a different image type."
1244 exit 1
1245 ;;
1246 esac
1247 ;;
1248 esac
1249
1250 if [ "$(echo \"${LB_ISO_APPLICATION}\" | wc -c)" -gt 128 ]
1251 then
1252 Echo_warning "You have specified a value of LB_ISO_APPLICATION that is too long; the maximum length is 128 characters."
1253 fi
1254
1255 if [ "$(echo \"${LB_ISO_PREPARER}\" | wc -c)" -gt 128 ]
1256 then
1257 Echo_warning "You have specified a value of LB_ISO_PREPARER that is too long; the maximum length is 128 characters."
1258 fi
1259
1260 if [ "$(echo \"${LB_ISO_PUBLISHER}\" | wc -c)" -gt 128 ]
1261 then
1262 Echo_warning "You have specified a value of LB_ISO_PUBLISHER that is too long; the maximum length is 128 characters."
1263 fi
1264
1265 if [ "$(eval "echo \"${LB_ISO_VOLUME}\"" | wc -c)" -gt 32 ]
1266 then
1267 Echo_warning "You have specified a value of LB_ISO_VOLUME that is too long; the maximum length is 32 characters."
1268 fi
1269
1270 # Architectures to use foreign bootstrap for
1271 LB_BOOTSTRAP_QEMU_ARCHITECTURES="${LB_BOOTSTRAP_QEMU_ARCHITECTURES:-}"
1272
1273 # Packages to exclude for the foreign/ports bootstrapping
1274 LB_BOOTSTRAP_QEMU_EXCLUDE="${LB_BOOTSTRAP_QEMU_EXCLUDE:-}"
1275
1276 # Ports using foreign bootstrap need a working qemu-*-system. This is the location it
1277 LB_BOOTSTRAP_QEMU_STATIC="${LB_BOOTSTRAP_QEMU_STATIC:-}"
1278
1279 }
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 Echo ()
11 {
12 STRING="${1}"
13 shift
14
15 printf "${STRING}\n" "${@}"
16 }
17
18 Echo_debug ()
19 {
20 if [ "${_DEBUG}" = "true" ]
21 then
22 STRING="${1}"
23 shift
24
25 printf "D: ${STRING}\n" "${@}"
26 fi
27 }
28
29 Echo_debug_running ()
30 {
31 if [ "${_DEBUG}" = "true" ]
32 then
33 STRING="${1}"
34 shift
35
36 printf "D: ${STRING}" "${@}"
37
38 if [ "${_COLOR}" = "false" ]
39 then
40 printf "..."
41 else
42 printf "... ${YELLOW}${BLINK}running${NO_COLOR}"
43 fi
44 fi
45 }
46
47 Echo_error ()
48 {
49 STRING="${1}"
50 shift
51
52 if [ "${_COLOR}" = "false" ]
53 then
54 printf "E:"
55 else
56 printf "${RED}E${NO_COLOR}:"
57 fi
58
59 printf " ${STRING}\n" "${@}" >&2
60 }
61
62 Echo_message ()
63 {
64 if [ "${_QUIET}" != "true" ]
65 then
66 STRING="${1}"
67 shift
68
69 if [ "${_COLOR}" = "false" ]
70 then
71 printf "P:"
72 else
73 printf "${WHITE}P${NO_COLOR}:"
74 fi
75
76 printf " ${STRING}\n" "${@}"
77 fi
78 }
79
80 Echo_message_running ()
81 {
82 if [ "${_QUIET}" != "true" ]
83 then
84 STRING="${1}"
85 shift
86
87 if [ "${_COLOR}" = "false" ]
88 then
89 printf "P:"
90 else
91 printf "${WHITE}P${NO_COLOR}:"
92 fi
93
94 printf " ${STRING}" "${@}"
95
96 if [ "${_COLOR}" = "true" ]
97 then
98 printf "... ${YELLOW}${BLINK}running${NO_COLOR}"
99 else
100 printf "..."
101 fi
102 fi
103 }
104
105 Echo_verbose ()
106 {
107 if [ "${_VERBOSE}" = "true" ]
108 then
109 STRING="${1}"
110 shift
111
112 printf "I: ${STRING}\n" "${@}"
113 fi
114 }
115
116 Echo_verbose_running ()
117 {
118 if [ "${_VERBOSE}" != "true" ]
119 then
120 STRING="${1}"
121 shift
122
123 printf "I: ${STRING}" "${@}"
124
125 if [ "${_COLOR}" = "true" ]
126 then
127 printf "... ${YELLOW}${BLINK}running${NO_COLOR}"
128 else
129 printf "..."
130 fi
131 fi
132 }
133
134 Echo_warning ()
135 {
136 STRING="${1}"
137 shift
138
139 if [ "${_COLOR}" = "false" ]
140 then
141 printf "W:"
142 else
143 printf "${YELLOW}W${NO_COLOR}:"
144 fi
145
146 printf " ${STRING}\n" "${@}"
147 }
148
149 Echo_status ()
150 {
151 __RETURN="${?}"
152
153 if [ "${_COLOR}" = "false" ]
154 then
155 if [ "${__RETURN}" = "0" ]
156 then
157 printf " done.\n"
158 else
159 printf " failed.\n"
160 fi
161 else
162 Cursor_columns_backward 8
163
164 if [ "${__RETURN}" = "0" ]
165 then
166 printf " ${GREEN}done${NO_COLOR}. \n"
167 else
168 printf " ${RED}failed${NO_COLOR}.\n"
169 fi
170 fi
171 }
172
173 Echo_done ()
174 {
175 if [ "${_COLOR}" = "false" ]
176 then
177 printf " already done.\n"
178 else
179 Cursor_columns_backward 8
180
181 printf " ${GREEN}already done${NO_COLOR}.\n"
182 fi
183 }
184
185 Echo_file ()
186 {
187 while read LINE
188 do
189 echo "${1}: ${LINE}"
190 done < "${1}"
191 }
192
193 Echo_breakage ()
194 {
195 case "${LB_PARENT_DISTRIBUTION}" in
196 sid)
197 Echo_message "If the following stage fails, the most likely cause of the problem is with your mirror configuration, a caching proxy or the sid distribution."
198 ;;
199 *)
200 Echo_message "If the following stage fails, the most likely cause of the problem is with your mirror configuration or a caching proxy."
201 ;;
202 esac
203
204 Echo_message "${@}"
205 }
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 Exit ()
11 {
12 VALUE="${?}"
13
14 if [ "${_DEBUG}" = "true" ]
15 then
16 # Dump variables
17 set | grep -e ^LB
18 fi
19
20 # Always exit true in case we are not able to unmount
21 # (e.g. due to running processes in chroot from user customizations)
22 Echo_message "Begin unmounting filesystems..."
23
24 if [ -e /proc/mounts ]
25 then
26 for DIRECTORY in $(awk -v dir="${PWD}/chroot/" '$2 ~ dir { print $2 }' /proc/mounts | sort -r)
27 do
28 umount ${DIRECTORY} > /dev/null 2>&1 || true
29 done
30 else
31 for DIRECTORY in /dev/shm /dev/pts /dev /proc /selinux /sys /root/config
32 do
33 umount -f chroot/${DIRECTORY} > /dev/null 2>&1 || true
34 done
35 fi
36
37 rm -f .build/chroot_devpts
38 rm -f .build/chroot_proc
39 rm -f .build/chroot_selinuxfs
40 rm -f .build/chroot_sysfs
41
42 Echo_message "Saving caches..."
43
44 # We can't really know at which part we're failing,
45 # but let's assume that if there's any binary stage file arround
46 # we are in binary stage.
47
48 if ls .build/binary* > /dev/null 2>&1
49 then
50 Save_cache cache/packages.binary
51 else
52 Save_cache cache/packages.chroot
53 fi
54
55 return ${VALUE}
56 }
57
58 Setup_cleanup ()
59 {
60 Echo_message "Setting up cleanup function"
61 trap 'Exit' EXIT HUP INT QUIT TERM
62 }
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 Help ()
11 {
12 Echo "%s - %s" "${PROGRAM}" "${DESCRIPTION}"
13 echo
14 Echo "Usage:"
15 echo
16
17 if [ -n "${USAGE}" ]
18 then
19 Echo "${USAGE}"
20 echo
21 fi
22 Echo " %s [-h|--help]" "${PROGRAM}"
23 Echo " %s [-u|--usage]" "${PROGRAM}"
24 Echo " %s [-v|--version]" "${PROGRAM}"
25 echo
26
27 if [ -n "${HELP}" ]
28 then
29 Echo "${HELP}"
30 echo
31 fi
32
33 Echo "Report bugs to Debian Live project <http://live.debian.net/>."
34 exit 0
35 }
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 Check_lockfile ()
11 {
12 FILE="${1}"
13
14 if [ -z "${FILE}" ]
15 then
16 FILE="/var/lock/${PROGRAM}.lock"
17 fi
18
19 # Checking lock file
20 if [ -f "${FILE}" ]
21 then
22 Echo_error "${PROGRAM} locked"
23 exit 1
24 fi
25 }
26
27 Create_lockfile ()
28 {
29 FILE="${1}"
30
31 if [ -z "${FILE}" ]
32 then
33 FILE="/var/lock/${PROGRAM}.lock"
34 fi
35
36 DIRECTORY="$(dirname ${FILE})"
37
38 # Creating lock directory
39 mkdir -p "${DIRECTORY}"
40
41 # Creating lock trap
42 trap 'ret=${?}; '"rm -f \"${FILE}\";"' exit ${ret}' EXIT HUP INT QUIT TERM
43
44 # Creating lock file
45 touch "${FILE}"
46 }
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9 Lodetach ()
10 {
11 DEVICE="${1}"
12 ATTEMPT="${2:-1}"
13
14 if [ "${ATTEMPT}" -gt 3 ]
15 then
16 Echo_error "Failed to detach loop device '${DEVICE}'."
17 exit 1
18 fi
19
20 # Changes to block devices result in uevents which trigger rules which in
21 # turn access the loop device (ex. udisks-part-id, blkid) which can cause
22 # a race condition. We call 'udevadm settle' to help avoid this.
23 if [ -x "$(which udevadm 2>/dev/null)" ]
24 then
25 ${LB_ROOT_COMMAND} udevadm settle
26 fi
27
28 # Loop back devices aren't the most reliable when it comes to writes.
29 # We sleep and sync for good measure - better than build failure.
30 sync
31 sleep 1
32
33 ${LB_ROOT_COMMAND} ${LB_LOSETUP} -d "${DEVICE}" || Lodetach "${DEVICE}" "$(expr ${ATTEMPT} + 1)"
34 }
35
36 Losetup ()
37 {
38 DEVICE="${1}"
39 FILE="${2}"
40 PARTITION="${3:-1}"
41
42 ${LB_ROOT_COMMAND} ${LB_LOSETUP} --read-only "${DEVICE}" "${FILE}"
43 FDISK_OUT="$(${LB_FDISK} -l -u ${DEVICE} 2>&1)"
44 Lodetach "${DEVICE}"
45
46 LOOPDEVICE="$(echo ${DEVICE}p${PARTITION})"
47
48 if [ "${PARTITION}" = "0" ]
49 then
50 Echo_message "Mounting %s with offset 0" "${DEVICE}"
51
52 ${LB_ROOT_COMMAND} ${LB_LOSETUP} "${DEVICE}" "${FILE}"
53 else
54 SECTORS="$(echo "$FDISK_OUT" | sed -ne "s|^$LOOPDEVICE[ *]*\([0-9]*\).*|\1|p")"
55 OFFSET="$(expr ${SECTORS} '*' 512)"
56
57 Echo_message "Mounting %s with offset %s" "${DEVICE}" "${OFFSET}"
58
59 ${LB_ROOT_COMMAND} ${LB_LOSETUP} -o "${OFFSET}" "${DEVICE}" "${FILE}"
60 fi
61 }
62
63 Calculate_partition_size ()
64 {
65 ORIGINAL_SIZE="${1}"
66 FILESYSTEM="${2}"
67
68 case "${FILESYSTEM}" in
69 ext2|ext3|ext4)
70 PERCENT="5"
71 ;;
72 *)
73 PERCENT="3"
74 ;;
75 esac
76
77 echo $(expr ${ORIGINAL_SIZE} + ${ORIGINAL_SIZE} \* ${PERCENT} / 100 + 1)
78 }
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 Man ()
11 {
12 if [ -x "$(which man 2>/dev/null)" ]
13 then
14 man $(basename ${0})
15 exit 0
16 fi
17 }
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 Expand_packagelist ()
11 {
12 _LB_EXPAND_QUEUE="$(basename "${1}")"
13
14 shift
15
16 while [ -n "${_LB_EXPAND_QUEUE}" ]
17 do
18 _LB_LIST_NAME="$(echo ${_LB_EXPAND_QUEUE} | cut -d" " -f1)"
19 _LB_EXPAND_QUEUE="$(echo ${_LB_EXPAND_QUEUE} | cut -s -d" " -f2-)"
20 _LB_LIST_LOCATION=""
21 _LB_NESTED=0
22 _LB_ENABLED=1
23
24 for _LB_SEARCH_PATH in ${@}
25 do
26 if [ -e "${_LB_SEARCH_PATH}/${_LB_LIST_NAME}" ]
27 then
28 _LB_LIST_LOCATION="${_LB_SEARCH_PATH}/${_LB_LIST_NAME}"
29 break
30 fi
31 done
32
33 if [ -z "${_LB_LIST_LOCATION}" ]
34 then
35 echo "W: Unknown package list '${_LB_LIST_NAME}'" >&2
36 continue
37 fi
38
39 while read _LB_LINE
40 do
41 case "${_LB_LINE}" in
42 \!*)
43 _EXEC="$(echo ${_LB_LINE} | sed -e 's|^!||')"
44
45 case "${LB_BUILD_WITH_CHROOT}" in
46 true)
47 chroot chroot sh -c "${_EXEC}"
48 ;;
49
50 false)
51 eval ${_EXEC}
52 ;;
53 esac
54 ;;
55
56 \#if\ *)
57 if [ ${_LB_NESTED} -eq 1 ]
58 then
59 echo "E: Nesting conditionals is not supported" >&2
60 exit 1
61 fi
62 _LB_NESTED=1
63
64 _LB_NEEDLE="$(echo "${_LB_LINE}" | cut -d' ' -f3-)"
65 _LB_HAYSTACK="$(eval "echo \$LB_$(echo "${_LB_LINE}" | cut -d' ' -f2)")"
66
67 _LB_ENABLED=0
68 for _LB_NEEDLE_PART in ${_LB_NEEDLE}
69 do
70 for _LB_HAYSTACK_PART in ${_LB_HAYSTACK}
71 do
72 if [ "${_LB_NEEDLE_PART}" = "${_LB_HAYSTACK_PART}" ]
73 then
74 _LB_ENABLED=1
75 fi
76 done
77 done
78 ;;
79
80 \#nif\ *)
81 if [ ${_LB_NESTED} -eq 1 ]
82 then
83 echo "E: Nesting conditionals is not supported" >&2
84 exit 1
85 fi
86 _LB_NESTED=1
87
88 _LB_NEEDLE="$(echo "${_LB_LINE}" | cut -d' ' -f3-)"
89 _LB_HAYSTACK="$(eval "echo \$LB_$(echo "${_LB_LINE}" | cut -d' ' -f2)")"
90
91 _LB_ENABLED=0
92 for _LB_NEEDLE_PART in ${_LB_NEEDLE}
93 do
94 for _LB_HAYSTACK_PART in ${_LB_HAYSTACK}
95 do
96 if [ "${_LB_NEEDLE_PART}" != "${_LB_HAYSTACK_PART}" ]
97 then
98 _LB_ENABLED=1
99 fi
100 done
101 done
102 ;;
103
104 \#endif*)
105 _LB_NESTED=0
106 _LB_ENABLED=1
107 ;;
108
109 \#*)
110 if [ ${_LB_ENABLED} -ne 1 ]
111 then
112 continue
113 fi
114
115 # Find includes
116 _LB_INCLUDES="$(echo "${_LB_LINE}" | sed -n \
117 -e 's|^#<include> \([^ ]*\)|\1|gp' \
118 -e 's|^#include <\([^ ]*\)>|\1|gp')"
119
120 # Add to queue
121 _LB_EXPAND_QUEUE="$(echo ${_LB_EXPAND_QUEUE} ${_LB_INCLUDES} |
122 sed -e 's|[ ]*$||' -e 's|^[ ]*||')"
123 ;;
124
125 *)
126 if [ ${_LB_ENABLED} -eq 1 ]
127 then
128 echo "${_LB_LINE}"
129 fi
130 ;;
131
132 esac
133 done < "${_LB_LIST_LOCATION}"
134 done
135 }
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 Check_package ()
11 {
12 FILE="${1}"
13 PACKAGE="${2}"
14
15 Check_installed "${FILE}" "${PACKAGE}"
16
17 case "${INSTALL_STATUS}" in
18 1)
19 _LB_PACKAGES="${_LB_PACKAGES} ${PACKAGE}"
20 ;;
21
22 2)
23 Echo_error "You need to install %s on your host system." "${PACKAGE}"
24 exit 1
25 ;;
26 esac
27 }
28
29 Install_package ()
30 {
31 if [ -n "${_LB_PACKAGES}" ] && [ "${LB_BUILD_WITH_CHROOT}" != "false" ]
32 then
33 case "${LB_APT}" in
34 apt|apt-get)
35 Chroot chroot "apt-get install -o APT::Install-Recommends=false ${APT_OPTIONS} ${_LB_PACKAGES}"
36 ;;
37
38 aptitude)
39 Chroot chroot "aptitude install --without-recommends ${APTITUDE_OPTIONS} ${_LB_PACKAGES}"
40 ;;
41 esac
42 fi
43 }
44
45 Remove_package ()
46 {
47 if [ -n "${_LB_PACKAGES}" ] && [ "${LB_BUILD_WITH_CHROOT}" != "false" ]
48 then
49 case "${LB_APT}" in
50 apt|apt-get)
51 Chroot chroot "apt-get remove --purge ${APT_OPTIONS} ${_LB_PACKAGES}"
52 ;;
53
54 aptitude)
55 Chroot chroot "aptitude purge ${APTITUDE_OPTIONS} ${_LB_PACKAGES}"
56 ;;
57 esac
58 fi
59 }
60
61 # Check_installed
62 # uses as return value global var INSTALL_STATUS
63 # INSTALL_STATUS : 0 if package is installed
64 # 1 if package isn't installed and we're in an apt managed system
65 # 2 if package isn't installed and we aren't in an apt managed system
66 Check_installed ()
67 {
68 FILE="${1}"
69 PACKAGE="${2}"
70
71 case "${LB_BUILD_WITH_CHROOT}" in
72 true)
73 if Chroot chroot "dpkg-query -s ${PACKAGE}" 2> /dev/null | grep -qs "Status: install"
74 then
75 INSTALL_STATUS=0
76 else
77 INSTALL_STATUS=1
78 fi
79 ;;
80 false)
81 if which dpkg-query > /dev/null 2>&1
82 then
83 if Chroot chroot "dpkg-query -s ${PACKAGE}" 2> /dev/null | grep -qs "Status: install"
84 then
85 INSTALL_STATUS=0
86 else
87 INSTALL_STATUS=1
88 fi
89 else
90 FILE="$(echo ${FILE} | sed -e 's|chroot||')"
91
92 if [ ! -e "${FILE}" ]
93 then
94 INSTALL_STATUS=2
95 else
96 INSTALL_STATUS=0
97 fi
98 fi
99 ;;
100 esac
101 }
102
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 # Debian releases
11 RELEASE_squeeze="6.0.6"
12 RELEASE_wheezy="7.0~b2"
13 RELEASE_jessie="8"
14 RELEASE_sid="unstable"
15
16 # Progress Linux releases
17 RELEASE_artax="1.0"
18 RELEASE_baureo="2.0"
19 RELEASE_charon="unstable"
20
21 # Ubuntu releases
22 RELEASE_hardy="8.04" # LTS: 2013-04-01
23 RELEASE_lucid="10.04" # LTS: 2015-04-01
24 RELEASE_oneiric="11.10" # 2013-04-01
25 RELEASE_precise="12.04" # LTS: 2017-04-01
26 RELEASE_quantal="12.10" # 2014-04-01
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 Check_stagefile ()
11 {
12 FILE="${1}"
13 NAME="$(basename ${1})"
14
15 # Checking stage file
16 if [ -f "${FILE}" ]
17 then
18 if [ "${_FORCE}" != "true" ]
19 then
20 # Skipping execution
21 Echo_warning "skipping %s, already done" "${NAME}"
22 exit 0
23 else
24 # Forcing execution
25 Echo_message "forcing %s" "${NAME}"
26 rm -f "${FILE}"
27 fi
28 fi
29 }
30
31 Create_stagefile ()
32 {
33 FILE="${1}"
34 DIRECTORY="$(dirname ${1})"
35
36 # Creating stage directory
37 mkdir -p "${DIRECTORY}"
38
39 # Creating stage file
40 touch "${FILE}"
41 }
42
43 Require_stagefile ()
44 {
45 NAME="$(basename ${0})"
46 FILES="${@}"
47 NUMBER="$(echo ${@} | wc -w)"
48
49 for FILE in ${FILES}
50 do
51 # Find at least one of the required stages
52 if [ -f ${FILE} ]
53 then
54 CONTINUE="true"
55 NAME="${NAME} $(basename ${FILE})"
56 fi
57 done
58
59 if [ "${CONTINUE}" != "true" ]
60 then
61 if [ "${NUMBER}" -eq 1 ]
62 then
63 Echo_error "%s: %s missing" "${NAME}" "${FILE}"
64 else
65 Echo_error "%s: one of %s is missing" "${NAME}" "${FILES}"
66 fi
67
68 exit 1
69 fi
70 }
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 Check_templates ()
11 {
12 PACKAGE="${1}"
13
14 if [ -d "config/templates/${PACKAGE}" ]
15 then
16 TEMPLATES="config/templates/${PACKAGE}"
17 elif [ -d "${LB_TEMPLATES}/${PACKAGE}" ]
18 then
19 TEMPLATES="${LB_TEMPLATES}/${PACKAGE}"
20 else
21 Echo_error "%s templates not accessible in %s nor config/templates" "${PACKAGE}" "${LB_TEMPLATES}"
22 exit 1
23 fi
24 }
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 Usage ()
11 {
12 printf "%s - %s\n" "${PROGRAM}" "${DESCRIPTION}"
13 echo
14 Echo "Usage:"
15 echo
16
17 if [ -n "${USAGE}" ]
18 then
19 Echo " ${USAGE}"
20 echo
21 fi
22
23 printf " %s [-h|--help]\n" "${PROGRAM}"
24 printf " %s [-u|--usage]\n" "${PROGRAM}"
25 printf " %s [-v|--version]\n" "${PROGRAM}"
26 echo
27 Echo "Try \"%s --help\" for more information." "${PROGRAM}"
28
29 exit 1
30 }
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 Apt ()
11 {
12 CHROOT="${1}"
13 shift
14
15 case "${LB_APT}" in
16 apt|apt-get)
17 Chroot ${CHROOT} apt-get ${APT_OPTIONS} ${@}
18 ;;
19
20 aptitude)
21 Chroot ${CHROOT} aptitude ${APTITUDE_OPTIONS} ${@}
22 ;;
23 esac
24 }
0 # Makefile
1
2 SHELL := sh -e
3
4 LANGUAGES = $(shell cd po && ls)
5
6 all: build
7
8 po4a.cfg:
9 echo "[po4a_langs] $(LANGUAGES)" > po4a.cfg
10 echo "[po4a_paths] pot/\$$master.pot \$$lang:po/\$$lang/\$$master.po" >> po4a.cfg
11
12 for MANPAGE in en/*; \
13 do \
14 SECTION="$$(basename $${MANPAGE} | sed -e 's|\.|\n|g' | tail -n1)"; \
15 echo "[type: man] $${MANPAGE} \$$lang:\$$lang/$$(basename $${MANPAGE} .$${SECTION}).\$$lang.$${SECTION}" >> po4a.cfg; \
16 done
17
18 update:
19 ./bin/update-version.sh
20
21 build: po4a.cfg
22 @if [ ! -x "$$(which po4a 2>/dev/null)" ]; \
23 then \
24 echo "E: po4a - command not found"; \
25 echo "I: po4a can be optained from http://po4a.alioth.debian.org/"; \
26 echo "I: On Debian based systems, po4a can be installed with 'apt-get install po4a'."; \
27 exit 1; \
28 fi
29
30 po4a --keep 0 --no-backups --package-name live-build po4a.cfg
31
32 clean:
33 rm -f po/*/*.po~
34
35 distclean: clean
36 rm -f po4a.cfg
37 rm -rf $(LANGUAGES)
38
39 rebuild: distclean update build
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 PROGRAM="LIVE\\\-BUILD"
13 VERSION="$(cat ../VERSION)"
14
15 DATE="$(LC_ALL=C date +%Y\\\\-%m\\\\-%d)"
16
17 DAY="$(LC_ALL=C date +%d)"
18 MONTH="$(LC_ALL=C date +%m)"
19 YEAR="$(LC_ALL=C date +%Y)"
20
21 echo "Updating version headers..."
22
23 for MANPAGE in en/*
24 do
25 SECTION="$(basename ${MANPAGE} | awk -F. '{ print $2 }')"
26
27 sed -i -e "s|^.TH.*$|.TH ${PROGRAM} ${SECTION} ${DATE} ${VERSION} \"Debian Live Project\"|" ${MANPAGE}
28 done
29
30 # European date format
31 for _LANGUAGE in de es fr it
32 do
33 if ls po/${_LANGUAGE}/*.po > /dev/null 2>&1
34 then
35 for _FILE in po/${_LANGUAGE}/*.po
36 do
37 sed -i -e "s|^msgstr .*.2012\"$|msgstr \"${DAY}.${MONTH}.${YEAR}\"|g" "${_FILE}"
38 done
39 fi
40 done
41
42 # Brazilian date format
43 if ls po/pt_BR/*.po > /dev/null 2>&1
44 then
45 for _FILE in po/pt_BR/*.po
46 do
47 sed -i -e "s|^msgstr .*-2012\"$|msgstr \"${DAY}-${MONTH}-${YEAR}\"|g" "${_FILE}"
48 done
49 fi
0 .\"*******************************************************************
1 .\"
2 .\" This file was generated with po4a. Translate the source file.
3 .\"
4 .\"*******************************************************************
5 .TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4\-1 "Debian Live Project"
6
7 .SH NAME
8 \fBlb\fP \- wrapper for live\-build programs
9
10 .SH SYNOPSIS
11 \fBlb\fP COMMAND [COMMAND_OPTIONS]
12 .PP
13 \fBlb\fP [\fIlive\-build\ options\fP]
14
15 .SH DESCRIPTION
16 \fBlb\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the Debian
17 Live tool suite.
18 .PP
19
20 .\" FIXME
21 .SH OPTIONS
22 \fBlb\fP has no specific options but understands all generic live\-build
23 options. See \fIlive\-build\fP(7) for a complete list of all generic live\-build
24 options.
25
26 .SH FILES
27 .IP \fBnone\fP 4
28
29 .SH "SEE ALSO"
30 \fIlive\-build\fP(7)
31 .PP
32 This program is a part of live\-build.
33
34 .SH HOMEPAGE
35 More information about live\-build and the Debian Live project can be found
36 on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at
37 <\fIhttp://live.debian.net/manual/\fP>.
38
39 .SH BUGS
40 Bugs can be reported by submitting a bugreport for the live\-build package in
41 the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by
42 writing a mail to the Debian Live mailing list at
43 <\fIdebian\[email protected]\fP>.
44
45 .SH AUTHOR
46 live\-build was written by Daniel Baumann <\[email protected]\fP> for
47 the Debian project.
0 .\"*******************************************************************
1 .\"
2 .\" This file was generated with po4a. Translate the source file.
3 .\"
4 .\"*******************************************************************
5 .TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4\-1 "Debian Live Project"
6
7 .SH NAME
8 \fBlb binary\fP \- Complete the binary stage
9
10 .SH SYNOPSIS
11 \fBlb binary\fP [\fIlive\-build options\fP]
12
13 .SH DESCRIPTION
14 \fBlb binary\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the
15 Debian Live tool suite.
16 .PP
17 \fBlb binary\fP calls all necessary live\-build programs in the correct order to
18 complete the binary stage.
19
20 .SH OPTIONS
21 \fBlb binary\fP has no specific options but understands all generic live\-build
22 options. See \fIlive\-build\fP(7) for a complete list of all generic live\-build
23 options.
24
25 .SH FILES
26 .IP \fBnone\fP 4
27
28 .SH "SEE ALSO"
29 \fIlive\-build\fP(7)
30 .PP
31 This program is a part of live\-build.
32
33 .SH HOMEPAGE
34 More information about live\-build and the Debian Live project can be found
35 on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at
36 <\fIhttp://live.debian.net/manual/\fP>.
37
38 .SH BUGS
39 Bugs can be reported by submitting a bugreport for the live\-build package in
40 the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by
41 writing a mail to the Debian Live mailing list at
42 <\fIdebian\[email protected]\fP>.
43
44 .SH AUTHOR
45 live\-build was written by Daniel Baumann <\[email protected]\fP> for
46 the Debian project.
0 .\"*******************************************************************
1 .\"
2 .\" This file was generated with po4a. Translate the source file.
3 .\"
4 .\"*******************************************************************
5 .TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4\-1 "Debian Live Project"
6
7 .SH NAME
8 \fBlb bootstrap\fP \- Complete the bootstrap stage
9
10 .SH SYNOPSIS
11 \fBlb bootstrap\fP [\fIlive\-build options\fP]
12
13 .SH DESCRIPTION
14 \fBlb bootstrap\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the
15 Debian Live tool suite.
16 .PP
17 \fBlb bootstrap\fP calls all necessary live\-build programs in the correct order
18 to complete the bootstrap stage.
19
20 .SH OPTIONS
21 \fBlb bootstrap\fP has no specific options but understands all generic
22 live\-build options. See \fIlive\-build\fP(7) for a complete list of all generic
23 live\-build options.
24
25 .SH FILES
26 .IP \fBnone\fP 4
27
28 .SH "SEE ALSO"
29 \fIlive\-build\fP(7)
30 .PP
31 This program is a part of live\-build.
32
33 .SH HOMEPAGE
34 More information about live\-build and the Debian Live project can be found
35 on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at
36 <\fIhttp://live.debian.net/manual/\fP>.
37
38 .SH BUGS
39 Bugs can be reported by submitting a bugreport for the live\-build package in
40 the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by
41 writing a mail to the Debian Live mailing list at
42 <\fIdebian\[email protected]\fP>.
43
44 .SH AUTHOR
45 live\-build was written by Daniel Baumann <\[email protected]\fP> for
46 the Debian project.
0 .\"*******************************************************************
1 .\"
2 .\" This file was generated with po4a. Translate the source file.
3 .\"
4 .\"*******************************************************************
5 .TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4\-1 "Debian Live Project"
6
7 .SH NAME
8 \fBlb build\fP \- Complete the bootstrap, chroot, binary, and source stages
9
10 .SH SYNOPSIS
11 \fBlb build\fP [\fIlive\-build options\fP]
12
13 .SH DESCRIPTION
14 \fBlb build\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the
15 Debian Live tool suite.
16 .PP
17 \fBlb build\fP calls all necessary live\-build programs in the correct order to
18 complete the bootstrap, chroot, binary, and source stages.
19
20 .SH OPTIONS
21 \fBlb build\fP has no specific options but understands all generic live\-build
22 options. See \fIlive\-build\fP(7) for a complete list of all generic live\-build
23 options.
24
25 .SH FILES
26 .\" FIXME
27 .IP \fBauto/build\fP 4
28
29 .\" FIXME
30 .SH "SEE ALSO"
31 \fIlive\-build\fP(7)
32 .PP
33 This program is a part of live\-build.
34
35 .SH HOMEPAGE
36 More information about live\-build and the Debian Live project can be found
37 on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at
38 <\fIhttp://live.debian.net/manual/\fP>.
39
40 .SH BUGS
41 Bugs can be reported by submitting a bugreport for the live\-build package in
42 the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by
43 writing a mail to the Debian Live mailing list at
44 <\fIdebian\[email protected]\fP>.
45
46 .SH AUTHOR
47 live\-build was written by Daniel Baumann <\[email protected]\fP> for
48 the Debian project.
0 .\"*******************************************************************
1 .\"
2 .\" This file was generated with po4a. Translate the source file.
3 .\"
4 .\"*******************************************************************
5 .TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4\-1 "Debian Live Project"
6
7 .SH NAME
8 \fBlb chroot\fP \- Complete the chroot stage
9
10 .SH SYNOPSIS
11 \fBlb chroot\fP [\fIlive\-build options\fP]
12
13 .SH DESCRIPTION
14 \fBlb chroot\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the
15 Debian Live tool suite.
16 .PP
17 \fBlb chroot\fP calls all necessary live\-build programs in the correct order to
18 complete the chroot stage.
19
20 .SH OPTIONS
21 \fBlb chroot\fP has no specific options but understands all generic live\-build
22 options. See \fIlive\-build\fP(7) for a complete list of all generic live\-build
23 options.
24
25 .SH FILES
26 .IP \fBnone\fP 4
27
28 .SH "SEE ALSO"
29 \fIlive\-build\fP(7)
30 .PP
31 This program is a part of live\-build.
32
33 .SH HOMEPAGE
34 More information about live\-build and the Debian Live project can be found
35 on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at
36 <\fIhttp://live.debian.net/manual/\fP>.
37
38 .SH BUGS
39 Bugs can be reported by submitting a bugreport for the live\-build package in
40 the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by
41 writing a mail to the Debian Live mailing list at
42 <\fIdebian\[email protected]\fP>.
43
44 .SH AUTHOR
45 live\-build was written by Daniel Baumann <\[email protected]\fP> for
46 the Debian project.
0 .\"*******************************************************************
1 .\"
2 .\" This file was generated with po4a. Translate the source file.
3 .\"
4 .\"*******************************************************************
5 .TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4\-1 "Debian Live Project"
6
7 .SH NAME
8 \fBlb clean\fP \- Clean build directory
9
10 .SH SYNOPSIS
11 \fBlb clean\fP [\fIlive\-build options\fP]
12
13 .SH DESCRIPTION
14 \fBlb clean\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the
15 Debian Live tool suite.
16 .PP
17 .\" FIXME
18 .\" FIXME
19 \fBlb clean\fP is responsible for cleaning up after a system is built. It
20 removes the build directories, and removes some other files including stage
21 files, and any detritus left behind by other live\-build commands.
22
23 .SH OPTIONS
24 In addition to its specific options \fBlb clean\fP understands all generic
25 live\-build options. See \fIlive\-build\fP(7) for a complete list of all generic
26 live\-build options.
27 .PP
28 .\" FIXME
29 .IP \fB\-\-all\fP 4
30 removes chroot, binary, stage, and source. The cache directory is kept. This
31 is the default operation and will be performed if no argument is given.
32 .IP \fB\-\-cache\fP 4
33 removes the cache directories.
34 .IP \fB\-\-chroot\fP 4
35 unmounts and removes the chroot directory.
36 .IP \fB\-\-binary\fP 4
37 removes all binary related caches, files, directories, and stages files.
38 .IP \fB\-\-purge\fP 4
39 removes everything, including all caches. The config directory is kept.
40 .IP \fB\-\-remove\fP 4
41 removes everything, including package cache but not stage cache. The config
42 directory is kept.
43 .IP \fB\-\-stage\fP 4
44 removes all stage files.
45 .IP \fB\-\-source\fP 4
46 .\" FIXME
47 removes all source related caches, files, directories, and stage files.
48
49 .SH FILES
50 .\" FIXME
51 .IP \fBauto/clean\fP 4
52
53 .\" FIXME
54 .SH "SEE ALSO"
55 \fIlive\-build\fP(7)
56 .PP
57 This program is a part of live\-build.
58
59 .SH HOMEPAGE
60 More information about live\-build and the Debian Live project can be found
61 on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at
62 <\fIhttp://live.debian.net/manual/\fP>.
63
64 .SH BUGS
65 Bugs can be reported by submitting a bugreport for the live\-build package in
66 the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by
67 writing a mail to the Debian Live mailing list at
68 <\fIdebian\[email protected]\fP>.
69
70 .SH AUTHOR
71 live\-build was written by Daniel Baumann <\[email protected]\fP> for
72 the Debian project.
0 .\"*******************************************************************
1 .\"
2 .\" This file was generated with po4a. Translate the source file.
3 .\"
4 .\"*******************************************************************
5 .TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4\-1 "Debian Live Project"
6
7 .SH NAME
8 \fBlb config\fP \- Create config directory
9
10 .SH SYNOPSIS
11 \fBlb config\fP [\fIlive\-build options\fP]
12 .PP
13 .\" FIXME
14 \fBlb config\fP
15 .br
16 [\fB\-\-apt\fP apt|aptitude]
17 .br
18 [\fB\-\-apt\-ftp\-proxy\fP \fIURL\fP]
19 .br
20 [\fB\-\-apt\-http\-proxy\fP \fIURL\fP]
21 .br
22 [\fB\-\-apt\-indices\fP true|false|none]
23 .br
24 [\fB\-\-apt\-options\fP \fIOPTION\fP|"\fIOPTIONS\fP"]
25 .br
26 [\fB\-\-aptitude\-options\fP \fIOPTION\fP|"\fIOPTIONS\fP"]
27 .br
28 [\fB\-\-apt\-pipeline\fP \fIDEPTH\fP]
29 .br
30 [\fB\-\-apt\-recommends\fP true|false]
31 .br
32 [\fB\-\-apt\-secure\fP true|false]
33 .br
34 [\fB\-\-apt\-source\-archives\fP true|false]
35 .br
36 [\-a|\fB\-\-architectures\fP \fIARCHITECTURE\fP]
37 .br
38 [\-b|\fB\-\-binary\-images\fP iso|iso\-hybrid|netboot|tar|hdd]
39 .br
40 [\fB\-\-binary\-filesystem\fP fat16|fat32|ext2|ext3|ext4]
41 .br
42 [\fB\-\-bootappend\-install\fP \fIPARAMETER\fP|\fI"PARAMETERS"\fP]
43 .br
44 [\fB\-\-bootappend\-live\fP \fIPARAMETER\fP|\fI"PARAMETERS"\fP]
45 .br
46 [\fB\-\-bootloader\fP grub|syslinux|yaboot]
47 .br
48 [\fB\-\-bootstrap\fP cdebootstrap|cdebootstrap\-static|debootstrap]
49 .br
50 [\fB\-\-cache\fP true|false]
51 .br
52 [\fB\-\-cache\-indices\fP true|false]
53 .br
54 [\fB\-\-cache\-packages\fP true|false]
55 .br
56 [\fB\-\-cache\-stages\fP \fISTAGE\fP|\fI"STAGES"\fP]
57 .br
58 [\fB\-\-checksums\fP md5|sha1|sha256|none]
59 .br
60 [\fB\-\-compression\fP bzip2|gzip|lzip|none]
61 .br
62 [\fB\-\-config\fP \fIGIT_URL::GIT_ID\fP]
63 .br
64 [\fB\-\-build\-with\-chroot\fP true|false]
65 .br
66 [\fB\-\-chroot\-filesystem\fP ext2|ext3|ext4|squashfs|jffs2|none]
67 .br
68 [\fB\-\-clean\fP]
69 .br
70 [\-c|\fB\-\-conffile\fP \fIFILE\fP]
71 .br
72 [\fB\-\-debconf\-frontend\fP dialog|editor|noninteractive|readline]
73 .br
74 [\fB\-\-debconf\-priority\fP low|medium|high|critical]
75 .br
76 [\fB\-\-debian\-installer\fP true|cdrom|netinst|netboot|businesscard|live|false]
77 .br
78 [\fB\-\-debian\-installer\-distribution\fP daily|\fICODENAME\fP]
79 .br
80 [\fB\-\-debian\-installer\-preseedfile\fP \fIFILE\fP|\fIURL\fP]
81 .br
82 [\fB\-\-debian\-installer\-gui\fP true|false]
83 .br
84 [\fB\-\-debug\fP]
85 .br
86 [\-d|\fB\-\-distribution\fP \fICODENAME\fP]
87 .br
88 [\fB\-\-parent\-distribution\fP \fICODENAME\fP]
89 .br
90 [\fB\-\-parent\-debian\-installer\-distribution\fP \fICODENAME\fP]
91 .br
92 [\fB\-\-dump\fP]
93 .br
94 [\fB\-\-fdisk\fP fdisk|fdisk.dist]
95 .br
96 [\fB\-\-firmware\-binary true|false\fP]
97 .br
98 [\fB\-\-firmware\-chroot true|false\fP]
99 .br
100 [\fB\-\-force\fP]
101 .br
102 [\fB\-\-grub\-splash\fP \fIFILE\fP]
103 .br
104 [\fB\-\-gzip\-options\fP \fIOPTION\fP|"\fIOPTIONS\fP"]
105 .br
106 [\fB\-\-hooks\fP \fIFILE\fP]
107 .br
108 [\fB\-\-ignore\-system\-defaults\fP]
109 .br
110 [\fB\-\-initramfs\fP auto|none|live\-boot|casper]
111 .br
112 [\fB\-\-initramfs\-compression\fP bzip2|gzip|lzma]
113 .br
114 [\fB\-\-initsystem\fP sysvinit|runit|systemd|upstart|none]
115 .br
116 [\fB\-\-interactive\fP shell]
117 .br
118 [\fB\-\-isohybrid\-options\fP \fIOPTION\fP|"\fIOPTIONS\fP"]
119 .br
120 [\fB\-\-iso\-application\fP \fINAME\fP]
121 .br
122 [\fB\-\-iso\-preparer\fP \fINAME\fP]
123 .br
124 [\fB\-\-iso\-publisher\fP \fINAME\fP]
125 .br
126 [\fB\-\-iso\-volume\fP \fINAME\fP]
127 .br
128 [\fB\-\-jffs2\-eraseblock\fP \fISIZE\fP]
129 .br
130 [\fB\-\-keyring\-packages\fP \fIPACKAGE|"PACKAGES"\fP]
131 .br
132 [\-k|\fB\-\-linux\-flavours\fP \fIFLAVOUR\fP|\fI"FLAVOURS"\fP]
133 .br
134 [\fB\-\-linux\-packages\fP \fI"PACKAGES"\fP]
135 .br
136 [\fB\-\-losetup\fP losetup|losetup.orig]
137 .br
138 [\fB\-\-memtest\fP memtest86+|memtest86|none]
139 .br
140 [\-m|\fB\-\-parent\-mirror\-bootstrap\fP \fIURL\fP]
141 .br
142 [\fB\-\-parent\-mirror\-chroot\fP \fIURL\fP]
143 .br
144 [\fB\-\-parent\-mirror\-chroot\-security\fP \fIURL\fP]
145 .br
146 [\fB\-\-parent\-mirror\-chroot\-updates\fP \fIURL\fP]
147 .br
148 [\fB\-\-parent\-mirror\-chroot\-backports\fP \fIURL\fP]
149 .br
150 [\fB\-\-parent\-mirror\-binary\fP \fIURL\fP]
151 .br
152 [\fB\-\-parent\-mirror\-binary\-security\fP \fIURL\fP]
153 .br
154 [\fB\-\-parent\-mirror\-binary\-updates\fP \fIURL\fP]
155 .br
156 [\fB\-\-parent\-mirror\-binary\-backports\fP \fIURL\fP]
157 .br
158 [\fB\-\-parent\-mirror\-debian\-installer\fP \fIURL\fP]
159 .br
160 [\fB\-\-mirror\-bootstrap\fP \fIURL\fP]
161 .br
162 [\fB\-\-mirror\-chroot\fP \fIURL\fP]
163 .br
164 [\fB\-\-mirror\-chroot\-security\fP \fIURL\fP]
165 .br
166 [\fB\-\-mirror\-chroot\-updates\fP \fIURL\fP]
167 .br
168 [\fB\-\-mirror\-chroot\-backports\fP \fIURL\fP]
169 .br
170 [\fB\-\-mirror\-binary\fP \fIURL\fP]
171 .br
172 [\fB\-\-mirror\-binary\-security\fP \fIURL\fP]
173 .br
174 [\fB\-\-mirror\-binary\-updates\fP \fIURL\fP]
175 .br
176 [\fB\-\-mirror\-binary\-backports\fP \fIURL\fP]
177 .br
178 [\fB\-\-mirror\-debian\-installer\fP \fIURL\fP]
179 .br
180 [\fB\-\-mode\fP debian|emdebian|progress\-linux|ubuntu]
181 .br
182 [\fB\-\-system\fP live|normal]
183 .br
184 [\fB\-\-net\-root\-filesystem\fP nfs|cfs]
185 .br
186 [\fB\-\-net\-root\-mountoptions\fP \fIOPTIONS\fP]
187 .br
188 [\fB\-\-net\-root\-path\fP \fIPATH\fP]
189 .br
190 [\fB\-\-net\-root\-server\fP \fIIP\fP|\fIHOSTNAME\fP]
191 .br
192 [\fB\-\-net\-cow\-filesystem\fP nfs|cfs]
193 .br
194 [\fB\-\-net\-cow\-mountoptions\fP \fIOPTIONS\fP]
195 .br
196 [\fB\-\-net\-cow\-path\fP \fIPATH\fP]
197 .br
198 [\fB\-\-net\-cow\-server\fP \fIIP\fP|\fIHOSTNAME\fP]
199 .br
200 [\fB\-\-net\-tarball\fP true|false]
201 .br
202 [\-p|\fB\-\-package\-lists\fP \fILIST\fP|\fI"LISTS"\fP]
203 .br
204 [\fB\-\-quiet\fP]
205 .br
206 [\fB\-\-root\-command\fP sudo]
207 .br
208 [\fB\-\-use\-fakeroot\fP true|false]
209 .br
210 [\fB\-\-archives\fP \fIARCHIVE\fP|\fI"ARCHIVES"\fP]
211 .br
212 [\fB\-\-archive\-areas\fP \fIARCHIVE_AREA\fP|\fI"ARCHIVE_AREAS"\fP]
213 .br
214 [\fB\-\-parent\-archive\-areas\fP
215 \fIPARENT_ARCHIVE_AREA\fP|\fI"PARENT_ARCHIVE_AREAS"\fP]
216 .br
217 [\fB\-\-security\fP true|false]
218 .br
219 [\fB\-\-source\fP true|false]
220 .br
221 [\-s|\fB\-\-source\-images\fP iso|netboot|tar|hdd]
222 .br
223 [\fB\-\-syslinux\-theme\fP \fITHEME_SUFFIX\fP]
224 .br
225 [\fB\-\-tasksel\fP apt|aptitude|tasksel]
226 .br
227 [\fB\-\-templates\fP \fIPATH\fP]
228 .br
229 [\fB\-\-hdd\-size \fP\fIMB\fP]
230 .br
231 [\fB\-\-updates\fP true|false]
232 .br
233 [\fB\-\-backports\fP true|false]
234 .br
235 [\fB\-\-exposed\-root\fP true|false]
236 .br
237 [\fB\-\-verbose\fP]
238 .br
239 .\" FIXME
240 [\fB\-\-win32\-loader true|false]\fP
241
242 .SH DESCRIPTION
243 \fBlb config\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the
244 Debian Live tool suite.
245 .PP
246 .\" FIXME
247 \fBlb config\fP populates the configuration directory for live\-build. By
248 default, this directory is named 'config' and is created in the current
249 directory where \fBlb config\fP was executed.
250 .PP
251 .\" FIXME
252 Note: Currently \fBlb config\fP tries to be smart and sets defaults for some
253 options depending on the setting of other options (e.g. which linux packages
254 to be used depending on if a squeeze system gets build or not). This means
255 that when generating a new configuration, you should call \fBlb config\fP only
256 once with all options specified. Calling it several times with only a subset
257 of the options each can result in non working configurations. This is also
258 caused by the fact that \fBlb config\fP called with one option only changes
259 that option, and leaves everything else as is unless its not
260 defined. However, \fBlb config\fP does warn about know impossible or likely
261 impossible combinations that would lead to non working live systems. If
262 unsure, remove config/{binary,bootstrap,chroot,common,source} and call \fBlb
263 config\fP again.
264
265 .SH OPTIONS
266 In addition to its specific options \fBlb config\fP understands all generic
267 live\-build options. See \fIlive\-build\fP(7) for a complete list of all generic
268 live\-build options.
269 .PP
270 .\" FIXME
271 .IP "\fB\-\-apt\fP apt|aptitude" 4
272 defines if apt\-get or aptitude is used to install packages when building the
273 image. The default is apt.
274 .IP "\fB\-\-apt\-ftp\-proxy\fP \fIURL\fP" 4
275 sets the ftp proxy to be used by apt. By default, this is empty. Note that
276 this variable is only for the proxy that gets used by apt internally within
277 the chroot, it is not used for anything else.
278 .IP "\fB\-\-apt\-http\-proxy\fP \fIURL\fP" 4
279 sets the http proxy to be used by apt. By default, this is empty. Note that
280 this variable is only for the proxy that gets used by apt internally within
281 the chroot, it is not used for anything else.
282 .IP "\fB\-\-apt\-indices\fP true|false|none" 4
283 defines if the resulting images should have apt indices or not and defaults
284 to true. If set to none, no indices are included at all.
285 .IP "\fB\-\-apt\-options\fP \fIOPTION\fP|\(dq\fIOPTIONS\fP\(dq" 4
286 defines the default options that will be appended to every apt call that is
287 made inside chroot during the building of the image. By default, this is set
288 to \-\-yes to allow non\-interactive installation of packages.
289 .IP "\fB\-\-aptitude\-options\fP \fIOPTION\fP|\(dq\fIOPTIONS\fP\(dq" 4
290 defines the default options that will be appended to every aptitude call
291 that is made inside chroot during building of the image. By default, this is
292 set to \-\-assume\-yes to allow non\-interactive installation of packages.
293 .IP "\fB\-\-apt\-pipeline\fP \fIDEPTH\fP" 4
294 sets the depth of the apt/aptitude pipeline. In cases where the remote
295 server is not RFC conforming or buggy (such as Squid 2.0.2) this option can
296 be a value from 0 to 5 indicating how many outstanding requests APT should
297 send. A value of zero MUST be specified if the remote host does not properly
298 linger on TCP connections \- otherwise data corruption will occur. Hosts
299 which require this are in violation of RFC 2068. By default, live\-build does
300 not set this option.
301 .IP "\fB\-\-apt\-recommends\fP true|false" 4
302 defines if apt should install recommended packages automatically. By
303 default, this is true except in emdebian mode.
304 .IP "\fB\-\-apt\-secure\fP true|false" 4
305 defines if apt should check repository signatures. This is true by default.
306 .IP "\fB\-\-apt\-source\-archives\fP true|false" 4
307 defines if deb\-src entries should be included in the resulting live image or
308 not, defaults to on.
309 .IP "\-a|\fB\-\-architectures\fP \fIARCHITECTURE\fP" 4
310 defines the architecture of the to be build image. By default, this is set
311 to the host architecture. Note that you cannot crossbuild for another
312 architecture if your host system is not able to execute binaries for the
313 target architecture natively. For example, building amd64 images on i386 and
314 vice versa is possile if you have a 64bit capable i386 processor and the
315 right kernel. But building powerpc images on an i386 system is not possible.
316 .IP "\-b|\fB\-\-binary\-images\fP iso|iso\-hybrid|netboot|tar|hdd" 4
317 defines the image type to build. By default, for images using syslinux this
318 is set to iso\-hybrid to build CD/DVD images that may also be used like hdd
319 images, for non\-syslinux images, it defaults to iso.
320 .IP "\fB\-\-binary\-filesystem\fP fat16|fat32|ext2|ext3|ext4" 4
321 defines the filesystem to be used in the image type. This only has an effect
322 if the selected binary image type does allow to choose a filesystem. For
323 example, when selection iso the resulting CD/DVD has always the filesystem
324 ISO9660. When building hdd images for usb sticks, this is active. Note that
325 it defaults to fat16 on all architectures except sparc where it defaults to
326 ext4. Also note that if you choose fat16 and your resulting binary image
327 gets bigger than 2GB, the binary filesystem automatically gets switched to
328 fat32.
329 .IP "\fB\-\-bootappend\-install\fP \fIPARAMETER\fP|\(dq\fIPARAMETERS\fP\(dq" 4
330 sets boot parameters specific to debian\-installer, if included.
331 .IP "\fB\-\-bootappend\-live\fP \fIPARAMETER\fP|\(dq\fIPARAMETERS\fP\(dq" 4
332 sets boot parameters specific to debian\-live. A complete list of boot
333 parameters can be found in the \fIlive\-boot\fP(7) and \fIlive\-config\fP(7) manual
334 pages.
335 .IP "\fB\-\-bootloader\fP grub|syslinux|yaboot" 4
336 defines which bootloader is beeing used in the generated image. This has
337 only an effect if the selected binary image type does allow to choose the
338 bootloader. For example, if you build a iso, always syslinux (or more
339 precise, isolinux) is being used. Also note that some combinations of binary
340 images types and bootloaders may be possible but live\-build does not support
341 them yet. \fBlb config\fP will fail to create such a not yet supported
342 configuration and give a explanation about it. For hdd images on amd64 and
343 i386, the default is syslinux. yaboot is only used on powerpc.
344 .IP "\fB\-\-bootstrap\fP cdebootstrap|cdebootstrap\-static|debootstrap" 4
345 defines which program is used to bootstrap the debian chroot, default is
346 debootstrap.
347 .IP "\fB\-\-cache\fP true|false" 4
348 defines globally if any cache should be used at all. Different caches can be
349 controled through the their own options.
350 .IP "\fB\-\-cache\-indices\fP true|false" 4
351 defines if downloaded package indices and lists should be cached which is
352 false by default. Enabling it would allow to rebuild an image completely
353 offline, however, you would not get updates anymore then.
354 .IP "\fB\-\-cache\-packages\fP true|false" 4
355 defines if downloaded packages files should be cached which is true by
356 default. Disabling it does save space consumtion in your build directory,
357 but remember that you will cause much unnecessary traffic if you do a couple
358 of rebuilds. In general you should always leave it true, however, in some
359 particular rare build setups, it can be faster to refetch packages from the
360 local network mirror rather than to utilize the local disk.
361 .IP "\fB\-\-cache\-stages\fP true|false|\fISTAGE\fP|\(dq\fISTAGES\fP\(dq" 4
362 sets which stages should be cached. By default set to bootstrap. As an
363 exception to the normal stage names, also rootfs can be used here which does
364 only cache the generated root filesystem in
365 filesystem.{dir,ext*,squashfs}. This is useful during development if you
366 want to rebuild the binary stage but not regenerate the root filesystem all
367 the time.
368 .IP "\fB\-\-checksums\fP md5|sha1|sha256|none" 4
369 defines if the binary image should contain a file called md5sums.txt,
370 sha1sums.txt and/or sha256sums.txt. These lists all files on the image
371 together with their checksums. This in turn can be used by live\-boots
372 built\-in integrity\-check to verify the medium if specified at boot
373 prompt. In general, this should not be false and is an important feature of
374 live system released to the public. However, during development of very big
375 images it can save some time by not calculating the checksums.
376 .IP "\fB\-\-compression\fP bzip2|gzip|lzip|none" 4
377 defines the compression program to be used to compress tarballs. Defaults to
378 gzip.
379 .IP "\fB\-\-config\fP \fIGIT_URL\fP::\fIGIT_ID\fP" 4
380 allows to bootstrap a config tree from a git repositories, optionally
381 appended by a Git Id (branch, commit, tag, etc.).
382 .IP "\fB\-\-build\-with\-chroot\fP true|false" 4
383 defines whetever live\-build should use the tools from within the chroot to
384 build the binary image or not by using and including the host systems
385 tools. This is a very dangerous option, using the tools of the host system
386 can lead to tainted and even non\-bootable images if the host systems version
387 of the required tools (mainly these are the bootloaders such as syslinux,
388 grub and yaboot, and the auxilliary tools such as dosfstools, xorriso,
389 squashfs\-tools and others) do not \fBexactely\fP match what is present at
390 build\-time in the target distribution. Never do disable this option unless
391 you are \fBexactely\fP sure what you are doing and have \fBcompletely\fP\fI
392 understood its consequences.\fP
393 .IP "\fB\-\-chroot\-filesystem\fP ext2|ext3|ext4|squashfs|jffs2|none" 4
394 defines which filesystem type should be used for the root filesystem
395 image. If you use none, then no filesystem image is created and the root
396 filesystem content is copied on the binary image filesystem as flat
397 files. Depending on what binary filesystem you have choosen, it may not be
398 possible to build with such a plain root filesystem, e.g. fat16/fat32 will
399 not work as linux does not support to run directly on them.
400 .IP \fB\-\-clean\fP 4
401 minimizes config directory by automatically removing unused and thus empty
402 subdirectories.
403 .IP "\-c|\fB\-\-conffile\fP \fIFILE\fP" 4
404 using a user specified alternative configuration file in addition to the
405 normally used one in the config directory.
406 .IP "\fB\-\-debconf\-frontend\fP dialog|editor|noninteractive|readline" 4
407 defines what value the debconf frontend should be set to inside the
408 chroot. Note that setting it to anything by noninteractive, which is the
409 default, makes your build asking questions during the build.
410 .IP "\fB\-\-debconf\-priority\fP low|medium|high|critical" 4
411 defines what value the debconf priority shoul dbe set to inside the
412 chroot. By default, it is set to critical, which means that almost no
413 questions are displayed. Note that this only has an effect if you use any
414 debconf frontend different from noninteractive.
415 .IP "\fB\-\-debian\-installer\fP true|cdrom|netinst|netboot|businesscard|live|false" 4
416 defines which type, if any, of the debian\-installer should be included in
417 the resulting binary image. By default, no installer is included. All
418 available flavours except live are the identical configurations used on the
419 installer media produced by regular debian\-cd. When live is choosen, the
420 live\-installer udeb is included so that debian\-installer will behave
421 different than usual \- instead of installing the debian system from packages
422 from the medium or the network, it installs the live system to the disk.
423 .IP "\fB\-\-debian\-installer\-distribution\fP daily|\fICODENAME\fP" 4
424 defines the distribution where the debian\-installer files should be taken
425 out from. Normally, this should be set to the same distribution as the live
426 system. However, some times, one wants to use a newer or even daily built
427 installer.
428 .IP "\fB\-\-debian\-installer\-preseedfile\fP \fIFILE\fP|\fIURL\fP" 4
429 sets the filename or URL for an optionally used and included preseeding file
430 for debian\-installer. If config/binary_debian\-installer/preseed.cfg exists,
431 it will be used by default.
432 .IP "\fB\-\-debian\-installer\-gui\fP true|false" 4
433 defines if the debian\-installer graphical GTK interface should be true or
434 not. In Debian mode and for most versions of Ubuntu, this option is true,
435 whereas otherwise false, by default.
436 .IP \fB\-\-debug\fP 4
437 turn on debugging informational messages.
438 .IP "\-d|\fB\-\-distribution\fP \fICODENAME\fP" 4
439 defines the distribution of the resulting live system.
440 .IP "\-d|\fB\-\-parent\-distribution\fP \fICODENAME\fP" 4
441 defines the parent distribution for derivatives of the resulting live
442 system.
443 .IP "\-d|\fB\-\-parent\-debian\-installer\-distribution\fP \fICODENAME\fP" 4
444 defines the parent debian\-installer distribution for derivatives of the
445 resulting live system.
446 .IP \fB\-\-dump\fP 4
447 prepares a report of the currently present live system configuration and the
448 version of live\-build used. This is useful to provide if you submit bug
449 reports, we do get all informations required for us to locate and replicate
450 an error.
451 .IP "\fB\-\-fdisk\fP fdisk|fdisk.dist" 4
452 sets the filename of the fdisk binary from the host system that should be
453 used. This is autodetected and does generally not need any customization.
454 .IP \fB\-\-force\fP 4
455 forces re\-execution of already run stages. Use only if you know what you are
456 doing. It is generally safer to use \fBlb clean\fP to clean up before
457 re\-executing \fBlb build\fP.
458 .IP "\fB\-\-grub\-splash\fP \fIFILE\fP" 4
459 defines the name of an optional to be included splash screen graphic for the
460 grub bootloader.
461 .IP "\fB\-\-gzip\-options\fP \fIOPTION\fP|\(dq\fIOPTIONS\fP\(dq" 4
462 defines the default options that will be appended to (almost) every gzip
463 call during the building of the image. By default, this is set to \-\-best to
464 use highest (but slowest) compression. Dynamically, if the host system
465 supports it, also \-\-rsyncable is added.
466 .IP "\fB\-\-hooks\fP \fIFILE\fP" 4
467 defines which hooks available in /usr/share/live/build/examples/hooks should
468 be activated. Normally, there are no hooks executed. Make sure you know and
469 understood the hook before you enable it.
470 .IP \fB\-\-ignore\-system\-defaults\fP 4
471 \fBlb config\fP by default reads system defaults from \fI/etc/live/build.conf\fP
472 and \fI/etc/live/build/*\fP when generating a new live system config
473 directory. This is useful if you want to set global settings, such as mirror
474 locations, and don't want to specify them all of the time.
475 .IP "\fB\-\-initramfs\fP auto|none|live\-boot|casper" 4
476 sets the name of package that contains the live system specific initramfs
477 modification. By default, auto is used, which means that at build time of
478 the image rather than on configuration time, the value will be expanded to
479 casper when building ubuntu systems, to live\-boot for all other
480 systems. Using 'none' is useful if the resulting system image should not be
481 a live image (experimental).
482 .IP "\fB\-\-initramfs\-compression\fP bzip2|gzip|lzma]"
483 defines the compression program to be used to compress the
484 initramfs. Defaults to gzip.
485 .IP "\fB\-\-interactive\fP shell" 4
486 defines if after the chroot stage and before the beginning of the binary
487 stage, a interactive shell login should be spawned in the chroot in order to
488 allow you to do manual customizations. Once you close the shell with logout
489 or exit, the build will continue as usual. Note that it's strongly
490 discouraged to use this for anything else than testing. Modifications that
491 should be present in all builds of a live system should be properly made
492 through hooks. Everything else destroys the beauty of being able to
493 completely automatise the build process and making it non interactive. By
494 default, this is of course false.
495 .IP "\fB\-\-isohybrid\-options\fP \fIOPTION\fP|\(dq\fIOPTIONS\fP\(dq" 4
496 defines options to pass to isohybrid.
497 .IP "\fB\-\-iso\-application\fP \fINAME\fP" 4
498 sets the APPLICATION field in the header of a resulting CD/DVD image and
499 defaults to "Debian Live" in debian mode, and to "Emdebian Live" in emdebian
500 mode, and "Ubuntu Live" in ubuntu mode.
501 .IP "\fB\-\-iso\-preparer\fP \fINAME\fP" 4
502 sets the PREPARER field in the header of a resulting CD/DVD image. By
503 default this is set to "live\-build \fIVERSION\fP;
504 http://packages.qa.debian.org/live\-build", whereas VERSION is expanded to
505 the version of live\-build that was used to build the image.
506 .IP "\fB\-\-iso\-publisher\fP \fINAME\fP" 4
507 sets the PUBLISHED field in the header of a resulting CD/DVD image. By
508 default, this is set to 'Debian Live project; http:/live.debian.net/;
509 debian\[email protected]'. Remember to change this to the appropriate
510 values at latest when you distributing custom and unofficial images.
511 .IP "\fB\-\-iso\-volume\fP \fINAME\fP" 4
512 sets the VOLUME field in the header of a resulting CD/DVD and defaults to
513 \&'(\fIMODE\fP) (\fIDISTRIBUTION\fP) (\fIDATE\fP)' whereas MODE is expanded to the name
514 of the mode in use, DISTRIBUTION the distribution name, and DATE with the
515 current date and time of the generation.
516 .IP "\fB\-\-jffs2\-eraseblock\fP \fISIZE\fP" 4
517 sets the eraseblock size for a JFFS2 (Second Journalling Flash File System)
518 filesystem. The default is 64 KiB. If you use an erase block size different
519 than the erase block size of the target MTD device, JFFS2 may not perform
520 optimally. If the SIZE specified is below 4096, the units are assumed to be
521 KiB.
522 .IP "\fB\-\-keyring\-packages\fP \fIPACKAGE|\(dqPACKAGES\fP\(dq" 4
523 sets the keyring package or additional keyring packages. By default this is
524 set to debian\-archive\-keyring.
525 .IP "\-k|\fB\-\-linux\-flavours\fP \fIFLAVOUR\fP|\(dq\fIFLAVOURS\fP\(dq" 4
526 sets the kernel flavours to be installed. Note that in case you specify more
527 than that the first will be configured the default kernel that gets booted.
528 .IP "\fB\-\-linux\-packages\fP \(dq\fIPACKAGES\fP\(dq" 4
529 sets the internal name of the kernel packages naming scheme. If you use
530 debian kernel packages, you will not have to adjust it. If you decide to use
531 custom kernel packages that do not follow the debian naming scheme, remember
532 to set this option to the stub of the packages only (for debian this is
533 linux\-image\-2.6), so that \fISTUB\fP\-\fIFLAVOUR\fP results in a valid package name
534 (for debian e.g. linux\-image\-2.6\-486). Preferably you use the meta package
535 name, if any, for the stub, so that your configuration is ABI
536 independent. Also don't forget that you have to include stubs of the binary
537 modules packages for unionfs or aufs, and squashfs if you built them
538 out\-of\-tree.
539 .IP "\fB\-\-losetup\fP losetup|losetup.orig" 4
540 sets the filename of the losetup binary from the host system that should be
541 used. This is autodetected and does generally not need any customization.
542 .IP "\fB\-\-memtest\fP memtest86+|memtest86|none" 4
543 defines if memtest, memtest86+ or no memory tester at all should be included
544 as secondary bootloader configuration. This is only available on amd64 and
545 i386 and defaults to memtest86+.
546 .IP "\-m|\fB\-\-parent\-mirror\-bootstrap\fP \fIURL\fP" 4
547 sets the location of the debian package mirror that should be used to
548 bootstrap from. This defaults to http://ftp.de.debian.org/debian/ which may
549 not be a good default if you live outside of Europe.
550 .IP "\fB\-\-parent\-mirror\-chroot\fP \fIURL\fP" 4
551 sets the location of the debian package mirror that will be used to fetch
552 the packages in order to build the live system. By default, this is set to
553 the value of \-\-parent\-mirror\-bootstrap.
554 .IP "\fB\-\-parent\-mirror\-chroot\-security\fP \fIURL\fP" 4
555 sets the location of the debian security package mirror that will be used to
556 fetch the packages in order to build the live system. By default, this
557 points to http://security.debian.org/debian/.
558 .IP "\fB\-\-parent\-mirror\-chroot\-updates\fP \fIURL\fP" 4
559 sets the location of the debian updates package mirror that will be used to
560 fetch packages in order to build the live system. By default, this is set to
561 the value of \-\-parent\-mirror\-chroot.
562 .IP "\fB\-\-parent\-mirror\-chroot\-backports\fP \fIURL\fP" 4
563 sets the location of the debian backports package mirror that will be used
564 to fetch packages in order to build the live system. By default, this points
565 to http://backports.debian.org/debian\-backports/.
566 .IP "\fB\-\-parent\-mirror\-binary\fP \fIURL\fP" 4
567 sets the location of the debian package mirror that should end up configured
568 in the final image and which is the one a user would see and use. This has
569 not necessarily to be the same that is used to build the image, e.g. if you
570 use a local mirror but want to have an official mirror in the image. By
571 default, 'http://http.debian.net/debian/' is used.
572 .IP "\fB\-\-parent\-mirror\-binary\-security\fP \fIURL\fP" 4
573 sets the location of the debian security package mirror that should end up
574 configured in the final image. By default, 'http://security.debian.org/' is
575 used.
576 .IP "\fB\-\-parent\-mirror\-binary\-updates\fP \fIURL\fP" 4
577 sets the location of the debian updates package mirror that should end up
578 configured in the final image. By default, the value of
579 \-\-parent\-mirror\-binary is used.
580 .IP "\fB\-\-parent\-mirror\-binary\-backports\fP \fIURL\fP" 4
581 sets the location of the debian backports package mirror that should end up
582 configured in the final image. By default,
583 \&'http://backports.debian.org/debian\-backports/' is used.
584 .IP "\fB\-\-parent\-mirror\-debian\-installer\fP \fIURL\fP" 4
585 sets the location of the mirror that will be used to fetch the debian
586 installer images. By default, this points to the same mirror used to build
587 the live system, i.e. the value of \-\-parent\-mirror\-bootstrap.
588 .IP "\fB\-\-mirror\-bootstrap\fP \fIURL\fP" 4
589 sets the location of the debian package mirror that should be used to
590 bootstrap the derivative from. This defaults to
591 http://ftp.de.debian.org/debian/ which may not be a good default if you live
592 outside of Europe.
593 .IP "\fB\-\-mirror\-chroot\fP \fIURL\fP" 4
594 sets the location of the debian package mirror that will be used to fetch
595 the packages of the derivative in order to build the live system. By
596 default, this is set to the value of \-\-mirror\-bootstrap.
597 .IP "\fB\-\-mirror\-chroot\-security\fP \fIURL\fP" 4
598 sets the location of the debian security package mirror that will be used to
599 fetch the packages of the derivative in order to build the live system. By
600 default, this points to http://security.debian.org/debian/.
601 .IP "\fB\-\-mirror\-chroot\-updates\fP \fIURL\fP" 4
602 sets the location of the debian updates package mirror that will be used to
603 fetch packages of the derivative in order to build the live system. By
604 default, this is set to the value of \-\-mirror\-chroot.
605 .IP "\fB\-\-mirror\-chroot\-backports\fP \fIURL\fP" 4
606 sets the location of the debian backports package mirror that will be used
607 to fetch packages of the derivative in order to build the live system. By
608 default, this points to http://backports.debian.org/debian\-backports/.
609 .IP "\fB\-\-mirror\-binary\fP \fIURL\fP" 4
610 sets the location of the derivative package mirror that should end up
611 configured in the final image and which is the one a user would see and
612 use. This has not necessarily to be the same that is used to build the
613 image, e.g. if you use a local mirror but want to have an official mirror in
614 the image.
615 .IP "\fB\-\-mirror\-binary\-security\fP \fIURL\fP" 4
616 sets the location of the derivatives security package mirror that should end
617 up configured in the final image.
618 .IP "\fB\-\-mirror\-binary\-updates\fP \fIURL\fP" 4
619 sets the location of the derivatives updates package mirror that should end
620 up configured in the final image.
621 .IP "\fB\-\-mirror\-binary\-backports\fP \fIURL\fP" 4
622 sets the location of the derivatives backports package mirror that should
623 end up configured in the final image.
624 .IP "\fB\-\-mirror\-debian\-installer\fP \fIURL\fP" 4
625 sets the location of the mirror that will be used to fetch the debian
626 installer images of the derivative. By default, this points to the same
627 mirror used to build the live system, i.e. the value of \-\-mirror\-bootstrap.
628 .IP "\fB\-\-mode\fP debian|emdebian|progress|ubuntu" 4
629 defines a global mode to load project specific defaults. By default this is
630 set to debian.
631 .IP "\fB\-\-system\fP live|normal" 4
632 defines if the resulting system image should a live system or a normal,
633 non\-live system.
634 .IP "\fB\-\-net\-root\-filesystem\fP nfs|cfs" 4
635 defines the filesystem that will be configured in the bootloader
636 configuration for your netboot image. This defaults to nfs.
637 .IP "\fB\-\-net\-root\-mountoptions\fP \fIOPTIONS\fP" 4
638 sets additional options for mounting the root filesystem in netboot images
639 and is by default empty.
640 .IP "\fB\-\-net\-root\-path\fP \fIPATH\fP" 4
641 sets the file path that will be configured in the bootloader configuration
642 for your netboot image. This defaults to /srv/debian\-live in debian mode and
643 to /srv/emebian\-live when being in emdebian mode, and /srv/ubuntu\-live when
644 in ubuntu mode.
645 .IP "\fB\-\-net\-root\-server\fP \fIIP\fP|\fIHOSTNAME\fP" 4
646 sets the IP or hostname that will be configured in the bootloader
647 configuration for the root filesystem of your netboot image. This defaults
648 to 192.168.1.1.
649 .IP "\fB\-\-net\-cow\-filesystem\fP nfs|cfs" 4
650 defines the filesystem type for the copy\-on\-write layer and defaults to nfs.
651 .IP "\fB\-\-net\-cow\-mountoptions\fP \fIOPTIONS\fP" 4
652 sets additional options for mounting the copy\-on\-write layer in netboot
653 images and is by default empty.
654 .IP "\fB\-\-net\-cow\-path\fP \fIPATH\fP" 4
655 defines the path to client writable filesystem. Anywhere that
656 \fIclient_mac_address\fP is specified in the path live\-boot will substitute the
657 MAC address of the client delimited with hyphens.
658 .PP
659 .IP "" 4
660 Example:
661 .br
662 /export/hosts/client_mac_address
663 .br
664 /export/hosts/00\-16\-D3\-33\-92\-E8
665 .IP "\fB\-\-net\-cow\-server\fP \fIIP\fP|\fIHOSTNAME\fP" 4
666 sets the IP or hostname that will be configured in the bootloader
667 configuration for the copy\-on\-write filesystem of your netboot image and is
668 by default empty.
669 .IP "\fB\-\-net\-tarball\fP true|false" 4
670 defines if a compressed tarball should be created. Disabling this options
671 leads to no tarball at all, the plain binary directory is considered the
672 output in this case. Default is true.
673 .IP "\-p|\fB\-\-package\-lists\fP \fILIST\fP|\(dq\fILISTS\fP\(dq" 4
674 defines which lists available in /usr/share/live/build/package\-lists should
675 be used. By default, this is set to standard. Note that in case you have
676 local package lists, you don't need to list them here. Putting them into
677 config/package\-lists is enough (the filename needs to have the .list suffix
678 though).
679 .IP \fB\-\-quiet\fP 4
680 reduces the verbosity of messages output by \fBlb build\fP.
681 .IP "\fB\-\-archives\fP \fIARCHIVE\fP|\(dq\fIARCHIVES\fP\(dq" 4
682 enables one of available third\-party archive configurations in
683 /usr/share/live/build/archives.
684 .IP "\fB\-\-root\-command\fP sudo" 4
685 controls if live\-build should use sudo internally to build the live
686 image. Note that this is not well tested and that you should, when relying
687 on sudo, call the individual live\-build command with sudo itself.
688 .IP "\fB\-\-use\-fakeroot\fP true|false" 4
689 controls if live\-build should utilize fakeroot and fakechroot to try and
690 avoid requiring root privillages where possible. By default, this option is
691 false.
692 .IP "\fB\-\-archive\-areas\fP \fIARCHIVE_AREA\fP|\(dq\fIARCHIVE_AREAS\fP\(dq" 4
693 defines which package archive areas of a debian packages archive should be
694 used for configured debian package mirrors. By default, this is set to
695 main. Remember to check the licenses of each packages with respect to their
696 redistributability in your juristiction when enabling contrib or non\-free
697 with this mechanism.
698 .IP "\fB\-\-parent\-archive\-areas\fP \fIPARENT_ARCHIVE_AREA\fP|\(dq\fIPARENT_ARCHIVE_AREAS\fP\(dq" 4
699 defines the archive areas for derivatives of the resulting live system.
700 .IP "\fB\-\-security\fP true|false" 4
701 defines if the security repositories specified in the security mirror
702 options should be used or not.
703 .IP "\fB\-\-source\fP true|false" 4
704 defines if a corresponding source image to the binary image should be
705 build. By default this is false because most people do not require this and
706 would require to download quite a few source packages. However, once you
707 start distributing your live image, you should make sure you build it with a
708 source image alongside.
709 .IP "\-s|\fB\-\-source\-images\fP iso|netboot|tar|hdd" 4
710 defines the image type for the source image. Default is tar.
711 .IP "\fB\-\-firmware\-binary\fP true|false" 4
712 defines if firmware packages should be automatically included into the
713 binary pool for debian\-installer. Note that only firmware packages available
714 within the configured archive areas are included, e.g. an image with
715 packages from main only will not automatically include firmware from
716 non\-free. This option does not interfere with explicitly listed packages in
717 binary package lists.
718 .IP "\fB\-\-firmware\-chroot\fP true|false" 4
719 defines if firmware packages should be automatically included into the live
720 image. Note that only firmware packages available within the configured
721 archive areas are included, e.g. an image with packages from main only will
722 not automatically include firmware from non\-free. This option does not
723 interfere with explicitly listed packages in chroot package lists.
724 .IP "\fB\-\-swap\-file\-path\fP \fIPATH\fP" 4
725 defines the path to a swap file to create in the binary image. Default is
726 not to create a swap file.
727 .IP "\fB\-\-swap\-file\-size\fP \fIMB\fP" 4
728 defines what size in megabytes the swap file should be, if one is to be
729 created. Default is 512MB.
730 .IP "\fB\-\-syslinux\-theme\fP \fITHEME_SUFFIX\fP" 4
731 defines the syslinux theme to use. The theme suffix is the name of a
732 directory in /usr/share/syslinux/themes/ provided by a package named
733 syslinux\-theme\- plus the suffix. In debian mode, this defaults to
734 debian\-squeeze.
735 .IP "\fB\-\-tasksel\fP apt|aptitude|tasksel" 4
736 selects which program is used to install tasks. By default, this is set to
737 tasksel.
738 .IP "\fB\-\-templates\fP \fIPATH\fP" 4
739 sets the path to the templates that live\-build is going to use, e.g. for
740 bootloaders. By default, this is set to /usr/share/live/build/templates/.
741 .IP "\fB\-\-hdd\-size\fP MB" 4
742 defines what size the hdd image should be. Note that although the default is
743 set to 10000 (= 10GB), it will not need 10GB space on your harddisk as the
744 files are created as sparse files.
745 .IP "\fB\-\-updates\fP true|false" 4
746 defines if debian updates package archives should be included in the image
747 or not.
748 .IP "\fB\-\-backports\fP true|false" 4
749 defines if debian backports package archives should be included in the image
750 or not.
751 .IP "\fB\-\-exposed\-root\fP true|false" 4
752 defines whether to expose the root filesystem as read only and not covered
753 by the union filesystem. This has useful implications for certain speciality
754 setups such as LTSP. By default, this option is false.
755 .IP \fB\-\-verbose\fP 4
756 increases the verbosity of messages output by \fBlb build\fP.
757 .IP "\fB\-\-win32\-loader true|false\fP" 4
758 .\" FIXME
759 defines if win32\-loader should be included in the binary image or not.
760
761 .SH ENVIRONMENT
762 .\" FIXME
763 Currently, command line switches can also be specified through the
764 corresponding environment variable. However, this generally should not be
765 relied upon, as it is an implementation detail that is subject to change in
766 future releases. For options applying directly to live\-build, environment
767 variables are named LB_FOO, meaning, e.g. \fB\-\-apt\-ftp\-proxy\fP becomes
768 LB_APT_FTP_PROXY (the exception being internal options such as
769 \fB\-\-debug\fP). For options passed to another program, as in APT_OPTIONS or
770 GZIP_OPTIONS, no LB_ prefix is used.
771
772
773 .\" FIXME
774 .SH FILES
775 .\" FIXME
776 .IP \fBauto/config\fP 4
777 .IP "\fB/etc/live/build.conf, /etc/live/build/*\fP" 4
778 .\" FIXME
779 An optional, global configuration file for \fBlb config\fP variables. It is
780 useful to specify a few system wide defaults, like
781 LB_PARENT_MIRROR_BOOTSTRAP. This feature can be false by specifying the
782 \fB\-\-ignore\-system\-defaults\fP option.
783
784 .SH "SEE ALSO"
785 \fIlive\-build\fP(7)
786 .PP
787 \fIlive\-boot\fP(7)
788 .PP
789 \fIlive\-config\fP(7)
790 .PP
791 This program is a part of live\-build.
792
793 .SH HOMEPAGE
794 More information about live\-build and the Debian Live project can be found
795 on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at
796 <\fIhttp://live.debian.net/manual/\fP>.
797
798 .SH BUGS
799 Bugs can be reported by submitting a bugreport for the live\-build package in
800 the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by
801 writing a mail to the Debian Live mailing list at
802 <\fIdebian\[email protected]\fP>.
803
804 .SH AUTHOR
805 live\-build was written by Daniel Baumann <\[email protected]\fP> for
806 the Debian project.
0 .\"*******************************************************************
1 .\"
2 .\" This file was generated with po4a. Translate the source file.
3 .\"
4 .\"*******************************************************************
5 .TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4\-1 "Debian Live Project"
6
7 .SH NAME
8 \fBlb source\fP \- Complete the source stage
9
10 .SH SYNOPSIS
11 \fBlb source\fP [\fIlive\-build options\fP]
12
13 .SH DESCRIPTION
14 \fBlb source\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the
15 Debian Live tool suite.
16 .PP
17 \fBlb source\fP calls all necessary live\-build programs in the correct order to
18 complete the source stage.
19
20 .SH OPTIONS
21 \fBlb source\fP has no specific options but understands all generic live\-build
22 options. See \fIlive\-build\fP(7) for a complete list of all generic live\-build
23 options.
24
25 .SH FILES
26 .IP \fBnone\fP 4
27
28 .SH "SEE ALSO"
29 \fIlive\-build\fP(7)
30 .PP
31 This program is a part of live\-build.
32
33 .SH HOMEPAGE
34 More information about live\-build and the Debian Live project can be found
35 on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at
36 <\fIhttp://live.debian.net/manual/\fP>.
37
38 .SH BUGS
39 Bugs can be reported by submitting a bugreport for the live\-build package in
40 the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by
41 writing a mail to the Debian Live mailing list at
42 <\fIdebian\[email protected]\fP>.
43
44 .SH AUTHOR
45 live\-build was written by Daniel Baumann <\[email protected]\fP> for
46 the Debian project.
0 .\"*******************************************************************
1 .\"
2 .\" This file was generated with po4a. Translate the source file.
3 .\"
4 .\"*******************************************************************
5 .TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4\-1 "Debian Live Project"
6
7 .SH NAME
8 \fBlb testroot\fP \- Ensure that a system is built as root
9
10 .SH SYNOPSIS
11 \fBlb testroot\fP [\fIlive\-build options\fP]
12
13 .SH DESCRIPTION
14 \fBlb testroot\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the
15 Debian Live tool suite.
16 .PP
17 .\" FIXME
18 \fBlb testroot\fP simply checks to see if you are root. If not, it exits with
19 an error. Debian Live images must currently be built as real root.
20 .PP
21 .\" FIXME
22 Note: Support for using \fIfakeroot\fP(1) and \fIsudo\fP(8) internally in
23 live\-build itself is still experimental, however, calling a helper yourself
24 with sudo is safe.
25
26 .SH OPTIONS
27 \fBlb testroot\fP has no specific options but understands all generic
28 live\-build options. See \fIlive\-build\fP(7) for a complete list of all generic
29 live\-build options.
30
31 .SH FILES
32 .IP \fBnone\fP 4
33
34 .SH "SEE ALSO"
35 \fIlive\-build\fP(7)
36 .PP
37 This program is a part of live\-build.
38
39 .SH HOMEPAGE
40 More information about live\-build and the Debian Live project can be found
41 on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at
42 <\fIhttp://live.debian.net/manual/\fP>.
43
44 .SH BUGS
45 Bugs can be reported by submitting a bugreport for the live\-build package in
46 the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by
47 writing a mail to the Debian Live mailing list at
48 <\fIdebian\[email protected]\fP>.
49
50 .SH AUTHOR
51 live\-build was written by Daniel Baumann <\[email protected]\fP> for
52 the Debian project.
0 .\"*******************************************************************
1 .\"
2 .\" This file was generated with po4a. Translate the source file.
3 .\"
4 .\"*******************************************************************
5 .TH LIVE\-BUILD 7 2012\-12\-23 3.0~b4\-1 "Debian Live Project"
6
7 .SH NAME
8 \fBlive\-build\fP \- the Debian Live tool suite
9
10 .SH SYNOPSIS
11 .\" FIXME
12 .\" FIXME
13 \fBlb \fP\fICOMMAND\fP [\fB\-h|\-\-help\fP] [\fB\-u|\-\-usage\fP] [\fB\-v|\-\-version\fP]
14 [\fB\-\-breakpoints\fP] [\fB\-\-conffile\fP] [\fB\-\-debug\fP] [\fB\-\-force\fP] [\fB\-\-quiet\fP]
15 [\fB\-\-verbose\fP]
16
17 .SH DESCRIPTION
18 .\" FIXME
19 live\-build is a set of scripts to build Debian Live system images. The idea
20 behind live\-build is a tool suite that uses a configuration directory to
21 completely automate and customize all aspects of building a Live image.
22 .PP
23 The \fICOMMAND\fP is a name of a live\-build command (see below).
24 .PP
25 .\" FIXME
26 More documentation about how to use live\-build is available in the
27 individual manpages for each helper and in the manual at
28 <\fIhttp://live.debian.net/manual/\fP>.
29
30 .SH OPTIONS
31 .\" FIXME
32 .SS "Shared live\-build options"
33 The following command line options are supported by all live\-build programs.
34 .IP "\fB\-h, \-\-help\fP" 4
35 display help and exit.
36 .IP "\fB\-u, \-\-usage\fP" 4
37 show usage and exit.
38 .IP "\fB\-v, \-\-version\fP" 4
39 output version information and exit.
40 .SS "Common live\-build options"
41 The following command line options are supported by most live\-build
42 programs. See the man page of each program for a complete explanation of
43 what each option does.
44 .IP \fB\-\-breakpoints\fP 4
45 run with breakpoints.
46 .IP \fB\-\-conffile\fP 4
47 use custom configuration file.
48 .IP \fB\-\-debug\fP 4
49 show debug information.
50 .IP \fB\-\-force\fP 4
51 force helper execution, even if stage file exists.
52 .IP \fB\-\-quiet\fP 4
53 be quiet.
54 .IP \fB\-\-verbose\fP 4
55 .\" FIXME
56 be verbose.
57
58 .SH "LIVE\-BUILD COMMANDS"
59 .\" FIXME
60 We divide live\-build into high level ("porcelain") commands and low level
61 ("plumbing") commands.
62 .PP
63 .\" FIXME
64 Here is the complete list of all available live\-build commands. See their
65 man pages for additional documentation.
66
67 .SH "HIGH\-LEVEL COMMANDS (PORCELAIN)"
68 .\" FIXME
69 We separate the porcelain commands into the main commands and some ancillary
70 user utilities.
71 .SS "Main porcelain commands"
72 .IP \fBlb_config\fP(1) 4
73 create configuration for live\-build
74 .IP \fBlb_bootstrap\fP(1) 4
75 create the first stage by bootstrapping a basic debian system
76 .IP \fBlb_chroot\fP(1) 4
77 create the second stage by customizing the chroot
78 .IP \fBlb_binary\fP(1) 4
79 create the third stage by generating a binary image
80 .IP \fBlb_source\fP(1) 4
81 create the optional fourth stage by generating a source image
82 .IP \fBlb_clean\fP(1) 4
83 clean up system build directories
84 .SS "Ancillary Commands"
85 .IP \fBlb\fP(1) 4
86 generic live\-build wrapper
87 .IP \fBlb_build\fP(1) 4
88 alias for all stages
89 .IP \fBlb_local\fP(1) 4
90 helper for using a local live\-build
91 .IP \fBlb_testroot\fP(1) 4
92 .\" FIXME
93 ensure that a system is built as root
94
95 .SH "LOW\-LEVEL COMMANDS (PLUMBING)"
96 .\" FIXME
97 The actual work of live\-build is implemented in the low\-level commands,
98 called plumbing. They are not supposed to be used by end users, they should
99 stick with porcelains as they ensure that all the different plumbing
100 commands are executed in the right order. However, if you intend to reuse
101 live\-build commands in your own scripts, then the plumbings might be of
102 interest for you.
103 .PP
104 Note that the interface (set of options and the semantics) to these
105 low\-level commands are meant to be a lot more stable than Porcelain level
106 commands. The interface to Porcelain commands on the other hand are subject
107 to change in order to improve the end user experience.
108 .SS "Bootstrap commands"
109 .IP \fBlb_bootstrap_cache\fP(1) 4
110 cache bootstrap stage
111 .IP \fBlb_bootstrap_cdebootstrap\fP(1) 4
112 bootstrap a Debian system with cdebootstrap(1)
113 .IP \fBlb_bootstrap_debootstrap\fP(1) 4
114 bootstrap a Debian system with debootstrap(8)
115 .SS "Chroot commands"
116 .IP \fBlb_chroot_apt\fP(1) 4
117 manage /etc/apt/apt.conf
118 .IP \fBlb_chroot_cache\fP(1) 4
119 cache chroot stage
120 .IP \fBlb_chroot_debianchroot\fP(1) 4
121 manage /etc/debian_chroot
122 .IP \fBlb_chroot_devpts\fP(1) 4
123 mount /dev/pts
124 .IP \fBlb_chroot_dpkg\fP(1) 4
125 manage /sbin/dpkg
126 .IP \fBlb_chroot_hacks\fP(1) 4
127 execute hacks in chroot
128 .IP \fBlb_chroot_hostname\fP(1) 4
129 manage /bin/hostname
130 .IP \fBlb_chroot_hosts\fP(1) 4
131 manage /etc/hosts
132 .IP \fBlb_chroot_install\-packages\fP(1) 4
133 install queued packages into chroot
134 .IP \fBlb_chroot_interactive\fP(1) 4
135 make build interactive
136 .IP \fBlb_chroot_linux\-image\fP(1) 4
137 manage /etc/kernel\-img.conf
138 .IP \fBlb_chroot_hooks\fP(1) 4
139 execute local hooks in chroot
140 .IP \fBlb_chroot_local\-includes\fP(1) 4
141 copy local files into chroot
142 .IP \fBlb_chroot_packages\fP(1) 4
143 queue install of packages into chroot
144 .IP \fBlb_chroot_local\-patches\fP(1) 4
145 apply local patches against chroot
146 .IP \fBlb_chroot_local\-preseed\fP(1) 4
147 use debconf local preseeding file
148 .IP \fBlb_chroot_packagelists\fP(1) 4
149 queue install of package lists into chroot
150 .IP \fBlb_chroot_proc\fP(1) 4
151 mount /proc
152 .IP \fBlb_chroot_resolv\fP(1) 4
153 manage /etc/resolv.conf
154 .IP \fBlb_chroot_selinuxfs\fP(1) 4
155 mount /selinux
156 .IP \fBlb_chroot_archives\fP(1) 4
157 manage /etc/apt/sources.list
158 .IP \fBlb_chroot_sysfs\fP(1) 4
159 mount /sys
160 .IP \fBlb_chroot_sysv\-rc\fP(1) 4
161 manage /usr/sbin/policy\-rc.d
162 .IP \fBlb_chroot_task\-lists\fP(1) 4
163 install task lists into chroot
164 .SS "Binary commands"
165 .IP \fBlb_binary_chroot\fP(1) 4
166 copy chroot into chroot
167 .IP \fBlb_binary_debian\-installer\fP(1) 4
168 install debian\-installer into binary
169 .IP \fBlb_binary_disk\fP(1) 4
170 install disk information into binary
171 .IP \fBlb_binary_grub\fP(1) 4
172 installs grub into binary
173 .IP \fBlb_binary_grub2\fP(1) 4
174 installs grub2 into binary
175 .IP \fBlb_binary_includes\fP(1) 4
176 copy files into binary
177 .IP \fBlb_binary_iso\fP(1) 4
178 build iso binary image
179 .IP \fBlb_binary_linux\-image\fP(1) 4
180 install linux\-image into binary
181 .IP \fBlb_binary_local\-hooks\fP(1) 4
182 execute local hooks in binary
183 .IP \fBlb_binary_local\-includes\fP(1) 4
184 copy files into binary
185 .IP \fBlb_binary_local\-packagelists\fP(1) 4
186 install local package lists into binary
187 .IP \fBlb_binary_manifest\fP(1) 4
188 create manifest
189 .IP \fBlb_binary_checksums\fP(1) 4
190 create binary checksums (md5, sha1, and/or sha256)
191 .IP \fBlb_binary_memtest\fP(1) 4
192 installs a memtest into binary
193 .IP \fBlb_binary_net\fP(1) 4
194 build netboot binary image
195 .IP \fBlb_binary_rootfs\fP(1) 4
196 build rootfs image
197 .IP \fBlb_binary_silo\fP(1) 4
198 installs silo into binary
199 .IP \fBlb_binary_syslinux\fP(1) 4
200 installs syslinux into binary
201 .IP \fBlb_binary_tar\fP(1) 4
202 build harddisk binary image
203 .IP \fBlb_binary_hdd\fP(1) 4
204 build binary hdd image
205 .IP \fBlb_binary_win32\-loader\fP(1) 4
206 installs win32\-loader into binary
207 .IP \fBlb_binary_yaboot\fP(1) 4
208 installs yaboot into binary
209 .SS "Source commands"
210 .IP \fBlb_source_debian\fP(1) 4
211 download sources
212 .IP \fBlb_source_debian\-live\fP(1) 4
213 copy debian\-live config into source
214 .IP \fBlb_source_disk\fP(1) 4
215 install disk information into source
216 .IP \fBlb_source_iso\fP(1) 4
217 build iso source image
218 .IP \fBlb_source_checksums\fP(1) 4
219 create source checksums (md5, sha1, and/or sha256)
220 .IP \fBlb_source_net\fP(1) 4
221 build source net image
222 .IP \fBlb_source_tar\fP(1) 4
223 build source tarball
224 .IP \fBlb_source_hdd\fP(1) 4
225 .\" FIXME
226 build source hdd image
227
228 .SH "CONFIG FILES"
229 .\" FIXME
230 Many live\-build commands make use of files in the \fIconfig/\fP directory to
231 control what they do. Besides the common \fIconfig/common\fP, which is used by
232 all live\-build commands, some additional files can be used to configure the
233 behavior of specific live\-build commands. These files are typically named
234 config/stage or config/stage_helper (where "stage" of course, is replaced
235 with the name of the stage that they belong to, and "helper" with the name
236 of the helper).
237 .PP
238 For example, lb_bootstrap_debootstrap uses files named config/bootstrap and
239 config/bootstrap_debootstrap to read the options it will use. See the man
240 pages of individual commands for details about the names and formats of the
241 files they use. Generally, these files contain variables with values
242 assigned, one variable per line. Some programs in live\-build use pairs of
243 values or slightly more complicated variable assignments.
244 .PP
245 Note that live\-build will respect environment variables which are present in
246 the context of the shell it is running. If variables can be read from config
247 files, then they override environment variables, and if command line options
248 are used, they override values from config files. If no value for a given
249 variable can be found and thus is unset, live\-build will automatically set
250 it to the default value.
251 .PP
252 In some rare cases, you may want to have different versions of these files
253 for different architectures or distributions. If files named
254 config/stage.arch or config/stage_helper.arch, and config/stage.dist or
255 config/stage_helper.dist exist, where "arch" is the same as the output of
256 "dpkg \-\-print\-architecture" and "dist" is the same as the codename of the
257 target distribution, then they will be used in preference to other, more
258 general files.
259 .PP
260 .\" FIXME
261 All config files are shell scripts which are sourced by a live\-build
262 program. That means they have to follow the normal shell syntax. You can
263 also put comments in these files; lines beginning with "#" are ignored.
264
265 .SH FILES
266 .IP \fB/etc/live/build.conf\fP 4
267 .IP \fB/etc/live/build/*\fP 4
268
269 .SH "SEE ALSO"
270 \fIlive\-boot\fP(7)
271 .PP
272 \fIlive\-config\fP(7)
273 .PP
274 This program is a part of live\-build.
275
276 .SH HOMEPAGE
277 More information about live\-build and the Debian Live project can be found
278 on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at
279 <\fIhttp://live.debian.net/manual/\fP>.
280
281 .SH BUGS
282 Bugs can be reported by submitting a bugreport for the live\-build package in
283 the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by
284 writing a mail to the Debian Live mailing list at
285 <\fIdebian\[email protected]\fP>.
286
287 .SH AUTHOR
288 live\-build was written by Daniel Baumann <\[email protected]\fP> for
289 the Debian project.
0 .TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4-1 "Debian Live Project"
1
2 .SH NAME
3 \fBlb\fR \- wrapper for live\-build programs
4
5 .SH SYNOPSIS
6 \fBlb\fR COMMAND [COMMAND_OPTIONS]
7 .PP
8 \fBlb\fR [\fIlive\-build\ options\fR]
9
10 .SH DESCRIPTION
11 \fBlb\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite.
12 .PP
13 .\" FIXME
14
15 .SH OPTIONS
16 \fBlb\fR has no specific options but understands all generic live\-build options. See \fIlive\-build\fR(7) for a complete list of all generic live\-build options.
17
18 .SH FILES
19 .IP "\fBnone\fR" 4
20
21 .SH SEE ALSO
22 \fIlive\-build\fR(7)
23 .PP
24 This program is a part of live\-build.
25
26 .SH HOMEPAGE
27 More information about live\-build and the Debian Live project can be found on the homepage at <\fIhttp://live.debian.net/\fR> and in the manual at <\fIhttp://live.debian.net/manual/\fR>.
28
29 .SH BUGS
30 Bugs can be reported by submitting a bugreport for the live\-build package in the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Debian Live mailing list at <\[email protected]\fR>.
31
32 .SH AUTHOR
33 live\-build was written by Daniel Baumann <\[email protected]\fR> for the Debian project.
0 .TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4-1 "Debian Live Project"
1
2 .SH NAME
3 \fBlb binary\fR \- Complete the binary stage
4
5 .SH SYNOPSIS
6 \fBlb binary\fR [\fIlive\-build options\fR]
7
8 .SH DESCRIPTION
9 \fBlb binary\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite.
10 .PP
11 \fBlb binary\fR calls all necessary live\-build programs in the correct order to complete the binary stage.
12
13 .SH OPTIONS
14 \fBlb binary\fR has no specific options but understands all generic live\-build options. See \fIlive\-build\fR(7) for a complete list of all generic live\-build options.
15
16 .SH FILES
17 .IP "\fBnone\fR" 4
18
19 .SH SEE ALSO
20 \fIlive\-build\fR(7)
21 .PP
22 This program is a part of live\-build.
23
24 .SH HOMEPAGE
25 More information about live\-build and the Debian Live project can be found on the homepage at <\fIhttp://live.debian.net/\fR> and in the manual at <\fIhttp://live.debian.net/manual/\fR>.
26
27 .SH BUGS
28 Bugs can be reported by submitting a bugreport for the live\-build package in the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Debian Live mailing list at <\[email protected]\fR>.
29
30 .SH AUTHOR
31 live\-build was written by Daniel Baumann <\[email protected]\fR> for the Debian project.
0 .TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4-1 "Debian Live Project"
1
2 .SH NAME
3 \fBlb bootstrap\fR \- Complete the bootstrap stage
4
5 .SH SYNOPSIS
6 \fBlb bootstrap\fR [\fIlive\-build options\fR]
7
8 .SH DESCRIPTION
9 \fBlb bootstrap\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite.
10 .PP
11 \fBlb bootstrap\fR calls all necessary live\-build programs in the correct order to complete the bootstrap stage.
12
13 .SH OPTIONS
14 \fBlb bootstrap\fR has no specific options but understands all generic live\-build options. See \fIlive\-build\fR(7) for a complete list of all generic live\-build options.
15
16 .SH FILES
17 .IP "\fBnone\fR" 4
18
19 .SH SEE ALSO
20 \fIlive\-build\fR(7)
21 .PP
22 This program is a part of live\-build.
23
24 .SH HOMEPAGE
25 More information about live\-build and the Debian Live project can be found on the homepage at <\fIhttp://live.debian.net/\fR> and in the manual at <\fIhttp://live.debian.net/manual/\fR>.
26
27 .SH BUGS
28 Bugs can be reported by submitting a bugreport for the live\-build package in the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Debian Live mailing list at <\[email protected]\fR>.
29
30 .SH AUTHOR
31 live\-build was written by Daniel Baumann <\[email protected]\fR> for the Debian project.
0 .TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4-1 "Debian Live Project"
1
2 .SH NAME
3 \fBlb build\fR \- Complete the bootstrap, chroot, binary, and source stages
4
5 .SH SYNOPSIS
6 \fBlb build\fR [\fIlive\-build options\fR]
7
8 .SH DESCRIPTION
9 \fBlb build\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite.
10 .PP
11 \fBlb build\fR calls all necessary live\-build programs in the correct order to complete the bootstrap, chroot, binary, and source stages.
12
13 .SH OPTIONS
14 \fBlb build\fR has no specific options but understands all generic live\-build options. See \fIlive\-build\fR(7) for a complete list of all generic live\-build options.
15
16 .SH FILES
17 .\" FIXME
18 .IP "\fBauto/build\fR" 4
19 .\" FIXME
20
21 .SH SEE ALSO
22 \fIlive\-build\fR(7)
23 .PP
24 This program is a part of live\-build.
25
26 .SH HOMEPAGE
27 More information about live\-build and the Debian Live project can be found on the homepage at <\fIhttp://live.debian.net/\fR> and in the manual at <\fIhttp://live.debian.net/manual/\fR>.
28
29 .SH BUGS
30 Bugs can be reported by submitting a bugreport for the live\-build package in the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Debian Live mailing list at <\[email protected]\fR>.
31
32 .SH AUTHOR
33 live\-build was written by Daniel Baumann <\[email protected]\fR> for the Debian project.
0 .TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4-1 "Debian Live Project"
1
2 .SH NAME
3 \fBlb chroot\fR \- Complete the chroot stage
4
5 .SH SYNOPSIS
6 \fBlb chroot\fR [\fIlive\-build options\fR]
7
8 .SH DESCRIPTION
9 \fBlb chroot\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite.
10 .PP
11 \fBlb chroot\fR calls all necessary live\-build programs in the correct order to complete the chroot stage.
12
13 .SH OPTIONS
14 \fBlb chroot\fR has no specific options but understands all generic live\-build options. See \fIlive\-build\fR(7) for a complete list of all generic live\-build options.
15
16 .SH FILES
17 .IP "\fBnone\fR" 4
18
19 .SH SEE ALSO
20 \fIlive\-build\fR(7)
21 .PP
22 This program is a part of live\-build.
23
24 .SH HOMEPAGE
25 More information about live\-build and the Debian Live project can be found on the homepage at <\fIhttp://live.debian.net/\fR> and in the manual at <\fIhttp://live.debian.net/manual/\fR>.
26
27 .SH BUGS
28 Bugs can be reported by submitting a bugreport for the live\-build package in the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Debian Live mailing list at <\[email protected]\fR>.
29
30 .SH AUTHOR
31 live\-build was written by Daniel Baumann <\[email protected]\fR> for the Debian project.
0 .TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4-1 "Debian Live Project"
1
2 .SH NAME
3 \fBlb clean\fR \- Clean build directory
4
5 .SH SYNOPSIS
6 \fBlb clean\fR [\fIlive\-build options\fR]
7
8 .SH DESCRIPTION
9 \fBlb clean\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite.
10 .PP
11 .\" FIXME
12 \fBlb clean\fR is responsible for cleaning up after a system is built. It removes the build directories, and removes some other files including stage files, and any detritus left behind by other live\-build commands.
13 .\" FIXME
14
15 .SH OPTIONS
16 In addition to its specific options \fBlb clean\fR understands all generic live\-build options. See \fIlive\-build\fR(7) for a complete list of all generic live\-build options.
17 .PP
18 .\" FIXME
19 .IP "\fB\-\-all\fR" 4
20 removes chroot, binary, stage, and source. The cache directory is kept. This is the default operation and will be performed if no argument is given.
21 .IP "\fB\-\-cache\fR" 4
22 removes the cache directories.
23 .IP "\fB\-\-chroot\fR" 4
24 unmounts and removes the chroot directory.
25 .IP "\fB\-\-binary\fR" 4
26 removes all binary related caches, files, directories, and stages files.
27 .IP "\fB\-\-purge\fR" 4
28 removes everything, including all caches. The config directory is kept.
29 .IP "\fB\-\-remove\fR" 4
30 removes everything, including package cache but not stage cache. The config directory is kept.
31 .IP "\fB\-\-stage\fR" 4
32 removes all stage files.
33 .IP "\fB\-\-source\fR" 4
34 removes all source related caches, files, directories, and stage files.
35 .\" FIXME
36
37 .SH FILES
38 .\" FIXME
39 .IP "\fBauto/clean\fR" 4
40 .\" FIXME
41
42 .SH SEE ALSO
43 \fIlive\-build\fR(7)
44 .PP
45 This program is a part of live\-build.
46
47 .SH HOMEPAGE
48 More information about live\-build and the Debian Live project can be found on the homepage at <\fIhttp://live.debian.net/\fR> and in the manual at <\fIhttp://live.debian.net/manual/\fR>.
49
50 .SH BUGS
51 Bugs can be reported by submitting a bugreport for the live\-build package in the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Debian Live mailing list at <\[email protected]\fR>.
52
53 .SH AUTHOR
54 live\-build was written by Daniel Baumann <\[email protected]\fR> for the Debian project.
0 .TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4-1 "Debian Live Project"
1
2 .SH NAME
3 \fBlb config\fR \- Create config directory
4
5 .SH SYNOPSIS
6 \fBlb config\fR [\fIlive\-build options\fR]
7 .PP
8 .\" FIXME
9 \fBlb config\fR
10 .br
11 [\fB\-\-apt\fR apt|aptitude]
12 .br
13 [\fB\-\-apt\-ftp\-proxy\fR \fIURL\fR]
14 .br
15 [\fB\-\-apt\-http\-proxy\fR \fIURL\fR]
16 .br
17 [\fB\-\-apt\-indices\fR true|false|none]
18 .br
19 [\fB\-\-apt\-options\fR \fIOPTION\fR|"\fIOPTIONS\fR"]
20 .br
21 [\fB\-\-aptitude\-options\fR \fIOPTION\fR|"\fIOPTIONS\fR"]
22 .br
23 [\fB\-\-apt\-pipeline\fR \fIDEPTH\fR]
24 .br
25 [\fB\-\-apt\-recommends\fR true|false]
26 .br
27 [\fB\-\-apt\-secure\fR true|false]
28 .br
29 [\fB\-\-apt\-source\-archives\fR true|false]
30 .br
31 [\-a|\fB\-\-architectures\fR \fIARCHITECTURE\fR]
32 .br
33 [\-b|\fB\-\-binary\-images\fR iso|iso\-hybrid|netboot|tar|hdd]
34 .br
35 [\fB\-\-binary\-filesystem\fR fat16|fat32|ext2|ext3|ext4]
36 .br
37 [\fB\-\-bootappend\-install\fR \fIPARAMETER\fR|\fI"PARAMETERS"\fR]
38 .br
39 [\fB\-\-bootappend\-live\fR \fIPARAMETER\fR|\fI"PARAMETERS"\fR]
40 .br
41 [\fB\-\-bootloader\fR grub|syslinux|yaboot]
42 .br
43 [\fB\-\-bootstrap\fR cdebootstrap|cdebootstrap-static|debootstrap]
44 .br
45 [\fB\-\-cache\fR true|false]
46 .br
47 [\fB\-\-cache\-indices\fR true|false]
48 .br
49 [\fB\-\-cache\-packages\fR true|false]
50 .br
51 [\fB\-\-cache\-stages\fR \fISTAGE\fR|\fI"STAGES"\fR]
52 .br
53 [\fB\-\-checksums\fR md5|sha1|sha256|none]
54 .br
55 [\fB\-\-compression\fR bzip2|gzip|lzip|none]
56 .br
57 [\fB\-\-config\fR \fIGIT_URL::GIT_ID\fR]
58 .br
59 [\fB\-\-build\-with\-chroot\fR true|false]
60 .br
61 [\fB\-\-chroot\-filesystem\fR ext2|ext3|ext4|squashfs|jffs2|none]
62 .br
63 [\fB\-\-clean\fR]
64 .br
65 [\-c|\fB\-\-conffile\fR \fIFILE\fR]
66 .br
67 [\fB\-\-debconf\-frontend\fR dialog|editor|noninteractive|readline]
68 .br
69 [\fB\-\-debconf\-priority\fR low|medium|high|critical]
70 .br
71 [\fB\-\-debian\-installer\fR true|cdrom|netinst|netboot|businesscard|live|false]
72 .br
73 [\fB\-\-debian\-installer\-distribution\fR daily|\fICODENAME\fR]
74 .br
75 [\fB\-\-debian\-installer\-preseedfile\fR \fIFILE\fR|\fIURL\fR]
76 .br
77 [\fB\-\-debian\-installer\-gui\fR true|false]
78 .br
79 [\fB\-\-debug\fR]
80 .br
81 [\-d|\fB\-\-distribution\fR \fICODENAME\fR]
82 .br
83 [\fB\-\-parent\-distribution\fR \fICODENAME\fR]
84 .br
85 [\fB\-\-parent\-debian\-installer\-distribution\fR \fICODENAME\fR]
86 .br
87 [\fB\-\-dump\fR]
88 .br
89 [\fB\-\-fdisk\fR fdisk|fdisk.dist]
90 .br
91 [\fB\-\-firmware\-binary true|false\fR]
92 .br
93 [\fB\-\-firmware\-chroot true|false\fR]
94 .br
95 [\fB\-\-force\fR]
96 .br
97 [\fB\-\-grub\-splash\fR \fIFILE\fR]
98 .br
99 [\fB\-\-gzip\-options\fR \fIOPTION\fR|"\fIOPTIONS\fR"]
100 .br
101 [\fB\-\-hooks\fR \fIFILE\fR]
102 .br
103 [\fB\-\-ignore\-system\-defaults\fR]
104 .br
105 [\fB\-\-initramfs\fR auto|none|live\-boot|casper]
106 .br
107 [\fB\-\-initramfs\-compression\fR bzip2|gzip|lzma]
108 .br
109 [\fB\-\-initsystem\fR sysvinit|runit|systemd|upstart|none]
110 .br
111 [\fB\-\-interactive\fR shell]
112 .br
113 [\fB\-\-isohybrid\-options\fR \fIOPTION\fR|"\fIOPTIONS\fR"]
114 .br
115 [\fB\-\-iso\-application\fR \fINAME\fR]
116 .br
117 [\fB\-\-iso\-preparer\fR \fINAME\fR]
118 .br
119 [\fB\-\-iso\-publisher\fR \fINAME\fR]
120 .br
121 [\fB\-\-iso\-volume\fR \fINAME\fR]
122 .br
123 [\fB\-\-jffs2\-eraseblock\fR \fISIZE\fR]
124 .br
125 [\fB\-\-keyring\-packages\fR \fIPACKAGE\fI|\fI"PACKAGES"\fR]
126 .br
127 [\-k|\fB\-\-linux\-flavours\fR \fIFLAVOUR\fR|\fI"FLAVOURS"\fR]
128 .br
129 [\fB\-\-linux\-packages\fR \fI"PACKAGES"\fR]
130 .br
131 [\fB\-\-losetup\fR losetup|losetup.orig]
132 .br
133 [\fB\-\-memtest\fR memtest86+|memtest86|none]
134 .br
135 [\-m|\fB\-\-parent\-mirror\-bootstrap\fR \fIURL\fR]
136 .br
137 [\fB\-\-parent\-mirror\-chroot\fR \fIURL\fR]
138 .br
139 [\fB\-\-parent\-mirror\-chroot\-security\fR \fIURL\fR]
140 .br
141 [\fB\-\-parent\-mirror\-chroot\-updates\fR \fIURL\fR]
142 .br
143 [\fB\-\-parent\-mirror\-chroot\-backports\fR \fIURL\fR]
144 .br
145 [\fB\-\-parent\-mirror\-binary\fR \fIURL\fR]
146 .br
147 [\fB\-\-parent\-mirror\-binary\-security\fR \fIURL\fR]
148 .br
149 [\fB\-\-parent\-mirror\-binary\-updates\fR \fIURL\fR]
150 .br
151 [\fB\-\-parent\-mirror\-binary\-backports\fR \fIURL\fR]
152 .br
153 [\fB\-\-parent\-mirror\-debian\-installer\fR \fIURL\fR]
154 .br
155 [\fB\-\-mirror\-bootstrap\fR \fIURL\fR]
156 .br
157 [\fB\-\-mirror\-chroot\fR \fIURL\fR]
158 .br
159 [\fB\-\-mirror\-chroot\-security\fR \fIURL\fR]
160 .br
161 [\fB\-\-mirror\-chroot\-updates\fR \fIURL\fR]
162 .br
163 [\fB\-\-mirror\-chroot\-backports\fR \fIURL\fR]
164 .br
165 [\fB\-\-mirror\-binary\fR \fIURL\fR]
166 .br
167 [\fB\-\-mirror\-binary\-security\fR \fIURL\fR]
168 .br
169 [\fB\-\-mirror\-binary\-updates\fR \fIURL\fR]
170 .br
171 [\fB\-\-mirror\-binary\-backports\fR \fIURL\fR]
172 .br
173 [\fB\-\-mirror\-debian\-installer\fR \fIURL\fR]
174 .br
175 [\fB\-\-mode\fR debian|emdebian|progress-linux|ubuntu]
176 .br
177 [\fB\-\-system\fR live|normal]
178 .br
179 [\fB\-\-net\-root\-filesystem\fR nfs|cfs]
180 .br
181 [\fB\-\-net\-root\-mountoptions\fR \fIOPTIONS\fR]
182 .br
183 [\fB\-\-net\-root\-path\fR \fIPATH\fR]
184 .br
185 [\fB\-\-net\-root\-server\fR \fIIP\fR|\fIHOSTNAME\fR]
186 .br
187 [\fB\-\-net\-cow\-filesystem\fR nfs|cfs]
188 .br
189 [\fB\-\-net\-cow\-mountoptions\fR \fIOPTIONS\fR]
190 .br
191 [\fB\-\-net\-cow\-path\fR \fIPATH\fR]
192 .br
193 [\fB\-\-net\-cow\-server\fR \fIIP\fR|\fIHOSTNAME\fR]
194 .br
195 [\fB\-\-net\-tarball\fR true|false]
196 .br
197 [\-p|\fB\-\-package\-lists\fR \fILIST\fR|\fI"LISTS"\fR]
198 .br
199 [\fB\-\-quiet\fR]
200 .br
201 [\fB\-\-root-command\fR sudo]
202 .br
203 [\fB\-\-use-fakeroot\fR true|false]
204 .br
205 [\fB\-\-archives\fR \fIARCHIVE\fR|\fI"ARCHIVES"\fR]
206 .br
207 [\fB\-\-archive\-areas\fR \fIARCHIVE_AREA\fR|\fI"ARCHIVE_AREAS"\fR]
208 .br
209 [\fB\-\-parent\-archive\-areas\fR \fIPARENT_ARCHIVE_AREA\fR|\fI"PARENT_ARCHIVE_AREAS"\fR]
210 .br
211 [\fB\-\-security\fR true|false]
212 .br
213 [\fB\-\-source\fR true|false]
214 .br
215 [\-s|\fB\-\-source\-images\fR iso|netboot|tar|hdd]
216 .br
217 [\fB\-\-syslinux\-theme\fR \fITHEME_SUFFIX\fR]
218 .br
219 [\fB\-\-tasksel\fR apt|aptitude|tasksel]
220 .br
221 [\fB\-\-templates\fR \fIPATH\fR]
222 .br
223 [\fB\-\-hdd\-size \fIMB\fR]
224 .br
225 [\fB\-\-updates\fR true|false]
226 .br
227 [\fB\-\-backports\fR true|false]
228 .br
229 [\fB\-\-exposed\-root\fR true|false]
230 .br
231 [\fB\-\-verbose\fR]
232 .br
233 [\fB\-\-win32\-loader true|false]
234 .\" FIXME
235
236 .SH DESCRIPTION
237 \fBlb config\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite.
238 .PP
239 .\" FIXME
240 \fBlb config\fR populates the configuration directory for live\-build. By default, this directory is named 'config' and is created in the current directory where \fBlb config\fR was executed.
241 .PP
242 Note: Currently \fBlb config\fR tries to be smart and sets defaults for some options depending on the setting of other options (e.g. which linux packages to be used depending on if a squeeze system gets build or not). This means that when generating a new configuration, you should call \fBlb config\fR only once with all options specified. Calling it several times with only a subset of the options each can result in non working configurations. This is also caused by the fact that \fBlb config\fR called with one option only changes that option, and leaves everything else as is unless its not defined. However, \fBlb config\fR does warn about know impossible or likely impossible combinations that would lead to non working live systems. If unsure, remove config/{binary,bootstrap,chroot,common,source} and call \fBlb config\fR again.
243 .\" FIXME
244
245 .SH OPTIONS
246 In addition to its specific options \fBlb config\fR understands all generic live\-build options. See \fIlive\-build\fR(7) for a complete list of all generic live\-build options.
247 .PP
248 .\" FIXME
249 .IP "\fB\-\-apt\fR apt|aptitude" 4
250 defines if apt\-get or aptitude is used to install packages when building the image. The default is apt.
251 .IP "\fB\-\-apt\-ftp\-proxy\fR \fIURL\fR" 4
252 sets the ftp proxy to be used by apt. By default, this is empty. Note that this variable is only for the proxy that gets used by apt internally within the chroot, it is not used for anything else.
253 .IP "\fB\-\-apt\-http\-proxy\fR \fIURL\fR" 4
254 sets the http proxy to be used by apt. By default, this is empty. Note that this variable is only for the proxy that gets used by apt internally within the chroot, it is not used for anything else.
255 .IP "\fB\-\-apt\-indices\fR true|false|none" 4
256 defines if the resulting images should have apt indices or not and defaults to true. If set to none, no indices are included at all.
257 .IP "\fB\-\-apt\-options\fR \fIOPTION\fR|""\fIOPTIONS\fR""" 4
258 defines the default options that will be appended to every apt call that is made inside chroot during the building of the image. By default, this is set to \-\-yes to allow non-interactive installation of packages.
259 .IP "\fB\-\-aptitude\-options\fR \fIOPTION\fR|""\fIOPTIONS\fR""" 4
260 defines the default options that will be appended to every aptitude call that is made inside chroot during building of the image. By default, this is set to \-\-assume\-yes to allow non-interactive installation of packages.
261 .IP "\fB\-\-apt\-pipeline\fR \fIDEPTH\fR" 4
262 sets the depth of the apt/aptitude pipeline. In cases where the remote server is not RFC conforming or buggy (such as Squid 2.0.2) this option can be a value from 0 to 5 indicating how many outstanding requests APT should send. A value of zero MUST be specified if the remote host does not properly linger on TCP connections \- otherwise data corruption will occur. Hosts which require this are in violation of RFC 2068. By default, live\-build does not set this option.
263 .IP "\fB\-\-apt\-recommends\fR true|false" 4
264 defines if apt should install recommended packages automatically. By default, this is true except in emdebian mode.
265 .IP "\fB\-\-apt\-secure\fR true|false" 4
266 defines if apt should check repository signatures. This is true by default.
267 .IP "\fB\-\-apt\-source\-archives\fR true|false" 4
268 defines if deb-src entries should be included in the resulting live image or not, defaults to on.
269 .IP "\-a|\fB\-\-architectures\fR \fIARCHITECTURE\fR" 4
270 defines the architecture of the to be build image. By default, this is set to the host architecture. Note that you cannot crossbuild for another architecture if your host system is not able to execute binaries for the target architecture natively. For example, building amd64 images on i386 and vice versa is possile if you have a 64bit capable i386 processor and the right kernel. But building powerpc images on an i386 system is not possible.
271 .IP "\-b|\fB\-\-binary\-images\fR iso|iso\-hybrid|netboot|tar|hdd" 4
272 defines the image type to build. By default, for images using syslinux this is set to iso\-hybrid to build CD/DVD images that may also be used like hdd images, for non\-syslinux images, it defaults to iso.
273 .IP "\fB\-\-binary\-filesystem\fR fat16|fat32|ext2|ext3|ext4" 4
274 defines the filesystem to be used in the image type. This only has an effect if the selected binary image type does allow to choose a filesystem. For example, when selection iso the resulting CD/DVD has always the filesystem ISO9660. When building hdd images for usb sticks, this is active. Note that it defaults to fat16 on all architectures except sparc where it defaults to ext4. Also note that if you choose fat16 and your resulting binary image gets bigger than 2GB, the binary filesystem automatically gets switched to fat32.
275 .IP "\fB\-\-bootappend\-install\fR \fIPARAMETER\fR|""\fIPARAMETERS\fR""" 4
276 sets boot parameters specific to debian\-installer, if included.
277 .IP "\fB\-\-bootappend\-live\fR \fIPARAMETER\fR|""\fIPARAMETERS\fR""" 4
278 sets boot parameters specific to debian\-live. A complete list of boot parameters can be found in the \fIlive\-boot\fR(7) and \fIlive\-config\fR(7) manual pages.
279 .IP "\fB\-\-bootloader\fR grub|syslinux|yaboot" 4
280 defines which bootloader is beeing used in the generated image. This has only an effect if the selected binary image type does allow to choose the bootloader. For example, if you build a iso, always syslinux (or more precise, isolinux) is being used. Also note that some combinations of binary images types and bootloaders may be possible but live\-build does not support them yet. \fBlb config\fR will fail to create such a not yet supported configuration and give a explanation about it. For hdd images on amd64 and i386, the default is syslinux. yaboot is only used on powerpc.
281 .IP "\fB\-\-bootstrap\fR cdebootstrap|cdebootstrap-static|debootstrap" 4
282 defines which program is used to bootstrap the debian chroot, default is debootstrap.
283 .IP "\fB\-\-cache\fR true|false" 4
284 defines globally if any cache should be used at all. Different caches can be controled through the their own options.
285 .IP "\fB\-\-cache\-indices\fR true|false" 4
286 defines if downloaded package indices and lists should be cached which is false by default. Enabling it would allow to rebuild an image completely offline, however, you would not get updates anymore then.
287 .IP "\fB\-\-cache\-packages\fR true|false" 4
288 defines if downloaded packages files should be cached which is true by default. Disabling it does save space consumtion in your build directory, but remember that you will cause much unnecessary traffic if you do a couple of rebuilds. In general you should always leave it true, however, in some particular rare build setups, it can be faster to refetch packages from the local network mirror rather than to utilize the local disk.
289 .IP "\fB\-\-cache\-stages\fR true|false|\fISTAGE\fR|""\fISTAGES\fR""" 4
290 sets which stages should be cached. By default set to bootstrap. As an exception to the normal stage names, also rootfs can be used here which does only cache the generated root filesystem in filesystem.{dir,ext*,squashfs}. This is useful during development if you want to rebuild the binary stage but not regenerate the root filesystem all the time.
291 .IP "\fB\-\-checksums\fR md5|sha1|sha256|none" 4
292 defines if the binary image should contain a file called md5sums.txt, sha1sums.txt and/or sha256sums.txt. These lists all files on the image together with their checksums. This in turn can be used by live\-boots built\-in integrity\-check to verify the medium if specified at boot prompt. In general, this should not be false and is an important feature of live system released to the public. However, during development of very big images it can save some time by not calculating the checksums.
293 .IP "\fB\-\-compression\fR bzip2|gzip|lzip|none" 4
294 defines the compression program to be used to compress tarballs. Defaults to gzip.
295 .IP "\fB\-\-config\fR \fIGIT_URL\fR::\fIGIT_ID\fR" 4
296 allows to bootstrap a config tree from a git repositories, optionally appended by a Git Id (branch, commit, tag, etc.).
297 .IP "\fB\-\-build\-with\-chroot\fR true|false" 4
298 defines whetever live\-build should use the tools from within the chroot to build the binary image or not by using and including the host systems tools. This is a very dangerous option, using the tools of the host system can lead to tainted and even non-bootable images if the host systems version of the required tools (mainly these are the bootloaders such as syslinux, grub and yaboot, and the auxilliary tools such as dosfstools, xorriso, squashfs-tools and others) do not \fBexactely\fR match what is present at build-time in the target distribution. Never do disable this option unless you are \fBexactely\fR sure what you are doing and have \fBcompletely\fI understood its consequences.
299 .IP "\fB\-\-chroot\-filesystem\fR ext2|ext3|ext4|squashfs|jffs2|none" 4
300 defines which filesystem type should be used for the root filesystem image. If you use none, then no filesystem image is created and the root filesystem content is copied on the binary image filesystem as flat files. Depending on what binary filesystem you have choosen, it may not be possible to build with such a plain root filesystem, e.g. fat16/fat32 will not work as linux does not support to run directly on them.
301 .IP "\fB\-\-clean\fR" 4
302 minimizes config directory by automatically removing unused and thus empty subdirectories.
303 .IP "\-c|\fB\-\-conffile\fR \fIFILE\fR" 4
304 using a user specified alternative configuration file in addition to the normally used one in the config directory.
305 .IP "\fB\-\-debconf\-frontend\fR dialog|editor|noninteractive|readline" 4
306 defines what value the debconf frontend should be set to inside the chroot. Note that setting it to anything by noninteractive, which is the default, makes your build asking questions during the build.
307 .IP "\fB\-\-debconf\-priority\fR low|medium|high|critical" 4
308 defines what value the debconf priority shoul dbe set to inside the chroot. By default, it is set to critical, which means that almost no questions are displayed. Note that this only has an effect if you use any debconf frontend different from noninteractive.
309 .IP "\fB\-\-debian\-installer\fR true|cdrom|netinst|netboot|businesscard|live|false" 4
310 defines which type, if any, of the debian\-installer should be included in the resulting binary image. By default, no installer is included. All available flavours except live are the identical configurations used on the installer media produced by regular debian\-cd. When live is choosen, the live\-installer udeb is included so that debian\-installer will behave different than usual \- instead of installing the debian system from packages from the medium or the network, it installs the live system to the disk.
311 .IP "\fB\-\-debian\-installer\-distribution\fR daily|\fICODENAME\fR" 4
312 defines the distribution where the debian\-installer files should be taken out from. Normally, this should be set to the same distribution as the live system. However, some times, one wants to use a newer or even daily built installer.
313 .IP "\fB\-\-debian\-installer\-preseedfile\fR \fIFILE\fR|\fIURL\fR" 4
314 sets the filename or URL for an optionally used and included preseeding file for debian\-installer. If config/binary_debian\-installer/preseed.cfg exists, it will be used by default.
315 .IP "\fB\-\-debian\-installer\-gui\fR true|false" 4
316 defines if the debian\-installer graphical GTK interface should be true or not. In Debian mode and for most versions of Ubuntu, this option is true, whereas otherwise false, by default.
317 .IP "\fB\-\-debug\fR" 4
318 turn on debugging informational messages.
319 .IP "\-d|\fB\-\-distribution\fR \fICODENAME\fR" 4
320 defines the distribution of the resulting live system.
321 .IP "\-d|\fB\-\-parent\-distribution\fR \fICODENAME\fR" 4
322 defines the parent distribution for derivatives of the resulting live system.
323 .IP "\-d|\fB\-\-parent\-debian\-installer\-distribution\fR \fICODENAME\fR" 4
324 defines the parent debian\-installer distribution for derivatives of the resulting live system.
325 .IP "\fB\-\-dump\fR" 4
326 prepares a report of the currently present live system configuration and the version of live\-build used. This is useful to provide if you submit bug reports, we do get all informations required for us to locate and replicate an error.
327 .IP "\fB\-\-fdisk\fR fdisk|fdisk.dist" 4
328 sets the filename of the fdisk binary from the host system that should be used. This is autodetected and does generally not need any customization.
329 .IP "\fB\-\-force\fR" 4
330 forces re\-execution of already run stages. Use only if you know what you are doing. It is generally safer to use \fBlb clean\fR to clean up before re\-executing \fBlb build\fR.
331 .IP "\fB\-\-grub\-splash\fR \fIFILE\fR" 4
332 defines the name of an optional to be included splash screen graphic for the grub bootloader.
333 .IP "\fB\-\-gzip\-options\fR \fIOPTION\fR|""\fIOPTIONS\fR""" 4
334 defines the default options that will be appended to (almost) every gzip call during the building of the image. By default, this is set to \-\-best to use highest (but slowest) compression. Dynamically, if the host system supports it, also \-\-rsyncable is added.
335 .IP "\fB\-\-hooks\fR \fIFILE\fR" 4
336 defines which hooks available in /usr/share/live/build/examples/hooks should be activated. Normally, there are no hooks executed. Make sure you know and understood the hook before you enable it.
337 .IP "\fB\-\-ignore\-system\-defaults\fR" 4
338 \fBlb config\fR by default reads system defaults from \fI/etc/live/build.conf\fR and \fI/etc/live/build/*\fR when generating a new live system config directory. This is useful if you want to set global settings, such as mirror locations, and don't want to specify them all of the time.
339 .IP "\fB\-\-initramfs\fR auto|none|live\-boot|casper" 4
340 sets the name of package that contains the live system specific initramfs modification. By default, auto is used, which means that at build time of the image rather than on configuration time, the value will be expanded to casper when building ubuntu systems, to live\-boot for all other systems. Using 'none' is useful if the resulting system image should not be a live image (experimental).
341 .IP "\fB\-\-initramfs\-compression\fR bzip2|gzip|lzma]
342 defines the compression program to be used to compress the initramfs. Defaults to gzip.
343 .IP "\fB\-\-interactive\fR shell" 4
344 defines if after the chroot stage and before the beginning of the binary stage, a interactive shell login should be spawned in the chroot in order to allow you to do manual customizations. Once you close the shell with logout or exit, the build will continue as usual. Note that it's strongly discouraged to use this for anything else than testing. Modifications that should be present in all builds of a live system should be properly made through hooks. Everything else destroys the beauty of being able to completely automatise the build process and making it non interactive. By default, this is of course false.
345 .IP "\fB\-\-isohybrid\-options\fR \fIOPTION\fR|""\fIOPTIONS\fR""" 4
346 defines options to pass to isohybrid.
347 .IP "\fB\-\-iso\-application\fR \fINAME\fR" 4
348 sets the APPLICATION field in the header of a resulting CD/DVD image and defaults to "Debian Live" in debian mode, and to "Emdebian Live" in emdebian mode, and "Ubuntu Live" in ubuntu mode.
349 .IP "\fB\-\-iso\-preparer\fR \fINAME\fR" 4
350 sets the PREPARER field in the header of a resulting CD/DVD image. By default this is set to "live\-build \fIVERSION\fR; http://packages.qa.debian.org/live\-build", whereas VERSION is expanded to the version of live\-build that was used to build the image.
351 .IP "\fB\-\-iso\-publisher\fR \fINAME\fR" 4
352 sets the PUBLISHED field in the header of a resulting CD/DVD image. By default, this is set to 'Debian Live project; http:/live.debian.net/; debian\[email protected]'. Remember to change this to the appropriate values at latest when you distributing custom and unofficial images.
353 .IP "\fB\-\-iso\-volume\fR \fINAME\fR" 4
354 sets the VOLUME field in the header of a resulting CD/DVD and defaults to '(\fIMODE\fR) (\fIDISTRIBUTION\fR) (\fIDATE\fR)' whereas MODE is expanded to the name of the mode in use, DISTRIBUTION the distribution name, and DATE with the current date and time of the generation.
355 .IP "\fB\-\-jffs2\-eraseblock\fR \fISIZE\fR" 4
356 sets the eraseblock size for a JFFS2 (Second Journalling Flash File System) filesystem. The default is 64 KiB. If you use an erase block size different than the erase block size of the target MTD device, JFFS2 may not perform optimally. If the SIZE specified is below 4096, the units are assumed to be KiB.
357 .IP "\fB\-\-keyring\-packages\fR \fIPACKAGE\fI|""\fIPACKAGES\fR""" 4
358 sets the keyring package or additional keyring packages. By default this is set to debian\-archive\-keyring.
359 .IP "\-k|\fB\-\-linux\-flavours\fR \fIFLAVOUR\fR|""\fIFLAVOURS\fR""" 4
360 sets the kernel flavours to be installed. Note that in case you specify more than that the first will be configured the default kernel that gets booted.
361 .IP "\fB\-\-linux\-packages\fR ""\fIPACKAGES\fR""" 4
362 sets the internal name of the kernel packages naming scheme. If you use debian kernel packages, you will not have to adjust it. If you decide to use custom kernel packages that do not follow the debian naming scheme, remember to set this option to the stub of the packages only (for debian this is linux\-image\-2.6), so that \fISTUB\fR-\fIFLAVOUR\fR results in a valid package name (for debian e.g. linux\-image\-2.6\-486). Preferably you use the meta package name, if any, for the stub, so that your configuration is ABI independent. Also don't forget that you have to include stubs of the binary modules packages for unionfs or aufs, and squashfs if you built them out-of-tree.
363 .IP "\fB\-\-losetup\fR losetup|losetup.orig" 4
364 sets the filename of the losetup binary from the host system that should be used. This is autodetected and does generally not need any customization.
365 .IP "\fB\-\-memtest\fR memtest86+|memtest86|none" 4
366 defines if memtest, memtest86+ or no memory tester at all should be included as secondary bootloader configuration. This is only available on amd64 and i386 and defaults to memtest86+.
367 .IP "\-m|\fB\-\-parent\-mirror\-bootstrap\fR \fIURL\fR" 4
368 sets the location of the debian package mirror that should be used to bootstrap from. This defaults to http://ftp.de.debian.org/debian/ which may not be a good default if you live outside of Europe.
369 .IP "\fB\-\-parent\-mirror\-chroot\fR \fIURL\fR" 4
370 sets the location of the debian package mirror that will be used to fetch the packages in order to build the live system. By default, this is set to the value of \-\-parent\-mirror\-bootstrap.
371 .IP "\fB\-\-parent\-mirror\-chroot\-security\fR \fIURL\fR" 4
372 sets the location of the debian security package mirror that will be used to fetch the packages in order to build the live system. By default, this points to http://security.debian.org/debian/.
373 .IP "\fB\-\-parent\-mirror\-chroot\-updates\fR \fIURL\fR" 4
374 sets the location of the debian updates package mirror that will be used to fetch packages in order to build the live system. By default, this is set to the value of \-\-parent\-mirror\-chroot.
375 .IP "\fB\-\-parent\-mirror\-chroot\-backports\fR \fIURL\fR" 4
376 sets the location of the debian backports package mirror that will be used to fetch packages in order to build the live system. By default, this points to http://backports.debian.org/debian-backports/.
377 .IP "\fB\-\-parent\-mirror\-binary\fR \fIURL\fR" 4
378 sets the location of the debian package mirror that should end up configured in the final image and which is the one a user would see and use. This has not necessarily to be the same that is used to build the image, e.g. if you use a local mirror but want to have an official mirror in the image. By default, 'http://http.debian.net/debian/' is used.
379 .IP "\fB\-\-parent\-mirror\-binary\-security\fR \fIURL\fR" 4
380 sets the location of the debian security package mirror that should end up configured in the final image. By default, 'http://security.debian.org/' is used.
381 .IP "\fB\-\-parent\-mirror\-binary\-updates\fR \fIURL\fR" 4
382 sets the location of the debian updates package mirror that should end up configured in the final image. By default, the value of \-\-parent\-mirror\-binary is used.
383 .IP "\fB\-\-parent\-mirror\-binary\-backports\fR \fIURL\fR" 4
384 sets the location of the debian backports package mirror that should end up configured in the final image. By default, 'http://backports.debian.org/debian-backports/' is used.
385 .IP "\fB\-\-parent\-mirror\-debian\-installer\fR \fIURL\fR" 4
386 sets the location of the mirror that will be used to fetch the debian installer images. By default, this points to the same mirror used to build the live system, i.e. the value of \-\-parent\-mirror\-bootstrap.
387 .IP "\fB\-\-mirror\-bootstrap\fR \fIURL\fR" 4
388 sets the location of the debian package mirror that should be used to bootstrap the derivative from. This defaults to http://ftp.de.debian.org/debian/ which may not be a good default if you live outside of Europe.
389 .IP "\fB\-\-mirror\-chroot\fR \fIURL\fR" 4
390 sets the location of the debian package mirror that will be used to fetch the packages of the derivative in order to build the live system. By default, this is set to the value of \-\-mirror\-bootstrap.
391 .IP "\fB\-\-mirror\-chroot\-security\fR \fIURL\fR" 4
392 sets the location of the debian security package mirror that will be used to fetch the packages of the derivative in order to build the live system. By default, this points to http://security.debian.org/debian/.
393 .IP "\fB\-\-mirror\-chroot\-updates\fR \fIURL\fR" 4
394 sets the location of the debian updates package mirror that will be used to fetch packages of the derivative in order to build the live system. By default, this is set to the value of \-\-mirror\-chroot.
395 .IP "\fB\-\-mirror\-chroot\-backports\fR \fIURL\fR" 4
396 sets the location of the debian backports package mirror that will be used to fetch packages of the derivative in order to build the live system. By default, this points to http://backports.debian.org/debian-backports/.
397 .IP "\fB\-\-mirror\-binary\fR \fIURL\fR" 4
398 sets the location of the derivative package mirror that should end up configured in the final image and which is the one a user would see and use. This has not necessarily to be the same that is used to build the image, e.g. if you use a local mirror but want to have an official mirror in the image.
399 .IP "\fB\-\-mirror\-binary\-security\fR \fIURL\fR" 4
400 sets the location of the derivatives security package mirror that should end up configured in the final image.
401 .IP "\fB\-\-mirror\-binary\-updates\fR \fIURL\fR" 4
402 sets the location of the derivatives updates package mirror that should end up configured in the final image.
403 .IP "\fB\-\-mirror\-binary\-backports\fR \fIURL\fR" 4
404 sets the location of the derivatives backports package mirror that should end up configured in the final image.
405 .IP "\fB\-\-mirror\-debian\-installer\fR \fIURL\fR" 4
406 sets the location of the mirror that will be used to fetch the debian installer images of the derivative. By default, this points to the same mirror used to build the live system, i.e. the value of \-\-mirror\-bootstrap.
407 .IP "\fB\-\-mode\fR debian|emdebian|progress|ubuntu" 4
408 defines a global mode to load project specific defaults. By default this is set to debian.
409 .IP "\fB\-\-system\fR live|normal" 4
410 defines if the resulting system image should a live system or a normal, non-live system.
411 .IP "\fB\-\-net\-root\-filesystem\fR nfs|cfs" 4
412 defines the filesystem that will be configured in the bootloader configuration for your netboot image. This defaults to nfs.
413 .IP "\fB\-\-net\-root\-mountoptions\fR \fIOPTIONS\fR" 4
414 sets additional options for mounting the root filesystem in netboot images and is by default empty.
415 .IP "\fB\-\-net\-root\-path\fR \fIPATH\fR" 4
416 sets the file path that will be configured in the bootloader configuration for your netboot image. This defaults to /srv/debian\-live in debian mode and to /srv/emebian-live when being in emdebian mode, and /srv/ubuntu-live when in ubuntu mode.
417 .IP "\fB\-\-net\-root\-server\fR \fIIP\fR|\fIHOSTNAME\fR" 4
418 sets the IP or hostname that will be configured in the bootloader configuration for the root filesystem of your netboot image. This defaults to 192.168.1.1.
419 .IP "\fB\-\-net\-cow\-filesystem\fR nfs|cfs" 4
420 defines the filesystem type for the copy\-on\-write layer and defaults to nfs.
421 .IP "\fB\-\-net\-cow\-mountoptions\fR \fIOPTIONS\fR" 4
422 sets additional options for mounting the copy\-on\-write layer in netboot images and is by default empty.
423 .IP "\fB\-\-net\-cow\-path\fR \fIPATH\fR" 4
424 defines the path to client writable filesystem. Anywhere that \fIclient_mac_address\fR is specified in the path live\-boot will substitute the MAC address of the client delimited with hyphens.
425 .PP
426 .IP "" 4
427 Example:
428 .br
429 /export/hosts/client_mac_address
430 .br
431 /export/hosts/00\-16\-D3\-33\-92\-E8
432 .IP "\fB\-\-net\-cow\-server\fR \fIIP\fR|\fIHOSTNAME\fR" 4
433 sets the IP or hostname that will be configured in the bootloader configuration for the copy\-on\-write filesystem of your netboot image and is by default empty.
434 .IP "\fB\-\-net\-tarball\fR true|false" 4
435 defines if a compressed tarball should be created. Disabling this options leads to no tarball at all, the plain binary directory is considered the output in this case. Default is true.
436 .IP "\-p|\fB\-\-package\-lists\fR \fILIST\fR|""\fILISTS\fR""" 4
437 defines which lists available in /usr/share/live/build/package-lists should be used. By default, this is set to standard. Note that in case you have local package lists, you don't need to list them here. Putting them into config/package-lists is enough (the filename needs to have the .list suffix though).
438 .IP "\fB\-\-quiet\fR" 4
439 reduces the verbosity of messages output by \fBlb build\fR.
440 .IP "\fB\-\-archives\fR \fIARCHIVE\fR|""\fIARCHIVES\fR""" 4
441 enables one of available third-party archive configurations in /usr/share/live/build/archives.
442 .IP "\fB\-\-root-command\fR sudo" 4
443 controls if live\-build should use sudo internally to build the live image. Note that this is not well tested and that you should, when relying on sudo, call the individual live\-build command with sudo itself.
444 .IP "\fB\-\-use-fakeroot\fR true|false" 4
445 controls if live\-build should utilize fakeroot and fakechroot to try and avoid requiring root privillages where possible. By default, this option is false.
446 .IP "\fB\-\-archive\-areas\fR \fIARCHIVE_AREA\fR|""\fIARCHIVE_AREAS\fR""" 4
447 defines which package archive areas of a debian packages archive should be used for configured debian package mirrors. By default, this is set to main. Remember to check the licenses of each packages with respect to their redistributability in your juristiction when enabling contrib or non\-free with this mechanism.
448 .IP "\fB\-\-parent\-archive\-areas\fR \fIPARENT_ARCHIVE_AREA\fR|""\fIPARENT_ARCHIVE_AREAS\fR""" 4
449 defines the archive areas for derivatives of the resulting live system.
450 .IP "\fB\-\-security\fR true|false" 4
451 defines if the security repositories specified in the security mirror options should be used or not.
452 .IP "\fB\-\-source\fR true|false" 4
453 defines if a corresponding source image to the binary image should be build. By default this is false because most people do not require this and would require to download quite a few source packages. However, once you start distributing your live image, you should make sure you build it with a source image alongside.
454 .IP "\-s|\fB\-\-source\-images\fR iso|netboot|tar|hdd" 4
455 defines the image type for the source image. Default is tar.
456 .IP "\fB\-\-firmware\-binary\fR true|false" 4
457 defines if firmware packages should be automatically included into the binary pool for debian\-installer. Note that only firmware packages available within the configured archive areas are included, e.g. an image with packages from main only will not automatically include firmware from non\-free. This option does not interfere with explicitly listed packages in binary package lists.
458 .IP "\fB\-\-firmware\-chroot\fR true|false" 4
459 defines if firmware packages should be automatically included into the live image. Note that only firmware packages available within the configured archive areas are included, e.g. an image with packages from main only will not automatically include firmware from non\-free. This option does not interfere with explicitly listed packages in chroot package lists.
460 .IP "\fB\-\-swap\-file\-path\fR \fIPATH\fR" 4
461 defines the path to a swap file to create in the binary image. Default is not to create a swap file.
462 .IP "\fB\-\-swap\-file\-size\fR \fIMB\fR" 4
463 defines what size in megabytes the swap file should be, if one is to be created. Default is 512MB.
464 .IP "\fB\-\-syslinux\-theme\fR \fITHEME_SUFFIX\fR" 4
465 defines the syslinux theme to use. The theme suffix is the name of a directory in /usr/share/syslinux/themes/ provided by a package named syslinux\-theme\- plus the suffix. In debian mode, this defaults to debian\-squeeze.
466 .IP "\fB\-\-tasksel\fR apt|aptitude|tasksel" 4
467 selects which program is used to install tasks. By default, this is set to tasksel.
468 .IP "\fB\-\-templates\fR \fIPATH\fR" 4
469 sets the path to the templates that live\-build is going to use, e.g. for bootloaders. By default, this is set to /usr/share/live/build/templates/.
470 .IP "\fB\-\-hdd\-size\fR MB" 4
471 defines what size the hdd image should be. Note that although the default is set to 10000 (= 10GB), it will not need 10GB space on your harddisk as the files are created as sparse files.
472 .IP "\fB\-\-updates\fR true|false" 4
473 defines if debian updates package archives should be included in the image or not.
474 .IP "\fB\-\-backports\fR true|false" 4
475 defines if debian backports package archives should be included in the image or not.
476 .IP "\fB\-\-exposed\-root\fR true|false" 4
477 defines whether to expose the root filesystem as read only and not covered by the union filesystem. This has useful implications for certain speciality setups such as LTSP. By default, this option is false.
478 .IP "\fB\-\-verbose\fR" 4
479 increases the verbosity of messages output by \fBlb build\fR.
480 .IP "\fB\-\-win32\-loader true|false" 4
481 defines if win32\-loader should be included in the binary image or not.
482 .\" FIXME
483
484 .SH ENVIRONMENT
485 .\" FIXME
486 Currently, command line switches can also be specified through the corresponding environment variable. However, this generally should not be relied upon, as it is an implementation detail that is subject to change in future releases. For options applying directly to live\-build, environment variables are named LB_FOO, meaning, e.g. \fB\-\-apt\-ftp\-proxy\fR becomes LB_APT_FTP_PROXY (the exception being internal options such as \fB\-\-debug\fR). For options passed to another program, as in APT_OPTIONS or GZIP_OPTIONS, no LB_ prefix is used.
487 \" FIXME
488
489 .SH FILES
490 .\" FIXME
491 .IP "\fBauto/config\fR" 4
492 .IP "\fB/etc/live/build.conf, /etc/live/build/*\fR" 4
493 An optional, global configuration file for \fBlb config\fR variables. It is useful to specify a few system wide defaults, like LB_PARENT_MIRROR_BOOTSTRAP. This feature can be false by specifying the \fB\-\-ignore\-system\-defaults\fR option.
494 .\" FIXME
495
496 .SH SEE ALSO
497 \fIlive\-build\fR(7)
498 .PP
499 \fIlive\-boot\fR(7)
500 .PP
501 \fIlive\-config\fR(7)
502 .PP
503 This program is a part of live\-build.
504
505 .SH HOMEPAGE
506 More information about live\-build and the Debian Live project can be found on the homepage at <\fIhttp://live.debian.net/\fR> and in the manual at <\fIhttp://live.debian.net/manual/\fR>.
507
508 .SH BUGS
509 Bugs can be reported by submitting a bugreport for the live\-build package in the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Debian Live mailing list at <\fIdebian\[email protected]\fR>.
510
511 .SH AUTHOR
512 live\-build was written by Daniel Baumann <\[email protected]\fR> for the Debian project.
0 .TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4-1 "Debian Live Project"
1
2 .SH NAME
3 \fBlb source\fR \- Complete the source stage
4
5 .SH SYNOPSIS
6 \fBlb source\fR [\fIlive\-build options\fR]
7
8 .SH DESCRIPTION
9 \fBlb source\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite.
10 .PP
11 \fBlb source\fR calls all necessary live\-build programs in the correct order to complete the source stage.
12
13 .SH OPTIONS
14 \fBlb source\fR has no specific options but understands all generic live\-build options. See \fIlive\-build\fR(7) for a complete list of all generic live\-build options.
15
16 .SH FILES
17 .IP "\fBnone\fR" 4
18
19 .SH SEE ALSO
20 \fIlive\-build\fR(7)
21 .PP
22 This program is a part of live\-build.
23
24 .SH HOMEPAGE
25 More information about live\-build and the Debian Live project can be found on the homepage at <\fIhttp://live.debian.net/\fR> and in the manual at <\fIhttp://live.debian.net/manual/\fR>.
26
27 .SH BUGS
28 Bugs can be reported by submitting a bugreport for the live\-build package in the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Debian Live mailing list at <\[email protected]\fR>.
29
30 .SH AUTHOR
31 live\-build was written by Daniel Baumann <\[email protected]\fR> for the Debian project.
0 .TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4-1 "Debian Live Project"
1
2 .SH NAME
3 \fBlb testroot\fR \- Ensure that a system is built as root
4
5 .SH SYNOPSIS
6 \fBlb testroot\fR [\fIlive\-build options\fR]
7
8 .SH DESCRIPTION
9 \fBlb testroot\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite.
10 .PP
11 .\" FIXME
12 \fBlb testroot\fR simply checks to see if you are root. If not, it exits with an error. Debian Live images must currently be built as real root.
13 .PP
14 Note: Support for using \fIfakeroot\fR(1) and \fIsudo\fR(8) internally in live\-build itself is still experimental, however, calling a helper yourself with sudo is safe.
15 .\" FIXME
16
17 .SH OPTIONS
18 \fBlb testroot\fR has no specific options but understands all generic live\-build options. See \fIlive\-build\fR(7) for a complete list of all generic live\-build options.
19
20 .SH FILES
21 .IP "\fBnone\fR" 4
22
23 .SH SEE ALSO
24 \fIlive\-build\fR(7)
25 .PP
26 This program is a part of live\-build.
27
28 .SH HOMEPAGE
29 More information about live\-build and the Debian Live project can be found on the homepage at <\fIhttp://live.debian.net/\fR> and in the manual at <\fIhttp://live.debian.net/manual/\fR>.
30
31 .SH BUGS
32 Bugs can be reported by submitting a bugreport for the live\-build package in the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Debian Live mailing list at <\[email protected]\fR>.
33
34 .SH AUTHOR
35 live\-build was written by Daniel Baumann <\[email protected]\fR> for the Debian project.
0 .TH LIVE\-BUILD 7 2012\-12\-23 3.0~b4-1 "Debian Live Project"
1
2 .SH NAME
3 \fBlive\-build\fR \- the Debian Live tool suite
4
5 .SH SYNOPSIS
6 .\" FIXME
7 \fBlb \fR\fICOMMAND\fR [\fB\-h|\-\-help\fR] [\fB\-u|\-\-usage\fR] [\fB\-v|\-\-version\fR] [\fB\-\-breakpoints\fR] [\fB\-\-conffile\fR] [\fB\-\-debug\fR] [\fB\-\-force\fR] [\fB\-\-quiet\fR] [\fB\-\-verbose\fR]
8 .\" FIXME
9
10 .SH DESCRIPTION
11 .\" FIXME
12 live\-build is a set of scripts to build Debian Live system images. The idea behind live\-build is a tool suite that uses a configuration directory to completely automate and customize all aspects of building a Live image.
13 .PP
14 The \fICOMMAND\fR is a name of a live\-build command (see below).
15 .PP
16 More documentation about how to use live\-build is available in the individual manpages for each helper and in the manual at <\fIhttp://live.debian.net/manual/\fR>.
17 .\" FIXME
18
19 .SH OPTIONS
20 .\" FIXME
21 .SS Shared live\-build options
22 The following command line options are supported by all live\-build programs.
23 .IP "\fB-h, \-\-help\fR" 4
24 display help and exit.
25 .IP "\fB-u, \-\-usage\fR" 4
26 show usage and exit.
27 .IP "\fB-v, \-\-version\fR" 4
28 output version information and exit.
29 .SS Common live\-build options
30 The following command line options are supported by most live\-build programs. See the man page of each program for a complete explanation of what each option does.
31 .IP "\fB\-\-breakpoints\fR" 4
32 run with breakpoints.
33 .IP "\fB\-\-conffile\fR" 4
34 use custom configuration file.
35 .IP "\fB\-\-debug\fR" 4
36 show debug information.
37 .IP "\fB\-\-force\fR" 4
38 force helper execution, even if stage file exists.
39 .IP "\fB\-\-quiet\fR" 4
40 be quiet.
41 .IP "\fB\-\-verbose\fR" 4
42 be verbose.
43 .\" FIXME
44
45 .SH LIVE\-BUILD COMMANDS
46 .\" FIXME
47 We divide live\-build into high level ("porcelain") commands and low level ("plumbing") commands.
48 .PP
49 Here is the complete list of all available live\-build commands. See their man
50 pages for additional documentation.
51 .\" FIXME
52
53 .SH HIGH\-LEVEL COMMANDS (PORCELAIN)
54 .\" FIXME
55 We separate the porcelain commands into the main commands and some ancillary user utilities.
56 .SS Main porcelain commands
57 .IP "\fBlb_config\fR(1)" 4
58 create configuration for live\-build
59 .IP "\fBlb_bootstrap\fR(1)" 4
60 create the first stage by bootstrapping a basic debian system
61 .IP "\fBlb_chroot\fR(1)" 4
62 create the second stage by customizing the chroot
63 .IP "\fBlb_binary\fR(1)" 4
64 create the third stage by generating a binary image
65 .IP "\fBlb_source\fR(1)" 4
66 create the optional fourth stage by generating a source image
67 .IP "\fBlb_clean\fR(1)" 4
68 clean up system build directories
69 .SS Ancillary Commands
70 .IP "\fBlb\fR(1)" 4
71 generic live\-build wrapper
72 .IP "\fBlb_build\fR(1)" 4
73 alias for all stages
74 .IP "\fBlb_local\fR(1)" 4
75 helper for using a local live\-build
76 .IP "\fBlb_testroot\fR(1)" 4
77 ensure that a system is built as root
78 .\" FIXME
79
80 .SH LOW\-LEVEL COMMANDS (PLUMBING)
81 .\" FIXME
82 The actual work of live\-build is implemented in the low-level commands, called plumbing. They are not supposed to be used by end users, they should stick with porcelains as they ensure that all the different plumbing commands are executed in the right order. However, if you intend to reuse live\-build commands in your own scripts, then the plumbings might be of interest for you.
83 .PP
84 Note that the interface (set of options and the semantics) to these low\-level commands are meant to be a lot more stable than Porcelain level commands. The interface to Porcelain commands on the other hand are subject to change in order to improve the end user experience.
85 .SS Bootstrap commands
86 .IP "\fBlb_bootstrap_cache\fR(1)" 4
87 cache bootstrap stage
88 .IP "\fBlb_bootstrap_cdebootstrap\fR(1)" 4
89 bootstrap a Debian system with cdebootstrap(1)
90 .IP "\fBlb_bootstrap_debootstrap\fR(1)" 4
91 bootstrap a Debian system with debootstrap(8)
92 .SS Chroot commands
93 .IP "\fBlb_chroot_apt\fR(1)" 4
94 manage /etc/apt/apt.conf
95 .IP "\fBlb_chroot_cache\fR(1)" 4
96 cache chroot stage
97 .IP "\fBlb_chroot_debianchroot\fR(1)" 4
98 manage /etc/debian_chroot
99 .IP "\fBlb_chroot_devpts\fR(1)" 4
100 mount /dev/pts
101 .IP "\fBlb_chroot_dpkg\fR(1)" 4
102 manage /sbin/dpkg
103 .IP "\fBlb_chroot_hacks\fR(1)" 4
104 execute hacks in chroot
105 .IP "\fBlb_chroot_hostname\fR(1)" 4
106 manage /bin/hostname
107 .IP "\fBlb_chroot_hosts\fR(1)" 4
108 manage /etc/hosts
109 .IP "\fBlb_chroot_install\-packages\fR(1)" 4
110 install queued packages into chroot
111 .IP "\fBlb_chroot_interactive\fR(1)" 4
112 make build interactive
113 .IP "\fBlb_chroot_linux\-image\fR(1)" 4
114 manage /etc/kernel\-img.conf
115 .IP "\fBlb_chroot_hooks\fR(1)" 4
116 execute local hooks in chroot
117 .IP "\fBlb_chroot_local\-includes\fR(1)" 4
118 copy local files into chroot
119 .IP "\fBlb_chroot_packages\fR(1)" 4
120 queue install of packages into chroot
121 .IP "\fBlb_chroot_local\-patches\fR(1)" 4
122 apply local patches against chroot
123 .IP "\fBlb_chroot_local\-preseed\fR(1)" 4
124 use debconf local preseeding file
125 .IP "\fBlb_chroot_packagelists\fR(1)" 4
126 queue install of package lists into chroot
127 .IP "\fBlb_chroot_proc\fR(1)" 4
128 mount /proc
129 .IP "\fBlb_chroot_resolv\fR(1)" 4
130 manage /etc/resolv.conf
131 .IP "\fBlb_chroot_selinuxfs\fR(1)" 4
132 mount /selinux
133 .IP "\fBlb_chroot_archives\fR(1)" 4
134 manage /etc/apt/sources.list
135 .IP "\fBlb_chroot_sysfs\fR(1)" 4
136 mount /sys
137 .IP "\fBlb_chroot_sysv\-rc\fR(1)" 4
138 manage /usr/sbin/policy\-rc.d
139 .IP "\fBlb_chroot_task\-lists\fR(1)" 4
140 install task lists into chroot
141 .SS Binary commands
142 .IP "\fBlb_binary_chroot\fR(1)" 4
143 copy chroot into chroot
144 .IP "\fBlb_binary_debian\-installer\fR(1)" 4
145 install debian\-installer into binary
146 .IP "\fBlb_binary_disk\fR(1)" 4
147 install disk information into binary
148 .IP "\fBlb_binary_grub\fR(1)" 4
149 installs grub into binary
150 .IP "\fBlb_binary_grub2\fR(1)" 4
151 installs grub2 into binary
152 .IP "\fBlb_binary_includes\fR(1)" 4
153 copy files into binary
154 .IP "\fBlb_binary_iso\fR(1)" 4
155 build iso binary image
156 .IP "\fBlb_binary_linux\-image\fR(1)" 4
157 install linux\-image into binary
158 .IP "\fBlb_binary_local\-hooks\fR(1)" 4
159 execute local hooks in binary
160 .IP "\fBlb_binary_local\-includes\fR(1)" 4
161 copy files into binary
162 .IP "\fBlb_binary_local\-packagelists\fR(1)" 4
163 install local package lists into binary
164 .IP "\fBlb_binary_manifest\fR(1)" 4
165 create manifest
166 .IP "\fBlb_binary_checksums\fR(1)" 4
167 create binary checksums (md5, sha1, and/or sha256)
168 .IP "\fBlb_binary_memtest\fR(1)" 4
169 installs a memtest into binary
170 .IP "\fBlb_binary_net\fR(1)" 4
171 build netboot binary image
172 .IP "\fBlb_binary_rootfs\fR(1)" 4
173 build rootfs image
174 .IP "\fBlb_binary_silo\fR(1)" 4
175 installs silo into binary
176 .IP "\fBlb_binary_syslinux\fR(1)" 4
177 installs syslinux into binary
178 .IP "\fBlb_binary_tar\fR(1)" 4
179 build harddisk binary image
180 .IP "\fBlb_binary_hdd\fR(1)" 4
181 build binary hdd image
182 .IP "\fBlb_binary_win32\-loader\fR(1)" 4
183 installs win32\-loader into binary
184 .IP "\fBlb_binary_yaboot\fR(1)" 4
185 installs yaboot into binary
186 .SS Source commands
187 .IP "\fBlb_source_debian\fR(1)" 4
188 download sources
189 .IP "\fBlb_source_debian\-live\fR(1)" 4
190 copy debian\-live config into source
191 .IP "\fBlb_source_disk\fR(1)" 4
192 install disk information into source
193 .IP "\fBlb_source_iso\fR(1)" 4
194 build iso source image
195 .IP "\fBlb_source_checksums\fR(1)" 4
196 create source checksums (md5, sha1, and/or sha256)
197 .IP "\fBlb_source_net\fR(1)" 4
198 build source net image
199 .IP "\fBlb_source_tar\fR(1)" 4
200 build source tarball
201 .IP "\fBlb_source_hdd\fR(1)" 4
202 build source hdd image
203 .\" FIXME
204
205 .SH CONFIG FILES
206 .\" FIXME
207 Many live\-build commands make use of files in the \fIconfig/\fR directory to control what they do. Besides the common \fIconfig/common\fR, which is used by all live\-build commands, some additional files can be used to configure the behavior of specific live\-build commands. These files are typically named config/stage or config/stage_helper (where "stage" of course, is replaced with the name of the stage that they belong to, and "helper" with the name of the helper).
208 .PP
209 For example, lb_bootstrap_debootstrap uses files named config/bootstrap and config/bootstrap_debootstrap to read the options it will use. See the man pages of individual commands for details about the names and formats of the files they use. Generally, these files contain variables with values assigned, one variable per line. Some programs in live\-build use pairs of values or slightly more complicated variable assignments.
210 .PP
211 Note that live\-build will respect environment variables which are present in the context of the shell it is running. If variables can be read from config files, then they override environment variables, and if command line options are used, they override values from config files. If no value for a given variable can be found and thus is unset, live\-build will automatically set it to the default value.
212 .PP
213 In some rare cases, you may want to have different versions of these files for different architectures or distributions. If files named config/stage.arch or config/stage_helper.arch, and config/stage.dist or config/stage_helper.dist exist, where "arch" is the same as the output of "dpkg \-\-print\-architecture" and "dist" is the same as the codename of the target distribution, then they will be used in preference to other, more general files.
214 .PP
215 All config files are shell scripts which are sourced by a live\-build program. That means they have to follow the normal shell syntax. You can also put comments in these files; lines beginning with "#" are ignored.
216 .\" FIXME
217
218 .SH FILES
219 .IP "\fB/etc/live/build.conf\fR" 4
220 .IP "\fB/etc/live/build/*\fR" 4
221
222 .SH SEE ALSO
223 \fIlive\-boot\fR(7)
224 .PP
225 \fIlive\-config\fR(7)
226 .PP
227 This program is a part of live\-build.
228
229 .SH HOMEPAGE
230 More information about live\-build and the Debian Live project can be found on the homepage at <\fIhttp://live.debian.net/\fR> and in the manual at <\fIhttp://live.debian.net/manual/\fR>.
231
232 .SH BUGS
233 Bugs can be reported by submitting a bugreport for the live\-build package in the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Debian Live mailing list at <\[email protected]\fR>.
234
235 .SH AUTHOR
236 live\-build was written by Daniel Baumann <\[email protected]\fR> for the Debian project.
0 # German translations for live-build package
1 # Copyright (C) 2012 Free Software Foundation, Inc.
2 # This file is distributed under the same license as the live-build package.
3 # Automatically generated, 2012.
4 #
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: live-build VERSION\n"
8 "POT-Creation-Date: 2012-12-23 10:50+0100\n"
9 "PO-Revision-Date: 2012-08-02 18:55+0300\n"
10 "Last-Translator: Automatically generated\n"
11 "Language-Team: none\n"
12 "Language: de\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=ASCII\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
18 #. type: TH
19 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
20 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
21 #: en/lb_testroot.1:1 en/live-build.7:1
22 #, no-wrap
23 msgid "LIVE-BUILD"
24 msgstr ""
25
26 #. type: TH
27 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
28 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
29 #: en/lb_testroot.1:1 en/live-build.7:1
30 #, no-wrap
31 msgid "2012-12-23"
32 msgstr ""
33
34 #. type: TH
35 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
36 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
37 #: en/lb_testroot.1:1 en/live-build.7:1
38 #, no-wrap
39 msgid "3.0~b4-1"
40 msgstr ""
41
42 #. type: TH
43 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
44 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
45 #: en/lb_testroot.1:1 en/live-build.7:1
46 #, no-wrap
47 msgid "Debian Live Project"
48 msgstr ""
49
50 #. type: SH
51 #: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3
52 #: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3
53 #: en/lb_testroot.1:3 en/live-build.7:3
54 #, no-wrap
55 msgid "NAME"
56 msgstr ""
57
58 #. type: Plain text
59 #: en/lb.1:5
60 msgid "B<lb> - wrapper for live-build programs"
61 msgstr ""
62
63 #. type: SH
64 #: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6
65 #: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6
66 #: en/lb_testroot.1:6 en/live-build.7:6
67 #, no-wrap
68 msgid "SYNOPSIS"
69 msgstr ""
70
71 #. type: Plain text
72 #: en/lb.1:8
73 msgid "B<lb> COMMAND [COMMAND_OPTIONS]"
74 msgstr ""
75
76 #. type: Plain text
77 #: en/lb.1:10
78 msgid "B<lb> [I<live-build\\ options>]"
79 msgstr ""
80
81 #. type: SH
82 #: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9
83 #: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9
84 #: en/lb_testroot.1:9 en/live-build.7:11
85 #, no-wrap
86 msgid "DESCRIPTION"
87 msgstr ""
88
89 #. type: Plain text
90 #: en/lb.1:13
91 msgid ""
92 "B<lb> is a high-level command (porcelain) of I<live-build>(7), the Debian "
93 "Live tool suite."
94 msgstr ""
95
96 #. type: SH
97 #: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14
98 #: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14
99 #: en/lb_testroot.1:18 en/live-build.7:20
100 #, no-wrap
101 msgid "OPTIONS"
102 msgstr ""
103
104 #. type: Plain text
105 #: en/lb.1:18
106 msgid ""
107 "B<lb> has no specific options but understands all generic live-build "
108 "options. See I<live-build>(7) for a complete list of all generic live-build "
109 "options."
110 msgstr ""
111
112 #. type: SH
113 #: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17
114 #: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17
115 #: en/lb_testroot.1:21 en/live-build.7:219
116 #, no-wrap
117 msgid "FILES"
118 msgstr ""
119
120 #. type: IP
121 #: en/lb.1:20 en/lb_binary.1:18 en/lb_bootstrap.1:18 en/lb_chroot.1:18
122 #: en/lb_source.1:18 en/lb_testroot.1:22
123 #, no-wrap
124 msgid "B<none>"
125 msgstr ""
126
127 #. type: SH
128 #: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22
129 #: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20
130 #: en/lb_testroot.1:24 en/live-build.7:223
131 #, no-wrap
132 msgid "SEE ALSO"
133 msgstr ""
134
135 #. type: Plain text
136 #: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24
137 #: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22
138 #: en/lb_testroot.1:26
139 msgid "I<live-build>(7)"
140 msgstr ""
141
142 #. type: Plain text
143 #: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26
144 #: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24
145 #: en/lb_testroot.1:28 en/live-build.7:229
146 msgid "This program is a part of live-build."
147 msgstr ""
148
149 #. type: SH
150 #: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27
151 #: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25
152 #: en/lb_testroot.1:29 en/live-build.7:230
153 #, no-wrap
154 msgid "HOMEPAGE"
155 msgstr ""
156
157 #. type: Plain text
158 #: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29
159 #: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27
160 #: en/lb_testroot.1:31 en/live-build.7:232
161 msgid ""
162 "More information about live-build and the Debian Live project can be found "
163 "on the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
164 "E<lt>I<http://live.debian.net/manual/>E<gt>."
165 msgstr ""
166
167 #. type: SH
168 #: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30
169 #: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28
170 #: en/lb_testroot.1:32 en/live-build.7:233
171 #, no-wrap
172 msgid "BUGS"
173 msgstr ""
174
175 #. type: Plain text
176 #: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32
177 #: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30
178 #: en/lb_testroot.1:34 en/live-build.7:235
179 msgid ""
180 "Bugs can be reported by submitting a bugreport for the live-build package in "
181 "the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or by "
182 "writing a mail to the Debian Live mailing list at E<lt>I<debian-live@lists."
183 "debian.org>E<gt>."
184 msgstr ""
185
186 #. type: SH
187 #: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33
188 #: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31
189 #: en/lb_testroot.1:35 en/live-build.7:236
190 #, no-wrap
191 msgid "AUTHOR"
192 msgstr ""
193
194 #. type: Plain text
195 #: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34
196 #: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32
197 #: en/lb_testroot.1:36 en/live-build.7:237
198 msgid ""
199 "live-build was written by Daniel Baumann E<lt>I<[email protected]>E<gt> for "
200 "the Debian project."
201 msgstr ""
0 # German translations for live-build package
1 # Copyright (C) 2012 Free Software Foundation, Inc.
2 # This file is distributed under the same license as the live-build package.
3 # Automatically generated, 2012.
4 #
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: live-build VERSION\n"
8 "POT-Creation-Date: 2012-12-23 10:50+0100\n"
9 "PO-Revision-Date: 2012-08-02 18:55+0300\n"
10 "Last-Translator: Automatically generated\n"
11 "Language-Team: none\n"
12 "Language: de\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=ASCII\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
18 #. type: TH
19 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
20 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
21 #: en/lb_testroot.1:1 en/live-build.7:1
22 #, no-wrap
23 msgid "LIVE-BUILD"
24 msgstr ""
25
26 #. type: TH
27 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
28 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
29 #: en/lb_testroot.1:1 en/live-build.7:1
30 #, no-wrap
31 msgid "2012-12-23"
32 msgstr ""
33
34 #. type: TH
35 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
36 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
37 #: en/lb_testroot.1:1 en/live-build.7:1
38 #, no-wrap
39 msgid "3.0~b4-1"
40 msgstr ""
41
42 #. type: TH
43 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
44 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
45 #: en/lb_testroot.1:1 en/live-build.7:1
46 #, no-wrap
47 msgid "Debian Live Project"
48 msgstr ""
49
50 #. type: SH
51 #: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3
52 #: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3
53 #: en/lb_testroot.1:3 en/live-build.7:3
54 #, no-wrap
55 msgid "NAME"
56 msgstr ""
57
58 #. type: SH
59 #: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6
60 #: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6
61 #: en/lb_testroot.1:6 en/live-build.7:6
62 #, no-wrap
63 msgid "SYNOPSIS"
64 msgstr ""
65
66 #. type: SH
67 #: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9
68 #: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9
69 #: en/lb_testroot.1:9 en/live-build.7:11
70 #, no-wrap
71 msgid "DESCRIPTION"
72 msgstr ""
73
74 #. type: SH
75 #: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14
76 #: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14
77 #: en/lb_testroot.1:18 en/live-build.7:20
78 #, no-wrap
79 msgid "OPTIONS"
80 msgstr ""
81
82 #. type: SH
83 #: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17
84 #: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17
85 #: en/lb_testroot.1:21 en/live-build.7:219
86 #, no-wrap
87 msgid "FILES"
88 msgstr ""
89
90 #. type: IP
91 #: en/lb.1:20 en/lb_binary.1:18 en/lb_bootstrap.1:18 en/lb_chroot.1:18
92 #: en/lb_source.1:18 en/lb_testroot.1:22
93 #, no-wrap
94 msgid "B<none>"
95 msgstr ""
96
97 #. type: SH
98 #: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22
99 #: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20
100 #: en/lb_testroot.1:24 en/live-build.7:223
101 #, no-wrap
102 msgid "SEE ALSO"
103 msgstr ""
104
105 #. type: Plain text
106 #: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24
107 #: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22
108 #: en/lb_testroot.1:26
109 msgid "I<live-build>(7)"
110 msgstr ""
111
112 #. type: Plain text
113 #: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26
114 #: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24
115 #: en/lb_testroot.1:28 en/live-build.7:229
116 msgid "This program is a part of live-build."
117 msgstr ""
118
119 #. type: SH
120 #: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27
121 #: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25
122 #: en/lb_testroot.1:29 en/live-build.7:230
123 #, no-wrap
124 msgid "HOMEPAGE"
125 msgstr ""
126
127 #. type: Plain text
128 #: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29
129 #: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27
130 #: en/lb_testroot.1:31 en/live-build.7:232
131 msgid ""
132 "More information about live-build and the Debian Live project can be found "
133 "on the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
134 "E<lt>I<http://live.debian.net/manual/>E<gt>."
135 msgstr ""
136
137 #. type: SH
138 #: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30
139 #: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28
140 #: en/lb_testroot.1:32 en/live-build.7:233
141 #, no-wrap
142 msgid "BUGS"
143 msgstr ""
144
145 #. type: Plain text
146 #: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32
147 #: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30
148 #: en/lb_testroot.1:34 en/live-build.7:235
149 msgid ""
150 "Bugs can be reported by submitting a bugreport for the live-build package in "
151 "the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or by "
152 "writing a mail to the Debian Live mailing list at E<lt>I<debian-live@lists."
153 "debian.org>E<gt>."
154 msgstr ""
155
156 #. type: SH
157 #: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33
158 #: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31
159 #: en/lb_testroot.1:35 en/live-build.7:236
160 #, no-wrap
161 msgid "AUTHOR"
162 msgstr ""
163
164 #. type: Plain text
165 #: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34
166 #: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32
167 #: en/lb_testroot.1:36 en/live-build.7:237
168 msgid ""
169 "live-build was written by Daniel Baumann E<lt>I<[email protected]>E<gt> for "
170 "the Debian project."
171 msgstr ""
172
173 #. type: Plain text
174 #: en/lb_binary.1:5
175 msgid "B<lb binary> - Complete the binary stage"
176 msgstr ""
177
178 #. type: Plain text
179 #: en/lb_binary.1:8
180 msgid "B<lb binary> [I<live-build options>]"
181 msgstr ""
182
183 #. type: Plain text
184 #: en/lb_binary.1:11
185 msgid ""
186 "B<lb binary> is a high-level command (porcelain) of I<live-build>(7), the "
187 "Debian Live tool suite."
188 msgstr ""
189
190 #. type: Plain text
191 #: en/lb_binary.1:13
192 msgid ""
193 "B<lb binary> calls all necessary live-build programs in the correct order to "
194 "complete the binary stage."
195 msgstr ""
196
197 #. type: Plain text
198 #: en/lb_binary.1:16
199 msgid ""
200 "B<lb binary> has no specific options but understands all generic live-build "
201 "options. See I<live-build>(7) for a complete list of all generic live-build "
202 "options."
203 msgstr ""
0 # German translations for live-build package
1 # Copyright (C) 2012 Free Software Foundation, Inc.
2 # This file is distributed under the same license as the live-build package.
3 # Automatically generated, 2012.
4 #
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: live-build VERSION\n"
8 "POT-Creation-Date: 2012-12-23 10:50+0100\n"
9 "PO-Revision-Date: 2012-08-02 18:55+0300\n"
10 "Last-Translator: Automatically generated\n"
11 "Language-Team: none\n"
12 "Language: de\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=ASCII\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
18 #. type: TH
19 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
20 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
21 #: en/lb_testroot.1:1 en/live-build.7:1
22 #, no-wrap
23 msgid "LIVE-BUILD"
24 msgstr ""
25
26 #. type: TH
27 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
28 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
29 #: en/lb_testroot.1:1 en/live-build.7:1
30 #, no-wrap
31 msgid "2012-12-23"
32 msgstr ""
33
34 #. type: TH
35 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
36 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
37 #: en/lb_testroot.1:1 en/live-build.7:1
38 #, no-wrap
39 msgid "3.0~b4-1"
40 msgstr ""
41
42 #. type: TH
43 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
44 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
45 #: en/lb_testroot.1:1 en/live-build.7:1
46 #, no-wrap
47 msgid "Debian Live Project"
48 msgstr ""
49
50 #. type: SH
51 #: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3
52 #: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3
53 #: en/lb_testroot.1:3 en/live-build.7:3
54 #, no-wrap
55 msgid "NAME"
56 msgstr ""
57
58 #. type: SH
59 #: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6
60 #: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6
61 #: en/lb_testroot.1:6 en/live-build.7:6
62 #, no-wrap
63 msgid "SYNOPSIS"
64 msgstr ""
65
66 #. type: SH
67 #: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9
68 #: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9
69 #: en/lb_testroot.1:9 en/live-build.7:11
70 #, no-wrap
71 msgid "DESCRIPTION"
72 msgstr ""
73
74 #. type: SH
75 #: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14
76 #: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14
77 #: en/lb_testroot.1:18 en/live-build.7:20
78 #, no-wrap
79 msgid "OPTIONS"
80 msgstr ""
81
82 #. type: SH
83 #: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17
84 #: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17
85 #: en/lb_testroot.1:21 en/live-build.7:219
86 #, no-wrap
87 msgid "FILES"
88 msgstr ""
89
90 #. type: IP
91 #: en/lb.1:20 en/lb_binary.1:18 en/lb_bootstrap.1:18 en/lb_chroot.1:18
92 #: en/lb_source.1:18 en/lb_testroot.1:22
93 #, no-wrap
94 msgid "B<none>"
95 msgstr ""
96
97 #. type: SH
98 #: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22
99 #: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20
100 #: en/lb_testroot.1:24 en/live-build.7:223
101 #, no-wrap
102 msgid "SEE ALSO"
103 msgstr ""
104
105 #. type: Plain text
106 #: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24
107 #: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22
108 #: en/lb_testroot.1:26
109 msgid "I<live-build>(7)"
110 msgstr ""
111
112 #. type: Plain text
113 #: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26
114 #: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24
115 #: en/lb_testroot.1:28 en/live-build.7:229
116 msgid "This program is a part of live-build."
117 msgstr ""
118
119 #. type: SH
120 #: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27
121 #: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25
122 #: en/lb_testroot.1:29 en/live-build.7:230
123 #, no-wrap
124 msgid "HOMEPAGE"
125 msgstr ""
126
127 #. type: Plain text
128 #: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29
129 #: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27
130 #: en/lb_testroot.1:31 en/live-build.7:232
131 msgid ""
132 "More information about live-build and the Debian Live project can be found "
133 "on the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
134 "E<lt>I<http://live.debian.net/manual/>E<gt>."
135 msgstr ""
136
137 #. type: SH
138 #: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30
139 #: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28
140 #: en/lb_testroot.1:32 en/live-build.7:233
141 #, no-wrap
142 msgid "BUGS"
143 msgstr ""
144
145 #. type: Plain text
146 #: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32
147 #: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30
148 #: en/lb_testroot.1:34 en/live-build.7:235
149 msgid ""
150 "Bugs can be reported by submitting a bugreport for the live-build package in "
151 "the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or by "
152 "writing a mail to the Debian Live mailing list at E<lt>I<debian-live@lists."
153 "debian.org>E<gt>."
154 msgstr ""
155
156 #. type: SH
157 #: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33
158 #: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31
159 #: en/lb_testroot.1:35 en/live-build.7:236
160 #, no-wrap
161 msgid "AUTHOR"
162 msgstr ""
163
164 #. type: Plain text
165 #: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34
166 #: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32
167 #: en/lb_testroot.1:36 en/live-build.7:237
168 msgid ""
169 "live-build was written by Daniel Baumann E<lt>I<[email protected]>E<gt> for "
170 "the Debian project."
171 msgstr ""
172
173 #. type: Plain text
174 #: en/lb_bootstrap.1:5
175 msgid "B<lb bootstrap> - Complete the bootstrap stage"
176 msgstr ""
177
178 #. type: Plain text
179 #: en/lb_bootstrap.1:8
180 msgid "B<lb bootstrap> [I<live-build options>]"
181 msgstr ""
182
183 #. type: Plain text
184 #: en/lb_bootstrap.1:11
185 msgid ""
186 "B<lb bootstrap> is a high-level command (porcelain) of I<live-build>(7), the "
187 "Debian Live tool suite."
188 msgstr ""
189
190 #. type: Plain text
191 #: en/lb_bootstrap.1:13
192 msgid ""
193 "B<lb bootstrap> calls all necessary live-build programs in the correct order "
194 "to complete the bootstrap stage."
195 msgstr ""
196
197 #. type: Plain text
198 #: en/lb_bootstrap.1:16
199 msgid ""
200 "B<lb bootstrap> has no specific options but understands all generic live-"
201 "build options. See I<live-build>(7) for a complete list of all generic live-"
202 "build options."
203 msgstr ""
0 # German translations for live-build package
1 # Copyright (C) 2012 Free Software Foundation, Inc.
2 # This file is distributed under the same license as the live-build package.
3 # Automatically generated, 2012.
4 #
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: live-build VERSION\n"
8 "POT-Creation-Date: 2012-12-23 10:50+0100\n"
9 "PO-Revision-Date: 2012-08-02 18:55+0300\n"
10 "Last-Translator: Automatically generated\n"
11 "Language-Team: none\n"
12 "Language: de\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=ASCII\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
18 #. type: TH
19 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
20 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
21 #: en/lb_testroot.1:1 en/live-build.7:1
22 #, no-wrap
23 msgid "LIVE-BUILD"
24 msgstr ""
25
26 #. type: TH
27 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
28 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
29 #: en/lb_testroot.1:1 en/live-build.7:1
30 #, no-wrap
31 msgid "2012-12-23"
32 msgstr ""
33
34 #. type: TH
35 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
36 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
37 #: en/lb_testroot.1:1 en/live-build.7:1
38 #, no-wrap
39 msgid "3.0~b4-1"
40 msgstr ""
41
42 #. type: TH
43 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
44 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
45 #: en/lb_testroot.1:1 en/live-build.7:1
46 #, no-wrap
47 msgid "Debian Live Project"
48 msgstr ""
49
50 #. type: SH
51 #: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3
52 #: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3
53 #: en/lb_testroot.1:3 en/live-build.7:3
54 #, no-wrap
55 msgid "NAME"
56 msgstr ""
57
58 #. type: SH
59 #: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6
60 #: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6
61 #: en/lb_testroot.1:6 en/live-build.7:6
62 #, no-wrap
63 msgid "SYNOPSIS"
64 msgstr ""
65
66 #. type: SH
67 #: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9
68 #: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9
69 #: en/lb_testroot.1:9 en/live-build.7:11
70 #, no-wrap
71 msgid "DESCRIPTION"
72 msgstr ""
73
74 #. type: SH
75 #: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14
76 #: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14
77 #: en/lb_testroot.1:18 en/live-build.7:20
78 #, no-wrap
79 msgid "OPTIONS"
80 msgstr ""
81
82 #. type: SH
83 #: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17
84 #: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17
85 #: en/lb_testroot.1:21 en/live-build.7:219
86 #, no-wrap
87 msgid "FILES"
88 msgstr ""
89
90 #. type: SH
91 #: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22
92 #: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20
93 #: en/lb_testroot.1:24 en/live-build.7:223
94 #, no-wrap
95 msgid "SEE ALSO"
96 msgstr ""
97
98 #. type: Plain text
99 #: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24
100 #: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22
101 #: en/lb_testroot.1:26
102 msgid "I<live-build>(7)"
103 msgstr ""
104
105 #. type: Plain text
106 #: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26
107 #: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24
108 #: en/lb_testroot.1:28 en/live-build.7:229
109 msgid "This program is a part of live-build."
110 msgstr ""
111
112 #. type: SH
113 #: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27
114 #: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25
115 #: en/lb_testroot.1:29 en/live-build.7:230
116 #, no-wrap
117 msgid "HOMEPAGE"
118 msgstr ""
119
120 #. type: Plain text
121 #: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29
122 #: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27
123 #: en/lb_testroot.1:31 en/live-build.7:232
124 msgid ""
125 "More information about live-build and the Debian Live project can be found "
126 "on the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
127 "E<lt>I<http://live.debian.net/manual/>E<gt>."
128 msgstr ""
129
130 #. type: SH
131 #: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30
132 #: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28
133 #: en/lb_testroot.1:32 en/live-build.7:233
134 #, no-wrap
135 msgid "BUGS"
136 msgstr ""
137
138 #. type: Plain text
139 #: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32
140 #: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30
141 #: en/lb_testroot.1:34 en/live-build.7:235
142 msgid ""
143 "Bugs can be reported by submitting a bugreport for the live-build package in "
144 "the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or by "
145 "writing a mail to the Debian Live mailing list at E<lt>I<debian-live@lists."
146 "debian.org>E<gt>."
147 msgstr ""
148
149 #. type: SH
150 #: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33
151 #: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31
152 #: en/lb_testroot.1:35 en/live-build.7:236
153 #, no-wrap
154 msgid "AUTHOR"
155 msgstr ""
156
157 #. type: Plain text
158 #: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34
159 #: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32
160 #: en/lb_testroot.1:36 en/live-build.7:237
161 msgid ""
162 "live-build was written by Daniel Baumann E<lt>I<[email protected]>E<gt> for "
163 "the Debian project."
164 msgstr ""
165
166 #. type: Plain text
167 #: en/lb_build.1:5
168 msgid "B<lb build> - Complete the bootstrap, chroot, binary, and source stages"
169 msgstr ""
170
171 #. type: Plain text
172 #: en/lb_build.1:8
173 msgid "B<lb build> [I<live-build options>]"
174 msgstr ""
175
176 #. type: Plain text
177 #: en/lb_build.1:11
178 msgid ""
179 "B<lb build> is a high-level command (porcelain) of I<live-build>(7), the "
180 "Debian Live tool suite."
181 msgstr ""
182
183 #. type: Plain text
184 #: en/lb_build.1:13
185 msgid ""
186 "B<lb build> calls all necessary live-build programs in the correct order to "
187 "complete the bootstrap, chroot, binary, and source stages."
188 msgstr ""
189
190 #. type: Plain text
191 #: en/lb_build.1:16
192 msgid ""
193 "B<lb build> has no specific options but understands all generic live-build "
194 "options. See I<live-build>(7) for a complete list of all generic live-build "
195 "options."
196 msgstr ""
197
198 #. FIXME
199 #. type: IP
200 #: en/lb_build.1:19
201 #, no-wrap
202 msgid "B<auto/build>"
203 msgstr ""
0 # German translations for live-build package
1 # Copyright (C) 2012 Free Software Foundation, Inc.
2 # This file is distributed under the same license as the live-build package.
3 # Automatically generated, 2012.
4 #
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: live-build VERSION\n"
8 "POT-Creation-Date: 2012-12-23 10:50+0100\n"
9 "PO-Revision-Date: 2012-08-02 18:55+0300\n"
10 "Last-Translator: Automatically generated\n"
11 "Language-Team: none\n"
12 "Language: de\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=ASCII\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
18 #. type: TH
19 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
20 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
21 #: en/lb_testroot.1:1 en/live-build.7:1
22 #, no-wrap
23 msgid "LIVE-BUILD"
24 msgstr ""
25
26 #. type: TH
27 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
28 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
29 #: en/lb_testroot.1:1 en/live-build.7:1
30 #, no-wrap
31 msgid "2012-12-23"
32 msgstr ""
33
34 #. type: TH
35 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
36 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
37 #: en/lb_testroot.1:1 en/live-build.7:1
38 #, no-wrap
39 msgid "3.0~b4-1"
40 msgstr ""
41
42 #. type: TH
43 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
44 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
45 #: en/lb_testroot.1:1 en/live-build.7:1
46 #, no-wrap
47 msgid "Debian Live Project"
48 msgstr ""
49
50 #. type: SH
51 #: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3
52 #: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3
53 #: en/lb_testroot.1:3 en/live-build.7:3
54 #, no-wrap
55 msgid "NAME"
56 msgstr ""
57
58 #. type: SH
59 #: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6
60 #: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6
61 #: en/lb_testroot.1:6 en/live-build.7:6
62 #, no-wrap
63 msgid "SYNOPSIS"
64 msgstr ""
65
66 #. type: SH
67 #: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9
68 #: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9
69 #: en/lb_testroot.1:9 en/live-build.7:11
70 #, no-wrap
71 msgid "DESCRIPTION"
72 msgstr ""
73
74 #. type: SH
75 #: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14
76 #: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14
77 #: en/lb_testroot.1:18 en/live-build.7:20
78 #, no-wrap
79 msgid "OPTIONS"
80 msgstr ""
81
82 #. type: SH
83 #: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17
84 #: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17
85 #: en/lb_testroot.1:21 en/live-build.7:219
86 #, no-wrap
87 msgid "FILES"
88 msgstr ""
89
90 #. type: IP
91 #: en/lb.1:20 en/lb_binary.1:18 en/lb_bootstrap.1:18 en/lb_chroot.1:18
92 #: en/lb_source.1:18 en/lb_testroot.1:22
93 #, no-wrap
94 msgid "B<none>"
95 msgstr ""
96
97 #. type: SH
98 #: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22
99 #: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20
100 #: en/lb_testroot.1:24 en/live-build.7:223
101 #, no-wrap
102 msgid "SEE ALSO"
103 msgstr ""
104
105 #. type: Plain text
106 #: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24
107 #: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22
108 #: en/lb_testroot.1:26
109 msgid "I<live-build>(7)"
110 msgstr ""
111
112 #. type: Plain text
113 #: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26
114 #: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24
115 #: en/lb_testroot.1:28 en/live-build.7:229
116 msgid "This program is a part of live-build."
117 msgstr ""
118
119 #. type: SH
120 #: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27
121 #: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25
122 #: en/lb_testroot.1:29 en/live-build.7:230
123 #, no-wrap
124 msgid "HOMEPAGE"
125 msgstr ""
126
127 #. type: Plain text
128 #: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29
129 #: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27
130 #: en/lb_testroot.1:31 en/live-build.7:232
131 msgid ""
132 "More information about live-build and the Debian Live project can be found "
133 "on the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
134 "E<lt>I<http://live.debian.net/manual/>E<gt>."
135 msgstr ""
136
137 #. type: SH
138 #: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30
139 #: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28
140 #: en/lb_testroot.1:32 en/live-build.7:233
141 #, no-wrap
142 msgid "BUGS"
143 msgstr ""
144
145 #. type: Plain text
146 #: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32
147 #: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30
148 #: en/lb_testroot.1:34 en/live-build.7:235
149 msgid ""
150 "Bugs can be reported by submitting a bugreport for the live-build package in "
151 "the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or by "
152 "writing a mail to the Debian Live mailing list at E<lt>I<debian-live@lists."
153 "debian.org>E<gt>."
154 msgstr ""
155
156 #. type: SH
157 #: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33
158 #: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31
159 #: en/lb_testroot.1:35 en/live-build.7:236
160 #, no-wrap
161 msgid "AUTHOR"
162 msgstr ""
163
164 #. type: Plain text
165 #: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34
166 #: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32
167 #: en/lb_testroot.1:36 en/live-build.7:237
168 msgid ""
169 "live-build was written by Daniel Baumann E<lt>I<[email protected]>E<gt> for "
170 "the Debian project."
171 msgstr ""
172
173 #. type: Plain text
174 #: en/lb_chroot.1:5
175 msgid "B<lb chroot> - Complete the chroot stage"
176 msgstr ""
177
178 #. type: Plain text
179 #: en/lb_chroot.1:8
180 msgid "B<lb chroot> [I<live-build options>]"
181 msgstr ""
182
183 #. type: Plain text
184 #: en/lb_chroot.1:11
185 msgid ""
186 "B<lb chroot> is a high-level command (porcelain) of I<live-build>(7), the "
187 "Debian Live tool suite."
188 msgstr ""
189
190 #. type: Plain text
191 #: en/lb_chroot.1:13
192 msgid ""
193 "B<lb chroot> calls all necessary live-build programs in the correct order to "
194 "complete the chroot stage."
195 msgstr ""
196
197 #. type: Plain text
198 #: en/lb_chroot.1:16
199 msgid ""
200 "B<lb chroot> has no specific options but understands all generic live-build "
201 "options. See I<live-build>(7) for a complete list of all generic live-build "
202 "options."
203 msgstr ""
0 # German translations for live-build package
1 # Copyright (C) 2012 Free Software Foundation, Inc.
2 # This file is distributed under the same license as the live-build package.
3 # Automatically generated, 2012.
4 #
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: live-build VERSION\n"
8 "POT-Creation-Date: 2012-12-23 10:50+0100\n"
9 "PO-Revision-Date: 2012-08-02 18:55+0300\n"
10 "Last-Translator: Automatically generated\n"
11 "Language-Team: none\n"
12 "Language: de\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=ASCII\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
18 #. type: TH
19 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
20 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
21 #: en/lb_testroot.1:1 en/live-build.7:1
22 #, no-wrap
23 msgid "LIVE-BUILD"
24 msgstr ""
25
26 #. type: TH
27 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
28 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
29 #: en/lb_testroot.1:1 en/live-build.7:1
30 #, no-wrap
31 msgid "2012-12-23"
32 msgstr ""
33
34 #. type: TH
35 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
36 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
37 #: en/lb_testroot.1:1 en/live-build.7:1
38 #, no-wrap
39 msgid "3.0~b4-1"
40 msgstr ""
41
42 #. type: TH
43 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
44 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
45 #: en/lb_testroot.1:1 en/live-build.7:1
46 #, no-wrap
47 msgid "Debian Live Project"
48 msgstr ""
49
50 #. type: SH
51 #: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3
52 #: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3
53 #: en/lb_testroot.1:3 en/live-build.7:3
54 #, no-wrap
55 msgid "NAME"
56 msgstr ""
57
58 #. type: SH
59 #: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6
60 #: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6
61 #: en/lb_testroot.1:6 en/live-build.7:6
62 #, no-wrap
63 msgid "SYNOPSIS"
64 msgstr ""
65
66 #. type: SH
67 #: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9
68 #: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9
69 #: en/lb_testroot.1:9 en/live-build.7:11
70 #, no-wrap
71 msgid "DESCRIPTION"
72 msgstr ""
73
74 #. type: SH
75 #: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14
76 #: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14
77 #: en/lb_testroot.1:18 en/live-build.7:20
78 #, no-wrap
79 msgid "OPTIONS"
80 msgstr ""
81
82 #. type: SH
83 #: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17
84 #: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17
85 #: en/lb_testroot.1:21 en/live-build.7:219
86 #, no-wrap
87 msgid "FILES"
88 msgstr ""
89
90 #. type: SH
91 #: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22
92 #: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20
93 #: en/lb_testroot.1:24 en/live-build.7:223
94 #, no-wrap
95 msgid "SEE ALSO"
96 msgstr ""
97
98 #. type: Plain text
99 #: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24
100 #: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22
101 #: en/lb_testroot.1:26
102 msgid "I<live-build>(7)"
103 msgstr ""
104
105 #. type: Plain text
106 #: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26
107 #: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24
108 #: en/lb_testroot.1:28 en/live-build.7:229
109 msgid "This program is a part of live-build."
110 msgstr ""
111
112 #. type: SH
113 #: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27
114 #: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25
115 #: en/lb_testroot.1:29 en/live-build.7:230
116 #, no-wrap
117 msgid "HOMEPAGE"
118 msgstr ""
119
120 #. type: Plain text
121 #: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29
122 #: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27
123 #: en/lb_testroot.1:31 en/live-build.7:232
124 msgid ""
125 "More information about live-build and the Debian Live project can be found "
126 "on the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
127 "E<lt>I<http://live.debian.net/manual/>E<gt>."
128 msgstr ""
129
130 #. type: SH
131 #: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30
132 #: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28
133 #: en/lb_testroot.1:32 en/live-build.7:233
134 #, no-wrap
135 msgid "BUGS"
136 msgstr ""
137
138 #. type: Plain text
139 #: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32
140 #: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30
141 #: en/lb_testroot.1:34 en/live-build.7:235
142 msgid ""
143 "Bugs can be reported by submitting a bugreport for the live-build package in "
144 "the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or by "
145 "writing a mail to the Debian Live mailing list at E<lt>I<debian-live@lists."
146 "debian.org>E<gt>."
147 msgstr ""
148
149 #. type: SH
150 #: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33
151 #: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31
152 #: en/lb_testroot.1:35 en/live-build.7:236
153 #, no-wrap
154 msgid "AUTHOR"
155 msgstr ""
156
157 #. type: Plain text
158 #: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34
159 #: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32
160 #: en/lb_testroot.1:36 en/live-build.7:237
161 msgid ""
162 "live-build was written by Daniel Baumann E<lt>I<[email protected]>E<gt> for "
163 "the Debian project."
164 msgstr ""
165
166 #. type: Plain text
167 #: en/lb_clean.1:5
168 msgid "B<lb clean> - Clean build directory"
169 msgstr ""
170
171 #. type: Plain text
172 #: en/lb_clean.1:8
173 msgid "B<lb clean> [I<live-build options>]"
174 msgstr ""
175
176 #. type: Plain text
177 #: en/lb_clean.1:11
178 msgid ""
179 "B<lb clean> is a high-level command (porcelain) of I<live-build>(7), the "
180 "Debian Live tool suite."
181 msgstr ""
182
183 #. FIXME
184 #. FIXME
185 #. type: Plain text
186 #: en/lb_clean.1:15
187 msgid ""
188 "B<lb clean> is responsible for cleaning up after a system is built. It "
189 "removes the build directories, and removes some other files including stage "
190 "files, and any detritus left behind by other live-build commands."
191 msgstr ""
192
193 #. type: Plain text
194 #: en/lb_clean.1:18
195 msgid ""
196 "In addition to its specific options B<lb clean> understands all generic live-"
197 "build options. See I<live-build>(7) for a complete list of all generic live-"
198 "build options."
199 msgstr ""
200
201 #. FIXME
202 #. type: IP
203 #: en/lb_clean.1:20
204 #, no-wrap
205 msgid "B<--all>"
206 msgstr ""
207
208 #. type: Plain text
209 #: en/lb_clean.1:22
210 msgid ""
211 "removes chroot, binary, stage, and source. The cache directory is kept. This "
212 "is the default operation and will be performed if no argument is given."
213 msgstr ""
214
215 #. type: IP
216 #: en/lb_clean.1:22
217 #, no-wrap
218 msgid "B<--cache>"
219 msgstr ""
220
221 #. type: Plain text
222 #: en/lb_clean.1:24
223 msgid "removes the cache directories."
224 msgstr ""
225
226 #. type: IP
227 #: en/lb_clean.1:24
228 #, no-wrap
229 msgid "B<--chroot>"
230 msgstr ""
231
232 #. type: Plain text
233 #: en/lb_clean.1:26
234 msgid "unmounts and removes the chroot directory."
235 msgstr ""
236
237 #. type: IP
238 #: en/lb_clean.1:26
239 #, no-wrap
240 msgid "B<--binary>"
241 msgstr ""
242
243 #. type: Plain text
244 #: en/lb_clean.1:28
245 msgid ""
246 "removes all binary related caches, files, directories, and stages files."
247 msgstr ""
248
249 #. type: IP
250 #: en/lb_clean.1:28
251 #, no-wrap
252 msgid "B<--purge>"
253 msgstr ""
254
255 #. type: Plain text
256 #: en/lb_clean.1:30
257 msgid "removes everything, including all caches. The config directory is kept."
258 msgstr ""
259
260 #. type: IP
261 #: en/lb_clean.1:30
262 #, no-wrap
263 msgid "B<--remove>"
264 msgstr ""
265
266 #. type: Plain text
267 #: en/lb_clean.1:32
268 msgid ""
269 "removes everything, including package cache but not stage cache. The config "
270 "directory is kept."
271 msgstr ""
272
273 #. type: IP
274 #: en/lb_clean.1:32
275 #, no-wrap
276 msgid "B<--stage>"
277 msgstr ""
278
279 #. type: Plain text
280 #: en/lb_clean.1:34
281 msgid "removes all stage files."
282 msgstr ""
283
284 #. type: IP
285 #: en/lb_clean.1:34
286 #, no-wrap
287 msgid "B<--source>"
288 msgstr ""
289
290 #. FIXME
291 #. type: Plain text
292 #: en/lb_clean.1:37
293 msgid "removes all source related caches, files, directories, and stage files."
294 msgstr ""
295
296 #. FIXME
297 #. type: IP
298 #: en/lb_clean.1:40
299 #, no-wrap
300 msgid "B<auto/clean>"
301 msgstr ""
0 # German translations for live-build package
1 # Copyright (C) 2012 Free Software Foundation, Inc.
2 # This file is distributed under the same license as the live-build package.
3 # Automatically generated, 2012.
4 #
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: live-build VERSION\n"
8 "POT-Creation-Date: 2012-12-23 10:50+0100\n"
9 "PO-Revision-Date: 2012-08-02 18:55+0300\n"
10 "Last-Translator: Automatically generated\n"
11 "Language-Team: none\n"
12 "Language: de\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=ASCII\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
18 #. type: TH
19 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
20 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
21 #: en/lb_testroot.1:1 en/live-build.7:1
22 #, no-wrap
23 msgid "LIVE-BUILD"
24 msgstr ""
25
26 #. type: TH
27 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
28 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
29 #: en/lb_testroot.1:1 en/live-build.7:1
30 #, no-wrap
31 msgid "2012-12-23"
32 msgstr ""
33
34 #. type: TH
35 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
36 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
37 #: en/lb_testroot.1:1 en/live-build.7:1
38 #, no-wrap
39 msgid "3.0~b4-1"
40 msgstr ""
41
42 #. type: TH
43 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
44 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
45 #: en/lb_testroot.1:1 en/live-build.7:1
46 #, no-wrap
47 msgid "Debian Live Project"
48 msgstr ""
49
50 #. type: SH
51 #: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3
52 #: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3
53 #: en/lb_testroot.1:3 en/live-build.7:3
54 #, no-wrap
55 msgid "NAME"
56 msgstr ""
57
58 #. type: SH
59 #: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6
60 #: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6
61 #: en/lb_testroot.1:6 en/live-build.7:6
62 #, no-wrap
63 msgid "SYNOPSIS"
64 msgstr ""
65
66 #. type: SH
67 #: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9
68 #: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9
69 #: en/lb_testroot.1:9 en/live-build.7:11
70 #, no-wrap
71 msgid "DESCRIPTION"
72 msgstr ""
73
74 #. type: SH
75 #: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14
76 #: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14
77 #: en/lb_testroot.1:18 en/live-build.7:20
78 #, no-wrap
79 msgid "OPTIONS"
80 msgstr ""
81
82 #. type: SH
83 #: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17
84 #: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17
85 #: en/lb_testroot.1:21 en/live-build.7:219
86 #, no-wrap
87 msgid "FILES"
88 msgstr ""
89
90 #. type: SH
91 #: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22
92 #: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20
93 #: en/lb_testroot.1:24 en/live-build.7:223
94 #, no-wrap
95 msgid "SEE ALSO"
96 msgstr ""
97
98 #. type: Plain text
99 #: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24
100 #: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22
101 #: en/lb_testroot.1:26
102 msgid "I<live-build>(7)"
103 msgstr ""
104
105 #. type: Plain text
106 #: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26
107 #: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24
108 #: en/lb_testroot.1:28 en/live-build.7:229
109 msgid "This program is a part of live-build."
110 msgstr ""
111
112 #. type: SH
113 #: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27
114 #: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25
115 #: en/lb_testroot.1:29 en/live-build.7:230
116 #, no-wrap
117 msgid "HOMEPAGE"
118 msgstr ""
119
120 #. type: Plain text
121 #: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29
122 #: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27
123 #: en/lb_testroot.1:31 en/live-build.7:232
124 msgid ""
125 "More information about live-build and the Debian Live project can be found "
126 "on the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
127 "E<lt>I<http://live.debian.net/manual/>E<gt>."
128 msgstr ""
129
130 #. type: SH
131 #: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30
132 #: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28
133 #: en/lb_testroot.1:32 en/live-build.7:233
134 #, no-wrap
135 msgid "BUGS"
136 msgstr ""
137
138 #. type: Plain text
139 #: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32
140 #: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30
141 #: en/lb_testroot.1:34 en/live-build.7:235
142 msgid ""
143 "Bugs can be reported by submitting a bugreport for the live-build package in "
144 "the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or by "
145 "writing a mail to the Debian Live mailing list at E<lt>I<debian-live@lists."
146 "debian.org>E<gt>."
147 msgstr ""
148
149 #. type: SH
150 #: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33
151 #: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31
152 #: en/lb_testroot.1:35 en/live-build.7:236
153 #, no-wrap
154 msgid "AUTHOR"
155 msgstr ""
156
157 #. type: Plain text
158 #: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34
159 #: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32
160 #: en/lb_testroot.1:36 en/live-build.7:237
161 msgid ""
162 "live-build was written by Daniel Baumann E<lt>I<[email protected]>E<gt> for "
163 "the Debian project."
164 msgstr ""
165
166 #. type: Plain text
167 #: en/lb_config.1:5
168 msgid "B<lb config> - Create config directory"
169 msgstr ""
170
171 #. type: Plain text
172 #: en/lb_config.1:8
173 msgid "B<lb config> [I<live-build options>]"
174 msgstr ""
175
176 #. FIXME
177 #. type: Plain text
178 #: en/lb_config.1:11
179 msgid "B<lb config>"
180 msgstr ""
181
182 #. type: Plain text
183 #: en/lb_config.1:13
184 msgid " [B<--apt> apt|aptitude]"
185 msgstr ""
186
187 #. type: Plain text
188 #: en/lb_config.1:15
189 msgid " [B<--apt-ftp-proxy> I<URL>]"
190 msgstr ""
191
192 #. type: Plain text
193 #: en/lb_config.1:17
194 msgid " [B<--apt-http-proxy> I<URL>]"
195 msgstr ""
196
197 #. type: Plain text
198 #: en/lb_config.1:19
199 msgid " [B<--apt-indices> true|false|none]"
200 msgstr ""
201
202 #. type: Plain text
203 #: en/lb_config.1:21
204 msgid " [B<--apt-options> I<OPTION>|\"I<OPTIONS>\"]"
205 msgstr ""
206
207 #. type: Plain text
208 #: en/lb_config.1:23
209 msgid " [B<--aptitude-options> I<OPTION>|\"I<OPTIONS>\"]"
210 msgstr ""
211
212 #. type: Plain text
213 #: en/lb_config.1:25
214 msgid " [B<--apt-pipeline> I<DEPTH>]"
215 msgstr ""
216
217 #. type: Plain text
218 #: en/lb_config.1:27
219 msgid " [B<--apt-recommends> true|false]"
220 msgstr ""
221
222 #. type: Plain text
223 #: en/lb_config.1:29
224 msgid " [B<--apt-secure> true|false]"
225 msgstr ""
226
227 #. type: Plain text
228 #: en/lb_config.1:31
229 msgid " [B<--apt-source-archives> true|false]"
230 msgstr ""
231
232 #. type: Plain text
233 #: en/lb_config.1:33
234 msgid " [-a|B<--architectures> I<ARCHITECTURE>]"
235 msgstr ""
236
237 #. type: Plain text
238 #: en/lb_config.1:35
239 msgid " [-b|B<--binary-images> iso|iso-hybrid|netboot|tar|hdd]"
240 msgstr ""
241
242 #. type: Plain text
243 #: en/lb_config.1:37
244 msgid " [B<--binary-filesystem> fat16|fat32|ext2|ext3|ext4]"
245 msgstr ""
246
247 #. type: Plain text
248 #: en/lb_config.1:39
249 msgid " [B<--bootappend-install> I<PARAMETER>|I<\"PARAMETERS\">]"
250 msgstr ""
251
252 #. type: Plain text
253 #: en/lb_config.1:41
254 msgid " [B<--bootappend-live> I<PARAMETER>|I<\"PARAMETERS\">]"
255 msgstr ""
256
257 #. type: Plain text
258 #: en/lb_config.1:43
259 msgid " [B<--bootloader> grub|syslinux|yaboot]"
260 msgstr ""
261
262 #. type: Plain text
263 #: en/lb_config.1:45
264 msgid " [B<--bootstrap> cdebootstrap|cdebootstrap-static|debootstrap]"
265 msgstr ""
266
267 #. type: Plain text
268 #: en/lb_config.1:47
269 msgid " [B<--cache> true|false]"
270 msgstr ""
271
272 #. type: Plain text
273 #: en/lb_config.1:49
274 msgid " [B<--cache-indices> true|false]"
275 msgstr ""
276
277 #. type: Plain text
278 #: en/lb_config.1:51
279 msgid " [B<--cache-packages> true|false]"
280 msgstr ""
281
282 #. type: Plain text
283 #: en/lb_config.1:53
284 msgid " [B<--cache-stages> I<STAGE>|I<\"STAGES\">]"
285 msgstr ""
286
287 #. type: Plain text
288 #: en/lb_config.1:55
289 msgid " [B<--checksums> md5|sha1|sha256|none]"
290 msgstr ""
291
292 #. type: Plain text
293 #: en/lb_config.1:57
294 msgid " [B<--compression> bzip2|gzip|lzip|none]"
295 msgstr ""
296
297 #. type: Plain text
298 #: en/lb_config.1:59
299 msgid " [B<--config> I<GIT_URL::GIT_ID>]"
300 msgstr ""
301
302 #. type: Plain text
303 #: en/lb_config.1:61
304 msgid " [B<--build-with-chroot> true|false]"
305 msgstr ""
306
307 #. type: Plain text
308 #: en/lb_config.1:63
309 msgid " [B<--chroot-filesystem> ext2|ext3|ext4|squashfs|jffs2|none]"
310 msgstr ""
311
312 #. type: Plain text
313 #: en/lb_config.1:65
314 msgid " [B<--clean>]"
315 msgstr ""
316
317 #. type: Plain text
318 #: en/lb_config.1:67
319 msgid " [-c|B<--conffile> I<FILE>]"
320 msgstr ""
321
322 #. type: Plain text
323 #: en/lb_config.1:69
324 msgid " [B<--debconf-frontend> dialog|editor|noninteractive|readline]"
325 msgstr ""
326
327 #. type: Plain text
328 #: en/lb_config.1:71
329 msgid " [B<--debconf-priority> low|medium|high|critical]"
330 msgstr ""
331
332 #. type: Plain text
333 #: en/lb_config.1:73
334 msgid ""
335 " [B<--debian-installer> true|cdrom|netinst|netboot|businesscard|live|false]"
336 msgstr ""
337
338 #. type: Plain text
339 #: en/lb_config.1:75
340 msgid " [B<--debian-installer-distribution> daily|I<CODENAME>]"
341 msgstr ""
342
343 #. type: Plain text
344 #: en/lb_config.1:77
345 msgid " [B<--debian-installer-preseedfile> I<FILE>|I<URL>]"
346 msgstr ""
347
348 #. type: Plain text
349 #: en/lb_config.1:79
350 msgid " [B<--debian-installer-gui> true|false]"
351 msgstr ""
352
353 #. type: Plain text
354 #: en/lb_config.1:81
355 msgid " [B<--debug>]"
356 msgstr ""
357
358 #. type: Plain text
359 #: en/lb_config.1:83
360 msgid " [-d|B<--distribution> I<CODENAME>]"
361 msgstr ""
362
363 #. type: Plain text
364 #: en/lb_config.1:85
365 msgid " [B<--parent-distribution> I<CODENAME>]"
366 msgstr ""
367
368 #. type: Plain text
369 #: en/lb_config.1:87
370 msgid " [B<--parent-debian-installer-distribution> I<CODENAME>]"
371 msgstr ""
372
373 #. type: Plain text
374 #: en/lb_config.1:89
375 msgid " [B<--dump>]"
376 msgstr ""
377
378 #. type: Plain text
379 #: en/lb_config.1:91
380 msgid " [B<--fdisk> fdisk|fdisk.dist]"
381 msgstr ""
382
383 #. type: Plain text
384 #: en/lb_config.1:93
385 msgid " [B<--firmware-binary true|false>]"
386 msgstr ""
387
388 #. type: Plain text
389 #: en/lb_config.1:95
390 msgid " [B<--firmware-chroot true|false>]"
391 msgstr ""
392
393 #. type: Plain text
394 #: en/lb_config.1:97
395 msgid " [B<--force>]"
396 msgstr ""
397
398 #. type: Plain text
399 #: en/lb_config.1:99
400 msgid " [B<--grub-splash> I<FILE>]"
401 msgstr ""
402
403 #. type: Plain text
404 #: en/lb_config.1:101
405 msgid " [B<--gzip-options> I<OPTION>|\"I<OPTIONS>\"]"
406 msgstr ""
407
408 #. type: Plain text
409 #: en/lb_config.1:103
410 msgid " [B<--hooks> I<FILE>]"
411 msgstr ""
412
413 #. type: Plain text
414 #: en/lb_config.1:105
415 msgid " [B<--ignore-system-defaults>]"
416 msgstr ""
417
418 #. type: Plain text
419 #: en/lb_config.1:107
420 msgid " [B<--initramfs> auto|none|live-boot|casper]"
421 msgstr ""
422
423 #. type: Plain text
424 #: en/lb_config.1:109
425 msgid " [B<--initramfs-compression> bzip2|gzip|lzma]"
426 msgstr ""
427
428 #. type: Plain text
429 #: en/lb_config.1:111
430 msgid " [B<--initsystem> sysvinit|runit|systemd|upstart|none]"
431 msgstr ""
432
433 #. type: Plain text
434 #: en/lb_config.1:113
435 msgid " [B<--interactive> shell]"
436 msgstr ""
437
438 #. type: Plain text
439 #: en/lb_config.1:115
440 msgid " [B<--isohybrid-options> I<OPTION>|\"I<OPTIONS>\"]"
441 msgstr ""
442
443 #. type: Plain text
444 #: en/lb_config.1:117
445 msgid " [B<--iso-application> I<NAME>]"
446 msgstr ""
447
448 #. type: Plain text
449 #: en/lb_config.1:119
450 msgid " [B<--iso-preparer> I<NAME>]"
451 msgstr ""
452
453 #. type: Plain text
454 #: en/lb_config.1:121
455 msgid " [B<--iso-publisher> I<NAME>]"
456 msgstr ""
457
458 #. type: Plain text
459 #: en/lb_config.1:123
460 msgid " [B<--iso-volume> I<NAME>]"
461 msgstr ""
462
463 #. type: Plain text
464 #: en/lb_config.1:125
465 msgid " [B<--jffs2-eraseblock> I<SIZE>]"
466 msgstr ""
467
468 #. type: Plain text
469 #: en/lb_config.1:127
470 msgid " [B<--keyring-packages> I<PACKAGE|\"PACKAGES\">]"
471 msgstr ""
472
473 #. type: Plain text
474 #: en/lb_config.1:129
475 msgid " [-k|B<--linux-flavours> I<FLAVOUR>|I<\"FLAVOURS\">]"
476 msgstr ""
477
478 #. type: Plain text
479 #: en/lb_config.1:131
480 msgid " [B<--linux-packages> I<\"PACKAGES\">]"
481 msgstr ""
482
483 #. type: Plain text
484 #: en/lb_config.1:133
485 msgid " [B<--losetup> losetup|losetup.orig]"
486 msgstr ""
487
488 #. type: Plain text
489 #: en/lb_config.1:135
490 msgid " [B<--memtest> memtest86+|memtest86|none]"
491 msgstr ""
492
493 #. type: Plain text
494 #: en/lb_config.1:137
495 msgid " [-m|B<--parent-mirror-bootstrap> I<URL>]"
496 msgstr ""
497
498 #. type: Plain text
499 #: en/lb_config.1:139
500 msgid " [B<--parent-mirror-chroot> I<URL>]"
501 msgstr ""
502
503 #. type: Plain text
504 #: en/lb_config.1:141
505 msgid " [B<--parent-mirror-chroot-security> I<URL>]"
506 msgstr ""
507
508 #. type: Plain text
509 #: en/lb_config.1:143
510 msgid " [B<--parent-mirror-chroot-updates> I<URL>]"
511 msgstr ""
512
513 #. type: Plain text
514 #: en/lb_config.1:145
515 msgid " [B<--parent-mirror-chroot-backports> I<URL>]"
516 msgstr ""
517
518 #. type: Plain text
519 #: en/lb_config.1:147
520 msgid " [B<--parent-mirror-binary> I<URL>]"
521 msgstr ""
522
523 #. type: Plain text
524 #: en/lb_config.1:149
525 msgid " [B<--parent-mirror-binary-security> I<URL>]"
526 msgstr ""
527
528 #. type: Plain text
529 #: en/lb_config.1:151
530 msgid " [B<--parent-mirror-binary-updates> I<URL>]"
531 msgstr ""
532
533 #. type: Plain text
534 #: en/lb_config.1:153
535 msgid " [B<--parent-mirror-binary-backports> I<URL>]"
536 msgstr ""
537
538 #. type: Plain text
539 #: en/lb_config.1:155
540 msgid " [B<--parent-mirror-debian-installer> I<URL>]"
541 msgstr ""
542
543 #. type: Plain text
544 #: en/lb_config.1:157
545 msgid " [B<--mirror-bootstrap> I<URL>]"
546 msgstr ""
547
548 #. type: Plain text
549 #: en/lb_config.1:159
550 msgid " [B<--mirror-chroot> I<URL>]"
551 msgstr ""
552
553 #. type: Plain text
554 #: en/lb_config.1:161
555 msgid " [B<--mirror-chroot-security> I<URL>]"
556 msgstr ""
557
558 #. type: Plain text
559 #: en/lb_config.1:163
560 msgid " [B<--mirror-chroot-updates> I<URL>]"
561 msgstr ""
562
563 #. type: Plain text
564 #: en/lb_config.1:165
565 msgid " [B<--mirror-chroot-backports> I<URL>]"
566 msgstr ""
567
568 #. type: Plain text
569 #: en/lb_config.1:167
570 msgid " [B<--mirror-binary> I<URL>]"
571 msgstr ""
572
573 #. type: Plain text
574 #: en/lb_config.1:169
575 msgid " [B<--mirror-binary-security> I<URL>]"
576 msgstr ""
577
578 #. type: Plain text
579 #: en/lb_config.1:171
580 msgid " [B<--mirror-binary-updates> I<URL>]"
581 msgstr ""
582
583 #. type: Plain text
584 #: en/lb_config.1:173
585 msgid " [B<--mirror-binary-backports> I<URL>]"
586 msgstr ""
587
588 #. type: Plain text
589 #: en/lb_config.1:175
590 msgid " [B<--mirror-debian-installer> I<URL>]"
591 msgstr ""
592
593 #. type: Plain text
594 #: en/lb_config.1:177
595 msgid " [B<--mode> debian|emdebian|progress-linux|ubuntu]"
596 msgstr ""
597
598 #. type: Plain text
599 #: en/lb_config.1:179
600 msgid " [B<--system> live|normal]"
601 msgstr ""
602
603 #. type: Plain text
604 #: en/lb_config.1:181
605 msgid " [B<--net-root-filesystem> nfs|cfs]"
606 msgstr ""
607
608 #. type: Plain text
609 #: en/lb_config.1:183
610 msgid " [B<--net-root-mountoptions> I<OPTIONS>]"
611 msgstr ""
612
613 #. type: Plain text
614 #: en/lb_config.1:185
615 msgid " [B<--net-root-path> I<PATH>]"
616 msgstr ""
617
618 #. type: Plain text
619 #: en/lb_config.1:187
620 msgid " [B<--net-root-server> I<IP>|I<HOSTNAME>]"
621 msgstr ""
622
623 #. type: Plain text
624 #: en/lb_config.1:189
625 msgid " [B<--net-cow-filesystem> nfs|cfs]"
626 msgstr ""
627
628 #. type: Plain text
629 #: en/lb_config.1:191
630 msgid " [B<--net-cow-mountoptions> I<OPTIONS>]"
631 msgstr ""
632
633 #. type: Plain text
634 #: en/lb_config.1:193
635 msgid " [B<--net-cow-path> I<PATH>]"
636 msgstr ""
637
638 #. type: Plain text
639 #: en/lb_config.1:195
640 msgid " [B<--net-cow-server> I<IP>|I<HOSTNAME>]"
641 msgstr ""
642
643 #. type: Plain text
644 #: en/lb_config.1:197
645 msgid " [B<--net-tarball> true|false]"
646 msgstr ""
647
648 #. type: Plain text
649 #: en/lb_config.1:199
650 msgid " [-p|B<--package-lists> I<LIST>|I<\"LISTS\">]"
651 msgstr ""
652
653 #. type: Plain text
654 #: en/lb_config.1:201
655 msgid " [B<--quiet>]"
656 msgstr ""
657
658 #. type: Plain text
659 #: en/lb_config.1:203
660 msgid " [B<--root-command> sudo]"
661 msgstr ""
662
663 #. type: Plain text
664 #: en/lb_config.1:205
665 msgid " [B<--use-fakeroot> true|false]"
666 msgstr ""
667
668 #. type: Plain text
669 #: en/lb_config.1:207
670 msgid " [B<--archives> I<ARCHIVE>|I<\"ARCHIVES\">]"
671 msgstr ""
672
673 #. type: Plain text
674 #: en/lb_config.1:209
675 msgid " [B<--archive-areas> I<ARCHIVE_AREA>|I<\"ARCHIVE_AREAS\">]"
676 msgstr ""
677
678 #. type: Plain text
679 #: en/lb_config.1:211
680 msgid ""
681 " [B<--parent-archive-areas> I<PARENT_ARCHIVE_AREA>|I<\"PARENT_ARCHIVE_AREAS"
682 "\">]"
683 msgstr ""
684
685 #. type: Plain text
686 #: en/lb_config.1:213
687 msgid " [B<--security> true|false]"
688 msgstr ""
689
690 #. type: Plain text
691 #: en/lb_config.1:215
692 msgid " [B<--source> true|false]"
693 msgstr ""
694
695 #. type: Plain text
696 #: en/lb_config.1:217
697 msgid " [-s|B<--source-images> iso|netboot|tar|hdd]"
698 msgstr ""
699
700 #. type: Plain text
701 #: en/lb_config.1:219
702 msgid " [B<--syslinux-theme> I<THEME_SUFFIX>]"
703 msgstr ""
704
705 #. type: Plain text
706 #: en/lb_config.1:221
707 msgid " [B<--tasksel> apt|aptitude|tasksel]"
708 msgstr ""
709
710 #. type: Plain text
711 #: en/lb_config.1:223
712 msgid " [B<--templates> I<PATH>]"
713 msgstr ""
714
715 #. type: Plain text
716 #: en/lb_config.1:225
717 msgid " [B<--hdd-size >I<MB>]"
718 msgstr ""
719
720 #. type: Plain text
721 #: en/lb_config.1:227
722 msgid " [B<--updates> true|false]"
723 msgstr ""
724
725 #. type: Plain text
726 #: en/lb_config.1:229
727 msgid " [B<--backports> true|false]"
728 msgstr ""
729
730 #. type: Plain text
731 #: en/lb_config.1:231
732 msgid " [B<--exposed-root> true|false]"
733 msgstr ""
734
735 #. type: Plain text
736 #: en/lb_config.1:233
737 msgid " [B<--verbose>]"
738 msgstr ""
739
740 #. FIXME
741 #. type: Plain text
742 #: en/lb_config.1:236
743 msgid " [B<--win32-loader true|false]>"
744 msgstr ""
745
746 #. type: Plain text
747 #: en/lb_config.1:239
748 msgid ""
749 "B<lb config> is a high-level command (porcelain) of I<live-build>(7), the "
750 "Debian Live tool suite."
751 msgstr ""
752
753 #. FIXME
754 #. type: Plain text
755 #: en/lb_config.1:242
756 msgid ""
757 "B<lb config> populates the configuration directory for live-build. By "
758 "default, this directory is named 'config' and is created in the current "
759 "directory where B<lb config> was executed."
760 msgstr ""
761
762 #. FIXME
763 #. type: Plain text
764 #: en/lb_config.1:245
765 msgid ""
766 "Note: Currently B<lb config> tries to be smart and sets defaults for some "
767 "options depending on the setting of other options (e.g. which linux packages "
768 "to be used depending on if a squeeze system gets build or not). This means "
769 "that when generating a new configuration, you should call B<lb config> only "
770 "once with all options specified. Calling it several times with only a subset "
771 "of the options each can result in non working configurations. This is also "
772 "caused by the fact that B<lb config> called with one option only changes "
773 "that option, and leaves everything else as is unless its not defined. "
774 "However, B<lb config> does warn about know impossible or likely impossible "
775 "combinations that would lead to non working live systems. If unsure, remove "
776 "config/{binary,bootstrap,chroot,common,source} and call B<lb config> again."
777 msgstr ""
778
779 #. type: Plain text
780 #: en/lb_config.1:248
781 msgid ""
782 "In addition to its specific options B<lb config> understands all generic "
783 "live-build options. See I<live-build>(7) for a complete list of all generic "
784 "live-build options."
785 msgstr ""
786
787 #. FIXME
788 #. type: IP
789 #: en/lb_config.1:250
790 #, no-wrap
791 msgid "B<--apt> apt|aptitude"
792 msgstr ""
793
794 #. type: Plain text
795 #: en/lb_config.1:252
796 msgid ""
797 "defines if apt-get or aptitude is used to install packages when building the "
798 "image. The default is apt."
799 msgstr ""
800
801 #. type: IP
802 #: en/lb_config.1:252
803 #, no-wrap
804 msgid "B<--apt-ftp-proxy> I<URL>"
805 msgstr ""
806
807 #. type: Plain text
808 #: en/lb_config.1:254
809 msgid ""
810 "sets the ftp proxy to be used by apt. By default, this is empty. Note that "
811 "this variable is only for the proxy that gets used by apt internally within "
812 "the chroot, it is not used for anything else."
813 msgstr ""
814
815 #. type: IP
816 #: en/lb_config.1:254
817 #, no-wrap
818 msgid "B<--apt-http-proxy> I<URL>"
819 msgstr ""
820
821 #. type: Plain text
822 #: en/lb_config.1:256
823 msgid ""
824 "sets the http proxy to be used by apt. By default, this is empty. Note that "
825 "this variable is only for the proxy that gets used by apt internally within "
826 "the chroot, it is not used for anything else."
827 msgstr ""
828
829 #. type: IP
830 #: en/lb_config.1:256
831 #, no-wrap
832 msgid "B<--apt-indices> true|false|none"
833 msgstr ""
834
835 #. type: Plain text
836 #: en/lb_config.1:258
837 msgid ""
838 "defines if the resulting images should have apt indices or not and defaults "
839 "to true. If set to none, no indices are included at all."
840 msgstr ""
841
842 #. type: IP
843 #: en/lb_config.1:258
844 #, no-wrap
845 msgid "B<--apt-options> I<OPTION>|\"I<OPTIONS>\""
846 msgstr ""
847
848 #. type: Plain text
849 #: en/lb_config.1:260
850 msgid ""
851 "defines the default options that will be appended to every apt call that is "
852 "made inside chroot during the building of the image. By default, this is set "
853 "to --yes to allow non-interactive installation of packages."
854 msgstr ""
855
856 #. type: IP
857 #: en/lb_config.1:260
858 #, no-wrap
859 msgid "B<--aptitude-options> I<OPTION>|\"I<OPTIONS>\""
860 msgstr ""
861
862 #. type: Plain text
863 #: en/lb_config.1:262
864 msgid ""
865 "defines the default options that will be appended to every aptitude call "
866 "that is made inside chroot during building of the image. By default, this is "
867 "set to --assume-yes to allow non-interactive installation of packages."
868 msgstr ""
869
870 #. type: IP
871 #: en/lb_config.1:262
872 #, no-wrap
873 msgid "B<--apt-pipeline> I<DEPTH>"
874 msgstr ""
875
876 #. type: Plain text
877 #: en/lb_config.1:264
878 msgid ""
879 "sets the depth of the apt/aptitude pipeline. In cases where the remote "
880 "server is not RFC conforming or buggy (such as Squid 2.0.2) this option can "
881 "be a value from 0 to 5 indicating how many outstanding requests APT should "
882 "send. A value of zero MUST be specified if the remote host does not properly "
883 "linger on TCP connections - otherwise data corruption will occur. Hosts "
884 "which require this are in violation of RFC 2068. By default, live-build does "
885 "not set this option."
886 msgstr ""
887
888 #. type: IP
889 #: en/lb_config.1:264
890 #, no-wrap
891 msgid "B<--apt-recommends> true|false"
892 msgstr ""
893
894 #. type: Plain text
895 #: en/lb_config.1:266
896 msgid ""
897 "defines if apt should install recommended packages automatically. By "
898 "default, this is true except in emdebian mode."
899 msgstr ""
900
901 #. type: IP
902 #: en/lb_config.1:266
903 #, no-wrap
904 msgid "B<--apt-secure> true|false"
905 msgstr ""
906
907 #. type: Plain text
908 #: en/lb_config.1:268
909 msgid ""
910 "defines if apt should check repository signatures. This is true by default."
911 msgstr ""
912
913 #. type: IP
914 #: en/lb_config.1:268
915 #, no-wrap
916 msgid "B<--apt-source-archives> true|false"
917 msgstr ""
918
919 #. type: Plain text
920 #: en/lb_config.1:270
921 msgid ""
922 "defines if deb-src entries should be included in the resulting live image or "
923 "not, defaults to on."
924 msgstr ""
925
926 #. type: IP
927 #: en/lb_config.1:270
928 #, no-wrap
929 msgid "-a|B<--architectures> I<ARCHITECTURE>"
930 msgstr ""
931
932 #. type: Plain text
933 #: en/lb_config.1:272
934 msgid ""
935 "defines the architecture of the to be build image. By default, this is set "
936 "to the host architecture. Note that you cannot crossbuild for another "
937 "architecture if your host system is not able to execute binaries for the "
938 "target architecture natively. For example, building amd64 images on i386 and "
939 "vice versa is possile if you have a 64bit capable i386 processor and the "
940 "right kernel. But building powerpc images on an i386 system is not possible."
941 msgstr ""
942
943 #. type: IP
944 #: en/lb_config.1:272
945 #, no-wrap
946 msgid "-b|B<--binary-images> iso|iso-hybrid|netboot|tar|hdd"
947 msgstr ""
948
949 #. type: Plain text
950 #: en/lb_config.1:274
951 msgid ""
952 "defines the image type to build. By default, for images using syslinux this "
953 "is set to iso-hybrid to build CD/DVD images that may also be used like hdd "
954 "images, for non-syslinux images, it defaults to iso."
955 msgstr ""
956
957 #. type: IP
958 #: en/lb_config.1:274
959 #, no-wrap
960 msgid "B<--binary-filesystem> fat16|fat32|ext2|ext3|ext4"
961 msgstr ""
962
963 #. type: Plain text
964 #: en/lb_config.1:276
965 msgid ""
966 "defines the filesystem to be used in the image type. This only has an effect "
967 "if the selected binary image type does allow to choose a filesystem. For "
968 "example, when selection iso the resulting CD/DVD has always the filesystem "
969 "ISO9660. When building hdd images for usb sticks, this is active. Note that "
970 "it defaults to fat16 on all architectures except sparc where it defaults to "
971 "ext4. Also note that if you choose fat16 and your resulting binary image "
972 "gets bigger than 2GB, the binary filesystem automatically gets switched to "
973 "fat32."
974 msgstr ""
975
976 #. type: IP
977 #: en/lb_config.1:276
978 #, no-wrap
979 msgid "B<--bootappend-install> I<PARAMETER>|\"I<PARAMETERS>\""
980 msgstr ""
981
982 #. type: Plain text
983 #: en/lb_config.1:278
984 msgid "sets boot parameters specific to debian-installer, if included."
985 msgstr ""
986
987 #. type: IP
988 #: en/lb_config.1:278
989 #, no-wrap
990 msgid "B<--bootappend-live> I<PARAMETER>|\"I<PARAMETERS>\""
991 msgstr ""
992
993 #. type: Plain text
994 #: en/lb_config.1:280
995 msgid ""
996 "sets boot parameters specific to debian-live. A complete list of boot "
997 "parameters can be found in the I<live-boot>(7) and I<live-config>(7) manual "
998 "pages."
999 msgstr ""
1000
1001 #. type: IP
1002 #: en/lb_config.1:280
1003 #, no-wrap
1004 msgid "B<--bootloader> grub|syslinux|yaboot"
1005 msgstr ""
1006
1007 #. type: Plain text
1008 #: en/lb_config.1:282
1009 msgid ""
1010 "defines which bootloader is beeing used in the generated image. This has "
1011 "only an effect if the selected binary image type does allow to choose the "
1012 "bootloader. For example, if you build a iso, always syslinux (or more "
1013 "precise, isolinux) is being used. Also note that some combinations of binary "
1014 "images types and bootloaders may be possible but live-build does not support "
1015 "them yet. B<lb config> will fail to create such a not yet supported "
1016 "configuration and give a explanation about it. For hdd images on amd64 and "
1017 "i386, the default is syslinux. yaboot is only used on powerpc."
1018 msgstr ""
1019
1020 #. type: IP
1021 #: en/lb_config.1:282
1022 #, no-wrap
1023 msgid "B<--bootstrap> cdebootstrap|cdebootstrap-static|debootstrap"
1024 msgstr ""
1025
1026 #. type: Plain text
1027 #: en/lb_config.1:284
1028 msgid ""
1029 "defines which program is used to bootstrap the debian chroot, default is "
1030 "debootstrap."
1031 msgstr ""
1032
1033 #. type: IP
1034 #: en/lb_config.1:284
1035 #, no-wrap
1036 msgid "B<--cache> true|false"
1037 msgstr ""
1038
1039 #. type: Plain text
1040 #: en/lb_config.1:286
1041 msgid ""
1042 "defines globally if any cache should be used at all. Different caches can be "
1043 "controled through the their own options."
1044 msgstr ""
1045
1046 #. type: IP
1047 #: en/lb_config.1:286
1048 #, no-wrap
1049 msgid "B<--cache-indices> true|false"
1050 msgstr ""
1051
1052 #. type: Plain text
1053 #: en/lb_config.1:288
1054 msgid ""
1055 "defines if downloaded package indices and lists should be cached which is "
1056 "false by default. Enabling it would allow to rebuild an image completely "
1057 "offline, however, you would not get updates anymore then."
1058 msgstr ""
1059
1060 #. type: IP
1061 #: en/lb_config.1:288
1062 #, no-wrap
1063 msgid "B<--cache-packages> true|false"
1064 msgstr ""
1065
1066 #. type: Plain text
1067 #: en/lb_config.1:290
1068 msgid ""
1069 "defines if downloaded packages files should be cached which is true by "
1070 "default. Disabling it does save space consumtion in your build directory, "
1071 "but remember that you will cause much unnecessary traffic if you do a couple "
1072 "of rebuilds. In general you should always leave it true, however, in some "
1073 "particular rare build setups, it can be faster to refetch packages from the "
1074 "local network mirror rather than to utilize the local disk."
1075 msgstr ""
1076
1077 #. type: IP
1078 #: en/lb_config.1:290
1079 #, no-wrap
1080 msgid "B<--cache-stages> true|false|I<STAGE>|\"I<STAGES>\""
1081 msgstr ""
1082
1083 #. type: Plain text
1084 #: en/lb_config.1:292
1085 msgid ""
1086 "sets which stages should be cached. By default set to bootstrap. As an "
1087 "exception to the normal stage names, also rootfs can be used here which does "
1088 "only cache the generated root filesystem in filesystem.{dir,ext*,squashfs}. "
1089 "This is useful during development if you want to rebuild the binary stage "
1090 "but not regenerate the root filesystem all the time."
1091 msgstr ""
1092
1093 #. type: IP
1094 #: en/lb_config.1:292
1095 #, no-wrap
1096 msgid "B<--checksums> md5|sha1|sha256|none"
1097 msgstr ""
1098
1099 #. type: Plain text
1100 #: en/lb_config.1:294
1101 msgid ""
1102 "defines if the binary image should contain a file called md5sums.txt, "
1103 "sha1sums.txt and/or sha256sums.txt. These lists all files on the image "
1104 "together with their checksums. This in turn can be used by live-boots built-"
1105 "in integrity-check to verify the medium if specified at boot prompt. In "
1106 "general, this should not be false and is an important feature of live system "
1107 "released to the public. However, during development of very big images it "
1108 "can save some time by not calculating the checksums."
1109 msgstr ""
1110
1111 #. type: IP
1112 #: en/lb_config.1:294
1113 #, no-wrap
1114 msgid "B<--compression> bzip2|gzip|lzip|none"
1115 msgstr ""
1116
1117 #. type: Plain text
1118 #: en/lb_config.1:296
1119 msgid ""
1120 "defines the compression program to be used to compress tarballs. Defaults to "
1121 "gzip."
1122 msgstr ""
1123
1124 #. type: IP
1125 #: en/lb_config.1:296
1126 #, no-wrap
1127 msgid "B<--config> I<GIT_URL>::I<GIT_ID>"
1128 msgstr ""
1129
1130 #. type: Plain text
1131 #: en/lb_config.1:298
1132 msgid ""
1133 "allows to bootstrap a config tree from a git repositories, optionally "
1134 "appended by a Git Id (branch, commit, tag, etc.)."
1135 msgstr ""
1136
1137 #. type: IP
1138 #: en/lb_config.1:298
1139 #, no-wrap
1140 msgid "B<--build-with-chroot> true|false"
1141 msgstr ""
1142
1143 #. type: Plain text
1144 #: en/lb_config.1:300
1145 msgid ""
1146 "defines whetever live-build should use the tools from within the chroot to "
1147 "build the binary image or not by using and including the host systems tools. "
1148 "This is a very dangerous option, using the tools of the host system can lead "
1149 "to tainted and even non-bootable images if the host systems version of the "
1150 "required tools (mainly these are the bootloaders such as syslinux, grub and "
1151 "yaboot, and the auxilliary tools such as dosfstools, xorriso, squashfs-tools "
1152 "and others) do not B<exactely> match what is present at build-time in the "
1153 "target distribution. Never do disable this option unless you are B<exactely> "
1154 "sure what you are doing and have B<completely>I< understood its consequences."
1155 ">"
1156 msgstr ""
1157
1158 #. type: IP
1159 #: en/lb_config.1:300
1160 #, no-wrap
1161 msgid "B<--chroot-filesystem> ext2|ext3|ext4|squashfs|jffs2|none"
1162 msgstr ""
1163
1164 #. type: Plain text
1165 #: en/lb_config.1:302
1166 msgid ""
1167 "defines which filesystem type should be used for the root filesystem image. "
1168 "If you use none, then no filesystem image is created and the root filesystem "
1169 "content is copied on the binary image filesystem as flat files. Depending on "
1170 "what binary filesystem you have choosen, it may not be possible to build "
1171 "with such a plain root filesystem, e.g. fat16/fat32 will not work as linux "
1172 "does not support to run directly on them."
1173 msgstr ""
1174
1175 #. type: IP
1176 #: en/lb_config.1:302
1177 #, no-wrap
1178 msgid "B<--clean>"
1179 msgstr ""
1180
1181 #. type: Plain text
1182 #: en/lb_config.1:304
1183 msgid ""
1184 "minimizes config directory by automatically removing unused and thus empty "
1185 "subdirectories."
1186 msgstr ""
1187
1188 #. type: IP
1189 #: en/lb_config.1:304
1190 #, no-wrap
1191 msgid "-c|B<--conffile> I<FILE>"
1192 msgstr ""
1193
1194 #. type: Plain text
1195 #: en/lb_config.1:306
1196 msgid ""
1197 "using a user specified alternative configuration file in addition to the "
1198 "normally used one in the config directory."
1199 msgstr ""
1200
1201 #. type: IP
1202 #: en/lb_config.1:306
1203 #, no-wrap
1204 msgid "B<--debconf-frontend> dialog|editor|noninteractive|readline"
1205 msgstr ""
1206
1207 #. type: Plain text
1208 #: en/lb_config.1:308
1209 msgid ""
1210 "defines what value the debconf frontend should be set to inside the chroot. "
1211 "Note that setting it to anything by noninteractive, which is the default, "
1212 "makes your build asking questions during the build."
1213 msgstr ""
1214
1215 #. type: IP
1216 #: en/lb_config.1:308
1217 #, no-wrap
1218 msgid "B<--debconf-priority> low|medium|high|critical"
1219 msgstr ""
1220
1221 #. type: Plain text
1222 #: en/lb_config.1:310
1223 msgid ""
1224 "defines what value the debconf priority shoul dbe set to inside the chroot. "
1225 "By default, it is set to critical, which means that almost no questions are "
1226 "displayed. Note that this only has an effect if you use any debconf frontend "
1227 "different from noninteractive."
1228 msgstr ""
1229
1230 #. type: IP
1231 #: en/lb_config.1:310
1232 #, no-wrap
1233 msgid "B<--debian-installer> true|cdrom|netinst|netboot|businesscard|live|false"
1234 msgstr ""
1235
1236 #. type: Plain text
1237 #: en/lb_config.1:312
1238 msgid ""
1239 "defines which type, if any, of the debian-installer should be included in "
1240 "the resulting binary image. By default, no installer is included. All "
1241 "available flavours except live are the identical configurations used on the "
1242 "installer media produced by regular debian-cd. When live is choosen, the "
1243 "live-installer udeb is included so that debian-installer will behave "
1244 "different than usual - instead of installing the debian system from packages "
1245 "from the medium or the network, it installs the live system to the disk."
1246 msgstr ""
1247
1248 #. type: IP
1249 #: en/lb_config.1:312
1250 #, no-wrap
1251 msgid "B<--debian-installer-distribution> daily|I<CODENAME>"
1252 msgstr ""
1253
1254 #. type: Plain text
1255 #: en/lb_config.1:314
1256 msgid ""
1257 "defines the distribution where the debian-installer files should be taken "
1258 "out from. Normally, this should be set to the same distribution as the live "
1259 "system. However, some times, one wants to use a newer or even daily built "
1260 "installer."
1261 msgstr ""
1262
1263 #. type: IP
1264 #: en/lb_config.1:314
1265 #, no-wrap
1266 msgid "B<--debian-installer-preseedfile> I<FILE>|I<URL>"
1267 msgstr ""
1268
1269 #. type: Plain text
1270 #: en/lb_config.1:316
1271 msgid ""
1272 "sets the filename or URL for an optionally used and included preseeding file "
1273 "for debian-installer. If config/binary_debian-installer/preseed.cfg exists, "
1274 "it will be used by default."
1275 msgstr ""
1276
1277 #. type: IP
1278 #: en/lb_config.1:316
1279 #, no-wrap
1280 msgid "B<--debian-installer-gui> true|false"
1281 msgstr ""
1282
1283 #. type: Plain text
1284 #: en/lb_config.1:318
1285 msgid ""
1286 "defines if the debian-installer graphical GTK interface should be true or "
1287 "not. In Debian mode and for most versions of Ubuntu, this option is true, "
1288 "whereas otherwise false, by default."
1289 msgstr ""
1290
1291 #. type: IP
1292 #: en/lb_config.1:318 en/live-build.7:36
1293 #, no-wrap
1294 msgid "B<--debug>"
1295 msgstr ""
1296
1297 #. type: Plain text
1298 #: en/lb_config.1:320
1299 msgid "turn on debugging informational messages."
1300 msgstr ""
1301
1302 #. type: IP
1303 #: en/lb_config.1:320
1304 #, no-wrap
1305 msgid "-d|B<--distribution> I<CODENAME>"
1306 msgstr ""
1307
1308 #. type: Plain text
1309 #: en/lb_config.1:322
1310 msgid "defines the distribution of the resulting live system."
1311 msgstr ""
1312
1313 #. type: IP
1314 #: en/lb_config.1:322
1315 #, no-wrap
1316 msgid "-d|B<--parent-distribution> I<CODENAME>"
1317 msgstr ""
1318
1319 #. type: Plain text
1320 #: en/lb_config.1:324
1321 msgid ""
1322 "defines the parent distribution for derivatives of the resulting live system."
1323 msgstr ""
1324
1325 #. type: IP
1326 #: en/lb_config.1:324
1327 #, no-wrap
1328 msgid "-d|B<--parent-debian-installer-distribution> I<CODENAME>"
1329 msgstr ""
1330
1331 #. type: Plain text
1332 #: en/lb_config.1:326
1333 msgid ""
1334 "defines the parent debian-installer distribution for derivatives of the "
1335 "resulting live system."
1336 msgstr ""
1337
1338 #. type: IP
1339 #: en/lb_config.1:326
1340 #, no-wrap
1341 msgid "B<--dump>"
1342 msgstr ""
1343
1344 #. type: Plain text
1345 #: en/lb_config.1:328
1346 msgid ""
1347 "prepares a report of the currently present live system configuration and the "
1348 "version of live-build used. This is useful to provide if you submit bug "
1349 "reports, we do get all informations required for us to locate and replicate "
1350 "an error."
1351 msgstr ""
1352
1353 #. type: IP
1354 #: en/lb_config.1:328
1355 #, no-wrap
1356 msgid "B<--fdisk> fdisk|fdisk.dist"
1357 msgstr ""
1358
1359 #. type: Plain text
1360 #: en/lb_config.1:330
1361 msgid ""
1362 "sets the filename of the fdisk binary from the host system that should be "
1363 "used. This is autodetected and does generally not need any customization."
1364 msgstr ""
1365
1366 #. type: IP
1367 #: en/lb_config.1:330 en/live-build.7:38
1368 #, no-wrap
1369 msgid "B<--force>"
1370 msgstr ""
1371
1372 #. type: Plain text
1373 #: en/lb_config.1:332
1374 msgid ""
1375 "forces re-execution of already run stages. Use only if you know what you are "
1376 "doing. It is generally safer to use B<lb clean> to clean up before re-"
1377 "executing B<lb build>."
1378 msgstr ""
1379
1380 #. type: IP
1381 #: en/lb_config.1:332
1382 #, no-wrap
1383 msgid "B<--grub-splash> I<FILE>"
1384 msgstr ""
1385
1386 #. type: Plain text
1387 #: en/lb_config.1:334
1388 msgid ""
1389 "defines the name of an optional to be included splash screen graphic for the "
1390 "grub bootloader."
1391 msgstr ""
1392
1393 #. type: IP
1394 #: en/lb_config.1:334
1395 #, no-wrap
1396 msgid "B<--gzip-options> I<OPTION>|\"I<OPTIONS>\""
1397 msgstr ""
1398
1399 #. type: Plain text
1400 #: en/lb_config.1:336
1401 msgid ""
1402 "defines the default options that will be appended to (almost) every gzip "
1403 "call during the building of the image. By default, this is set to --best to "
1404 "use highest (but slowest) compression. Dynamically, if the host system "
1405 "supports it, also --rsyncable is added."
1406 msgstr ""
1407
1408 #. type: IP
1409 #: en/lb_config.1:336
1410 #, no-wrap
1411 msgid "B<--hooks> I<FILE>"
1412 msgstr ""
1413
1414 #. type: Plain text
1415 #: en/lb_config.1:338
1416 msgid ""
1417 "defines which hooks available in /usr/share/live/build/examples/hooks should "
1418 "be activated. Normally, there are no hooks executed. Make sure you know and "
1419 "understood the hook before you enable it."
1420 msgstr ""
1421
1422 #. type: IP
1423 #: en/lb_config.1:338
1424 #, no-wrap
1425 msgid "B<--ignore-system-defaults>"
1426 msgstr ""
1427
1428 #. type: Plain text
1429 #: en/lb_config.1:340
1430 msgid ""
1431 "B<lb config> by default reads system defaults from I</etc/live/build.conf> "
1432 "and I</etc/live/build/*> when generating a new live system config directory. "
1433 "This is useful if you want to set global settings, such as mirror locations, "
1434 "and don't want to specify them all of the time."
1435 msgstr ""
1436
1437 #. type: IP
1438 #: en/lb_config.1:340
1439 #, no-wrap
1440 msgid "B<--initramfs> auto|none|live-boot|casper"
1441 msgstr ""
1442
1443 #. type: Plain text
1444 #: en/lb_config.1:342
1445 msgid ""
1446 "sets the name of package that contains the live system specific initramfs "
1447 "modification. By default, auto is used, which means that at build time of "
1448 "the image rather than on configuration time, the value will be expanded to "
1449 "casper when building ubuntu systems, to live-boot for all other systems. "
1450 "Using 'none' is useful if the resulting system image should not be a live "
1451 "image (experimental)."
1452 msgstr ""
1453
1454 #. type: IP
1455 #: en/lb_config.1:342
1456 #, no-wrap
1457 msgid "B<--initramfs-compression> bzip2|gzip|lzma]"
1458 msgstr ""
1459
1460 #. type: Plain text
1461 #: en/lb_config.1:344
1462 msgid ""
1463 "defines the compression program to be used to compress the initramfs. "
1464 "Defaults to gzip."
1465 msgstr ""
1466
1467 #. type: IP
1468 #: en/lb_config.1:344
1469 #, no-wrap
1470 msgid "B<--interactive> shell"
1471 msgstr ""
1472
1473 #. type: Plain text
1474 #: en/lb_config.1:346
1475 msgid ""
1476 "defines if after the chroot stage and before the beginning of the binary "
1477 "stage, a interactive shell login should be spawned in the chroot in order to "
1478 "allow you to do manual customizations. Once you close the shell with logout "
1479 "or exit, the build will continue as usual. Note that it's strongly "
1480 "discouraged to use this for anything else than testing. Modifications that "
1481 "should be present in all builds of a live system should be properly made "
1482 "through hooks. Everything else destroys the beauty of being able to "
1483 "completely automatise the build process and making it non interactive. By "
1484 "default, this is of course false."
1485 msgstr ""
1486
1487 #. type: IP
1488 #: en/lb_config.1:346
1489 #, no-wrap
1490 msgid "B<--isohybrid-options> I<OPTION>|\"I<OPTIONS>\""
1491 msgstr ""
1492
1493 #. type: Plain text
1494 #: en/lb_config.1:348
1495 msgid "defines options to pass to isohybrid."
1496 msgstr ""
1497
1498 #. type: IP
1499 #: en/lb_config.1:348
1500 #, no-wrap
1501 msgid "B<--iso-application> I<NAME>"
1502 msgstr ""
1503
1504 #. type: Plain text
1505 #: en/lb_config.1:350
1506 msgid ""
1507 "sets the APPLICATION field in the header of a resulting CD/DVD image and "
1508 "defaults to \"Debian Live\" in debian mode, and to \"Emdebian Live\" in "
1509 "emdebian mode, and \"Ubuntu Live\" in ubuntu mode."
1510 msgstr ""
1511
1512 #. type: IP
1513 #: en/lb_config.1:350
1514 #, no-wrap
1515 msgid "B<--iso-preparer> I<NAME>"
1516 msgstr ""
1517
1518 #. type: Plain text
1519 #: en/lb_config.1:352
1520 msgid ""
1521 "sets the PREPARER field in the header of a resulting CD/DVD image. By "
1522 "default this is set to \"live-build I<VERSION>; http://packages.qa.debian."
1523 "org/live-build\", whereas VERSION is expanded to the version of live-build "
1524 "that was used to build the image."
1525 msgstr ""
1526
1527 #. type: IP
1528 #: en/lb_config.1:352
1529 #, no-wrap
1530 msgid "B<--iso-publisher> I<NAME>"
1531 msgstr ""
1532
1533 #. type: Plain text
1534 #: en/lb_config.1:354
1535 msgid ""
1536 "sets the PUBLISHED field in the header of a resulting CD/DVD image. By "
1537 "default, this is set to 'Debian Live project; http:/live.debian.net/; debian-"
1538 "[email protected]'. Remember to change this to the appropriate values at "
1539 "latest when you distributing custom and unofficial images."
1540 msgstr ""
1541
1542 #. type: IP
1543 #: en/lb_config.1:354
1544 #, no-wrap
1545 msgid "B<--iso-volume> I<NAME>"
1546 msgstr ""
1547
1548 #. type: Plain text
1549 #: en/lb_config.1:356
1550 msgid ""
1551 "sets the VOLUME field in the header of a resulting CD/DVD and defaults to "
1552 "'(I<MODE>) (I<DISTRIBUTION>) (I<DATE>)' whereas MODE is expanded to the name "
1553 "of the mode in use, DISTRIBUTION the distribution name, and DATE with the "
1554 "current date and time of the generation."
1555 msgstr ""
1556
1557 #. type: IP
1558 #: en/lb_config.1:356
1559 #, no-wrap
1560 msgid "B<--jffs2-eraseblock> I<SIZE>"
1561 msgstr ""
1562
1563 #. type: Plain text
1564 #: en/lb_config.1:358
1565 msgid ""
1566 "sets the eraseblock size for a JFFS2 (Second Journalling Flash File System) "
1567 "filesystem. The default is 64 KiB. If you use an erase block size different "
1568 "than the erase block size of the target MTD device, JFFS2 may not perform "
1569 "optimally. If the SIZE specified is below 4096, the units are assumed to be "
1570 "KiB."
1571 msgstr ""
1572
1573 #. type: IP
1574 #: en/lb_config.1:358
1575 #, no-wrap
1576 msgid "B<--keyring-packages> I<PACKAGE|\"PACKAGES>\""
1577 msgstr ""
1578
1579 #. type: Plain text
1580 #: en/lb_config.1:360
1581 msgid ""
1582 "sets the keyring package or additional keyring packages. By default this is "
1583 "set to debian-archive-keyring."
1584 msgstr ""
1585
1586 #. type: IP
1587 #: en/lb_config.1:360
1588 #, no-wrap
1589 msgid "-k|B<--linux-flavours> I<FLAVOUR>|\"I<FLAVOURS>\""
1590 msgstr ""
1591
1592 #. type: Plain text
1593 #: en/lb_config.1:362
1594 msgid ""
1595 "sets the kernel flavours to be installed. Note that in case you specify more "
1596 "than that the first will be configured the default kernel that gets booted."
1597 msgstr ""
1598
1599 #. type: IP
1600 #: en/lb_config.1:362
1601 #, no-wrap
1602 msgid "B<--linux-packages> \"I<PACKAGES>\""
1603 msgstr ""
1604
1605 #. type: Plain text
1606 #: en/lb_config.1:364
1607 msgid ""
1608 "sets the internal name of the kernel packages naming scheme. If you use "
1609 "debian kernel packages, you will not have to adjust it. If you decide to use "
1610 "custom kernel packages that do not follow the debian naming scheme, remember "
1611 "to set this option to the stub of the packages only (for debian this is "
1612 "linux-image-2.6), so that I<STUB>-I<FLAVOUR> results in a valid package name "
1613 "(for debian e.g. linux-image-2.6-486). Preferably you use the meta package "
1614 "name, if any, for the stub, so that your configuration is ABI independent. "
1615 "Also don't forget that you have to include stubs of the binary modules "
1616 "packages for unionfs or aufs, and squashfs if you built them out-of-tree."
1617 msgstr ""
1618
1619 #. type: IP
1620 #: en/lb_config.1:364
1621 #, no-wrap
1622 msgid "B<--losetup> losetup|losetup.orig"
1623 msgstr ""
1624
1625 #. type: Plain text
1626 #: en/lb_config.1:366
1627 msgid ""
1628 "sets the filename of the losetup binary from the host system that should be "
1629 "used. This is autodetected and does generally not need any customization."
1630 msgstr ""
1631
1632 #. type: IP
1633 #: en/lb_config.1:366
1634 #, no-wrap
1635 msgid "B<--memtest> memtest86+|memtest86|none"
1636 msgstr ""
1637
1638 #. type: Plain text
1639 #: en/lb_config.1:368
1640 msgid ""
1641 "defines if memtest, memtest86+ or no memory tester at all should be included "
1642 "as secondary bootloader configuration. This is only available on amd64 and "
1643 "i386 and defaults to memtest86+."
1644 msgstr ""
1645
1646 #. type: IP
1647 #: en/lb_config.1:368
1648 #, no-wrap
1649 msgid "-m|B<--parent-mirror-bootstrap> I<URL>"
1650 msgstr ""
1651
1652 #. type: Plain text
1653 #: en/lb_config.1:370
1654 msgid ""
1655 "sets the location of the debian package mirror that should be used to "
1656 "bootstrap from. This defaults to http://ftp.de.debian.org/debian/ which may "
1657 "not be a good default if you live outside of Europe."
1658 msgstr ""
1659
1660 #. type: IP
1661 #: en/lb_config.1:370
1662 #, no-wrap
1663 msgid "B<--parent-mirror-chroot> I<URL>"
1664 msgstr ""
1665
1666 #. type: Plain text
1667 #: en/lb_config.1:372
1668 msgid ""
1669 "sets the location of the debian package mirror that will be used to fetch "
1670 "the packages in order to build the live system. By default, this is set to "
1671 "the value of --parent-mirror-bootstrap."
1672 msgstr ""
1673
1674 #. type: IP
1675 #: en/lb_config.1:372
1676 #, no-wrap
1677 msgid "B<--parent-mirror-chroot-security> I<URL>"
1678 msgstr ""
1679
1680 #. type: Plain text
1681 #: en/lb_config.1:374
1682 msgid ""
1683 "sets the location of the debian security package mirror that will be used to "
1684 "fetch the packages in order to build the live system. By default, this "
1685 "points to http://security.debian.org/debian/."
1686 msgstr ""
1687
1688 #. type: IP
1689 #: en/lb_config.1:374
1690 #, no-wrap
1691 msgid "B<--parent-mirror-chroot-updates> I<URL>"
1692 msgstr ""
1693
1694 #. type: Plain text
1695 #: en/lb_config.1:376
1696 msgid ""
1697 "sets the location of the debian updates package mirror that will be used to "
1698 "fetch packages in order to build the live system. By default, this is set to "
1699 "the value of --parent-mirror-chroot."
1700 msgstr ""
1701
1702 #. type: IP
1703 #: en/lb_config.1:376
1704 #, no-wrap
1705 msgid "B<--parent-mirror-chroot-backports> I<URL>"
1706 msgstr ""
1707
1708 #. type: Plain text
1709 #: en/lb_config.1:378
1710 msgid ""
1711 "sets the location of the debian backports package mirror that will be used "
1712 "to fetch packages in order to build the live system. By default, this points "
1713 "to http://backports.debian.org/debian-backports/."
1714 msgstr ""
1715
1716 #. type: IP
1717 #: en/lb_config.1:378
1718 #, no-wrap
1719 msgid "B<--parent-mirror-binary> I<URL>"
1720 msgstr ""
1721
1722 #. type: Plain text
1723 #: en/lb_config.1:380
1724 msgid ""
1725 "sets the location of the debian package mirror that should end up configured "
1726 "in the final image and which is the one a user would see and use. This has "
1727 "not necessarily to be the same that is used to build the image, e.g. if you "
1728 "use a local mirror but want to have an official mirror in the image. By "
1729 "default, 'http://http.debian.net/debian/' is used."
1730 msgstr ""
1731
1732 #. type: IP
1733 #: en/lb_config.1:380
1734 #, no-wrap
1735 msgid "B<--parent-mirror-binary-security> I<URL>"
1736 msgstr ""
1737
1738 #. type: Plain text
1739 #: en/lb_config.1:382
1740 msgid ""
1741 "sets the location of the debian security package mirror that should end up "
1742 "configured in the final image. By default, 'http://security.debian.org/' is "
1743 "used."
1744 msgstr ""
1745
1746 #. type: IP
1747 #: en/lb_config.1:382
1748 #, no-wrap
1749 msgid "B<--parent-mirror-binary-updates> I<URL>"
1750 msgstr ""
1751
1752 #. type: Plain text
1753 #: en/lb_config.1:384
1754 msgid ""
1755 "sets the location of the debian updates package mirror that should end up "
1756 "configured in the final image. By default, the value of --parent-mirror-"
1757 "binary is used."
1758 msgstr ""
1759
1760 #. type: IP
1761 #: en/lb_config.1:384
1762 #, no-wrap
1763 msgid "B<--parent-mirror-binary-backports> I<URL>"
1764 msgstr ""
1765
1766 #. type: Plain text
1767 #: en/lb_config.1:386
1768 msgid ""
1769 "sets the location of the debian backports package mirror that should end up "
1770 "configured in the final image. By default, 'http://backports.debian.org/"
1771 "debian-backports/' is used."
1772 msgstr ""
1773
1774 #. type: IP
1775 #: en/lb_config.1:386
1776 #, no-wrap
1777 msgid "B<--parent-mirror-debian-installer> I<URL>"
1778 msgstr ""
1779
1780 #. type: Plain text
1781 #: en/lb_config.1:388
1782 msgid ""
1783 "sets the location of the mirror that will be used to fetch the debian "
1784 "installer images. By default, this points to the same mirror used to build "
1785 "the live system, i.e. the value of --parent-mirror-bootstrap."
1786 msgstr ""
1787
1788 #. type: IP
1789 #: en/lb_config.1:388
1790 #, no-wrap
1791 msgid "B<--mirror-bootstrap> I<URL>"
1792 msgstr ""
1793
1794 #. type: Plain text
1795 #: en/lb_config.1:390
1796 msgid ""
1797 "sets the location of the debian package mirror that should be used to "
1798 "bootstrap the derivative from. This defaults to http://ftp.de.debian.org/"
1799 "debian/ which may not be a good default if you live outside of Europe."
1800 msgstr ""
1801
1802 #. type: IP
1803 #: en/lb_config.1:390
1804 #, no-wrap
1805 msgid "B<--mirror-chroot> I<URL>"
1806 msgstr ""
1807
1808 #. type: Plain text
1809 #: en/lb_config.1:392
1810 msgid ""
1811 "sets the location of the debian package mirror that will be used to fetch "
1812 "the packages of the derivative in order to build the live system. By "
1813 "default, this is set to the value of --mirror-bootstrap."
1814 msgstr ""
1815
1816 #. type: IP
1817 #: en/lb_config.1:392
1818 #, no-wrap
1819 msgid "B<--mirror-chroot-security> I<URL>"
1820 msgstr ""
1821
1822 #. type: Plain text
1823 #: en/lb_config.1:394
1824 msgid ""
1825 "sets the location of the debian security package mirror that will be used to "
1826 "fetch the packages of the derivative in order to build the live system. By "
1827 "default, this points to http://security.debian.org/debian/."
1828 msgstr ""
1829
1830 #. type: IP
1831 #: en/lb_config.1:394
1832 #, no-wrap
1833 msgid "B<--mirror-chroot-updates> I<URL>"
1834 msgstr ""
1835
1836 #. type: Plain text
1837 #: en/lb_config.1:396
1838 msgid ""
1839 "sets the location of the debian updates package mirror that will be used to "
1840 "fetch packages of the derivative in order to build the live system. By "
1841 "default, this is set to the value of --mirror-chroot."
1842 msgstr ""
1843
1844 #. type: IP
1845 #: en/lb_config.1:396
1846 #, no-wrap
1847 msgid "B<--mirror-chroot-backports> I<URL>"
1848 msgstr ""
1849
1850 #. type: Plain text
1851 #: en/lb_config.1:398
1852 msgid ""
1853 "sets the location of the debian backports package mirror that will be used "
1854 "to fetch packages of the derivative in order to build the live system. By "
1855 "default, this points to http://backports.debian.org/debian-backports/."
1856 msgstr ""
1857
1858 #. type: IP
1859 #: en/lb_config.1:398
1860 #, no-wrap
1861 msgid "B<--mirror-binary> I<URL>"
1862 msgstr ""
1863
1864 #. type: Plain text
1865 #: en/lb_config.1:400
1866 msgid ""
1867 "sets the location of the derivative package mirror that should end up "
1868 "configured in the final image and which is the one a user would see and use. "
1869 "This has not necessarily to be the same that is used to build the image, e."
1870 "g. if you use a local mirror but want to have an official mirror in the "
1871 "image."
1872 msgstr ""
1873
1874 #. type: IP
1875 #: en/lb_config.1:400
1876 #, no-wrap
1877 msgid "B<--mirror-binary-security> I<URL>"
1878 msgstr ""
1879
1880 #. type: Plain text
1881 #: en/lb_config.1:402
1882 msgid ""
1883 "sets the location of the derivatives security package mirror that should end "
1884 "up configured in the final image."
1885 msgstr ""
1886
1887 #. type: IP
1888 #: en/lb_config.1:402
1889 #, no-wrap
1890 msgid "B<--mirror-binary-updates> I<URL>"
1891 msgstr ""
1892
1893 #. type: Plain text
1894 #: en/lb_config.1:404
1895 msgid ""
1896 "sets the location of the derivatives updates package mirror that should end "
1897 "up configured in the final image."
1898 msgstr ""
1899
1900 #. type: IP
1901 #: en/lb_config.1:404
1902 #, no-wrap
1903 msgid "B<--mirror-binary-backports> I<URL>"
1904 msgstr ""
1905
1906 #. type: Plain text
1907 #: en/lb_config.1:406
1908 msgid ""
1909 "sets the location of the derivatives backports package mirror that should "
1910 "end up configured in the final image."
1911 msgstr ""
1912
1913 #. type: IP
1914 #: en/lb_config.1:406
1915 #, no-wrap
1916 msgid "B<--mirror-debian-installer> I<URL>"
1917 msgstr ""
1918
1919 #. type: Plain text
1920 #: en/lb_config.1:408
1921 msgid ""
1922 "sets the location of the mirror that will be used to fetch the debian "
1923 "installer images of the derivative. By default, this points to the same "
1924 "mirror used to build the live system, i.e. the value of --mirror-bootstrap."
1925 msgstr ""
1926
1927 #. type: IP
1928 #: en/lb_config.1:408
1929 #, no-wrap
1930 msgid "B<--mode> debian|emdebian|progress|ubuntu"
1931 msgstr ""
1932
1933 #. type: Plain text
1934 #: en/lb_config.1:410
1935 msgid ""
1936 "defines a global mode to load project specific defaults. By default this is "
1937 "set to debian."
1938 msgstr ""
1939
1940 #. type: IP
1941 #: en/lb_config.1:410
1942 #, no-wrap
1943 msgid "B<--system> live|normal"
1944 msgstr ""
1945
1946 #. type: Plain text
1947 #: en/lb_config.1:412
1948 msgid ""
1949 "defines if the resulting system image should a live system or a normal, non-"
1950 "live system."
1951 msgstr ""
1952
1953 #. type: IP
1954 #: en/lb_config.1:412
1955 #, no-wrap
1956 msgid "B<--net-root-filesystem> nfs|cfs"
1957 msgstr ""
1958
1959 #. type: Plain text
1960 #: en/lb_config.1:414
1961 msgid ""
1962 "defines the filesystem that will be configured in the bootloader "
1963 "configuration for your netboot image. This defaults to nfs."
1964 msgstr ""
1965
1966 #. type: IP
1967 #: en/lb_config.1:414
1968 #, no-wrap
1969 msgid "B<--net-root-mountoptions> I<OPTIONS>"
1970 msgstr ""
1971
1972 #. type: Plain text
1973 #: en/lb_config.1:416
1974 msgid ""
1975 "sets additional options for mounting the root filesystem in netboot images "
1976 "and is by default empty."
1977 msgstr ""
1978
1979 #. type: IP
1980 #: en/lb_config.1:416
1981 #, no-wrap
1982 msgid "B<--net-root-path> I<PATH>"
1983 msgstr ""
1984
1985 #. type: Plain text
1986 #: en/lb_config.1:418
1987 msgid ""
1988 "sets the file path that will be configured in the bootloader configuration "
1989 "for your netboot image. This defaults to /srv/debian-live in debian mode and "
1990 "to /srv/emebian-live when being in emdebian mode, and /srv/ubuntu-live when "
1991 "in ubuntu mode."
1992 msgstr ""
1993
1994 #. type: IP
1995 #: en/lb_config.1:418
1996 #, no-wrap
1997 msgid "B<--net-root-server> I<IP>|I<HOSTNAME>"
1998 msgstr ""
1999
2000 #. type: Plain text
2001 #: en/lb_config.1:420
2002 msgid ""
2003 "sets the IP or hostname that will be configured in the bootloader "
2004 "configuration for the root filesystem of your netboot image. This defaults "
2005 "to 192.168.1.1."
2006 msgstr ""
2007
2008 #. type: IP
2009 #: en/lb_config.1:420
2010 #, no-wrap
2011 msgid "B<--net-cow-filesystem> nfs|cfs"
2012 msgstr ""
2013
2014 #. type: Plain text
2015 #: en/lb_config.1:422
2016 msgid ""
2017 "defines the filesystem type for the copy-on-write layer and defaults to nfs."
2018 msgstr ""
2019
2020 #. type: IP
2021 #: en/lb_config.1:422
2022 #, no-wrap
2023 msgid "B<--net-cow-mountoptions> I<OPTIONS>"
2024 msgstr ""
2025
2026 #. type: Plain text
2027 #: en/lb_config.1:424
2028 msgid ""
2029 "sets additional options for mounting the copy-on-write layer in netboot "
2030 "images and is by default empty."
2031 msgstr ""
2032
2033 #. type: IP
2034 #: en/lb_config.1:424
2035 #, no-wrap
2036 msgid "B<--net-cow-path> I<PATH>"
2037 msgstr ""
2038
2039 #. type: Plain text
2040 #: en/lb_config.1:426
2041 msgid ""
2042 "defines the path to client writable filesystem. Anywhere that "
2043 "I<client_mac_address> is specified in the path live-boot will substitute the "
2044 "MAC address of the client delimited with hyphens."
2045 msgstr ""
2046
2047 #. type: Plain text
2048 #: en/lb_config.1:429
2049 msgid "Example:"
2050 msgstr ""
2051
2052 #. type: Plain text
2053 #: en/lb_config.1:431
2054 msgid "/export/hosts/client_mac_address"
2055 msgstr ""
2056
2057 #. type: Plain text
2058 #: en/lb_config.1:433
2059 msgid "/export/hosts/00-16-D3-33-92-E8"
2060 msgstr ""
2061
2062 #. type: IP
2063 #: en/lb_config.1:433
2064 #, no-wrap
2065 msgid "B<--net-cow-server> I<IP>|I<HOSTNAME>"
2066 msgstr ""
2067
2068 #. type: Plain text
2069 #: en/lb_config.1:435
2070 msgid ""
2071 "sets the IP or hostname that will be configured in the bootloader "
2072 "configuration for the copy-on-write filesystem of your netboot image and is "
2073 "by default empty."
2074 msgstr ""
2075
2076 #. type: IP
2077 #: en/lb_config.1:435
2078 #, no-wrap
2079 msgid "B<--net-tarball> true|false"
2080 msgstr ""
2081
2082 #. type: Plain text
2083 #: en/lb_config.1:437
2084 msgid ""
2085 "defines if a compressed tarball should be created. Disabling this options "
2086 "leads to no tarball at all, the plain binary directory is considered the "
2087 "output in this case. Default is true."
2088 msgstr ""
2089
2090 #. type: IP
2091 #: en/lb_config.1:437
2092 #, no-wrap
2093 msgid "-p|B<--package-lists> I<LIST>|\"I<LISTS>\""
2094 msgstr ""
2095
2096 #. type: Plain text
2097 #: en/lb_config.1:439
2098 msgid ""
2099 "defines which lists available in /usr/share/live/build/package-lists should "
2100 "be used. By default, this is set to standard. Note that in case you have "
2101 "local package lists, you don't need to list them here. Putting them into "
2102 "config/package-lists is enough (the filename needs to have the .list suffix "
2103 "though)."
2104 msgstr ""
2105
2106 #. type: IP
2107 #: en/lb_config.1:439 en/live-build.7:40
2108 #, no-wrap
2109 msgid "B<--quiet>"
2110 msgstr ""
2111
2112 #. type: Plain text
2113 #: en/lb_config.1:441
2114 msgid "reduces the verbosity of messages output by B<lb build>."
2115 msgstr ""
2116
2117 #. type: IP
2118 #: en/lb_config.1:441
2119 #, no-wrap
2120 msgid "B<--archives> I<ARCHIVE>|\"I<ARCHIVES>\""
2121 msgstr ""
2122
2123 #. type: Plain text
2124 #: en/lb_config.1:443
2125 msgid ""
2126 "enables one of available third-party archive configurations in /usr/share/"
2127 "live/build/archives."
2128 msgstr ""
2129
2130 #. type: IP
2131 #: en/lb_config.1:443
2132 #, no-wrap
2133 msgid "B<--root-command> sudo"
2134 msgstr ""
2135
2136 #. type: Plain text
2137 #: en/lb_config.1:445
2138 msgid ""
2139 "controls if live-build should use sudo internally to build the live image. "
2140 "Note that this is not well tested and that you should, when relying on sudo, "
2141 "call the individual live-build command with sudo itself."
2142 msgstr ""
2143
2144 #. type: IP
2145 #: en/lb_config.1:445
2146 #, no-wrap
2147 msgid "B<--use-fakeroot> true|false"
2148 msgstr ""
2149
2150 #. type: Plain text
2151 #: en/lb_config.1:447
2152 msgid ""
2153 "controls if live-build should utilize fakeroot and fakechroot to try and "
2154 "avoid requiring root privillages where possible. By default, this option is "
2155 "false."
2156 msgstr ""
2157
2158 #. type: IP
2159 #: en/lb_config.1:447
2160 #, no-wrap
2161 msgid "B<--archive-areas> I<ARCHIVE_AREA>|\"I<ARCHIVE_AREAS>\""
2162 msgstr ""
2163
2164 #. type: Plain text
2165 #: en/lb_config.1:449
2166 msgid ""
2167 "defines which package archive areas of a debian packages archive should be "
2168 "used for configured debian package mirrors. By default, this is set to main. "
2169 "Remember to check the licenses of each packages with respect to their "
2170 "redistributability in your juristiction when enabling contrib or non-free "
2171 "with this mechanism."
2172 msgstr ""
2173
2174 #. type: IP
2175 #: en/lb_config.1:449
2176 #, no-wrap
2177 msgid "B<--parent-archive-areas> I<PARENT_ARCHIVE_AREA>|\"I<PARENT_ARCHIVE_AREAS>\""
2178 msgstr ""
2179
2180 #. type: Plain text
2181 #: en/lb_config.1:451
2182 msgid "defines the archive areas for derivatives of the resulting live system."
2183 msgstr ""
2184
2185 #. type: IP
2186 #: en/lb_config.1:451
2187 #, no-wrap
2188 msgid "B<--security> true|false"
2189 msgstr ""
2190
2191 #. type: Plain text
2192 #: en/lb_config.1:453
2193 msgid ""
2194 "defines if the security repositories specified in the security mirror "
2195 "options should be used or not."
2196 msgstr ""
2197
2198 #. type: IP
2199 #: en/lb_config.1:453
2200 #, no-wrap
2201 msgid "B<--source> true|false"
2202 msgstr ""
2203
2204 #. type: Plain text
2205 #: en/lb_config.1:455
2206 msgid ""
2207 "defines if a corresponding source image to the binary image should be build. "
2208 "By default this is false because most people do not require this and would "
2209 "require to download quite a few source packages. However, once you start "
2210 "distributing your live image, you should make sure you build it with a "
2211 "source image alongside."
2212 msgstr ""
2213
2214 #. type: IP
2215 #: en/lb_config.1:455
2216 #, no-wrap
2217 msgid "-s|B<--source-images> iso|netboot|tar|hdd"
2218 msgstr ""
2219
2220 #. type: Plain text
2221 #: en/lb_config.1:457
2222 msgid "defines the image type for the source image. Default is tar."
2223 msgstr ""
2224
2225 #. type: IP
2226 #: en/lb_config.1:457
2227 #, no-wrap
2228 msgid "B<--firmware-binary> true|false"
2229 msgstr ""
2230
2231 #. type: Plain text
2232 #: en/lb_config.1:459
2233 msgid ""
2234 "defines if firmware packages should be automatically included into the "
2235 "binary pool for debian-installer. Note that only firmware packages available "
2236 "within the configured archive areas are included, e.g. an image with "
2237 "packages from main only will not automatically include firmware from non-"
2238 "free. This option does not interfere with explicitly listed packages in "
2239 "binary package lists."
2240 msgstr ""
2241
2242 #. type: IP
2243 #: en/lb_config.1:459
2244 #, no-wrap
2245 msgid "B<--firmware-chroot> true|false"
2246 msgstr ""
2247
2248 #. type: Plain text
2249 #: en/lb_config.1:461
2250 msgid ""
2251 "defines if firmware packages should be automatically included into the live "
2252 "image. Note that only firmware packages available within the configured "
2253 "archive areas are included, e.g. an image with packages from main only will "
2254 "not automatically include firmware from non-free. This option does not "
2255 "interfere with explicitly listed packages in chroot package lists."
2256 msgstr ""
2257
2258 #. type: IP
2259 #: en/lb_config.1:461
2260 #, no-wrap
2261 msgid "B<--swap-file-path> I<PATH>"
2262 msgstr ""
2263
2264 #. type: Plain text
2265 #: en/lb_config.1:463
2266 msgid ""
2267 "defines the path to a swap file to create in the binary image. Default is "
2268 "not to create a swap file."
2269 msgstr ""
2270
2271 #. type: IP
2272 #: en/lb_config.1:463
2273 #, no-wrap
2274 msgid "B<--swap-file-size> I<MB>"
2275 msgstr ""
2276
2277 #. type: Plain text
2278 #: en/lb_config.1:465
2279 msgid ""
2280 "defines what size in megabytes the swap file should be, if one is to be "
2281 "created. Default is 512MB."
2282 msgstr ""
2283
2284 #. type: IP
2285 #: en/lb_config.1:465
2286 #, no-wrap
2287 msgid "B<--syslinux-theme> I<THEME_SUFFIX>"
2288 msgstr ""
2289
2290 #. type: Plain text
2291 #: en/lb_config.1:467
2292 msgid ""
2293 "defines the syslinux theme to use. The theme suffix is the name of a "
2294 "directory in /usr/share/syslinux/themes/ provided by a package named "
2295 "syslinux-theme- plus the suffix. In debian mode, this defaults to debian-"
2296 "squeeze."
2297 msgstr ""
2298
2299 #. type: IP
2300 #: en/lb_config.1:467
2301 #, no-wrap
2302 msgid "B<--tasksel> apt|aptitude|tasksel"
2303 msgstr ""
2304
2305 #. type: Plain text
2306 #: en/lb_config.1:469
2307 msgid ""
2308 "selects which program is used to install tasks. By default, this is set to "
2309 "tasksel."
2310 msgstr ""
2311
2312 #. type: IP
2313 #: en/lb_config.1:469
2314 #, no-wrap
2315 msgid "B<--templates> I<PATH>"
2316 msgstr ""
2317
2318 #. type: Plain text
2319 #: en/lb_config.1:471
2320 msgid ""
2321 "sets the path to the templates that live-build is going to use, e.g. for "
2322 "bootloaders. By default, this is set to /usr/share/live/build/templates/."
2323 msgstr ""
2324
2325 #. type: IP
2326 #: en/lb_config.1:471
2327 #, no-wrap
2328 msgid "B<--hdd-size> MB"
2329 msgstr ""
2330
2331 #. type: Plain text
2332 #: en/lb_config.1:473
2333 msgid ""
2334 "defines what size the hdd image should be. Note that although the default is "
2335 "set to 10000 (= 10GB), it will not need 10GB space on your harddisk as the "
2336 "files are created as sparse files."
2337 msgstr ""
2338
2339 #. type: IP
2340 #: en/lb_config.1:473
2341 #, no-wrap
2342 msgid "B<--updates> true|false"
2343 msgstr ""
2344
2345 #. type: Plain text
2346 #: en/lb_config.1:475
2347 msgid ""
2348 "defines if debian updates package archives should be included in the image "
2349 "or not."
2350 msgstr ""
2351
2352 #. type: IP
2353 #: en/lb_config.1:475
2354 #, no-wrap
2355 msgid "B<--backports> true|false"
2356 msgstr ""
2357
2358 #. type: Plain text
2359 #: en/lb_config.1:477
2360 msgid ""
2361 "defines if debian backports package archives should be included in the image "
2362 "or not."
2363 msgstr ""
2364
2365 #. type: IP
2366 #: en/lb_config.1:477
2367 #, no-wrap
2368 msgid "B<--exposed-root> true|false"
2369 msgstr ""
2370
2371 #. type: Plain text
2372 #: en/lb_config.1:479
2373 msgid ""
2374 "defines whether to expose the root filesystem as read only and not covered "
2375 "by the union filesystem. This has useful implications for certain speciality "
2376 "setups such as LTSP. By default, this option is false."
2377 msgstr ""
2378
2379 #. type: IP
2380 #: en/lb_config.1:479 en/live-build.7:42
2381 #, no-wrap
2382 msgid "B<--verbose>"
2383 msgstr ""
2384
2385 #. type: Plain text
2386 #: en/lb_config.1:481
2387 msgid "increases the verbosity of messages output by B<lb build>."
2388 msgstr ""
2389
2390 #. type: IP
2391 #: en/lb_config.1:481
2392 #, no-wrap
2393 msgid "B<--win32-loader true|false>"
2394 msgstr ""
2395
2396 #. FIXME
2397 #. type: Plain text
2398 #: en/lb_config.1:484
2399 msgid "defines if win32-loader should be included in the binary image or not."
2400 msgstr ""
2401
2402 #. type: SH
2403 #: en/lb_config.1:485
2404 #, no-wrap
2405 msgid "ENVIRONMENT"
2406 msgstr ""
2407
2408 #. FIXME
2409 #. type: Plain text
2410 #: en/lb_config.1:488
2411 msgid ""
2412 "Currently, command line switches can also be specified through the "
2413 "corresponding environment variable. However, this generally should not be "
2414 "relied upon, as it is an implementation detail that is subject to change in "
2415 "future releases. For options applying directly to live-build, environment "
2416 "variables are named LB_FOO, meaning, e.g. B<--apt-ftp-proxy> becomes "
2417 "LB_APT_FTP_PROXY (the exception being internal options such as B<--debug>). "
2418 "For options passed to another program, as in APT_OPTIONS or GZIP_OPTIONS, no "
2419 "LB_ prefix is used."
2420 msgstr ""
2421
2422 #. FIXME
2423 #. type: IP
2424 #: en/lb_config.1:492
2425 #, no-wrap
2426 msgid "B<auto/config>"
2427 msgstr ""
2428
2429 #. type: IP
2430 #: en/lb_config.1:493
2431 #, no-wrap
2432 msgid "B</etc/live/build.conf, /etc/live/build/*>"
2433 msgstr ""
2434
2435 #. FIXME
2436 #. type: Plain text
2437 #: en/lb_config.1:496
2438 msgid ""
2439 "An optional, global configuration file for B<lb config> variables. It is "
2440 "useful to specify a few system wide defaults, like "
2441 "LB_PARENT_MIRROR_BOOTSTRAP. This feature can be false by specifying the B<--"
2442 "ignore-system-defaults> option."
2443 msgstr ""
2444
2445 #. type: Plain text
2446 #: en/lb_config.1:501 en/live-build.7:225
2447 msgid "I<live-boot>(7)"
2448 msgstr ""
2449
2450 #. type: Plain text
2451 #: en/lb_config.1:503 en/live-build.7:227
2452 msgid "I<live-config>(7)"
2453 msgstr ""
0 # German translations for live-build package
1 # Copyright (C) 2012 Free Software Foundation, Inc.
2 # This file is distributed under the same license as the live-build package.
3 # Automatically generated, 2012.
4 #
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: live-build VERSION\n"
8 "POT-Creation-Date: 2012-12-23 10:50+0100\n"
9 "PO-Revision-Date: 2012-08-02 18:55+0300\n"
10 "Last-Translator: Automatically generated\n"
11 "Language-Team: none\n"
12 "Language: de\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=ASCII\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
18 #. type: TH
19 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
20 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
21 #: en/lb_testroot.1:1 en/live-build.7:1
22 #, no-wrap
23 msgid "LIVE-BUILD"
24 msgstr ""
25
26 #. type: TH
27 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
28 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
29 #: en/lb_testroot.1:1 en/live-build.7:1
30 #, no-wrap
31 msgid "2012-12-23"
32 msgstr ""
33
34 #. type: TH
35 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
36 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
37 #: en/lb_testroot.1:1 en/live-build.7:1
38 #, no-wrap
39 msgid "3.0~b4-1"
40 msgstr ""
41
42 #. type: TH
43 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
44 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
45 #: en/lb_testroot.1:1 en/live-build.7:1
46 #, no-wrap
47 msgid "Debian Live Project"
48 msgstr ""
49
50 #. type: SH
51 #: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3
52 #: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3
53 #: en/lb_testroot.1:3 en/live-build.7:3
54 #, no-wrap
55 msgid "NAME"
56 msgstr ""
57
58 #. type: SH
59 #: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6
60 #: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6
61 #: en/lb_testroot.1:6 en/live-build.7:6
62 #, no-wrap
63 msgid "SYNOPSIS"
64 msgstr ""
65
66 #. type: SH
67 #: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9
68 #: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9
69 #: en/lb_testroot.1:9 en/live-build.7:11
70 #, no-wrap
71 msgid "DESCRIPTION"
72 msgstr ""
73
74 #. type: SH
75 #: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14
76 #: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14
77 #: en/lb_testroot.1:18 en/live-build.7:20
78 #, no-wrap
79 msgid "OPTIONS"
80 msgstr ""
81
82 #. type: SH
83 #: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17
84 #: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17
85 #: en/lb_testroot.1:21 en/live-build.7:219
86 #, no-wrap
87 msgid "FILES"
88 msgstr ""
89
90 #. type: IP
91 #: en/lb.1:20 en/lb_binary.1:18 en/lb_bootstrap.1:18 en/lb_chroot.1:18
92 #: en/lb_source.1:18 en/lb_testroot.1:22
93 #, no-wrap
94 msgid "B<none>"
95 msgstr ""
96
97 #. type: SH
98 #: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22
99 #: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20
100 #: en/lb_testroot.1:24 en/live-build.7:223
101 #, no-wrap
102 msgid "SEE ALSO"
103 msgstr ""
104
105 #. type: Plain text
106 #: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24
107 #: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22
108 #: en/lb_testroot.1:26
109 msgid "I<live-build>(7)"
110 msgstr ""
111
112 #. type: Plain text
113 #: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26
114 #: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24
115 #: en/lb_testroot.1:28 en/live-build.7:229
116 msgid "This program is a part of live-build."
117 msgstr ""
118
119 #. type: SH
120 #: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27
121 #: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25
122 #: en/lb_testroot.1:29 en/live-build.7:230
123 #, no-wrap
124 msgid "HOMEPAGE"
125 msgstr ""
126
127 #. type: Plain text
128 #: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29
129 #: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27
130 #: en/lb_testroot.1:31 en/live-build.7:232
131 msgid ""
132 "More information about live-build and the Debian Live project can be found "
133 "on the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
134 "E<lt>I<http://live.debian.net/manual/>E<gt>."
135 msgstr ""
136
137 #. type: SH
138 #: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30
139 #: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28
140 #: en/lb_testroot.1:32 en/live-build.7:233
141 #, no-wrap
142 msgid "BUGS"
143 msgstr ""
144
145 #. type: Plain text
146 #: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32
147 #: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30
148 #: en/lb_testroot.1:34 en/live-build.7:235
149 msgid ""
150 "Bugs can be reported by submitting a bugreport for the live-build package in "
151 "the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or by "
152 "writing a mail to the Debian Live mailing list at E<lt>I<debian-live@lists."
153 "debian.org>E<gt>."
154 msgstr ""
155
156 #. type: SH
157 #: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33
158 #: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31
159 #: en/lb_testroot.1:35 en/live-build.7:236
160 #, no-wrap
161 msgid "AUTHOR"
162 msgstr ""
163
164 #. type: Plain text
165 #: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34
166 #: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32
167 #: en/lb_testroot.1:36 en/live-build.7:237
168 msgid ""
169 "live-build was written by Daniel Baumann E<lt>I<[email protected]>E<gt> for "
170 "the Debian project."
171 msgstr ""
172
173 #. type: Plain text
174 #: en/lb_source.1:5
175 msgid "B<lb source> - Complete the source stage"
176 msgstr ""
177
178 #. type: Plain text
179 #: en/lb_source.1:8
180 msgid "B<lb source> [I<live-build options>]"
181 msgstr ""
182
183 #. type: Plain text
184 #: en/lb_source.1:11
185 msgid ""
186 "B<lb source> is a high-level command (porcelain) of I<live-build>(7), the "
187 "Debian Live tool suite."
188 msgstr ""
189
190 #. type: Plain text
191 #: en/lb_source.1:13
192 msgid ""
193 "B<lb source> calls all necessary live-build programs in the correct order to "
194 "complete the source stage."
195 msgstr ""
196
197 #. type: Plain text
198 #: en/lb_source.1:16
199 msgid ""
200 "B<lb source> has no specific options but understands all generic live-build "
201 "options. See I<live-build>(7) for a complete list of all generic live-build "
202 "options."
203 msgstr ""
0 # German translations for live-build package
1 # Copyright (C) 2012 Free Software Foundation, Inc.
2 # This file is distributed under the same license as the live-build package.
3 # Automatically generated, 2012.
4 #
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: live-build VERSION\n"
8 "POT-Creation-Date: 2012-12-23 10:50+0100\n"
9 "PO-Revision-Date: 2012-08-02 18:55+0300\n"
10 "Last-Translator: Automatically generated\n"
11 "Language-Team: none\n"
12 "Language: de\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=ASCII\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
18 #. type: TH
19 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
20 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
21 #: en/lb_testroot.1:1 en/live-build.7:1
22 #, no-wrap
23 msgid "LIVE-BUILD"
24 msgstr ""
25
26 #. type: TH
27 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
28 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
29 #: en/lb_testroot.1:1 en/live-build.7:1
30 #, no-wrap
31 msgid "2012-12-23"
32 msgstr ""
33
34 #. type: TH
35 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
36 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
37 #: en/lb_testroot.1:1 en/live-build.7:1
38 #, no-wrap
39 msgid "3.0~b4-1"
40 msgstr ""
41
42 #. type: TH
43 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
44 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
45 #: en/lb_testroot.1:1 en/live-build.7:1
46 #, no-wrap
47 msgid "Debian Live Project"
48 msgstr ""
49
50 #. type: SH
51 #: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3
52 #: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3
53 #: en/lb_testroot.1:3 en/live-build.7:3
54 #, no-wrap
55 msgid "NAME"
56 msgstr ""
57
58 #. type: SH
59 #: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6
60 #: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6
61 #: en/lb_testroot.1:6 en/live-build.7:6
62 #, no-wrap
63 msgid "SYNOPSIS"
64 msgstr ""
65
66 #. type: SH
67 #: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9
68 #: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9
69 #: en/lb_testroot.1:9 en/live-build.7:11
70 #, no-wrap
71 msgid "DESCRIPTION"
72 msgstr ""
73
74 #. type: SH
75 #: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14
76 #: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14
77 #: en/lb_testroot.1:18 en/live-build.7:20
78 #, no-wrap
79 msgid "OPTIONS"
80 msgstr ""
81
82 #. type: SH
83 #: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17
84 #: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17
85 #: en/lb_testroot.1:21 en/live-build.7:219
86 #, no-wrap
87 msgid "FILES"
88 msgstr ""
89
90 #. type: IP
91 #: en/lb.1:20 en/lb_binary.1:18 en/lb_bootstrap.1:18 en/lb_chroot.1:18
92 #: en/lb_source.1:18 en/lb_testroot.1:22
93 #, no-wrap
94 msgid "B<none>"
95 msgstr ""
96
97 #. type: SH
98 #: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22
99 #: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20
100 #: en/lb_testroot.1:24 en/live-build.7:223
101 #, no-wrap
102 msgid "SEE ALSO"
103 msgstr ""
104
105 #. type: Plain text
106 #: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24
107 #: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22
108 #: en/lb_testroot.1:26
109 msgid "I<live-build>(7)"
110 msgstr ""
111
112 #. type: Plain text
113 #: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26
114 #: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24
115 #: en/lb_testroot.1:28 en/live-build.7:229
116 msgid "This program is a part of live-build."
117 msgstr ""
118
119 #. type: SH
120 #: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27
121 #: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25
122 #: en/lb_testroot.1:29 en/live-build.7:230
123 #, no-wrap
124 msgid "HOMEPAGE"
125 msgstr ""
126
127 #. type: Plain text
128 #: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29
129 #: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27
130 #: en/lb_testroot.1:31 en/live-build.7:232
131 msgid ""
132 "More information about live-build and the Debian Live project can be found "
133 "on the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
134 "E<lt>I<http://live.debian.net/manual/>E<gt>."
135 msgstr ""
136
137 #. type: SH
138 #: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30
139 #: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28
140 #: en/lb_testroot.1:32 en/live-build.7:233
141 #, no-wrap
142 msgid "BUGS"
143 msgstr ""
144
145 #. type: Plain text
146 #: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32
147 #: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30
148 #: en/lb_testroot.1:34 en/live-build.7:235
149 msgid ""
150 "Bugs can be reported by submitting a bugreport for the live-build package in "
151 "the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or by "
152 "writing a mail to the Debian Live mailing list at E<lt>I<debian-live@lists."
153 "debian.org>E<gt>."
154 msgstr ""
155
156 #. type: SH
157 #: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33
158 #: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31
159 #: en/lb_testroot.1:35 en/live-build.7:236
160 #, no-wrap
161 msgid "AUTHOR"
162 msgstr ""
163
164 #. type: Plain text
165 #: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34
166 #: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32
167 #: en/lb_testroot.1:36 en/live-build.7:237
168 msgid ""
169 "live-build was written by Daniel Baumann E<lt>I<[email protected]>E<gt> for "
170 "the Debian project."
171 msgstr ""
172
173 #. type: Plain text
174 #: en/lb_testroot.1:5
175 msgid "B<lb testroot> - Ensure that a system is built as root"
176 msgstr ""
177
178 #. type: Plain text
179 #: en/lb_testroot.1:8
180 msgid "B<lb testroot> [I<live-build options>]"
181 msgstr ""
182
183 #. type: Plain text
184 #: en/lb_testroot.1:11
185 msgid ""
186 "B<lb testroot> is a high-level command (porcelain) of I<live-build>(7), the "
187 "Debian Live tool suite."
188 msgstr ""
189
190 #. FIXME
191 #. type: Plain text
192 #: en/lb_testroot.1:14
193 msgid ""
194 "B<lb testroot> simply checks to see if you are root. If not, it exits with "
195 "an error. Debian Live images must currently be built as real root."
196 msgstr ""
197
198 #. FIXME
199 #. type: Plain text
200 #: en/lb_testroot.1:17
201 msgid ""
202 "Note: Support for using I<fakeroot>(1) and I<sudo>(8) internally in live-"
203 "build itself is still experimental, however, calling a helper yourself with "
204 "sudo is safe."
205 msgstr ""
206
207 #. type: Plain text
208 #: en/lb_testroot.1:20
209 msgid ""
210 "B<lb testroot> has no specific options but understands all generic live-"
211 "build options. See I<live-build>(7) for a complete list of all generic live-"
212 "build options."
213 msgstr ""
0 # German translations for live-build package
1 # Copyright (C) 2012 Free Software Foundation, Inc.
2 # This file is distributed under the same license as the live-build package.
3 # Automatically generated, 2012.
4 #
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: live-build VERSION\n"
8 "POT-Creation-Date: 2012-12-23 10:50+0100\n"
9 "PO-Revision-Date: 2012-08-02 18:55+0300\n"
10 "Last-Translator: Automatically generated\n"
11 "Language-Team: none\n"
12 "Language: de\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=ASCII\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
18 #. type: TH
19 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
20 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
21 #: en/lb_testroot.1:1 en/live-build.7:1
22 #, no-wrap
23 msgid "LIVE-BUILD"
24 msgstr ""
25
26 #. type: TH
27 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
28 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
29 #: en/lb_testroot.1:1 en/live-build.7:1
30 #, no-wrap
31 msgid "2012-12-23"
32 msgstr ""
33
34 #. type: TH
35 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
36 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
37 #: en/lb_testroot.1:1 en/live-build.7:1
38 #, no-wrap
39 msgid "3.0~b4-1"
40 msgstr ""
41
42 #. type: TH
43 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
44 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
45 #: en/lb_testroot.1:1 en/live-build.7:1
46 #, no-wrap
47 msgid "Debian Live Project"
48 msgstr ""
49
50 #. type: SH
51 #: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3
52 #: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3
53 #: en/lb_testroot.1:3 en/live-build.7:3
54 #, no-wrap
55 msgid "NAME"
56 msgstr ""
57
58 #. type: SH
59 #: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6
60 #: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6
61 #: en/lb_testroot.1:6 en/live-build.7:6
62 #, no-wrap
63 msgid "SYNOPSIS"
64 msgstr ""
65
66 #. type: SH
67 #: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9
68 #: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9
69 #: en/lb_testroot.1:9 en/live-build.7:11
70 #, no-wrap
71 msgid "DESCRIPTION"
72 msgstr ""
73
74 #. type: SH
75 #: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14
76 #: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14
77 #: en/lb_testroot.1:18 en/live-build.7:20
78 #, no-wrap
79 msgid "OPTIONS"
80 msgstr ""
81
82 #. type: SH
83 #: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17
84 #: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17
85 #: en/lb_testroot.1:21 en/live-build.7:219
86 #, no-wrap
87 msgid "FILES"
88 msgstr ""
89
90 #. type: SH
91 #: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22
92 #: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20
93 #: en/lb_testroot.1:24 en/live-build.7:223
94 #, no-wrap
95 msgid "SEE ALSO"
96 msgstr ""
97
98 #. type: Plain text
99 #: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26
100 #: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24
101 #: en/lb_testroot.1:28 en/live-build.7:229
102 msgid "This program is a part of live-build."
103 msgstr ""
104
105 #. type: SH
106 #: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27
107 #: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25
108 #: en/lb_testroot.1:29 en/live-build.7:230
109 #, no-wrap
110 msgid "HOMEPAGE"
111 msgstr ""
112
113 #. type: Plain text
114 #: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29
115 #: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27
116 #: en/lb_testroot.1:31 en/live-build.7:232
117 msgid ""
118 "More information about live-build and the Debian Live project can be found "
119 "on the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
120 "E<lt>I<http://live.debian.net/manual/>E<gt>."
121 msgstr ""
122
123 #. type: SH
124 #: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30
125 #: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28
126 #: en/lb_testroot.1:32 en/live-build.7:233
127 #, no-wrap
128 msgid "BUGS"
129 msgstr ""
130
131 #. type: Plain text
132 #: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32
133 #: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30
134 #: en/lb_testroot.1:34 en/live-build.7:235
135 msgid ""
136 "Bugs can be reported by submitting a bugreport for the live-build package in "
137 "the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or by "
138 "writing a mail to the Debian Live mailing list at E<lt>I<debian-live@lists."
139 "debian.org>E<gt>."
140 msgstr ""
141
142 #. type: SH
143 #: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33
144 #: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31
145 #: en/lb_testroot.1:35 en/live-build.7:236
146 #, no-wrap
147 msgid "AUTHOR"
148 msgstr ""
149
150 #. type: Plain text
151 #: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34
152 #: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32
153 #: en/lb_testroot.1:36 en/live-build.7:237
154 msgid ""
155 "live-build was written by Daniel Baumann E<lt>I<[email protected]>E<gt> for "
156 "the Debian project."
157 msgstr ""
158
159 #. type: IP
160 #: en/lb_config.1:318 en/live-build.7:36
161 #, no-wrap
162 msgid "B<--debug>"
163 msgstr ""
164
165 #. type: IP
166 #: en/lb_config.1:330 en/live-build.7:38
167 #, no-wrap
168 msgid "B<--force>"
169 msgstr ""
170
171 #. type: IP
172 #: en/lb_config.1:439 en/live-build.7:40
173 #, no-wrap
174 msgid "B<--quiet>"
175 msgstr ""
176
177 #. type: IP
178 #: en/lb_config.1:479 en/live-build.7:42
179 #, no-wrap
180 msgid "B<--verbose>"
181 msgstr ""
182
183 #. type: Plain text
184 #: en/lb_config.1:501 en/live-build.7:225
185 msgid "I<live-boot>(7)"
186 msgstr ""
187
188 #. type: Plain text
189 #: en/lb_config.1:503 en/live-build.7:227
190 msgid "I<live-config>(7)"
191 msgstr ""
192
193 #. type: Plain text
194 #: en/live-build.7:5
195 msgid "B<live-build> - the Debian Live tool suite"
196 msgstr ""
197
198 #. FIXME
199 #. FIXME
200 #. type: Plain text
201 #: en/live-build.7:10
202 msgid ""
203 "B<lb >I<COMMAND> [B<-h|--help>] [B<-u|--usage>] [B<-v|--version>] [B<--"
204 "breakpoints>] [B<--conffile>] [B<--debug>] [B<--force>] [B<--quiet>] [B<--"
205 "verbose>]"
206 msgstr ""
207
208 #. FIXME
209 #. type: Plain text
210 #: en/live-build.7:14
211 msgid ""
212 "live-build is a set of scripts to build Debian Live system images. The idea "
213 "behind live-build is a tool suite that uses a configuration directory to "
214 "completely automate and customize all aspects of building a Live image."
215 msgstr ""
216
217 #. type: Plain text
218 #: en/live-build.7:16
219 msgid "The I<COMMAND> is a name of a live-build command (see below)."
220 msgstr ""
221
222 #. FIXME
223 #. type: Plain text
224 #: en/live-build.7:19
225 msgid ""
226 "More documentation about how to use live-build is available in the "
227 "individual manpages for each helper and in the manual at E<lt>I<http://live."
228 "debian.net/manual/>E<gt>."
229 msgstr ""
230
231 #. FIXME
232 #. type: SS
233 #: en/live-build.7:22
234 #, no-wrap
235 msgid "Shared live-build options"
236 msgstr ""
237
238 #. type: Plain text
239 #: en/live-build.7:24
240 msgid ""
241 "The following command line options are supported by all live-build programs."
242 msgstr ""
243
244 #. type: IP
245 #: en/live-build.7:24
246 #, no-wrap
247 msgid "B<-h, --help>"
248 msgstr ""
249
250 #. type: Plain text
251 #: en/live-build.7:26
252 msgid "display help and exit."
253 msgstr ""
254
255 #. type: IP
256 #: en/live-build.7:26
257 #, no-wrap
258 msgid "B<-u, --usage>"
259 msgstr ""
260
261 #. type: Plain text
262 #: en/live-build.7:28
263 msgid "show usage and exit."
264 msgstr ""
265
266 #. type: IP
267 #: en/live-build.7:28
268 #, no-wrap
269 msgid "B<-v, --version>"
270 msgstr ""
271
272 #. type: Plain text
273 #: en/live-build.7:30
274 msgid "output version information and exit."
275 msgstr ""
276
277 #. type: SS
278 #: en/live-build.7:30
279 #, no-wrap
280 msgid "Common live-build options"
281 msgstr ""
282
283 #. type: Plain text
284 #: en/live-build.7:32
285 msgid ""
286 "The following command line options are supported by most live-build "
287 "programs. See the man page of each program for a complete explanation of "
288 "what each option does."
289 msgstr ""
290
291 #. type: IP
292 #: en/live-build.7:32
293 #, no-wrap
294 msgid "B<--breakpoints>"
295 msgstr ""
296
297 #. type: Plain text
298 #: en/live-build.7:34
299 msgid "run with breakpoints."
300 msgstr ""
301
302 #. type: IP
303 #: en/live-build.7:34
304 #, no-wrap
305 msgid "B<--conffile>"
306 msgstr ""
307
308 #. type: Plain text
309 #: en/live-build.7:36
310 msgid "use custom configuration file."
311 msgstr ""
312
313 #. type: Plain text
314 #: en/live-build.7:38
315 msgid "show debug information."
316 msgstr ""
317
318 #. type: Plain text
319 #: en/live-build.7:40
320 msgid "force helper execution, even if stage file exists."
321 msgstr ""
322
323 #. type: Plain text
324 #: en/live-build.7:42
325 msgid "be quiet."
326 msgstr ""
327
328 #. FIXME
329 #. type: Plain text
330 #: en/live-build.7:45
331 msgid "be verbose."
332 msgstr ""
333
334 #. type: SH
335 #: en/live-build.7:46
336 #, no-wrap
337 msgid "LIVE-BUILD COMMANDS"
338 msgstr ""
339
340 #. FIXME
341 #. type: Plain text
342 #: en/live-build.7:49
343 msgid ""
344 "We divide live-build into high level (\"porcelain\") commands and low level "
345 "(\"plumbing\") commands."
346 msgstr ""
347
348 #. FIXME
349 #. type: Plain text
350 #: en/live-build.7:53
351 msgid ""
352 "Here is the complete list of all available live-build commands. See their "
353 "man pages for additional documentation."
354 msgstr ""
355
356 #. type: SH
357 #: en/live-build.7:54
358 #, no-wrap
359 msgid "HIGH-LEVEL COMMANDS (PORCELAIN)"
360 msgstr ""
361
362 #. FIXME
363 #. type: Plain text
364 #: en/live-build.7:57
365 msgid ""
366 "We separate the porcelain commands into the main commands and some ancillary "
367 "user utilities."
368 msgstr ""
369
370 #. type: SS
371 #: en/live-build.7:57
372 #, no-wrap
373 msgid "Main porcelain commands"
374 msgstr ""
375
376 #. type: IP
377 #: en/live-build.7:58
378 #, no-wrap
379 msgid "B<lb_config>(1)"
380 msgstr ""
381
382 #. type: Plain text
383 #: en/live-build.7:60
384 msgid "create configuration for live-build"
385 msgstr ""
386
387 #. type: IP
388 #: en/live-build.7:60
389 #, no-wrap
390 msgid "B<lb_bootstrap>(1)"
391 msgstr ""
392
393 #. type: Plain text
394 #: en/live-build.7:62
395 msgid "create the first stage by bootstrapping a basic debian system"
396 msgstr ""
397
398 #. type: IP
399 #: en/live-build.7:62
400 #, no-wrap
401 msgid "B<lb_chroot>(1)"
402 msgstr ""
403
404 #. type: Plain text
405 #: en/live-build.7:64
406 msgid "create the second stage by customizing the chroot"
407 msgstr ""
408
409 #. type: IP
410 #: en/live-build.7:64
411 #, no-wrap
412 msgid "B<lb_binary>(1)"
413 msgstr ""
414
415 #. type: Plain text
416 #: en/live-build.7:66
417 msgid "create the third stage by generating a binary image"
418 msgstr ""
419
420 #. type: IP
421 #: en/live-build.7:66
422 #, no-wrap
423 msgid "B<lb_source>(1)"
424 msgstr ""
425
426 #. type: Plain text
427 #: en/live-build.7:68
428 msgid "create the optional fourth stage by generating a source image"
429 msgstr ""
430
431 #. type: IP
432 #: en/live-build.7:68
433 #, no-wrap
434 msgid "B<lb_clean>(1)"
435 msgstr ""
436
437 #. type: Plain text
438 #: en/live-build.7:70
439 msgid "clean up system build directories"
440 msgstr ""
441
442 #. type: SS
443 #: en/live-build.7:70
444 #, no-wrap
445 msgid "Ancillary Commands"
446 msgstr ""
447
448 #. type: IP
449 #: en/live-build.7:71
450 #, no-wrap
451 msgid "B<lb>(1)"
452 msgstr ""
453
454 #. type: Plain text
455 #: en/live-build.7:73
456 msgid "generic live-build wrapper"
457 msgstr ""
458
459 #. type: IP
460 #: en/live-build.7:73
461 #, no-wrap
462 msgid "B<lb_build>(1)"
463 msgstr ""
464
465 #. type: Plain text
466 #: en/live-build.7:75
467 msgid "alias for all stages"
468 msgstr ""
469
470 #. type: IP
471 #: en/live-build.7:75
472 #, no-wrap
473 msgid "B<lb_local>(1)"
474 msgstr ""
475
476 #. type: Plain text
477 #: en/live-build.7:77
478 msgid "helper for using a local live-build"
479 msgstr ""
480
481 #. type: IP
482 #: en/live-build.7:77
483 #, no-wrap
484 msgid "B<lb_testroot>(1)"
485 msgstr ""
486
487 #. FIXME
488 #. type: Plain text
489 #: en/live-build.7:80
490 msgid "ensure that a system is built as root"
491 msgstr ""
492
493 #. type: SH
494 #: en/live-build.7:81
495 #, no-wrap
496 msgid "LOW-LEVEL COMMANDS (PLUMBING)"
497 msgstr ""
498
499 #. FIXME
500 #. type: Plain text
501 #: en/live-build.7:84
502 msgid ""
503 "The actual work of live-build is implemented in the low-level commands, "
504 "called plumbing. They are not supposed to be used by end users, they should "
505 "stick with porcelains as they ensure that all the different plumbing "
506 "commands are executed in the right order. However, if you intend to reuse "
507 "live-build commands in your own scripts, then the plumbings might be of "
508 "interest for you."
509 msgstr ""
510
511 #. type: Plain text
512 #: en/live-build.7:86
513 msgid ""
514 "Note that the interface (set of options and the semantics) to these low-"
515 "level commands are meant to be a lot more stable than Porcelain level "
516 "commands. The interface to Porcelain commands on the other hand are subject "
517 "to change in order to improve the end user experience."
518 msgstr ""
519
520 #. type: SS
521 #: en/live-build.7:86
522 #, no-wrap
523 msgid "Bootstrap commands"
524 msgstr ""
525
526 #. type: IP
527 #: en/live-build.7:87
528 #, no-wrap
529 msgid "B<lb_bootstrap_cache>(1)"
530 msgstr ""
531
532 #. type: Plain text
533 #: en/live-build.7:89
534 msgid "cache bootstrap stage"
535 msgstr ""
536
537 #. type: IP
538 #: en/live-build.7:89
539 #, no-wrap
540 msgid "B<lb_bootstrap_cdebootstrap>(1)"
541 msgstr ""
542
543 #. type: Plain text
544 #: en/live-build.7:91
545 msgid "bootstrap a Debian system with cdebootstrap(1)"
546 msgstr ""
547
548 #. type: IP
549 #: en/live-build.7:91
550 #, no-wrap
551 msgid "B<lb_bootstrap_debootstrap>(1)"
552 msgstr ""
553
554 #. type: Plain text
555 #: en/live-build.7:93
556 msgid "bootstrap a Debian system with debootstrap(8)"
557 msgstr ""
558
559 #. type: SS
560 #: en/live-build.7:93
561 #, no-wrap
562 msgid "Chroot commands"
563 msgstr ""
564
565 #. type: IP
566 #: en/live-build.7:94
567 #, no-wrap
568 msgid "B<lb_chroot_apt>(1)"
569 msgstr ""
570
571 #. type: Plain text
572 #: en/live-build.7:96
573 msgid "manage /etc/apt/apt.conf"
574 msgstr ""
575
576 #. type: IP
577 #: en/live-build.7:96
578 #, no-wrap
579 msgid "B<lb_chroot_cache>(1)"
580 msgstr ""
581
582 #. type: Plain text
583 #: en/live-build.7:98
584 msgid "cache chroot stage"
585 msgstr ""
586
587 #. type: IP
588 #: en/live-build.7:98
589 #, no-wrap
590 msgid "B<lb_chroot_debianchroot>(1)"
591 msgstr ""
592
593 #. type: Plain text
594 #: en/live-build.7:100
595 msgid "manage /etc/debian_chroot"
596 msgstr ""
597
598 #. type: IP
599 #: en/live-build.7:100
600 #, no-wrap
601 msgid "B<lb_chroot_devpts>(1)"
602 msgstr ""
603
604 #. type: Plain text
605 #: en/live-build.7:102
606 msgid "mount /dev/pts"
607 msgstr ""
608
609 #. type: IP
610 #: en/live-build.7:102
611 #, no-wrap
612 msgid "B<lb_chroot_dpkg>(1)"
613 msgstr ""
614
615 #. type: Plain text
616 #: en/live-build.7:104
617 msgid "manage /sbin/dpkg"
618 msgstr ""
619
620 #. type: IP
621 #: en/live-build.7:104
622 #, no-wrap
623 msgid "B<lb_chroot_hacks>(1)"
624 msgstr ""
625
626 #. type: Plain text
627 #: en/live-build.7:106
628 msgid "execute hacks in chroot"
629 msgstr ""
630
631 #. type: IP
632 #: en/live-build.7:106
633 #, no-wrap
634 msgid "B<lb_chroot_hostname>(1)"
635 msgstr ""
636
637 #. type: Plain text
638 #: en/live-build.7:108
639 msgid "manage /bin/hostname"
640 msgstr ""
641
642 #. type: IP
643 #: en/live-build.7:108
644 #, no-wrap
645 msgid "B<lb_chroot_hosts>(1)"
646 msgstr ""
647
648 #. type: Plain text
649 #: en/live-build.7:110
650 msgid "manage /etc/hosts"
651 msgstr ""
652
653 #. type: IP
654 #: en/live-build.7:110
655 #, no-wrap
656 msgid "B<lb_chroot_install-packages>(1)"
657 msgstr ""
658
659 #. type: Plain text
660 #: en/live-build.7:112
661 msgid "install queued packages into chroot"
662 msgstr ""
663
664 #. type: IP
665 #: en/live-build.7:112
666 #, no-wrap
667 msgid "B<lb_chroot_interactive>(1)"
668 msgstr ""
669
670 #. type: Plain text
671 #: en/live-build.7:114
672 msgid "make build interactive"
673 msgstr ""
674
675 #. type: IP
676 #: en/live-build.7:114
677 #, no-wrap
678 msgid "B<lb_chroot_linux-image>(1)"
679 msgstr ""
680
681 #. type: Plain text
682 #: en/live-build.7:116
683 msgid "manage /etc/kernel-img.conf"
684 msgstr ""
685
686 #. type: IP
687 #: en/live-build.7:116
688 #, no-wrap
689 msgid "B<lb_chroot_hooks>(1)"
690 msgstr ""
691
692 #. type: Plain text
693 #: en/live-build.7:118
694 msgid "execute local hooks in chroot"
695 msgstr ""
696
697 #. type: IP
698 #: en/live-build.7:118
699 #, no-wrap
700 msgid "B<lb_chroot_local-includes>(1)"
701 msgstr ""
702
703 #. type: Plain text
704 #: en/live-build.7:120
705 msgid "copy local files into chroot"
706 msgstr ""
707
708 #. type: IP
709 #: en/live-build.7:120
710 #, no-wrap
711 msgid "B<lb_chroot_packages>(1)"
712 msgstr ""
713
714 #. type: Plain text
715 #: en/live-build.7:122
716 msgid "queue install of packages into chroot"
717 msgstr ""
718
719 #. type: IP
720 #: en/live-build.7:122
721 #, no-wrap
722 msgid "B<lb_chroot_local-patches>(1)"
723 msgstr ""
724
725 #. type: Plain text
726 #: en/live-build.7:124
727 msgid "apply local patches against chroot"
728 msgstr ""
729
730 #. type: IP
731 #: en/live-build.7:124
732 #, no-wrap
733 msgid "B<lb_chroot_local-preseed>(1)"
734 msgstr ""
735
736 #. type: Plain text
737 #: en/live-build.7:126
738 msgid "use debconf local preseeding file"
739 msgstr ""
740
741 #. type: IP
742 #: en/live-build.7:126
743 #, no-wrap
744 msgid "B<lb_chroot_packagelists>(1)"
745 msgstr ""
746
747 #. type: Plain text
748 #: en/live-build.7:128
749 msgid "queue install of package lists into chroot"
750 msgstr ""
751
752 #. type: IP
753 #: en/live-build.7:128
754 #, no-wrap
755 msgid "B<lb_chroot_proc>(1)"
756 msgstr ""
757
758 #. type: Plain text
759 #: en/live-build.7:130
760 msgid "mount /proc"
761 msgstr ""
762
763 #. type: IP
764 #: en/live-build.7:130
765 #, no-wrap
766 msgid "B<lb_chroot_resolv>(1)"
767 msgstr ""
768
769 #. type: Plain text
770 #: en/live-build.7:132
771 msgid "manage /etc/resolv.conf"
772 msgstr ""
773
774 #. type: IP
775 #: en/live-build.7:132
776 #, no-wrap
777 msgid "B<lb_chroot_selinuxfs>(1)"
778 msgstr ""
779
780 #. type: Plain text
781 #: en/live-build.7:134
782 msgid "mount /selinux"
783 msgstr ""
784
785 #. type: IP
786 #: en/live-build.7:134
787 #, no-wrap
788 msgid "B<lb_chroot_archives>(1)"
789 msgstr ""
790
791 #. type: Plain text
792 #: en/live-build.7:136
793 msgid "manage /etc/apt/sources.list"
794 msgstr ""
795
796 #. type: IP
797 #: en/live-build.7:136
798 #, no-wrap
799 msgid "B<lb_chroot_sysfs>(1)"
800 msgstr ""
801
802 #. type: Plain text
803 #: en/live-build.7:138
804 msgid "mount /sys"
805 msgstr ""
806
807 #. type: IP
808 #: en/live-build.7:138
809 #, no-wrap
810 msgid "B<lb_chroot_sysv-rc>(1)"
811 msgstr ""
812
813 #. type: Plain text
814 #: en/live-build.7:140
815 msgid "manage /usr/sbin/policy-rc.d"
816 msgstr ""
817
818 #. type: IP
819 #: en/live-build.7:140
820 #, no-wrap
821 msgid "B<lb_chroot_task-lists>(1)"
822 msgstr ""
823
824 #. type: Plain text
825 #: en/live-build.7:142
826 msgid "install task lists into chroot"
827 msgstr ""
828
829 #. type: SS
830 #: en/live-build.7:142
831 #, no-wrap
832 msgid "Binary commands"
833 msgstr ""
834
835 #. type: IP
836 #: en/live-build.7:143
837 #, no-wrap
838 msgid "B<lb_binary_chroot>(1)"
839 msgstr ""
840
841 #. type: Plain text
842 #: en/live-build.7:145
843 msgid "copy chroot into chroot"
844 msgstr ""
845
846 #. type: IP
847 #: en/live-build.7:145
848 #, no-wrap
849 msgid "B<lb_binary_debian-installer>(1)"
850 msgstr ""
851
852 #. type: Plain text
853 #: en/live-build.7:147
854 msgid "install debian-installer into binary"
855 msgstr ""
856
857 #. type: IP
858 #: en/live-build.7:147
859 #, no-wrap
860 msgid "B<lb_binary_disk>(1)"
861 msgstr ""
862
863 #. type: Plain text
864 #: en/live-build.7:149
865 msgid "install disk information into binary"
866 msgstr ""
867
868 #. type: IP
869 #: en/live-build.7:149
870 #, no-wrap
871 msgid "B<lb_binary_grub>(1)"
872 msgstr ""
873
874 #. type: Plain text
875 #: en/live-build.7:151
876 msgid "installs grub into binary"
877 msgstr ""
878
879 #. type: IP
880 #: en/live-build.7:151
881 #, no-wrap
882 msgid "B<lb_binary_grub2>(1)"
883 msgstr ""
884
885 #. type: Plain text
886 #: en/live-build.7:153
887 msgid "installs grub2 into binary"
888 msgstr ""
889
890 #. type: IP
891 #: en/live-build.7:153
892 #, no-wrap
893 msgid "B<lb_binary_includes>(1)"
894 msgstr ""
895
896 #. type: Plain text
897 #: en/live-build.7:155 en/live-build.7:163
898 msgid "copy files into binary"
899 msgstr ""
900
901 #. type: IP
902 #: en/live-build.7:155
903 #, no-wrap
904 msgid "B<lb_binary_iso>(1)"
905 msgstr ""
906
907 #. type: Plain text
908 #: en/live-build.7:157
909 msgid "build iso binary image"
910 msgstr ""
911
912 #. type: IP
913 #: en/live-build.7:157
914 #, no-wrap
915 msgid "B<lb_binary_linux-image>(1)"
916 msgstr ""
917
918 #. type: Plain text
919 #: en/live-build.7:159
920 msgid "install linux-image into binary"
921 msgstr ""
922
923 #. type: IP
924 #: en/live-build.7:159
925 #, no-wrap
926 msgid "B<lb_binary_local-hooks>(1)"
927 msgstr ""
928
929 #. type: Plain text
930 #: en/live-build.7:161
931 msgid "execute local hooks in binary"
932 msgstr ""
933
934 #. type: IP
935 #: en/live-build.7:161
936 #, no-wrap
937 msgid "B<lb_binary_local-includes>(1)"
938 msgstr ""
939
940 #. type: IP
941 #: en/live-build.7:163
942 #, no-wrap
943 msgid "B<lb_binary_local-packagelists>(1)"
944 msgstr ""
945
946 #. type: Plain text
947 #: en/live-build.7:165
948 msgid "install local package lists into binary"
949 msgstr ""
950
951 #. type: IP
952 #: en/live-build.7:165
953 #, no-wrap
954 msgid "B<lb_binary_manifest>(1)"
955 msgstr ""
956
957 #. type: Plain text
958 #: en/live-build.7:167
959 msgid "create manifest"
960 msgstr ""
961
962 #. type: IP
963 #: en/live-build.7:167
964 #, no-wrap
965 msgid "B<lb_binary_checksums>(1)"
966 msgstr ""
967
968 #. type: Plain text
969 #: en/live-build.7:169
970 msgid "create binary checksums (md5, sha1, and/or sha256)"
971 msgstr ""
972
973 #. type: IP
974 #: en/live-build.7:169
975 #, no-wrap
976 msgid "B<lb_binary_memtest>(1)"
977 msgstr ""
978
979 #. type: Plain text
980 #: en/live-build.7:171
981 msgid "installs a memtest into binary"
982 msgstr ""
983
984 #. type: IP
985 #: en/live-build.7:171
986 #, no-wrap
987 msgid "B<lb_binary_net>(1)"
988 msgstr ""
989
990 #. type: Plain text
991 #: en/live-build.7:173
992 msgid "build netboot binary image"
993 msgstr ""
994
995 #. type: IP
996 #: en/live-build.7:173
997 #, no-wrap
998 msgid "B<lb_binary_rootfs>(1)"
999 msgstr ""
1000
1001 #. type: Plain text
1002 #: en/live-build.7:175
1003 msgid "build rootfs image"
1004 msgstr ""
1005
1006 #. type: IP
1007 #: en/live-build.7:175
1008 #, no-wrap
1009 msgid "B<lb_binary_silo>(1)"
1010 msgstr ""
1011
1012 #. type: Plain text
1013 #: en/live-build.7:177
1014 msgid "installs silo into binary"
1015 msgstr ""
1016
1017 #. type: IP
1018 #: en/live-build.7:177
1019 #, no-wrap
1020 msgid "B<lb_binary_syslinux>(1)"
1021 msgstr ""
1022
1023 #. type: Plain text
1024 #: en/live-build.7:179
1025 msgid "installs syslinux into binary"
1026 msgstr ""
1027
1028 #. type: IP
1029 #: en/live-build.7:179
1030 #, no-wrap
1031 msgid "B<lb_binary_tar>(1)"
1032 msgstr ""
1033
1034 #. type: Plain text
1035 #: en/live-build.7:181
1036 msgid "build harddisk binary image"
1037 msgstr ""
1038
1039 #. type: IP
1040 #: en/live-build.7:181
1041 #, no-wrap
1042 msgid "B<lb_binary_hdd>(1)"
1043 msgstr ""
1044
1045 #. type: Plain text
1046 #: en/live-build.7:183
1047 msgid "build binary hdd image"
1048 msgstr ""
1049
1050 #. type: IP
1051 #: en/live-build.7:183
1052 #, no-wrap
1053 msgid "B<lb_binary_win32-loader>(1)"
1054 msgstr ""
1055
1056 #. type: Plain text
1057 #: en/live-build.7:185
1058 msgid "installs win32-loader into binary"
1059 msgstr ""
1060
1061 #. type: IP
1062 #: en/live-build.7:185
1063 #, no-wrap
1064 msgid "B<lb_binary_yaboot>(1)"
1065 msgstr ""
1066
1067 #. type: Plain text
1068 #: en/live-build.7:187
1069 msgid "installs yaboot into binary"
1070 msgstr ""
1071
1072 #. type: SS
1073 #: en/live-build.7:187
1074 #, no-wrap
1075 msgid "Source commands"
1076 msgstr ""
1077
1078 #. type: IP
1079 #: en/live-build.7:188
1080 #, no-wrap
1081 msgid "B<lb_source_debian>(1)"
1082 msgstr ""
1083
1084 #. type: Plain text
1085 #: en/live-build.7:190
1086 msgid "download sources"
1087 msgstr ""
1088
1089 #. type: IP
1090 #: en/live-build.7:190
1091 #, no-wrap
1092 msgid "B<lb_source_debian-live>(1)"
1093 msgstr ""
1094
1095 #. type: Plain text
1096 #: en/live-build.7:192
1097 msgid "copy debian-live config into source"
1098 msgstr ""
1099
1100 #. type: IP
1101 #: en/live-build.7:192
1102 #, no-wrap
1103 msgid "B<lb_source_disk>(1)"
1104 msgstr ""
1105
1106 #. type: Plain text
1107 #: en/live-build.7:194
1108 msgid "install disk information into source"
1109 msgstr ""
1110
1111 #. type: IP
1112 #: en/live-build.7:194
1113 #, no-wrap
1114 msgid "B<lb_source_iso>(1)"
1115 msgstr ""
1116
1117 #. type: Plain text
1118 #: en/live-build.7:196
1119 msgid "build iso source image"
1120 msgstr ""
1121
1122 #. type: IP
1123 #: en/live-build.7:196
1124 #, no-wrap
1125 msgid "B<lb_source_checksums>(1)"
1126 msgstr ""
1127
1128 #. type: Plain text
1129 #: en/live-build.7:198
1130 msgid "create source checksums (md5, sha1, and/or sha256)"
1131 msgstr ""
1132
1133 #. type: IP
1134 #: en/live-build.7:198
1135 #, no-wrap
1136 msgid "B<lb_source_net>(1)"
1137 msgstr ""
1138
1139 #. type: Plain text
1140 #: en/live-build.7:200
1141 msgid "build source net image"
1142 msgstr ""
1143
1144 #. type: IP
1145 #: en/live-build.7:200
1146 #, no-wrap
1147 msgid "B<lb_source_tar>(1)"
1148 msgstr ""
1149
1150 #. type: Plain text
1151 #: en/live-build.7:202
1152 msgid "build source tarball"
1153 msgstr ""
1154
1155 #. type: IP
1156 #: en/live-build.7:202
1157 #, no-wrap
1158 msgid "B<lb_source_hdd>(1)"
1159 msgstr ""
1160
1161 #. FIXME
1162 #. type: Plain text
1163 #: en/live-build.7:205
1164 msgid "build source hdd image"
1165 msgstr ""
1166
1167 #. type: SH
1168 #: en/live-build.7:206
1169 #, no-wrap
1170 msgid "CONFIG FILES"
1171 msgstr ""
1172
1173 #. FIXME
1174 #. type: Plain text
1175 #: en/live-build.7:209
1176 msgid ""
1177 "Many live-build commands make use of files in the I<config/> directory to "
1178 "control what they do. Besides the common I<config/common>, which is used by "
1179 "all live-build commands, some additional files can be used to configure the "
1180 "behavior of specific live-build commands. These files are typically named "
1181 "config/stage or config/stage_helper (where \"stage\" of course, is replaced "
1182 "with the name of the stage that they belong to, and \"helper\" with the name "
1183 "of the helper)."
1184 msgstr ""
1185
1186 #. type: Plain text
1187 #: en/live-build.7:211
1188 msgid ""
1189 "For example, lb_bootstrap_debootstrap uses files named config/bootstrap and "
1190 "config/bootstrap_debootstrap to read the options it will use. See the man "
1191 "pages of individual commands for details about the names and formats of the "
1192 "files they use. Generally, these files contain variables with values "
1193 "assigned, one variable per line. Some programs in live-build use pairs of "
1194 "values or slightly more complicated variable assignments."
1195 msgstr ""
1196
1197 #. type: Plain text
1198 #: en/live-build.7:213
1199 msgid ""
1200 "Note that live-build will respect environment variables which are present in "
1201 "the context of the shell it is running. If variables can be read from config "
1202 "files, then they override environment variables, and if command line options "
1203 "are used, they override values from config files. If no value for a given "
1204 "variable can be found and thus is unset, live-build will automatically set "
1205 "it to the default value."
1206 msgstr ""
1207
1208 #. type: Plain text
1209 #: en/live-build.7:215
1210 msgid ""
1211 "In some rare cases, you may want to have different versions of these files "
1212 "for different architectures or distributions. If files named config/stage."
1213 "arch or config/stage_helper.arch, and config/stage.dist or config/"
1214 "stage_helper.dist exist, where \"arch\" is the same as the output of \"dpkg "
1215 "--print-architecture\" and \"dist\" is the same as the codename of the "
1216 "target distribution, then they will be used in preference to other, more "
1217 "general files."
1218 msgstr ""
1219
1220 #. FIXME
1221 #. type: Plain text
1222 #: en/live-build.7:218
1223 msgid ""
1224 "All config files are shell scripts which are sourced by a live-build "
1225 "program. That means they have to follow the normal shell syntax. You can "
1226 "also put comments in these files; lines beginning with \"#\" are ignored."
1227 msgstr ""
1228
1229 #. type: IP
1230 #: en/live-build.7:220
1231 #, no-wrap
1232 msgid "B</etc/live/build.conf>"
1233 msgstr ""
1234
1235 #. type: IP
1236 #: en/live-build.7:221
1237 #, no-wrap
1238 msgid "B</etc/live/build/*>"
1239 msgstr ""
0 [po4a_langs] de
1 [po4a_paths] pot/$master.pot $lang:po/$lang/$master.po
2 [type: man] en/lb.1 $lang:$lang/lb.$lang.1
3 [type: man] en/lb_binary.1 $lang:$lang/lb_binary.$lang.1
4 [type: man] en/lb_bootstrap.1 $lang:$lang/lb_bootstrap.$lang.1
5 [type: man] en/lb_build.1 $lang:$lang/lb_build.$lang.1
6 [type: man] en/lb_chroot.1 $lang:$lang/lb_chroot.$lang.1
7 [type: man] en/lb_clean.1 $lang:$lang/lb_clean.$lang.1
8 [type: man] en/lb_config.1 $lang:$lang/lb_config.$lang.1
9 [type: man] en/lb_source.1 $lang:$lang/lb_source.$lang.1
10 [type: man] en/lb_testroot.1 $lang:$lang/lb_testroot.$lang.1
11 [type: man] en/live-build.7 $lang:$lang/live-build.$lang.7
0 # SOME DESCRIPTIVE TITLE
1 # Copyright (C) YEAR Free Software Foundation, Inc.
2 # This file is distributed under the same license as the live-build package.
3 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4 #
5 #, fuzzy
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: live-build VERSION\n"
9 "POT-Creation-Date: 2012-12-23 10:50+0100\n"
10 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Language-Team: LANGUAGE <[email protected]>\n"
13 "Language: \n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=CHARSET\n"
16 "Content-Transfer-Encoding: 8bit\n"
17
18 #. type: TH
19 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
20 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
21 #: en/lb_testroot.1:1 en/live-build.7:1
22 #, no-wrap
23 msgid "LIVE-BUILD"
24 msgstr ""
25
26 #. type: TH
27 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
28 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
29 #: en/lb_testroot.1:1 en/live-build.7:1
30 #, no-wrap
31 msgid "2012-12-23"
32 msgstr ""
33
34 #. type: TH
35 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
36 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
37 #: en/lb_testroot.1:1 en/live-build.7:1
38 #, no-wrap
39 msgid "3.0~b4-1"
40 msgstr ""
41
42 #. type: TH
43 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
44 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
45 #: en/lb_testroot.1:1 en/live-build.7:1
46 #, no-wrap
47 msgid "Debian Live Project"
48 msgstr ""
49
50 #. type: SH
51 #: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3
52 #: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3
53 #: en/lb_testroot.1:3 en/live-build.7:3
54 #, no-wrap
55 msgid "NAME"
56 msgstr ""
57
58 #. type: Plain text
59 #: en/lb.1:5
60 msgid "B<lb> - wrapper for live-build programs"
61 msgstr ""
62
63 #. type: SH
64 #: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6
65 #: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6
66 #: en/lb_testroot.1:6 en/live-build.7:6
67 #, no-wrap
68 msgid "SYNOPSIS"
69 msgstr ""
70
71 #. type: Plain text
72 #: en/lb.1:8
73 msgid "B<lb> COMMAND [COMMAND_OPTIONS]"
74 msgstr ""
75
76 #. type: Plain text
77 #: en/lb.1:10
78 msgid "B<lb> [I<live-build\\ options>]"
79 msgstr ""
80
81 #. type: SH
82 #: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9
83 #: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9
84 #: en/lb_testroot.1:9 en/live-build.7:11
85 #, no-wrap
86 msgid "DESCRIPTION"
87 msgstr ""
88
89 #. type: Plain text
90 #: en/lb.1:13
91 msgid ""
92 "B<lb> is a high-level command (porcelain) of I<live-build>(7), the Debian "
93 "Live tool suite."
94 msgstr ""
95
96 #. type: SH
97 #: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14
98 #: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14
99 #: en/lb_testroot.1:18 en/live-build.7:20
100 #, no-wrap
101 msgid "OPTIONS"
102 msgstr ""
103
104 #. type: Plain text
105 #: en/lb.1:18
106 msgid ""
107 "B<lb> has no specific options but understands all generic live-build "
108 "options. See I<live-build>(7) for a complete list of all generic live-build "
109 "options."
110 msgstr ""
111
112 #. type: SH
113 #: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17
114 #: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17
115 #: en/lb_testroot.1:21 en/live-build.7:219
116 #, no-wrap
117 msgid "FILES"
118 msgstr ""
119
120 #. type: IP
121 #: en/lb.1:20 en/lb_binary.1:18 en/lb_bootstrap.1:18 en/lb_chroot.1:18
122 #: en/lb_source.1:18 en/lb_testroot.1:22
123 #, no-wrap
124 msgid "B<none>"
125 msgstr ""
126
127 #. type: SH
128 #: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22
129 #: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20
130 #: en/lb_testroot.1:24 en/live-build.7:223
131 #, no-wrap
132 msgid "SEE ALSO"
133 msgstr ""
134
135 #. type: Plain text
136 #: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24
137 #: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22
138 #: en/lb_testroot.1:26
139 msgid "I<live-build>(7)"
140 msgstr ""
141
142 #. type: Plain text
143 #: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26
144 #: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24
145 #: en/lb_testroot.1:28 en/live-build.7:229
146 msgid "This program is a part of live-build."
147 msgstr ""
148
149 #. type: SH
150 #: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27
151 #: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25
152 #: en/lb_testroot.1:29 en/live-build.7:230
153 #, no-wrap
154 msgid "HOMEPAGE"
155 msgstr ""
156
157 #. type: Plain text
158 #: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29
159 #: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27
160 #: en/lb_testroot.1:31 en/live-build.7:232
161 msgid ""
162 "More information about live-build and the Debian Live project can be found "
163 "on the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
164 "E<lt>I<http://live.debian.net/manual/>E<gt>."
165 msgstr ""
166
167 #. type: SH
168 #: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30
169 #: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28
170 #: en/lb_testroot.1:32 en/live-build.7:233
171 #, no-wrap
172 msgid "BUGS"
173 msgstr ""
174
175 #. type: Plain text
176 #: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32
177 #: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30
178 #: en/lb_testroot.1:34 en/live-build.7:235
179 msgid ""
180 "Bugs can be reported by submitting a bugreport for the live-build package in "
181 "the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or by "
182 "writing a mail to the Debian Live mailing list at E<lt>I<debian-live@lists."
183 "debian.org>E<gt>."
184 msgstr ""
185
186 #. type: SH
187 #: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33
188 #: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31
189 #: en/lb_testroot.1:35 en/live-build.7:236
190 #, no-wrap
191 msgid "AUTHOR"
192 msgstr ""
193
194 #. type: Plain text
195 #: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34
196 #: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32
197 #: en/lb_testroot.1:36 en/live-build.7:237
198 msgid ""
199 "live-build was written by Daniel Baumann E<lt>I<[email protected]>E<gt> for "
200 "the Debian project."
201 msgstr ""
0 # SOME DESCRIPTIVE TITLE
1 # Copyright (C) YEAR Free Software Foundation, Inc.
2 # This file is distributed under the same license as the live-build package.
3 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4 #
5 #, fuzzy
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: live-build VERSION\n"
9 "POT-Creation-Date: 2012-12-23 10:50+0100\n"
10 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Language-Team: LANGUAGE <[email protected]>\n"
13 "Language: \n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=CHARSET\n"
16 "Content-Transfer-Encoding: 8bit\n"
17
18 #. type: TH
19 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
20 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
21 #: en/lb_testroot.1:1 en/live-build.7:1
22 #, no-wrap
23 msgid "LIVE-BUILD"
24 msgstr ""
25
26 #. type: TH
27 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
28 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
29 #: en/lb_testroot.1:1 en/live-build.7:1
30 #, no-wrap
31 msgid "2012-12-23"
32 msgstr ""
33
34 #. type: TH
35 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
36 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
37 #: en/lb_testroot.1:1 en/live-build.7:1
38 #, no-wrap
39 msgid "3.0~b4-1"
40 msgstr ""
41
42 #. type: TH
43 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
44 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
45 #: en/lb_testroot.1:1 en/live-build.7:1
46 #, no-wrap
47 msgid "Debian Live Project"
48 msgstr ""
49
50 #. type: SH
51 #: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3
52 #: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3
53 #: en/lb_testroot.1:3 en/live-build.7:3
54 #, no-wrap
55 msgid "NAME"
56 msgstr ""
57
58 #. type: SH
59 #: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6
60 #: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6
61 #: en/lb_testroot.1:6 en/live-build.7:6
62 #, no-wrap
63 msgid "SYNOPSIS"
64 msgstr ""
65
66 #. type: SH
67 #: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9
68 #: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9
69 #: en/lb_testroot.1:9 en/live-build.7:11
70 #, no-wrap
71 msgid "DESCRIPTION"
72 msgstr ""
73
74 #. type: SH
75 #: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14
76 #: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14
77 #: en/lb_testroot.1:18 en/live-build.7:20
78 #, no-wrap
79 msgid "OPTIONS"
80 msgstr ""
81
82 #. type: SH
83 #: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17
84 #: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17
85 #: en/lb_testroot.1:21 en/live-build.7:219
86 #, no-wrap
87 msgid "FILES"
88 msgstr ""
89
90 #. type: IP
91 #: en/lb.1:20 en/lb_binary.1:18 en/lb_bootstrap.1:18 en/lb_chroot.1:18
92 #: en/lb_source.1:18 en/lb_testroot.1:22
93 #, no-wrap
94 msgid "B<none>"
95 msgstr ""
96
97 #. type: SH
98 #: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22
99 #: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20
100 #: en/lb_testroot.1:24 en/live-build.7:223
101 #, no-wrap
102 msgid "SEE ALSO"
103 msgstr ""
104
105 #. type: Plain text
106 #: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24
107 #: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22
108 #: en/lb_testroot.1:26
109 msgid "I<live-build>(7)"
110 msgstr ""
111
112 #. type: Plain text
113 #: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26
114 #: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24
115 #: en/lb_testroot.1:28 en/live-build.7:229
116 msgid "This program is a part of live-build."
117 msgstr ""
118
119 #. type: SH
120 #: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27
121 #: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25
122 #: en/lb_testroot.1:29 en/live-build.7:230
123 #, no-wrap
124 msgid "HOMEPAGE"
125 msgstr ""
126
127 #. type: Plain text
128 #: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29
129 #: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27
130 #: en/lb_testroot.1:31 en/live-build.7:232
131 msgid ""
132 "More information about live-build and the Debian Live project can be found "
133 "on the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
134 "E<lt>I<http://live.debian.net/manual/>E<gt>."
135 msgstr ""
136
137 #. type: SH
138 #: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30
139 #: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28
140 #: en/lb_testroot.1:32 en/live-build.7:233
141 #, no-wrap
142 msgid "BUGS"
143 msgstr ""
144
145 #. type: Plain text
146 #: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32
147 #: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30
148 #: en/lb_testroot.1:34 en/live-build.7:235
149 msgid ""
150 "Bugs can be reported by submitting a bugreport for the live-build package in "
151 "the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or by "
152 "writing a mail to the Debian Live mailing list at E<lt>I<debian-live@lists."
153 "debian.org>E<gt>."
154 msgstr ""
155
156 #. type: SH
157 #: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33
158 #: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31
159 #: en/lb_testroot.1:35 en/live-build.7:236
160 #, no-wrap
161 msgid "AUTHOR"
162 msgstr ""
163
164 #. type: Plain text
165 #: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34
166 #: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32
167 #: en/lb_testroot.1:36 en/live-build.7:237
168 msgid ""
169 "live-build was written by Daniel Baumann E<lt>I<[email protected]>E<gt> for "
170 "the Debian project."
171 msgstr ""
172
173 #. type: Plain text
174 #: en/lb_binary.1:5
175 msgid "B<lb binary> - Complete the binary stage"
176 msgstr ""
177
178 #. type: Plain text
179 #: en/lb_binary.1:8
180 msgid "B<lb binary> [I<live-build options>]"
181 msgstr ""
182
183 #. type: Plain text
184 #: en/lb_binary.1:11
185 msgid ""
186 "B<lb binary> is a high-level command (porcelain) of I<live-build>(7), the "
187 "Debian Live tool suite."
188 msgstr ""
189
190 #. type: Plain text
191 #: en/lb_binary.1:13
192 msgid ""
193 "B<lb binary> calls all necessary live-build programs in the correct order to "
194 "complete the binary stage."
195 msgstr ""
196
197 #. type: Plain text
198 #: en/lb_binary.1:16
199 msgid ""
200 "B<lb binary> has no specific options but understands all generic live-build "
201 "options. See I<live-build>(7) for a complete list of all generic live-build "
202 "options."
203 msgstr ""
0 # SOME DESCRIPTIVE TITLE
1 # Copyright (C) YEAR Free Software Foundation, Inc.
2 # This file is distributed under the same license as the live-build package.
3 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4 #
5 #, fuzzy
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: live-build VERSION\n"
9 "POT-Creation-Date: 2012-12-23 10:50+0100\n"
10 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Language-Team: LANGUAGE <[email protected]>\n"
13 "Language: \n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=CHARSET\n"
16 "Content-Transfer-Encoding: 8bit\n"
17
18 #. type: TH
19 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
20 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
21 #: en/lb_testroot.1:1 en/live-build.7:1
22 #, no-wrap
23 msgid "LIVE-BUILD"
24 msgstr ""
25
26 #. type: TH
27 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
28 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
29 #: en/lb_testroot.1:1 en/live-build.7:1
30 #, no-wrap
31 msgid "2012-12-23"
32 msgstr ""
33
34 #. type: TH
35 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
36 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
37 #: en/lb_testroot.1:1 en/live-build.7:1
38 #, no-wrap
39 msgid "3.0~b4-1"
40 msgstr ""
41
42 #. type: TH
43 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
44 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
45 #: en/lb_testroot.1:1 en/live-build.7:1
46 #, no-wrap
47 msgid "Debian Live Project"
48 msgstr ""
49
50 #. type: SH
51 #: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3
52 #: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3
53 #: en/lb_testroot.1:3 en/live-build.7:3
54 #, no-wrap
55 msgid "NAME"
56 msgstr ""
57
58 #. type: SH
59 #: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6
60 #: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6
61 #: en/lb_testroot.1:6 en/live-build.7:6
62 #, no-wrap
63 msgid "SYNOPSIS"
64 msgstr ""
65
66 #. type: SH
67 #: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9
68 #: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9
69 #: en/lb_testroot.1:9 en/live-build.7:11
70 #, no-wrap
71 msgid "DESCRIPTION"
72 msgstr ""
73
74 #. type: SH
75 #: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14
76 #: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14
77 #: en/lb_testroot.1:18 en/live-build.7:20
78 #, no-wrap
79 msgid "OPTIONS"
80 msgstr ""
81
82 #. type: SH
83 #: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17
84 #: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17
85 #: en/lb_testroot.1:21 en/live-build.7:219
86 #, no-wrap
87 msgid "FILES"
88 msgstr ""
89
90 #. type: IP
91 #: en/lb.1:20 en/lb_binary.1:18 en/lb_bootstrap.1:18 en/lb_chroot.1:18
92 #: en/lb_source.1:18 en/lb_testroot.1:22
93 #, no-wrap
94 msgid "B<none>"
95 msgstr ""
96
97 #. type: SH
98 #: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22
99 #: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20
100 #: en/lb_testroot.1:24 en/live-build.7:223
101 #, no-wrap
102 msgid "SEE ALSO"
103 msgstr ""
104
105 #. type: Plain text
106 #: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24
107 #: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22
108 #: en/lb_testroot.1:26
109 msgid "I<live-build>(7)"
110 msgstr ""
111
112 #. type: Plain text
113 #: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26
114 #: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24
115 #: en/lb_testroot.1:28 en/live-build.7:229
116 msgid "This program is a part of live-build."
117 msgstr ""
118
119 #. type: SH
120 #: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27
121 #: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25
122 #: en/lb_testroot.1:29 en/live-build.7:230
123 #, no-wrap
124 msgid "HOMEPAGE"
125 msgstr ""
126
127 #. type: Plain text
128 #: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29
129 #: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27
130 #: en/lb_testroot.1:31 en/live-build.7:232
131 msgid ""
132 "More information about live-build and the Debian Live project can be found "
133 "on the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
134 "E<lt>I<http://live.debian.net/manual/>E<gt>."
135 msgstr ""
136
137 #. type: SH
138 #: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30
139 #: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28
140 #: en/lb_testroot.1:32 en/live-build.7:233
141 #, no-wrap
142 msgid "BUGS"
143 msgstr ""
144
145 #. type: Plain text
146 #: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32
147 #: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30
148 #: en/lb_testroot.1:34 en/live-build.7:235
149 msgid ""
150 "Bugs can be reported by submitting a bugreport for the live-build package in "
151 "the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or by "
152 "writing a mail to the Debian Live mailing list at E<lt>I<debian-live@lists."
153 "debian.org>E<gt>."
154 msgstr ""
155
156 #. type: SH
157 #: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33
158 #: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31
159 #: en/lb_testroot.1:35 en/live-build.7:236
160 #, no-wrap
161 msgid "AUTHOR"
162 msgstr ""
163
164 #. type: Plain text
165 #: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34
166 #: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32
167 #: en/lb_testroot.1:36 en/live-build.7:237
168 msgid ""
169 "live-build was written by Daniel Baumann E<lt>I<[email protected]>E<gt> for "
170 "the Debian project."
171 msgstr ""
172
173 #. type: Plain text
174 #: en/lb_bootstrap.1:5
175 msgid "B<lb bootstrap> - Complete the bootstrap stage"
176 msgstr ""
177
178 #. type: Plain text
179 #: en/lb_bootstrap.1:8
180 msgid "B<lb bootstrap> [I<live-build options>]"
181 msgstr ""
182
183 #. type: Plain text
184 #: en/lb_bootstrap.1:11
185 msgid ""
186 "B<lb bootstrap> is a high-level command (porcelain) of I<live-build>(7), the "
187 "Debian Live tool suite."
188 msgstr ""
189
190 #. type: Plain text
191 #: en/lb_bootstrap.1:13
192 msgid ""
193 "B<lb bootstrap> calls all necessary live-build programs in the correct order "
194 "to complete the bootstrap stage."
195 msgstr ""
196
197 #. type: Plain text
198 #: en/lb_bootstrap.1:16
199 msgid ""
200 "B<lb bootstrap> has no specific options but understands all generic live-"
201 "build options. See I<live-build>(7) for a complete list of all generic live-"
202 "build options."
203 msgstr ""
0 # SOME DESCRIPTIVE TITLE
1 # Copyright (C) YEAR Free Software Foundation, Inc.
2 # This file is distributed under the same license as the live-build package.
3 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4 #
5 #, fuzzy
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: live-build VERSION\n"
9 "POT-Creation-Date: 2012-12-23 10:50+0100\n"
10 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Language-Team: LANGUAGE <[email protected]>\n"
13 "Language: \n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=CHARSET\n"
16 "Content-Transfer-Encoding: 8bit\n"
17
18 #. type: TH
19 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
20 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
21 #: en/lb_testroot.1:1 en/live-build.7:1
22 #, no-wrap
23 msgid "LIVE-BUILD"
24 msgstr ""
25
26 #. type: TH
27 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
28 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
29 #: en/lb_testroot.1:1 en/live-build.7:1
30 #, no-wrap
31 msgid "2012-12-23"
32 msgstr ""
33
34 #. type: TH
35 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
36 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
37 #: en/lb_testroot.1:1 en/live-build.7:1
38 #, no-wrap
39 msgid "3.0~b4-1"
40 msgstr ""
41
42 #. type: TH
43 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
44 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
45 #: en/lb_testroot.1:1 en/live-build.7:1
46 #, no-wrap
47 msgid "Debian Live Project"
48 msgstr ""
49
50 #. type: SH
51 #: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3
52 #: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3
53 #: en/lb_testroot.1:3 en/live-build.7:3
54 #, no-wrap
55 msgid "NAME"
56 msgstr ""
57
58 #. type: SH
59 #: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6
60 #: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6
61 #: en/lb_testroot.1:6 en/live-build.7:6
62 #, no-wrap
63 msgid "SYNOPSIS"
64 msgstr ""
65
66 #. type: SH
67 #: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9
68 #: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9
69 #: en/lb_testroot.1:9 en/live-build.7:11
70 #, no-wrap
71 msgid "DESCRIPTION"
72 msgstr ""
73
74 #. type: SH
75 #: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14
76 #: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14
77 #: en/lb_testroot.1:18 en/live-build.7:20
78 #, no-wrap
79 msgid "OPTIONS"
80 msgstr ""
81
82 #. type: SH
83 #: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17
84 #: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17
85 #: en/lb_testroot.1:21 en/live-build.7:219
86 #, no-wrap
87 msgid "FILES"
88 msgstr ""
89
90 #. type: SH
91 #: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22
92 #: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20
93 #: en/lb_testroot.1:24 en/live-build.7:223
94 #, no-wrap
95 msgid "SEE ALSO"
96 msgstr ""
97
98 #. type: Plain text
99 #: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24
100 #: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22
101 #: en/lb_testroot.1:26
102 msgid "I<live-build>(7)"
103 msgstr ""
104
105 #. type: Plain text
106 #: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26
107 #: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24
108 #: en/lb_testroot.1:28 en/live-build.7:229
109 msgid "This program is a part of live-build."
110 msgstr ""
111
112 #. type: SH
113 #: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27
114 #: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25
115 #: en/lb_testroot.1:29 en/live-build.7:230
116 #, no-wrap
117 msgid "HOMEPAGE"
118 msgstr ""
119
120 #. type: Plain text
121 #: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29
122 #: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27
123 #: en/lb_testroot.1:31 en/live-build.7:232
124 msgid ""
125 "More information about live-build and the Debian Live project can be found "
126 "on the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
127 "E<lt>I<http://live.debian.net/manual/>E<gt>."
128 msgstr ""
129
130 #. type: SH
131 #: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30
132 #: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28
133 #: en/lb_testroot.1:32 en/live-build.7:233
134 #, no-wrap
135 msgid "BUGS"
136 msgstr ""
137
138 #. type: Plain text
139 #: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32
140 #: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30
141 #: en/lb_testroot.1:34 en/live-build.7:235
142 msgid ""
143 "Bugs can be reported by submitting a bugreport for the live-build package in "
144 "the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or by "
145 "writing a mail to the Debian Live mailing list at E<lt>I<debian-live@lists."
146 "debian.org>E<gt>."
147 msgstr ""
148
149 #. type: SH
150 #: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33
151 #: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31
152 #: en/lb_testroot.1:35 en/live-build.7:236
153 #, no-wrap
154 msgid "AUTHOR"
155 msgstr ""
156
157 #. type: Plain text
158 #: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34
159 #: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32
160 #: en/lb_testroot.1:36 en/live-build.7:237
161 msgid ""
162 "live-build was written by Daniel Baumann E<lt>I<[email protected]>E<gt> for "
163 "the Debian project."
164 msgstr ""
165
166 #. type: Plain text
167 #: en/lb_build.1:5
168 msgid "B<lb build> - Complete the bootstrap, chroot, binary, and source stages"
169 msgstr ""
170
171 #. type: Plain text
172 #: en/lb_build.1:8
173 msgid "B<lb build> [I<live-build options>]"
174 msgstr ""
175
176 #. type: Plain text
177 #: en/lb_build.1:11
178 msgid ""
179 "B<lb build> is a high-level command (porcelain) of I<live-build>(7), the "
180 "Debian Live tool suite."
181 msgstr ""
182
183 #. type: Plain text
184 #: en/lb_build.1:13
185 msgid ""
186 "B<lb build> calls all necessary live-build programs in the correct order to "
187 "complete the bootstrap, chroot, binary, and source stages."
188 msgstr ""
189
190 #. type: Plain text
191 #: en/lb_build.1:16
192 msgid ""
193 "B<lb build> has no specific options but understands all generic live-build "
194 "options. See I<live-build>(7) for a complete list of all generic live-build "
195 "options."
196 msgstr ""
197
198 #. FIXME
199 #. type: IP
200 #: en/lb_build.1:19
201 #, no-wrap
202 msgid "B<auto/build>"
203 msgstr ""
0 # SOME DESCRIPTIVE TITLE
1 # Copyright (C) YEAR Free Software Foundation, Inc.
2 # This file is distributed under the same license as the live-build package.
3 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4 #
5 #, fuzzy
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: live-build VERSION\n"
9 "POT-Creation-Date: 2012-12-23 10:50+0100\n"
10 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Language-Team: LANGUAGE <[email protected]>\n"
13 "Language: \n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=CHARSET\n"
16 "Content-Transfer-Encoding: 8bit\n"
17
18 #. type: TH
19 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
20 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
21 #: en/lb_testroot.1:1 en/live-build.7:1
22 #, no-wrap
23 msgid "LIVE-BUILD"
24 msgstr ""
25
26 #. type: TH
27 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
28 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
29 #: en/lb_testroot.1:1 en/live-build.7:1
30 #, no-wrap
31 msgid "2012-12-23"
32 msgstr ""
33
34 #. type: TH
35 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
36 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
37 #: en/lb_testroot.1:1 en/live-build.7:1
38 #, no-wrap
39 msgid "3.0~b4-1"
40 msgstr ""
41
42 #. type: TH
43 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
44 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
45 #: en/lb_testroot.1:1 en/live-build.7:1
46 #, no-wrap
47 msgid "Debian Live Project"
48 msgstr ""
49
50 #. type: SH
51 #: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3
52 #: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3
53 #: en/lb_testroot.1:3 en/live-build.7:3
54 #, no-wrap
55 msgid "NAME"
56 msgstr ""
57
58 #. type: SH
59 #: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6
60 #: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6
61 #: en/lb_testroot.1:6 en/live-build.7:6
62 #, no-wrap
63 msgid "SYNOPSIS"
64 msgstr ""
65
66 #. type: SH
67 #: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9
68 #: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9
69 #: en/lb_testroot.1:9 en/live-build.7:11
70 #, no-wrap
71 msgid "DESCRIPTION"
72 msgstr ""
73
74 #. type: SH
75 #: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14
76 #: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14
77 #: en/lb_testroot.1:18 en/live-build.7:20
78 #, no-wrap
79 msgid "OPTIONS"
80 msgstr ""
81
82 #. type: SH
83 #: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17
84 #: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17
85 #: en/lb_testroot.1:21 en/live-build.7:219
86 #, no-wrap
87 msgid "FILES"
88 msgstr ""
89
90 #. type: IP
91 #: en/lb.1:20 en/lb_binary.1:18 en/lb_bootstrap.1:18 en/lb_chroot.1:18
92 #: en/lb_source.1:18 en/lb_testroot.1:22
93 #, no-wrap
94 msgid "B<none>"
95 msgstr ""
96
97 #. type: SH
98 #: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22
99 #: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20
100 #: en/lb_testroot.1:24 en/live-build.7:223
101 #, no-wrap
102 msgid "SEE ALSO"
103 msgstr ""
104
105 #. type: Plain text
106 #: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24
107 #: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22
108 #: en/lb_testroot.1:26
109 msgid "I<live-build>(7)"
110 msgstr ""
111
112 #. type: Plain text
113 #: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26
114 #: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24
115 #: en/lb_testroot.1:28 en/live-build.7:229
116 msgid "This program is a part of live-build."
117 msgstr ""
118
119 #. type: SH
120 #: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27
121 #: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25
122 #: en/lb_testroot.1:29 en/live-build.7:230
123 #, no-wrap
124 msgid "HOMEPAGE"
125 msgstr ""
126
127 #. type: Plain text
128 #: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29
129 #: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27
130 #: en/lb_testroot.1:31 en/live-build.7:232
131 msgid ""
132 "More information about live-build and the Debian Live project can be found "
133 "on the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
134 "E<lt>I<http://live.debian.net/manual/>E<gt>."
135 msgstr ""
136
137 #. type: SH
138 #: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30
139 #: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28
140 #: en/lb_testroot.1:32 en/live-build.7:233
141 #, no-wrap
142 msgid "BUGS"
143 msgstr ""
144
145 #. type: Plain text
146 #: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32
147 #: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30
148 #: en/lb_testroot.1:34 en/live-build.7:235
149 msgid ""
150 "Bugs can be reported by submitting a bugreport for the live-build package in "
151 "the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or by "
152 "writing a mail to the Debian Live mailing list at E<lt>I<debian-live@lists."
153 "debian.org>E<gt>."
154 msgstr ""
155
156 #. type: SH
157 #: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33
158 #: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31
159 #: en/lb_testroot.1:35 en/live-build.7:236
160 #, no-wrap
161 msgid "AUTHOR"
162 msgstr ""
163
164 #. type: Plain text
165 #: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34
166 #: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32
167 #: en/lb_testroot.1:36 en/live-build.7:237
168 msgid ""
169 "live-build was written by Daniel Baumann E<lt>I<[email protected]>E<gt> for "
170 "the Debian project."
171 msgstr ""
172
173 #. type: Plain text
174 #: en/lb_chroot.1:5
175 msgid "B<lb chroot> - Complete the chroot stage"
176 msgstr ""
177
178 #. type: Plain text
179 #: en/lb_chroot.1:8
180 msgid "B<lb chroot> [I<live-build options>]"
181 msgstr ""
182
183 #. type: Plain text
184 #: en/lb_chroot.1:11
185 msgid ""
186 "B<lb chroot> is a high-level command (porcelain) of I<live-build>(7), the "
187 "Debian Live tool suite."
188 msgstr ""
189
190 #. type: Plain text
191 #: en/lb_chroot.1:13
192 msgid ""
193 "B<lb chroot> calls all necessary live-build programs in the correct order to "
194 "complete the chroot stage."
195 msgstr ""
196
197 #. type: Plain text
198 #: en/lb_chroot.1:16
199 msgid ""
200 "B<lb chroot> has no specific options but understands all generic live-build "
201 "options. See I<live-build>(7) for a complete list of all generic live-build "
202 "options."
203 msgstr ""
0 # SOME DESCRIPTIVE TITLE
1 # Copyright (C) YEAR Free Software Foundation, Inc.
2 # This file is distributed under the same license as the live-build package.
3 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4 #
5 #, fuzzy
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: live-build VERSION\n"
9 "POT-Creation-Date: 2012-12-23 10:50+0100\n"
10 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Language-Team: LANGUAGE <[email protected]>\n"
13 "Language: \n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=CHARSET\n"
16 "Content-Transfer-Encoding: 8bit\n"
17
18 #. type: TH
19 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
20 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
21 #: en/lb_testroot.1:1 en/live-build.7:1
22 #, no-wrap
23 msgid "LIVE-BUILD"
24 msgstr ""
25
26 #. type: TH
27 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
28 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
29 #: en/lb_testroot.1:1 en/live-build.7:1
30 #, no-wrap
31 msgid "2012-12-23"
32 msgstr ""
33
34 #. type: TH
35 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
36 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
37 #: en/lb_testroot.1:1 en/live-build.7:1
38 #, no-wrap
39 msgid "3.0~b4-1"
40 msgstr ""
41
42 #. type: TH
43 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
44 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
45 #: en/lb_testroot.1:1 en/live-build.7:1
46 #, no-wrap
47 msgid "Debian Live Project"
48 msgstr ""
49
50 #. type: SH
51 #: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3
52 #: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3
53 #: en/lb_testroot.1:3 en/live-build.7:3
54 #, no-wrap
55 msgid "NAME"
56 msgstr ""
57
58 #. type: SH
59 #: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6
60 #: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6
61 #: en/lb_testroot.1:6 en/live-build.7:6
62 #, no-wrap
63 msgid "SYNOPSIS"
64 msgstr ""
65
66 #. type: SH
67 #: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9
68 #: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9
69 #: en/lb_testroot.1:9 en/live-build.7:11
70 #, no-wrap
71 msgid "DESCRIPTION"
72 msgstr ""
73
74 #. type: SH
75 #: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14
76 #: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14
77 #: en/lb_testroot.1:18 en/live-build.7:20
78 #, no-wrap
79 msgid "OPTIONS"
80 msgstr ""
81
82 #. type: SH
83 #: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17
84 #: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17
85 #: en/lb_testroot.1:21 en/live-build.7:219
86 #, no-wrap
87 msgid "FILES"
88 msgstr ""
89
90 #. type: SH
91 #: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22
92 #: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20
93 #: en/lb_testroot.1:24 en/live-build.7:223
94 #, no-wrap
95 msgid "SEE ALSO"
96 msgstr ""
97
98 #. type: Plain text
99 #: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24
100 #: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22
101 #: en/lb_testroot.1:26
102 msgid "I<live-build>(7)"
103 msgstr ""
104
105 #. type: Plain text
106 #: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26
107 #: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24
108 #: en/lb_testroot.1:28 en/live-build.7:229
109 msgid "This program is a part of live-build."
110 msgstr ""
111
112 #. type: SH
113 #: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27
114 #: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25
115 #: en/lb_testroot.1:29 en/live-build.7:230
116 #, no-wrap
117 msgid "HOMEPAGE"
118 msgstr ""
119
120 #. type: Plain text
121 #: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29
122 #: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27
123 #: en/lb_testroot.1:31 en/live-build.7:232
124 msgid ""
125 "More information about live-build and the Debian Live project can be found "
126 "on the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
127 "E<lt>I<http://live.debian.net/manual/>E<gt>."
128 msgstr ""
129
130 #. type: SH
131 #: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30
132 #: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28
133 #: en/lb_testroot.1:32 en/live-build.7:233
134 #, no-wrap
135 msgid "BUGS"
136 msgstr ""
137
138 #. type: Plain text
139 #: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32
140 #: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30
141 #: en/lb_testroot.1:34 en/live-build.7:235
142 msgid ""
143 "Bugs can be reported by submitting a bugreport for the live-build package in "
144 "the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or by "
145 "writing a mail to the Debian Live mailing list at E<lt>I<debian-live@lists."
146 "debian.org>E<gt>."
147 msgstr ""
148
149 #. type: SH
150 #: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33
151 #: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31
152 #: en/lb_testroot.1:35 en/live-build.7:236
153 #, no-wrap
154 msgid "AUTHOR"
155 msgstr ""
156
157 #. type: Plain text
158 #: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34
159 #: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32
160 #: en/lb_testroot.1:36 en/live-build.7:237
161 msgid ""
162 "live-build was written by Daniel Baumann E<lt>I<[email protected]>E<gt> for "
163 "the Debian project."
164 msgstr ""
165
166 #. type: Plain text
167 #: en/lb_clean.1:5
168 msgid "B<lb clean> - Clean build directory"
169 msgstr ""
170
171 #. type: Plain text
172 #: en/lb_clean.1:8
173 msgid "B<lb clean> [I<live-build options>]"
174 msgstr ""
175
176 #. type: Plain text
177 #: en/lb_clean.1:11
178 msgid ""
179 "B<lb clean> is a high-level command (porcelain) of I<live-build>(7), the "
180 "Debian Live tool suite."
181 msgstr ""
182
183 #. FIXME
184 #. FIXME
185 #. type: Plain text
186 #: en/lb_clean.1:15
187 msgid ""
188 "B<lb clean> is responsible for cleaning up after a system is built. It "
189 "removes the build directories, and removes some other files including stage "
190 "files, and any detritus left behind by other live-build commands."
191 msgstr ""
192
193 #. type: Plain text
194 #: en/lb_clean.1:18
195 msgid ""
196 "In addition to its specific options B<lb clean> understands all generic live-"
197 "build options. See I<live-build>(7) for a complete list of all generic live-"
198 "build options."
199 msgstr ""
200
201 #. FIXME
202 #. type: IP
203 #: en/lb_clean.1:20
204 #, no-wrap
205 msgid "B<--all>"
206 msgstr ""
207
208 #. type: Plain text
209 #: en/lb_clean.1:22
210 msgid ""
211 "removes chroot, binary, stage, and source. The cache directory is kept. This "
212 "is the default operation and will be performed if no argument is given."
213 msgstr ""
214
215 #. type: IP
216 #: en/lb_clean.1:22
217 #, no-wrap
218 msgid "B<--cache>"
219 msgstr ""
220
221 #. type: Plain text
222 #: en/lb_clean.1:24
223 msgid "removes the cache directories."
224 msgstr ""
225
226 #. type: IP
227 #: en/lb_clean.1:24
228 #, no-wrap
229 msgid "B<--chroot>"
230 msgstr ""
231
232 #. type: Plain text
233 #: en/lb_clean.1:26
234 msgid "unmounts and removes the chroot directory."
235 msgstr ""
236
237 #. type: IP
238 #: en/lb_clean.1:26
239 #, no-wrap
240 msgid "B<--binary>"
241 msgstr ""
242
243 #. type: Plain text
244 #: en/lb_clean.1:28
245 msgid ""
246 "removes all binary related caches, files, directories, and stages files."
247 msgstr ""
248
249 #. type: IP
250 #: en/lb_clean.1:28
251 #, no-wrap
252 msgid "B<--purge>"
253 msgstr ""
254
255 #. type: Plain text
256 #: en/lb_clean.1:30
257 msgid "removes everything, including all caches. The config directory is kept."
258 msgstr ""
259
260 #. type: IP
261 #: en/lb_clean.1:30
262 #, no-wrap
263 msgid "B<--remove>"
264 msgstr ""
265
266 #. type: Plain text
267 #: en/lb_clean.1:32
268 msgid ""
269 "removes everything, including package cache but not stage cache. The config "
270 "directory is kept."
271 msgstr ""
272
273 #. type: IP
274 #: en/lb_clean.1:32
275 #, no-wrap
276 msgid "B<--stage>"
277 msgstr ""
278
279 #. type: Plain text
280 #: en/lb_clean.1:34
281 msgid "removes all stage files."
282 msgstr ""
283
284 #. type: IP
285 #: en/lb_clean.1:34
286 #, no-wrap
287 msgid "B<--source>"
288 msgstr ""
289
290 #. FIXME
291 #. type: Plain text
292 #: en/lb_clean.1:37
293 msgid "removes all source related caches, files, directories, and stage files."
294 msgstr ""
295
296 #. FIXME
297 #. type: IP
298 #: en/lb_clean.1:40
299 #, no-wrap
300 msgid "B<auto/clean>"
301 msgstr ""
0 # SOME DESCRIPTIVE TITLE
1 # Copyright (C) YEAR Free Software Foundation, Inc.
2 # This file is distributed under the same license as the live-build package.
3 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4 #
5 #, fuzzy
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: live-build VERSION\n"
9 "POT-Creation-Date: 2012-12-23 10:50+0100\n"
10 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Language-Team: LANGUAGE <[email protected]>\n"
13 "Language: \n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=CHARSET\n"
16 "Content-Transfer-Encoding: 8bit\n"
17
18 #. type: TH
19 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
20 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
21 #: en/lb_testroot.1:1 en/live-build.7:1
22 #, no-wrap
23 msgid "LIVE-BUILD"
24 msgstr ""
25
26 #. type: TH
27 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
28 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
29 #: en/lb_testroot.1:1 en/live-build.7:1
30 #, no-wrap
31 msgid "2012-12-23"
32 msgstr ""
33
34 #. type: TH
35 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
36 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
37 #: en/lb_testroot.1:1 en/live-build.7:1
38 #, no-wrap
39 msgid "3.0~b4-1"
40 msgstr ""
41
42 #. type: TH
43 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
44 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
45 #: en/lb_testroot.1:1 en/live-build.7:1
46 #, no-wrap
47 msgid "Debian Live Project"
48 msgstr ""
49
50 #. type: SH
51 #: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3
52 #: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3
53 #: en/lb_testroot.1:3 en/live-build.7:3
54 #, no-wrap
55 msgid "NAME"
56 msgstr ""
57
58 #. type: SH
59 #: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6
60 #: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6
61 #: en/lb_testroot.1:6 en/live-build.7:6
62 #, no-wrap
63 msgid "SYNOPSIS"
64 msgstr ""
65
66 #. type: SH
67 #: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9
68 #: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9
69 #: en/lb_testroot.1:9 en/live-build.7:11
70 #, no-wrap
71 msgid "DESCRIPTION"
72 msgstr ""
73
74 #. type: SH
75 #: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14
76 #: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14
77 #: en/lb_testroot.1:18 en/live-build.7:20
78 #, no-wrap
79 msgid "OPTIONS"
80 msgstr ""
81
82 #. type: SH
83 #: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17
84 #: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17
85 #: en/lb_testroot.1:21 en/live-build.7:219
86 #, no-wrap
87 msgid "FILES"
88 msgstr ""
89
90 #. type: SH
91 #: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22
92 #: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20
93 #: en/lb_testroot.1:24 en/live-build.7:223
94 #, no-wrap
95 msgid "SEE ALSO"
96 msgstr ""
97
98 #. type: Plain text
99 #: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24
100 #: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22
101 #: en/lb_testroot.1:26
102 msgid "I<live-build>(7)"
103 msgstr ""
104
105 #. type: Plain text
106 #: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26
107 #: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24
108 #: en/lb_testroot.1:28 en/live-build.7:229
109 msgid "This program is a part of live-build."
110 msgstr ""
111
112 #. type: SH
113 #: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27
114 #: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25
115 #: en/lb_testroot.1:29 en/live-build.7:230
116 #, no-wrap
117 msgid "HOMEPAGE"
118 msgstr ""
119
120 #. type: Plain text
121 #: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29
122 #: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27
123 #: en/lb_testroot.1:31 en/live-build.7:232
124 msgid ""
125 "More information about live-build and the Debian Live project can be found "
126 "on the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
127 "E<lt>I<http://live.debian.net/manual/>E<gt>."
128 msgstr ""
129
130 #. type: SH
131 #: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30
132 #: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28
133 #: en/lb_testroot.1:32 en/live-build.7:233
134 #, no-wrap
135 msgid "BUGS"
136 msgstr ""
137
138 #. type: Plain text
139 #: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32
140 #: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30
141 #: en/lb_testroot.1:34 en/live-build.7:235
142 msgid ""
143 "Bugs can be reported by submitting a bugreport for the live-build package in "
144 "the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or by "
145 "writing a mail to the Debian Live mailing list at E<lt>I<debian-live@lists."
146 "debian.org>E<gt>."
147 msgstr ""
148
149 #. type: SH
150 #: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33
151 #: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31
152 #: en/lb_testroot.1:35 en/live-build.7:236
153 #, no-wrap
154 msgid "AUTHOR"
155 msgstr ""
156
157 #. type: Plain text
158 #: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34
159 #: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32
160 #: en/lb_testroot.1:36 en/live-build.7:237
161 msgid ""
162 "live-build was written by Daniel Baumann E<lt>I<[email protected]>E<gt> for "
163 "the Debian project."
164 msgstr ""
165
166 #. type: Plain text
167 #: en/lb_config.1:5
168 msgid "B<lb config> - Create config directory"
169 msgstr ""
170
171 #. type: Plain text
172 #: en/lb_config.1:8
173 msgid "B<lb config> [I<live-build options>]"
174 msgstr ""
175
176 #. FIXME
177 #. type: Plain text
178 #: en/lb_config.1:11
179 msgid "B<lb config>"
180 msgstr ""
181
182 #. type: Plain text
183 #: en/lb_config.1:13
184 msgid " [B<--apt> apt|aptitude]"
185 msgstr ""
186
187 #. type: Plain text
188 #: en/lb_config.1:15
189 msgid " [B<--apt-ftp-proxy> I<URL>]"
190 msgstr ""
191
192 #. type: Plain text
193 #: en/lb_config.1:17
194 msgid " [B<--apt-http-proxy> I<URL>]"
195 msgstr ""
196
197 #. type: Plain text
198 #: en/lb_config.1:19
199 msgid " [B<--apt-indices> true|false|none]"
200 msgstr ""
201
202 #. type: Plain text
203 #: en/lb_config.1:21
204 msgid " [B<--apt-options> I<OPTION>|\"I<OPTIONS>\"]"
205 msgstr ""
206
207 #. type: Plain text
208 #: en/lb_config.1:23
209 msgid " [B<--aptitude-options> I<OPTION>|\"I<OPTIONS>\"]"
210 msgstr ""
211
212 #. type: Plain text
213 #: en/lb_config.1:25
214 msgid " [B<--apt-pipeline> I<DEPTH>]"
215 msgstr ""
216
217 #. type: Plain text
218 #: en/lb_config.1:27
219 msgid " [B<--apt-recommends> true|false]"
220 msgstr ""
221
222 #. type: Plain text
223 #: en/lb_config.1:29
224 msgid " [B<--apt-secure> true|false]"
225 msgstr ""
226
227 #. type: Plain text
228 #: en/lb_config.1:31
229 msgid " [B<--apt-source-archives> true|false]"
230 msgstr ""
231
232 #. type: Plain text
233 #: en/lb_config.1:33
234 msgid " [-a|B<--architectures> I<ARCHITECTURE>]"
235 msgstr ""
236
237 #. type: Plain text
238 #: en/lb_config.1:35
239 msgid " [-b|B<--binary-images> iso|iso-hybrid|netboot|tar|hdd]"
240 msgstr ""
241
242 #. type: Plain text
243 #: en/lb_config.1:37
244 msgid " [B<--binary-filesystem> fat16|fat32|ext2|ext3|ext4]"
245 msgstr ""
246
247 #. type: Plain text
248 #: en/lb_config.1:39
249 msgid " [B<--bootappend-install> I<PARAMETER>|I<\"PARAMETERS\">]"
250 msgstr ""
251
252 #. type: Plain text
253 #: en/lb_config.1:41
254 msgid " [B<--bootappend-live> I<PARAMETER>|I<\"PARAMETERS\">]"
255 msgstr ""
256
257 #. type: Plain text
258 #: en/lb_config.1:43
259 msgid " [B<--bootloader> grub|syslinux|yaboot]"
260 msgstr ""
261
262 #. type: Plain text
263 #: en/lb_config.1:45
264 msgid " [B<--bootstrap> cdebootstrap|cdebootstrap-static|debootstrap]"
265 msgstr ""
266
267 #. type: Plain text
268 #: en/lb_config.1:47
269 msgid " [B<--cache> true|false]"
270 msgstr ""
271
272 #. type: Plain text
273 #: en/lb_config.1:49
274 msgid " [B<--cache-indices> true|false]"
275 msgstr ""
276
277 #. type: Plain text
278 #: en/lb_config.1:51
279 msgid " [B<--cache-packages> true|false]"
280 msgstr ""
281
282 #. type: Plain text
283 #: en/lb_config.1:53
284 msgid " [B<--cache-stages> I<STAGE>|I<\"STAGES\">]"
285 msgstr ""
286
287 #. type: Plain text
288 #: en/lb_config.1:55
289 msgid " [B<--checksums> md5|sha1|sha256|none]"
290 msgstr ""
291
292 #. type: Plain text
293 #: en/lb_config.1:57
294 msgid " [B<--compression> bzip2|gzip|lzip|none]"
295 msgstr ""
296
297 #. type: Plain text
298 #: en/lb_config.1:59
299 msgid " [B<--config> I<GIT_URL::GIT_ID>]"
300 msgstr ""
301
302 #. type: Plain text
303 #: en/lb_config.1:61
304 msgid " [B<--build-with-chroot> true|false]"
305 msgstr ""
306
307 #. type: Plain text
308 #: en/lb_config.1:63
309 msgid " [B<--chroot-filesystem> ext2|ext3|ext4|squashfs|jffs2|none]"
310 msgstr ""
311
312 #. type: Plain text
313 #: en/lb_config.1:65
314 msgid " [B<--clean>]"
315 msgstr ""
316
317 #. type: Plain text
318 #: en/lb_config.1:67
319 msgid " [-c|B<--conffile> I<FILE>]"
320 msgstr ""
321
322 #. type: Plain text
323 #: en/lb_config.1:69
324 msgid " [B<--debconf-frontend> dialog|editor|noninteractive|readline]"
325 msgstr ""
326
327 #. type: Plain text
328 #: en/lb_config.1:71
329 msgid " [B<--debconf-priority> low|medium|high|critical]"
330 msgstr ""
331
332 #. type: Plain text
333 #: en/lb_config.1:73
334 msgid ""
335 " [B<--debian-installer> true|cdrom|netinst|netboot|businesscard|live|false]"
336 msgstr ""
337
338 #. type: Plain text
339 #: en/lb_config.1:75
340 msgid " [B<--debian-installer-distribution> daily|I<CODENAME>]"
341 msgstr ""
342
343 #. type: Plain text
344 #: en/lb_config.1:77
345 msgid " [B<--debian-installer-preseedfile> I<FILE>|I<URL>]"
346 msgstr ""
347
348 #. type: Plain text
349 #: en/lb_config.1:79
350 msgid " [B<--debian-installer-gui> true|false]"
351 msgstr ""
352
353 #. type: Plain text
354 #: en/lb_config.1:81
355 msgid " [B<--debug>]"
356 msgstr ""
357
358 #. type: Plain text
359 #: en/lb_config.1:83
360 msgid " [-d|B<--distribution> I<CODENAME>]"
361 msgstr ""
362
363 #. type: Plain text
364 #: en/lb_config.1:85
365 msgid " [B<--parent-distribution> I<CODENAME>]"
366 msgstr ""
367
368 #. type: Plain text
369 #: en/lb_config.1:87
370 msgid " [B<--parent-debian-installer-distribution> I<CODENAME>]"
371 msgstr ""
372
373 #. type: Plain text
374 #: en/lb_config.1:89
375 msgid " [B<--dump>]"
376 msgstr ""
377
378 #. type: Plain text
379 #: en/lb_config.1:91
380 msgid " [B<--fdisk> fdisk|fdisk.dist]"
381 msgstr ""
382
383 #. type: Plain text
384 #: en/lb_config.1:93
385 msgid " [B<--firmware-binary true|false>]"
386 msgstr ""
387
388 #. type: Plain text
389 #: en/lb_config.1:95
390 msgid " [B<--firmware-chroot true|false>]"
391 msgstr ""
392
393 #. type: Plain text
394 #: en/lb_config.1:97
395 msgid " [B<--force>]"
396 msgstr ""
397
398 #. type: Plain text
399 #: en/lb_config.1:99
400 msgid " [B<--grub-splash> I<FILE>]"
401 msgstr ""
402
403 #. type: Plain text
404 #: en/lb_config.1:101
405 msgid " [B<--gzip-options> I<OPTION>|\"I<OPTIONS>\"]"
406 msgstr ""
407
408 #. type: Plain text
409 #: en/lb_config.1:103
410 msgid " [B<--hooks> I<FILE>]"
411 msgstr ""
412
413 #. type: Plain text
414 #: en/lb_config.1:105
415 msgid " [B<--ignore-system-defaults>]"
416 msgstr ""
417
418 #. type: Plain text
419 #: en/lb_config.1:107
420 msgid " [B<--initramfs> auto|none|live-boot|casper]"
421 msgstr ""
422
423 #. type: Plain text
424 #: en/lb_config.1:109
425 msgid " [B<--initramfs-compression> bzip2|gzip|lzma]"
426 msgstr ""
427
428 #. type: Plain text
429 #: en/lb_config.1:111
430 msgid " [B<--initsystem> sysvinit|runit|systemd|upstart|none]"
431 msgstr ""
432
433 #. type: Plain text
434 #: en/lb_config.1:113
435 msgid " [B<--interactive> shell]"
436 msgstr ""
437
438 #. type: Plain text
439 #: en/lb_config.1:115
440 msgid " [B<--isohybrid-options> I<OPTION>|\"I<OPTIONS>\"]"
441 msgstr ""
442
443 #. type: Plain text
444 #: en/lb_config.1:117
445 msgid " [B<--iso-application> I<NAME>]"
446 msgstr ""
447
448 #. type: Plain text
449 #: en/lb_config.1:119
450 msgid " [B<--iso-preparer> I<NAME>]"
451 msgstr ""
452
453 #. type: Plain text
454 #: en/lb_config.1:121
455 msgid " [B<--iso-publisher> I<NAME>]"
456 msgstr ""
457
458 #. type: Plain text
459 #: en/lb_config.1:123
460 msgid " [B<--iso-volume> I<NAME>]"
461 msgstr ""
462
463 #. type: Plain text
464 #: en/lb_config.1:125
465 msgid " [B<--jffs2-eraseblock> I<SIZE>]"
466 msgstr ""
467
468 #. type: Plain text
469 #: en/lb_config.1:127
470 msgid " [B<--keyring-packages> I<PACKAGE|\"PACKAGES\">]"
471 msgstr ""
472
473 #. type: Plain text
474 #: en/lb_config.1:129
475 msgid " [-k|B<--linux-flavours> I<FLAVOUR>|I<\"FLAVOURS\">]"
476 msgstr ""
477
478 #. type: Plain text
479 #: en/lb_config.1:131
480 msgid " [B<--linux-packages> I<\"PACKAGES\">]"
481 msgstr ""
482
483 #. type: Plain text
484 #: en/lb_config.1:133
485 msgid " [B<--losetup> losetup|losetup.orig]"
486 msgstr ""
487
488 #. type: Plain text
489 #: en/lb_config.1:135
490 msgid " [B<--memtest> memtest86+|memtest86|none]"
491 msgstr ""
492
493 #. type: Plain text
494 #: en/lb_config.1:137
495 msgid " [-m|B<--parent-mirror-bootstrap> I<URL>]"
496 msgstr ""
497
498 #. type: Plain text
499 #: en/lb_config.1:139
500 msgid " [B<--parent-mirror-chroot> I<URL>]"
501 msgstr ""
502
503 #. type: Plain text
504 #: en/lb_config.1:141
505 msgid " [B<--parent-mirror-chroot-security> I<URL>]"
506 msgstr ""
507
508 #. type: Plain text
509 #: en/lb_config.1:143
510 msgid " [B<--parent-mirror-chroot-updates> I<URL>]"
511 msgstr ""
512
513 #. type: Plain text
514 #: en/lb_config.1:145
515 msgid " [B<--parent-mirror-chroot-backports> I<URL>]"
516 msgstr ""
517
518 #. type: Plain text
519 #: en/lb_config.1:147
520 msgid " [B<--parent-mirror-binary> I<URL>]"
521 msgstr ""
522
523 #. type: Plain text
524 #: en/lb_config.1:149
525 msgid " [B<--parent-mirror-binary-security> I<URL>]"
526 msgstr ""
527
528 #. type: Plain text
529 #: en/lb_config.1:151
530 msgid " [B<--parent-mirror-binary-updates> I<URL>]"
531 msgstr ""
532
533 #. type: Plain text
534 #: en/lb_config.1:153
535 msgid " [B<--parent-mirror-binary-backports> I<URL>]"
536 msgstr ""
537
538 #. type: Plain text
539 #: en/lb_config.1:155
540 msgid " [B<--parent-mirror-debian-installer> I<URL>]"
541 msgstr ""
542
543 #. type: Plain text
544 #: en/lb_config.1:157
545 msgid " [B<--mirror-bootstrap> I<URL>]"
546 msgstr ""
547
548 #. type: Plain text
549 #: en/lb_config.1:159
550 msgid " [B<--mirror-chroot> I<URL>]"
551 msgstr ""
552
553 #. type: Plain text
554 #: en/lb_config.1:161
555 msgid " [B<--mirror-chroot-security> I<URL>]"
556 msgstr ""
557
558 #. type: Plain text
559 #: en/lb_config.1:163
560 msgid " [B<--mirror-chroot-updates> I<URL>]"
561 msgstr ""
562
563 #. type: Plain text
564 #: en/lb_config.1:165
565 msgid " [B<--mirror-chroot-backports> I<URL>]"
566 msgstr ""
567
568 #. type: Plain text
569 #: en/lb_config.1:167
570 msgid " [B<--mirror-binary> I<URL>]"
571 msgstr ""
572
573 #. type: Plain text
574 #: en/lb_config.1:169
575 msgid " [B<--mirror-binary-security> I<URL>]"
576 msgstr ""
577
578 #. type: Plain text
579 #: en/lb_config.1:171
580 msgid " [B<--mirror-binary-updates> I<URL>]"
581 msgstr ""
582
583 #. type: Plain text
584 #: en/lb_config.1:173
585 msgid " [B<--mirror-binary-backports> I<URL>]"
586 msgstr ""
587
588 #. type: Plain text
589 #: en/lb_config.1:175
590 msgid " [B<--mirror-debian-installer> I<URL>]"
591 msgstr ""
592
593 #. type: Plain text
594 #: en/lb_config.1:177
595 msgid " [B<--mode> debian|emdebian|progress-linux|ubuntu]"
596 msgstr ""
597
598 #. type: Plain text
599 #: en/lb_config.1:179
600 msgid " [B<--system> live|normal]"
601 msgstr ""
602
603 #. type: Plain text
604 #: en/lb_config.1:181
605 msgid " [B<--net-root-filesystem> nfs|cfs]"
606 msgstr ""
607
608 #. type: Plain text
609 #: en/lb_config.1:183
610 msgid " [B<--net-root-mountoptions> I<OPTIONS>]"
611 msgstr ""
612
613 #. type: Plain text
614 #: en/lb_config.1:185
615 msgid " [B<--net-root-path> I<PATH>]"
616 msgstr ""
617
618 #. type: Plain text
619 #: en/lb_config.1:187
620 msgid " [B<--net-root-server> I<IP>|I<HOSTNAME>]"
621 msgstr ""
622
623 #. type: Plain text
624 #: en/lb_config.1:189
625 msgid " [B<--net-cow-filesystem> nfs|cfs]"
626 msgstr ""
627
628 #. type: Plain text
629 #: en/lb_config.1:191
630 msgid " [B<--net-cow-mountoptions> I<OPTIONS>]"
631 msgstr ""
632
633 #. type: Plain text
634 #: en/lb_config.1:193
635 msgid " [B<--net-cow-path> I<PATH>]"
636 msgstr ""
637
638 #. type: Plain text
639 #: en/lb_config.1:195
640 msgid " [B<--net-cow-server> I<IP>|I<HOSTNAME>]"
641 msgstr ""
642
643 #. type: Plain text
644 #: en/lb_config.1:197
645 msgid " [B<--net-tarball> true|false]"
646 msgstr ""
647
648 #. type: Plain text
649 #: en/lb_config.1:199
650 msgid " [-p|B<--package-lists> I<LIST>|I<\"LISTS\">]"
651 msgstr ""
652
653 #. type: Plain text
654 #: en/lb_config.1:201
655 msgid " [B<--quiet>]"
656 msgstr ""
657
658 #. type: Plain text
659 #: en/lb_config.1:203
660 msgid " [B<--root-command> sudo]"
661 msgstr ""
662
663 #. type: Plain text
664 #: en/lb_config.1:205
665 msgid " [B<--use-fakeroot> true|false]"
666 msgstr ""
667
668 #. type: Plain text
669 #: en/lb_config.1:207
670 msgid " [B<--archives> I<ARCHIVE>|I<\"ARCHIVES\">]"
671 msgstr ""
672
673 #. type: Plain text
674 #: en/lb_config.1:209
675 msgid " [B<--archive-areas> I<ARCHIVE_AREA>|I<\"ARCHIVE_AREAS\">]"
676 msgstr ""
677
678 #. type: Plain text
679 #: en/lb_config.1:211
680 msgid ""
681 " [B<--parent-archive-areas> I<PARENT_ARCHIVE_AREA>|I<\"PARENT_ARCHIVE_AREAS"
682 "\">]"
683 msgstr ""
684
685 #. type: Plain text
686 #: en/lb_config.1:213
687 msgid " [B<--security> true|false]"
688 msgstr ""
689
690 #. type: Plain text
691 #: en/lb_config.1:215
692 msgid " [B<--source> true|false]"
693 msgstr ""
694
695 #. type: Plain text
696 #: en/lb_config.1:217
697 msgid " [-s|B<--source-images> iso|netboot|tar|hdd]"
698 msgstr ""
699
700 #. type: Plain text
701 #: en/lb_config.1:219
702 msgid " [B<--syslinux-theme> I<THEME_SUFFIX>]"
703 msgstr ""
704
705 #. type: Plain text
706 #: en/lb_config.1:221
707 msgid " [B<--tasksel> apt|aptitude|tasksel]"
708 msgstr ""
709
710 #. type: Plain text
711 #: en/lb_config.1:223
712 msgid " [B<--templates> I<PATH>]"
713 msgstr ""
714
715 #. type: Plain text
716 #: en/lb_config.1:225
717 msgid " [B<--hdd-size >I<MB>]"
718 msgstr ""
719
720 #. type: Plain text
721 #: en/lb_config.1:227
722 msgid " [B<--updates> true|false]"
723 msgstr ""
724
725 #. type: Plain text
726 #: en/lb_config.1:229
727 msgid " [B<--backports> true|false]"
728 msgstr ""
729
730 #. type: Plain text
731 #: en/lb_config.1:231
732 msgid " [B<--exposed-root> true|false]"
733 msgstr ""
734
735 #. type: Plain text
736 #: en/lb_config.1:233
737 msgid " [B<--verbose>]"
738 msgstr ""
739
740 #. FIXME
741 #. type: Plain text
742 #: en/lb_config.1:236
743 msgid " [B<--win32-loader true|false]>"
744 msgstr ""
745
746 #. type: Plain text
747 #: en/lb_config.1:239
748 msgid ""
749 "B<lb config> is a high-level command (porcelain) of I<live-build>(7), the "
750 "Debian Live tool suite."
751 msgstr ""
752
753 #. FIXME
754 #. type: Plain text
755 #: en/lb_config.1:242
756 msgid ""
757 "B<lb config> populates the configuration directory for live-build. By "
758 "default, this directory is named 'config' and is created in the current "
759 "directory where B<lb config> was executed."
760 msgstr ""
761
762 #. FIXME
763 #. type: Plain text
764 #: en/lb_config.1:245
765 msgid ""
766 "Note: Currently B<lb config> tries to be smart and sets defaults for some "
767 "options depending on the setting of other options (e.g. which linux packages "
768 "to be used depending on if a squeeze system gets build or not). This means "
769 "that when generating a new configuration, you should call B<lb config> only "
770 "once with all options specified. Calling it several times with only a subset "
771 "of the options each can result in non working configurations. This is also "
772 "caused by the fact that B<lb config> called with one option only changes "
773 "that option, and leaves everything else as is unless its not defined. "
774 "However, B<lb config> does warn about know impossible or likely impossible "
775 "combinations that would lead to non working live systems. If unsure, remove "
776 "config/{binary,bootstrap,chroot,common,source} and call B<lb config> again."
777 msgstr ""
778
779 #. type: Plain text
780 #: en/lb_config.1:248
781 msgid ""
782 "In addition to its specific options B<lb config> understands all generic "
783 "live-build options. See I<live-build>(7) for a complete list of all generic "
784 "live-build options."
785 msgstr ""
786
787 #. FIXME
788 #. type: IP
789 #: en/lb_config.1:250
790 #, no-wrap
791 msgid "B<--apt> apt|aptitude"
792 msgstr ""
793
794 #. type: Plain text
795 #: en/lb_config.1:252
796 msgid ""
797 "defines if apt-get or aptitude is used to install packages when building the "
798 "image. The default is apt."
799 msgstr ""
800
801 #. type: IP
802 #: en/lb_config.1:252
803 #, no-wrap
804 msgid "B<--apt-ftp-proxy> I<URL>"
805 msgstr ""
806
807 #. type: Plain text
808 #: en/lb_config.1:254
809 msgid ""
810 "sets the ftp proxy to be used by apt. By default, this is empty. Note that "
811 "this variable is only for the proxy that gets used by apt internally within "
812 "the chroot, it is not used for anything else."
813 msgstr ""
814
815 #. type: IP
816 #: en/lb_config.1:254
817 #, no-wrap
818 msgid "B<--apt-http-proxy> I<URL>"
819 msgstr ""
820
821 #. type: Plain text
822 #: en/lb_config.1:256
823 msgid ""
824 "sets the http proxy to be used by apt. By default, this is empty. Note that "
825 "this variable is only for the proxy that gets used by apt internally within "
826 "the chroot, it is not used for anything else."
827 msgstr ""
828
829 #. type: IP
830 #: en/lb_config.1:256
831 #, no-wrap
832 msgid "B<--apt-indices> true|false|none"
833 msgstr ""
834
835 #. type: Plain text
836 #: en/lb_config.1:258
837 msgid ""
838 "defines if the resulting images should have apt indices or not and defaults "
839 "to true. If set to none, no indices are included at all."
840 msgstr ""
841
842 #. type: IP
843 #: en/lb_config.1:258
844 #, no-wrap
845 msgid "B<--apt-options> I<OPTION>|\"I<OPTIONS>\""
846 msgstr ""
847
848 #. type: Plain text
849 #: en/lb_config.1:260
850 msgid ""
851 "defines the default options that will be appended to every apt call that is "
852 "made inside chroot during the building of the image. By default, this is set "
853 "to --yes to allow non-interactive installation of packages."
854 msgstr ""
855
856 #. type: IP
857 #: en/lb_config.1:260
858 #, no-wrap
859 msgid "B<--aptitude-options> I<OPTION>|\"I<OPTIONS>\""
860 msgstr ""
861
862 #. type: Plain text
863 #: en/lb_config.1:262
864 msgid ""
865 "defines the default options that will be appended to every aptitude call "
866 "that is made inside chroot during building of the image. By default, this is "
867 "set to --assume-yes to allow non-interactive installation of packages."
868 msgstr ""
869
870 #. type: IP
871 #: en/lb_config.1:262
872 #, no-wrap
873 msgid "B<--apt-pipeline> I<DEPTH>"
874 msgstr ""
875
876 #. type: Plain text
877 #: en/lb_config.1:264
878 msgid ""
879 "sets the depth of the apt/aptitude pipeline. In cases where the remote "
880 "server is not RFC conforming or buggy (such as Squid 2.0.2) this option can "
881 "be a value from 0 to 5 indicating how many outstanding requests APT should "
882 "send. A value of zero MUST be specified if the remote host does not properly "
883 "linger on TCP connections - otherwise data corruption will occur. Hosts "
884 "which require this are in violation of RFC 2068. By default, live-build does "
885 "not set this option."
886 msgstr ""
887
888 #. type: IP
889 #: en/lb_config.1:264
890 #, no-wrap
891 msgid "B<--apt-recommends> true|false"
892 msgstr ""
893
894 #. type: Plain text
895 #: en/lb_config.1:266
896 msgid ""
897 "defines if apt should install recommended packages automatically. By "
898 "default, this is true except in emdebian mode."
899 msgstr ""
900
901 #. type: IP
902 #: en/lb_config.1:266
903 #, no-wrap
904 msgid "B<--apt-secure> true|false"
905 msgstr ""
906
907 #. type: Plain text
908 #: en/lb_config.1:268
909 msgid ""
910 "defines if apt should check repository signatures. This is true by default."
911 msgstr ""
912
913 #. type: IP
914 #: en/lb_config.1:268
915 #, no-wrap
916 msgid "B<--apt-source-archives> true|false"
917 msgstr ""
918
919 #. type: Plain text
920 #: en/lb_config.1:270
921 msgid ""
922 "defines if deb-src entries should be included in the resulting live image or "
923 "not, defaults to on."
924 msgstr ""
925
926 #. type: IP
927 #: en/lb_config.1:270
928 #, no-wrap
929 msgid "-a|B<--architectures> I<ARCHITECTURE>"
930 msgstr ""
931
932 #. type: Plain text
933 #: en/lb_config.1:272
934 msgid ""
935 "defines the architecture of the to be build image. By default, this is set "
936 "to the host architecture. Note that you cannot crossbuild for another "
937 "architecture if your host system is not able to execute binaries for the "
938 "target architecture natively. For example, building amd64 images on i386 and "
939 "vice versa is possile if you have a 64bit capable i386 processor and the "
940 "right kernel. But building powerpc images on an i386 system is not possible."
941 msgstr ""
942
943 #. type: IP
944 #: en/lb_config.1:272
945 #, no-wrap
946 msgid "-b|B<--binary-images> iso|iso-hybrid|netboot|tar|hdd"
947 msgstr ""
948
949 #. type: Plain text
950 #: en/lb_config.1:274
951 msgid ""
952 "defines the image type to build. By default, for images using syslinux this "
953 "is set to iso-hybrid to build CD/DVD images that may also be used like hdd "
954 "images, for non-syslinux images, it defaults to iso."
955 msgstr ""
956
957 #. type: IP
958 #: en/lb_config.1:274
959 #, no-wrap
960 msgid "B<--binary-filesystem> fat16|fat32|ext2|ext3|ext4"
961 msgstr ""
962
963 #. type: Plain text
964 #: en/lb_config.1:276
965 msgid ""
966 "defines the filesystem to be used in the image type. This only has an effect "
967 "if the selected binary image type does allow to choose a filesystem. For "
968 "example, when selection iso the resulting CD/DVD has always the filesystem "
969 "ISO9660. When building hdd images for usb sticks, this is active. Note that "
970 "it defaults to fat16 on all architectures except sparc where it defaults to "
971 "ext4. Also note that if you choose fat16 and your resulting binary image "
972 "gets bigger than 2GB, the binary filesystem automatically gets switched to "
973 "fat32."
974 msgstr ""
975
976 #. type: IP
977 #: en/lb_config.1:276
978 #, no-wrap
979 msgid "B<--bootappend-install> I<PARAMETER>|\"I<PARAMETERS>\""
980 msgstr ""
981
982 #. type: Plain text
983 #: en/lb_config.1:278
984 msgid "sets boot parameters specific to debian-installer, if included."
985 msgstr ""
986
987 #. type: IP
988 #: en/lb_config.1:278
989 #, no-wrap
990 msgid "B<--bootappend-live> I<PARAMETER>|\"I<PARAMETERS>\""
991 msgstr ""
992
993 #. type: Plain text
994 #: en/lb_config.1:280
995 msgid ""
996 "sets boot parameters specific to debian-live. A complete list of boot "
997 "parameters can be found in the I<live-boot>(7) and I<live-config>(7) manual "
998 "pages."
999 msgstr ""
1000
1001 #. type: IP
1002 #: en/lb_config.1:280
1003 #, no-wrap
1004 msgid "B<--bootloader> grub|syslinux|yaboot"
1005 msgstr ""
1006
1007 #. type: Plain text
1008 #: en/lb_config.1:282
1009 msgid ""
1010 "defines which bootloader is beeing used in the generated image. This has "
1011 "only an effect if the selected binary image type does allow to choose the "
1012 "bootloader. For example, if you build a iso, always syslinux (or more "
1013 "precise, isolinux) is being used. Also note that some combinations of binary "
1014 "images types and bootloaders may be possible but live-build does not support "
1015 "them yet. B<lb config> will fail to create such a not yet supported "
1016 "configuration and give a explanation about it. For hdd images on amd64 and "
1017 "i386, the default is syslinux. yaboot is only used on powerpc."
1018 msgstr ""
1019
1020 #. type: IP
1021 #: en/lb_config.1:282
1022 #, no-wrap
1023 msgid "B<--bootstrap> cdebootstrap|cdebootstrap-static|debootstrap"
1024 msgstr ""
1025
1026 #. type: Plain text
1027 #: en/lb_config.1:284
1028 msgid ""
1029 "defines which program is used to bootstrap the debian chroot, default is "
1030 "debootstrap."
1031 msgstr ""
1032
1033 #. type: IP
1034 #: en/lb_config.1:284
1035 #, no-wrap
1036 msgid "B<--cache> true|false"
1037 msgstr ""
1038
1039 #. type: Plain text
1040 #: en/lb_config.1:286
1041 msgid ""
1042 "defines globally if any cache should be used at all. Different caches can be "
1043 "controled through the their own options."
1044 msgstr ""
1045
1046 #. type: IP
1047 #: en/lb_config.1:286
1048 #, no-wrap
1049 msgid "B<--cache-indices> true|false"
1050 msgstr ""
1051
1052 #. type: Plain text
1053 #: en/lb_config.1:288
1054 msgid ""
1055 "defines if downloaded package indices and lists should be cached which is "
1056 "false by default. Enabling it would allow to rebuild an image completely "
1057 "offline, however, you would not get updates anymore then."
1058 msgstr ""
1059
1060 #. type: IP
1061 #: en/lb_config.1:288
1062 #, no-wrap
1063 msgid "B<--cache-packages> true|false"
1064 msgstr ""
1065
1066 #. type: Plain text
1067 #: en/lb_config.1:290
1068 msgid ""
1069 "defines if downloaded packages files should be cached which is true by "
1070 "default. Disabling it does save space consumtion in your build directory, "
1071 "but remember that you will cause much unnecessary traffic if you do a couple "
1072 "of rebuilds. In general you should always leave it true, however, in some "
1073 "particular rare build setups, it can be faster to refetch packages from the "
1074 "local network mirror rather than to utilize the local disk."
1075 msgstr ""
1076
1077 #. type: IP
1078 #: en/lb_config.1:290
1079 #, no-wrap
1080 msgid "B<--cache-stages> true|false|I<STAGE>|\"I<STAGES>\""
1081 msgstr ""
1082
1083 #. type: Plain text
1084 #: en/lb_config.1:292
1085 msgid ""
1086 "sets which stages should be cached. By default set to bootstrap. As an "
1087 "exception to the normal stage names, also rootfs can be used here which does "
1088 "only cache the generated root filesystem in filesystem.{dir,ext*,squashfs}. "
1089 "This is useful during development if you want to rebuild the binary stage "
1090 "but not regenerate the root filesystem all the time."
1091 msgstr ""
1092
1093 #. type: IP
1094 #: en/lb_config.1:292
1095 #, no-wrap
1096 msgid "B<--checksums> md5|sha1|sha256|none"
1097 msgstr ""
1098
1099 #. type: Plain text
1100 #: en/lb_config.1:294
1101 msgid ""
1102 "defines if the binary image should contain a file called md5sums.txt, "
1103 "sha1sums.txt and/or sha256sums.txt. These lists all files on the image "
1104 "together with their checksums. This in turn can be used by live-boots built-"
1105 "in integrity-check to verify the medium if specified at boot prompt. In "
1106 "general, this should not be false and is an important feature of live system "
1107 "released to the public. However, during development of very big images it "
1108 "can save some time by not calculating the checksums."
1109 msgstr ""
1110
1111 #. type: IP
1112 #: en/lb_config.1:294
1113 #, no-wrap
1114 msgid "B<--compression> bzip2|gzip|lzip|none"
1115 msgstr ""
1116
1117 #. type: Plain text
1118 #: en/lb_config.1:296
1119 msgid ""
1120 "defines the compression program to be used to compress tarballs. Defaults to "
1121 "gzip."
1122 msgstr ""
1123
1124 #. type: IP
1125 #: en/lb_config.1:296
1126 #, no-wrap
1127 msgid "B<--config> I<GIT_URL>::I<GIT_ID>"
1128 msgstr ""
1129
1130 #. type: Plain text
1131 #: en/lb_config.1:298
1132 msgid ""
1133 "allows to bootstrap a config tree from a git repositories, optionally "
1134 "appended by a Git Id (branch, commit, tag, etc.)."
1135 msgstr ""
1136
1137 #. type: IP
1138 #: en/lb_config.1:298
1139 #, no-wrap
1140 msgid "B<--build-with-chroot> true|false"
1141 msgstr ""
1142
1143 #. type: Plain text
1144 #: en/lb_config.1:300
1145 msgid ""
1146 "defines whetever live-build should use the tools from within the chroot to "
1147 "build the binary image or not by using and including the host systems tools. "
1148 "This is a very dangerous option, using the tools of the host system can lead "
1149 "to tainted and even non-bootable images if the host systems version of the "
1150 "required tools (mainly these are the bootloaders such as syslinux, grub and "
1151 "yaboot, and the auxilliary tools such as dosfstools, xorriso, squashfs-tools "
1152 "and others) do not B<exactely> match what is present at build-time in the "
1153 "target distribution. Never do disable this option unless you are B<exactely> "
1154 "sure what you are doing and have B<completely>I< understood its consequences."
1155 ">"
1156 msgstr ""
1157
1158 #. type: IP
1159 #: en/lb_config.1:300
1160 #, no-wrap
1161 msgid "B<--chroot-filesystem> ext2|ext3|ext4|squashfs|jffs2|none"
1162 msgstr ""
1163
1164 #. type: Plain text
1165 #: en/lb_config.1:302
1166 msgid ""
1167 "defines which filesystem type should be used for the root filesystem image. "
1168 "If you use none, then no filesystem image is created and the root filesystem "
1169 "content is copied on the binary image filesystem as flat files. Depending on "
1170 "what binary filesystem you have choosen, it may not be possible to build "
1171 "with such a plain root filesystem, e.g. fat16/fat32 will not work as linux "
1172 "does not support to run directly on them."
1173 msgstr ""
1174
1175 #. type: IP
1176 #: en/lb_config.1:302
1177 #, no-wrap
1178 msgid "B<--clean>"
1179 msgstr ""
1180
1181 #. type: Plain text
1182 #: en/lb_config.1:304
1183 msgid ""
1184 "minimizes config directory by automatically removing unused and thus empty "
1185 "subdirectories."
1186 msgstr ""
1187
1188 #. type: IP
1189 #: en/lb_config.1:304
1190 #, no-wrap
1191 msgid "-c|B<--conffile> I<FILE>"
1192 msgstr ""
1193
1194 #. type: Plain text
1195 #: en/lb_config.1:306
1196 msgid ""
1197 "using a user specified alternative configuration file in addition to the "
1198 "normally used one in the config directory."
1199 msgstr ""
1200
1201 #. type: IP
1202 #: en/lb_config.1:306
1203 #, no-wrap
1204 msgid "B<--debconf-frontend> dialog|editor|noninteractive|readline"
1205 msgstr ""
1206
1207 #. type: Plain text
1208 #: en/lb_config.1:308
1209 msgid ""
1210 "defines what value the debconf frontend should be set to inside the chroot. "
1211 "Note that setting it to anything by noninteractive, which is the default, "
1212 "makes your build asking questions during the build."
1213 msgstr ""
1214
1215 #. type: IP
1216 #: en/lb_config.1:308
1217 #, no-wrap
1218 msgid "B<--debconf-priority> low|medium|high|critical"
1219 msgstr ""
1220
1221 #. type: Plain text
1222 #: en/lb_config.1:310
1223 msgid ""
1224 "defines what value the debconf priority shoul dbe set to inside the chroot. "
1225 "By default, it is set to critical, which means that almost no questions are "
1226 "displayed. Note that this only has an effect if you use any debconf frontend "
1227 "different from noninteractive."
1228 msgstr ""
1229
1230 #. type: IP
1231 #: en/lb_config.1:310
1232 #, no-wrap
1233 msgid "B<--debian-installer> true|cdrom|netinst|netboot|businesscard|live|false"
1234 msgstr ""
1235
1236 #. type: Plain text
1237 #: en/lb_config.1:312
1238 msgid ""
1239 "defines which type, if any, of the debian-installer should be included in "
1240 "the resulting binary image. By default, no installer is included. All "
1241 "available flavours except live are the identical configurations used on the "
1242 "installer media produced by regular debian-cd. When live is choosen, the "
1243 "live-installer udeb is included so that debian-installer will behave "
1244 "different than usual - instead of installing the debian system from packages "
1245 "from the medium or the network, it installs the live system to the disk."
1246 msgstr ""
1247
1248 #. type: IP
1249 #: en/lb_config.1:312
1250 #, no-wrap
1251 msgid "B<--debian-installer-distribution> daily|I<CODENAME>"
1252 msgstr ""
1253
1254 #. type: Plain text
1255 #: en/lb_config.1:314
1256 msgid ""
1257 "defines the distribution where the debian-installer files should be taken "
1258 "out from. Normally, this should be set to the same distribution as the live "
1259 "system. However, some times, one wants to use a newer or even daily built "
1260 "installer."
1261 msgstr ""
1262
1263 #. type: IP
1264 #: en/lb_config.1:314
1265 #, no-wrap
1266 msgid "B<--debian-installer-preseedfile> I<FILE>|I<URL>"
1267 msgstr ""
1268
1269 #. type: Plain text
1270 #: en/lb_config.1:316
1271 msgid ""
1272 "sets the filename or URL for an optionally used and included preseeding file "
1273 "for debian-installer. If config/binary_debian-installer/preseed.cfg exists, "
1274 "it will be used by default."
1275 msgstr ""
1276
1277 #. type: IP
1278 #: en/lb_config.1:316
1279 #, no-wrap
1280 msgid "B<--debian-installer-gui> true|false"
1281 msgstr ""
1282
1283 #. type: Plain text
1284 #: en/lb_config.1:318
1285 msgid ""
1286 "defines if the debian-installer graphical GTK interface should be true or "
1287 "not. In Debian mode and for most versions of Ubuntu, this option is true, "
1288 "whereas otherwise false, by default."
1289 msgstr ""
1290
1291 #. type: IP
1292 #: en/lb_config.1:318 en/live-build.7:36
1293 #, no-wrap
1294 msgid "B<--debug>"
1295 msgstr ""
1296
1297 #. type: Plain text
1298 #: en/lb_config.1:320
1299 msgid "turn on debugging informational messages."
1300 msgstr ""
1301
1302 #. type: IP
1303 #: en/lb_config.1:320
1304 #, no-wrap
1305 msgid "-d|B<--distribution> I<CODENAME>"
1306 msgstr ""
1307
1308 #. type: Plain text
1309 #: en/lb_config.1:322
1310 msgid "defines the distribution of the resulting live system."
1311 msgstr ""
1312
1313 #. type: IP
1314 #: en/lb_config.1:322
1315 #, no-wrap
1316 msgid "-d|B<--parent-distribution> I<CODENAME>"
1317 msgstr ""
1318
1319 #. type: Plain text
1320 #: en/lb_config.1:324
1321 msgid ""
1322 "defines the parent distribution for derivatives of the resulting live system."
1323 msgstr ""
1324
1325 #. type: IP
1326 #: en/lb_config.1:324
1327 #, no-wrap
1328 msgid "-d|B<--parent-debian-installer-distribution> I<CODENAME>"
1329 msgstr ""
1330
1331 #. type: Plain text
1332 #: en/lb_config.1:326
1333 msgid ""
1334 "defines the parent debian-installer distribution for derivatives of the "
1335 "resulting live system."
1336 msgstr ""
1337
1338 #. type: IP
1339 #: en/lb_config.1:326
1340 #, no-wrap
1341 msgid "B<--dump>"
1342 msgstr ""
1343
1344 #. type: Plain text
1345 #: en/lb_config.1:328
1346 msgid ""
1347 "prepares a report of the currently present live system configuration and the "
1348 "version of live-build used. This is useful to provide if you submit bug "
1349 "reports, we do get all informations required for us to locate and replicate "
1350 "an error."
1351 msgstr ""
1352
1353 #. type: IP
1354 #: en/lb_config.1:328
1355 #, no-wrap
1356 msgid "B<--fdisk> fdisk|fdisk.dist"
1357 msgstr ""
1358
1359 #. type: Plain text
1360 #: en/lb_config.1:330
1361 msgid ""
1362 "sets the filename of the fdisk binary from the host system that should be "
1363 "used. This is autodetected and does generally not need any customization."
1364 msgstr ""
1365
1366 #. type: IP
1367 #: en/lb_config.1:330 en/live-build.7:38
1368 #, no-wrap
1369 msgid "B<--force>"
1370 msgstr ""
1371
1372 #. type: Plain text
1373 #: en/lb_config.1:332
1374 msgid ""
1375 "forces re-execution of already run stages. Use only if you know what you are "
1376 "doing. It is generally safer to use B<lb clean> to clean up before re-"
1377 "executing B<lb build>."
1378 msgstr ""
1379
1380 #. type: IP
1381 #: en/lb_config.1:332
1382 #, no-wrap
1383 msgid "B<--grub-splash> I<FILE>"
1384 msgstr ""
1385
1386 #. type: Plain text
1387 #: en/lb_config.1:334
1388 msgid ""
1389 "defines the name of an optional to be included splash screen graphic for the "
1390 "grub bootloader."
1391 msgstr ""
1392
1393 #. type: IP
1394 #: en/lb_config.1:334
1395 #, no-wrap
1396 msgid "B<--gzip-options> I<OPTION>|\"I<OPTIONS>\""
1397 msgstr ""
1398
1399 #. type: Plain text
1400 #: en/lb_config.1:336
1401 msgid ""
1402 "defines the default options that will be appended to (almost) every gzip "
1403 "call during the building of the image. By default, this is set to --best to "
1404 "use highest (but slowest) compression. Dynamically, if the host system "
1405 "supports it, also --rsyncable is added."
1406 msgstr ""
1407
1408 #. type: IP
1409 #: en/lb_config.1:336
1410 #, no-wrap
1411 msgid "B<--hooks> I<FILE>"
1412 msgstr ""
1413
1414 #. type: Plain text
1415 #: en/lb_config.1:338
1416 msgid ""
1417 "defines which hooks available in /usr/share/live/build/examples/hooks should "
1418 "be activated. Normally, there are no hooks executed. Make sure you know and "
1419 "understood the hook before you enable it."
1420 msgstr ""
1421
1422 #. type: IP
1423 #: en/lb_config.1:338
1424 #, no-wrap
1425 msgid "B<--ignore-system-defaults>"
1426 msgstr ""
1427
1428 #. type: Plain text
1429 #: en/lb_config.1:340
1430 msgid ""
1431 "B<lb config> by default reads system defaults from I</etc/live/build.conf> "
1432 "and I</etc/live/build/*> when generating a new live system config directory. "
1433 "This is useful if you want to set global settings, such as mirror locations, "
1434 "and don't want to specify them all of the time."
1435 msgstr ""
1436
1437 #. type: IP
1438 #: en/lb_config.1:340
1439 #, no-wrap
1440 msgid "B<--initramfs> auto|none|live-boot|casper"
1441 msgstr ""
1442
1443 #. type: Plain text
1444 #: en/lb_config.1:342
1445 msgid ""
1446 "sets the name of package that contains the live system specific initramfs "
1447 "modification. By default, auto is used, which means that at build time of "
1448 "the image rather than on configuration time, the value will be expanded to "
1449 "casper when building ubuntu systems, to live-boot for all other systems. "
1450 "Using 'none' is useful if the resulting system image should not be a live "
1451 "image (experimental)."
1452 msgstr ""
1453
1454 #. type: IP
1455 #: en/lb_config.1:342
1456 #, no-wrap
1457 msgid "B<--initramfs-compression> bzip2|gzip|lzma]"
1458 msgstr ""
1459
1460 #. type: Plain text
1461 #: en/lb_config.1:344
1462 msgid ""
1463 "defines the compression program to be used to compress the initramfs. "
1464 "Defaults to gzip."
1465 msgstr ""
1466
1467 #. type: IP
1468 #: en/lb_config.1:344
1469 #, no-wrap
1470 msgid "B<--interactive> shell"
1471 msgstr ""
1472
1473 #. type: Plain text
1474 #: en/lb_config.1:346
1475 msgid ""
1476 "defines if after the chroot stage and before the beginning of the binary "
1477 "stage, a interactive shell login should be spawned in the chroot in order to "
1478 "allow you to do manual customizations. Once you close the shell with logout "
1479 "or exit, the build will continue as usual. Note that it's strongly "
1480 "discouraged to use this for anything else than testing. Modifications that "
1481 "should be present in all builds of a live system should be properly made "
1482 "through hooks. Everything else destroys the beauty of being able to "
1483 "completely automatise the build process and making it non interactive. By "
1484 "default, this is of course false."
1485 msgstr ""
1486
1487 #. type: IP
1488 #: en/lb_config.1:346
1489 #, no-wrap
1490 msgid "B<--isohybrid-options> I<OPTION>|\"I<OPTIONS>\""
1491 msgstr ""
1492
1493 #. type: Plain text
1494 #: en/lb_config.1:348
1495 msgid "defines options to pass to isohybrid."
1496 msgstr ""
1497
1498 #. type: IP
1499 #: en/lb_config.1:348
1500 #, no-wrap
1501 msgid "B<--iso-application> I<NAME>"
1502 msgstr ""
1503
1504 #. type: Plain text
1505 #: en/lb_config.1:350
1506 msgid ""
1507 "sets the APPLICATION field in the header of a resulting CD/DVD image and "
1508 "defaults to \"Debian Live\" in debian mode, and to \"Emdebian Live\" in "
1509 "emdebian mode, and \"Ubuntu Live\" in ubuntu mode."
1510 msgstr ""
1511
1512 #. type: IP
1513 #: en/lb_config.1:350
1514 #, no-wrap
1515 msgid "B<--iso-preparer> I<NAME>"
1516 msgstr ""
1517
1518 #. type: Plain text
1519 #: en/lb_config.1:352
1520 msgid ""
1521 "sets the PREPARER field in the header of a resulting CD/DVD image. By "
1522 "default this is set to \"live-build I<VERSION>; http://packages.qa.debian."
1523 "org/live-build\", whereas VERSION is expanded to the version of live-build "
1524 "that was used to build the image."
1525 msgstr ""
1526
1527 #. type: IP
1528 #: en/lb_config.1:352
1529 #, no-wrap
1530 msgid "B<--iso-publisher> I<NAME>"
1531 msgstr ""
1532
1533 #. type: Plain text
1534 #: en/lb_config.1:354
1535 msgid ""
1536 "sets the PUBLISHED field in the header of a resulting CD/DVD image. By "
1537 "default, this is set to 'Debian Live project; http:/live.debian.net/; debian-"
1538 "[email protected]'. Remember to change this to the appropriate values at "
1539 "latest when you distributing custom and unofficial images."
1540 msgstr ""
1541
1542 #. type: IP
1543 #: en/lb_config.1:354
1544 #, no-wrap
1545 msgid "B<--iso-volume> I<NAME>"
1546 msgstr ""
1547
1548 #. type: Plain text
1549 #: en/lb_config.1:356
1550 msgid ""
1551 "sets the VOLUME field in the header of a resulting CD/DVD and defaults to "
1552 "'(I<MODE>) (I<DISTRIBUTION>) (I<DATE>)' whereas MODE is expanded to the name "
1553 "of the mode in use, DISTRIBUTION the distribution name, and DATE with the "
1554 "current date and time of the generation."
1555 msgstr ""
1556
1557 #. type: IP
1558 #: en/lb_config.1:356
1559 #, no-wrap
1560 msgid "B<--jffs2-eraseblock> I<SIZE>"
1561 msgstr ""
1562
1563 #. type: Plain text
1564 #: en/lb_config.1:358
1565 msgid ""
1566 "sets the eraseblock size for a JFFS2 (Second Journalling Flash File System) "
1567 "filesystem. The default is 64 KiB. If you use an erase block size different "
1568 "than the erase block size of the target MTD device, JFFS2 may not perform "
1569 "optimally. If the SIZE specified is below 4096, the units are assumed to be "
1570 "KiB."
1571 msgstr ""
1572
1573 #. type: IP
1574 #: en/lb_config.1:358
1575 #, no-wrap
1576 msgid "B<--keyring-packages> I<PACKAGE|\"PACKAGES>\""
1577 msgstr ""
1578
1579 #. type: Plain text
1580 #: en/lb_config.1:360
1581 msgid ""
1582 "sets the keyring package or additional keyring packages. By default this is "
1583 "set to debian-archive-keyring."
1584 msgstr ""
1585
1586 #. type: IP
1587 #: en/lb_config.1:360
1588 #, no-wrap
1589 msgid "-k|B<--linux-flavours> I<FLAVOUR>|\"I<FLAVOURS>\""
1590 msgstr ""
1591
1592 #. type: Plain text
1593 #: en/lb_config.1:362
1594 msgid ""
1595 "sets the kernel flavours to be installed. Note that in case you specify more "
1596 "than that the first will be configured the default kernel that gets booted."
1597 msgstr ""
1598
1599 #. type: IP
1600 #: en/lb_config.1:362
1601 #, no-wrap
1602 msgid "B<--linux-packages> \"I<PACKAGES>\""
1603 msgstr ""
1604
1605 #. type: Plain text
1606 #: en/lb_config.1:364
1607 msgid ""
1608 "sets the internal name of the kernel packages naming scheme. If you use "
1609 "debian kernel packages, you will not have to adjust it. If you decide to use "
1610 "custom kernel packages that do not follow the debian naming scheme, remember "
1611 "to set this option to the stub of the packages only (for debian this is "
1612 "linux-image-2.6), so that I<STUB>-I<FLAVOUR> results in a valid package name "
1613 "(for debian e.g. linux-image-2.6-486). Preferably you use the meta package "
1614 "name, if any, for the stub, so that your configuration is ABI independent. "
1615 "Also don't forget that you have to include stubs of the binary modules "
1616 "packages for unionfs or aufs, and squashfs if you built them out-of-tree."
1617 msgstr ""
1618
1619 #. type: IP
1620 #: en/lb_config.1:364
1621 #, no-wrap
1622 msgid "B<--losetup> losetup|losetup.orig"
1623 msgstr ""
1624
1625 #. type: Plain text
1626 #: en/lb_config.1:366
1627 msgid ""
1628 "sets the filename of the losetup binary from the host system that should be "
1629 "used. This is autodetected and does generally not need any customization."
1630 msgstr ""
1631
1632 #. type: IP
1633 #: en/lb_config.1:366
1634 #, no-wrap
1635 msgid "B<--memtest> memtest86+|memtest86|none"
1636 msgstr ""
1637
1638 #. type: Plain text
1639 #: en/lb_config.1:368
1640 msgid ""
1641 "defines if memtest, memtest86+ or no memory tester at all should be included "
1642 "as secondary bootloader configuration. This is only available on amd64 and "
1643 "i386 and defaults to memtest86+."
1644 msgstr ""
1645
1646 #. type: IP
1647 #: en/lb_config.1:368
1648 #, no-wrap
1649 msgid "-m|B<--parent-mirror-bootstrap> I<URL>"
1650 msgstr ""
1651
1652 #. type: Plain text
1653 #: en/lb_config.1:370
1654 msgid ""
1655 "sets the location of the debian package mirror that should be used to "
1656 "bootstrap from. This defaults to http://ftp.de.debian.org/debian/ which may "
1657 "not be a good default if you live outside of Europe."
1658 msgstr ""
1659
1660 #. type: IP
1661 #: en/lb_config.1:370
1662 #, no-wrap
1663 msgid "B<--parent-mirror-chroot> I<URL>"
1664 msgstr ""
1665
1666 #. type: Plain text
1667 #: en/lb_config.1:372
1668 msgid ""
1669 "sets the location of the debian package mirror that will be used to fetch "
1670 "the packages in order to build the live system. By default, this is set to "
1671 "the value of --parent-mirror-bootstrap."
1672 msgstr ""
1673
1674 #. type: IP
1675 #: en/lb_config.1:372
1676 #, no-wrap
1677 msgid "B<--parent-mirror-chroot-security> I<URL>"
1678 msgstr ""
1679
1680 #. type: Plain text
1681 #: en/lb_config.1:374
1682 msgid ""
1683 "sets the location of the debian security package mirror that will be used to "
1684 "fetch the packages in order to build the live system. By default, this "
1685 "points to http://security.debian.org/debian/."
1686 msgstr ""
1687
1688 #. type: IP
1689 #: en/lb_config.1:374
1690 #, no-wrap
1691 msgid "B<--parent-mirror-chroot-updates> I<URL>"
1692 msgstr ""
1693
1694 #. type: Plain text
1695 #: en/lb_config.1:376
1696 msgid ""
1697 "sets the location of the debian updates package mirror that will be used to "
1698 "fetch packages in order to build the live system. By default, this is set to "
1699 "the value of --parent-mirror-chroot."
1700 msgstr ""
1701
1702 #. type: IP
1703 #: en/lb_config.1:376
1704 #, no-wrap
1705 msgid "B<--parent-mirror-chroot-backports> I<URL>"
1706 msgstr ""
1707
1708 #. type: Plain text
1709 #: en/lb_config.1:378
1710 msgid ""
1711 "sets the location of the debian backports package mirror that will be used "
1712 "to fetch packages in order to build the live system. By default, this points "
1713 "to http://backports.debian.org/debian-backports/."
1714 msgstr ""
1715
1716 #. type: IP
1717 #: en/lb_config.1:378
1718 #, no-wrap
1719 msgid "B<--parent-mirror-binary> I<URL>"
1720 msgstr ""
1721
1722 #. type: Plain text
1723 #: en/lb_config.1:380
1724 msgid ""
1725 "sets the location of the debian package mirror that should end up configured "
1726 "in the final image and which is the one a user would see and use. This has "
1727 "not necessarily to be the same that is used to build the image, e.g. if you "
1728 "use a local mirror but want to have an official mirror in the image. By "
1729 "default, 'http://http.debian.net/debian/' is used."
1730 msgstr ""
1731
1732 #. type: IP
1733 #: en/lb_config.1:380
1734 #, no-wrap
1735 msgid "B<--parent-mirror-binary-security> I<URL>"
1736 msgstr ""
1737
1738 #. type: Plain text
1739 #: en/lb_config.1:382
1740 msgid ""
1741 "sets the location of the debian security package mirror that should end up "
1742 "configured in the final image. By default, 'http://security.debian.org/' is "
1743 "used."
1744 msgstr ""
1745
1746 #. type: IP
1747 #: en/lb_config.1:382
1748 #, no-wrap
1749 msgid "B<--parent-mirror-binary-updates> I<URL>"
1750 msgstr ""
1751
1752 #. type: Plain text
1753 #: en/lb_config.1:384
1754 msgid ""
1755 "sets the location of the debian updates package mirror that should end up "
1756 "configured in the final image. By default, the value of --parent-mirror-"
1757 "binary is used."
1758 msgstr ""
1759
1760 #. type: IP
1761 #: en/lb_config.1:384
1762 #, no-wrap
1763 msgid "B<--parent-mirror-binary-backports> I<URL>"
1764 msgstr ""
1765
1766 #. type: Plain text
1767 #: en/lb_config.1:386
1768 msgid ""
1769 "sets the location of the debian backports package mirror that should end up "
1770 "configured in the final image. By default, 'http://backports.debian.org/"
1771 "debian-backports/' is used."
1772 msgstr ""
1773
1774 #. type: IP
1775 #: en/lb_config.1:386
1776 #, no-wrap
1777 msgid "B<--parent-mirror-debian-installer> I<URL>"
1778 msgstr ""
1779
1780 #. type: Plain text
1781 #: en/lb_config.1:388
1782 msgid ""
1783 "sets the location of the mirror that will be used to fetch the debian "
1784 "installer images. By default, this points to the same mirror used to build "
1785 "the live system, i.e. the value of --parent-mirror-bootstrap."
1786 msgstr ""
1787
1788 #. type: IP
1789 #: en/lb_config.1:388
1790 #, no-wrap
1791 msgid "B<--mirror-bootstrap> I<URL>"
1792 msgstr ""
1793
1794 #. type: Plain text
1795 #: en/lb_config.1:390
1796 msgid ""
1797 "sets the location of the debian package mirror that should be used to "
1798 "bootstrap the derivative from. This defaults to http://ftp.de.debian.org/"
1799 "debian/ which may not be a good default if you live outside of Europe."
1800 msgstr ""
1801
1802 #. type: IP
1803 #: en/lb_config.1:390
1804 #, no-wrap
1805 msgid "B<--mirror-chroot> I<URL>"
1806 msgstr ""
1807
1808 #. type: Plain text
1809 #: en/lb_config.1:392
1810 msgid ""
1811 "sets the location of the debian package mirror that will be used to fetch "
1812 "the packages of the derivative in order to build the live system. By "
1813 "default, this is set to the value of --mirror-bootstrap."
1814 msgstr ""
1815
1816 #. type: IP
1817 #: en/lb_config.1:392
1818 #, no-wrap
1819 msgid "B<--mirror-chroot-security> I<URL>"
1820 msgstr ""
1821
1822 #. type: Plain text
1823 #: en/lb_config.1:394
1824 msgid ""
1825 "sets the location of the debian security package mirror that will be used to "
1826 "fetch the packages of the derivative in order to build the live system. By "
1827 "default, this points to http://security.debian.org/debian/."
1828 msgstr ""
1829
1830 #. type: IP
1831 #: en/lb_config.1:394
1832 #, no-wrap
1833 msgid "B<--mirror-chroot-updates> I<URL>"
1834 msgstr ""
1835
1836 #. type: Plain text
1837 #: en/lb_config.1:396
1838 msgid ""
1839 "sets the location of the debian updates package mirror that will be used to "
1840 "fetch packages of the derivative in order to build the live system. By "
1841 "default, this is set to the value of --mirror-chroot."
1842 msgstr ""
1843
1844 #. type: IP
1845 #: en/lb_config.1:396
1846 #, no-wrap
1847 msgid "B<--mirror-chroot-backports> I<URL>"
1848 msgstr ""
1849
1850 #. type: Plain text
1851 #: en/lb_config.1:398
1852 msgid ""
1853 "sets the location of the debian backports package mirror that will be used "
1854 "to fetch packages of the derivative in order to build the live system. By "
1855 "default, this points to http://backports.debian.org/debian-backports/."
1856 msgstr ""
1857
1858 #. type: IP
1859 #: en/lb_config.1:398
1860 #, no-wrap
1861 msgid "B<--mirror-binary> I<URL>"
1862 msgstr ""
1863
1864 #. type: Plain text
1865 #: en/lb_config.1:400
1866 msgid ""
1867 "sets the location of the derivative package mirror that should end up "
1868 "configured in the final image and which is the one a user would see and use. "
1869 "This has not necessarily to be the same that is used to build the image, e."
1870 "g. if you use a local mirror but want to have an official mirror in the "
1871 "image."
1872 msgstr ""
1873
1874 #. type: IP
1875 #: en/lb_config.1:400
1876 #, no-wrap
1877 msgid "B<--mirror-binary-security> I<URL>"
1878 msgstr ""
1879
1880 #. type: Plain text
1881 #: en/lb_config.1:402
1882 msgid ""
1883 "sets the location of the derivatives security package mirror that should end "
1884 "up configured in the final image."
1885 msgstr ""
1886
1887 #. type: IP
1888 #: en/lb_config.1:402
1889 #, no-wrap
1890 msgid "B<--mirror-binary-updates> I<URL>"
1891 msgstr ""
1892
1893 #. type: Plain text
1894 #: en/lb_config.1:404
1895 msgid ""
1896 "sets the location of the derivatives updates package mirror that should end "
1897 "up configured in the final image."
1898 msgstr ""
1899
1900 #. type: IP
1901 #: en/lb_config.1:404
1902 #, no-wrap
1903 msgid "B<--mirror-binary-backports> I<URL>"
1904 msgstr ""
1905
1906 #. type: Plain text
1907 #: en/lb_config.1:406
1908 msgid ""
1909 "sets the location of the derivatives backports package mirror that should "
1910 "end up configured in the final image."
1911 msgstr ""
1912
1913 #. type: IP
1914 #: en/lb_config.1:406
1915 #, no-wrap
1916 msgid "B<--mirror-debian-installer> I<URL>"
1917 msgstr ""
1918
1919 #. type: Plain text
1920 #: en/lb_config.1:408
1921 msgid ""
1922 "sets the location of the mirror that will be used to fetch the debian "
1923 "installer images of the derivative. By default, this points to the same "
1924 "mirror used to build the live system, i.e. the value of --mirror-bootstrap."
1925 msgstr ""
1926
1927 #. type: IP
1928 #: en/lb_config.1:408
1929 #, no-wrap
1930 msgid "B<--mode> debian|emdebian|progress|ubuntu"
1931 msgstr ""
1932
1933 #. type: Plain text
1934 #: en/lb_config.1:410
1935 msgid ""
1936 "defines a global mode to load project specific defaults. By default this is "
1937 "set to debian."
1938 msgstr ""
1939
1940 #. type: IP
1941 #: en/lb_config.1:410
1942 #, no-wrap
1943 msgid "B<--system> live|normal"
1944 msgstr ""
1945
1946 #. type: Plain text
1947 #: en/lb_config.1:412
1948 msgid ""
1949 "defines if the resulting system image should a live system or a normal, non-"
1950 "live system."
1951 msgstr ""
1952
1953 #. type: IP
1954 #: en/lb_config.1:412
1955 #, no-wrap
1956 msgid "B<--net-root-filesystem> nfs|cfs"
1957 msgstr ""
1958
1959 #. type: Plain text
1960 #: en/lb_config.1:414
1961 msgid ""
1962 "defines the filesystem that will be configured in the bootloader "
1963 "configuration for your netboot image. This defaults to nfs."
1964 msgstr ""
1965
1966 #. type: IP
1967 #: en/lb_config.1:414
1968 #, no-wrap
1969 msgid "B<--net-root-mountoptions> I<OPTIONS>"
1970 msgstr ""
1971
1972 #. type: Plain text
1973 #: en/lb_config.1:416
1974 msgid ""
1975 "sets additional options for mounting the root filesystem in netboot images "
1976 "and is by default empty."
1977 msgstr ""
1978
1979 #. type: IP
1980 #: en/lb_config.1:416
1981 #, no-wrap
1982 msgid "B<--net-root-path> I<PATH>"
1983 msgstr ""
1984
1985 #. type: Plain text
1986 #: en/lb_config.1:418
1987 msgid ""
1988 "sets the file path that will be configured in the bootloader configuration "
1989 "for your netboot image. This defaults to /srv/debian-live in debian mode and "
1990 "to /srv/emebian-live when being in emdebian mode, and /srv/ubuntu-live when "
1991 "in ubuntu mode."
1992 msgstr ""
1993
1994 #. type: IP
1995 #: en/lb_config.1:418
1996 #, no-wrap
1997 msgid "B<--net-root-server> I<IP>|I<HOSTNAME>"
1998 msgstr ""
1999
2000 #. type: Plain text
2001 #: en/lb_config.1:420
2002 msgid ""
2003 "sets the IP or hostname that will be configured in the bootloader "
2004 "configuration for the root filesystem of your netboot image. This defaults "
2005 "to 192.168.1.1."
2006 msgstr ""
2007
2008 #. type: IP
2009 #: en/lb_config.1:420
2010 #, no-wrap
2011 msgid "B<--net-cow-filesystem> nfs|cfs"
2012 msgstr ""
2013
2014 #. type: Plain text
2015 #: en/lb_config.1:422
2016 msgid ""
2017 "defines the filesystem type for the copy-on-write layer and defaults to nfs."
2018 msgstr ""
2019
2020 #. type: IP
2021 #: en/lb_config.1:422
2022 #, no-wrap
2023 msgid "B<--net-cow-mountoptions> I<OPTIONS>"
2024 msgstr ""
2025
2026 #. type: Plain text
2027 #: en/lb_config.1:424
2028 msgid ""
2029 "sets additional options for mounting the copy-on-write layer in netboot "
2030 "images and is by default empty."
2031 msgstr ""
2032
2033 #. type: IP
2034 #: en/lb_config.1:424
2035 #, no-wrap
2036 msgid "B<--net-cow-path> I<PATH>"
2037 msgstr ""
2038
2039 #. type: Plain text
2040 #: en/lb_config.1:426
2041 msgid ""
2042 "defines the path to client writable filesystem. Anywhere that "
2043 "I<client_mac_address> is specified in the path live-boot will substitute the "
2044 "MAC address of the client delimited with hyphens."
2045 msgstr ""
2046
2047 #. type: Plain text
2048 #: en/lb_config.1:429
2049 msgid "Example:"
2050 msgstr ""
2051
2052 #. type: Plain text
2053 #: en/lb_config.1:431
2054 msgid "/export/hosts/client_mac_address"
2055 msgstr ""
2056
2057 #. type: Plain text
2058 #: en/lb_config.1:433
2059 msgid "/export/hosts/00-16-D3-33-92-E8"
2060 msgstr ""
2061
2062 #. type: IP
2063 #: en/lb_config.1:433
2064 #, no-wrap
2065 msgid "B<--net-cow-server> I<IP>|I<HOSTNAME>"
2066 msgstr ""
2067
2068 #. type: Plain text
2069 #: en/lb_config.1:435
2070 msgid ""
2071 "sets the IP or hostname that will be configured in the bootloader "
2072 "configuration for the copy-on-write filesystem of your netboot image and is "
2073 "by default empty."
2074 msgstr ""
2075
2076 #. type: IP
2077 #: en/lb_config.1:435
2078 #, no-wrap
2079 msgid "B<--net-tarball> true|false"
2080 msgstr ""
2081
2082 #. type: Plain text
2083 #: en/lb_config.1:437
2084 msgid ""
2085 "defines if a compressed tarball should be created. Disabling this options "
2086 "leads to no tarball at all, the plain binary directory is considered the "
2087 "output in this case. Default is true."
2088 msgstr ""
2089
2090 #. type: IP
2091 #: en/lb_config.1:437
2092 #, no-wrap
2093 msgid "-p|B<--package-lists> I<LIST>|\"I<LISTS>\""
2094 msgstr ""
2095
2096 #. type: Plain text
2097 #: en/lb_config.1:439
2098 msgid ""
2099 "defines which lists available in /usr/share/live/build/package-lists should "
2100 "be used. By default, this is set to standard. Note that in case you have "
2101 "local package lists, you don't need to list them here. Putting them into "
2102 "config/package-lists is enough (the filename needs to have the .list suffix "
2103 "though)."
2104 msgstr ""
2105
2106 #. type: IP
2107 #: en/lb_config.1:439 en/live-build.7:40
2108 #, no-wrap
2109 msgid "B<--quiet>"
2110 msgstr ""
2111
2112 #. type: Plain text
2113 #: en/lb_config.1:441
2114 msgid "reduces the verbosity of messages output by B<lb build>."
2115 msgstr ""
2116
2117 #. type: IP
2118 #: en/lb_config.1:441
2119 #, no-wrap
2120 msgid "B<--archives> I<ARCHIVE>|\"I<ARCHIVES>\""
2121 msgstr ""
2122
2123 #. type: Plain text
2124 #: en/lb_config.1:443
2125 msgid ""
2126 "enables one of available third-party archive configurations in /usr/share/"
2127 "live/build/archives."
2128 msgstr ""
2129
2130 #. type: IP
2131 #: en/lb_config.1:443
2132 #, no-wrap
2133 msgid "B<--root-command> sudo"
2134 msgstr ""
2135
2136 #. type: Plain text
2137 #: en/lb_config.1:445
2138 msgid ""
2139 "controls if live-build should use sudo internally to build the live image. "
2140 "Note that this is not well tested and that you should, when relying on sudo, "
2141 "call the individual live-build command with sudo itself."
2142 msgstr ""
2143
2144 #. type: IP
2145 #: en/lb_config.1:445
2146 #, no-wrap
2147 msgid "B<--use-fakeroot> true|false"
2148 msgstr ""
2149
2150 #. type: Plain text
2151 #: en/lb_config.1:447
2152 msgid ""
2153 "controls if live-build should utilize fakeroot and fakechroot to try and "
2154 "avoid requiring root privillages where possible. By default, this option is "
2155 "false."
2156 msgstr ""
2157
2158 #. type: IP
2159 #: en/lb_config.1:447
2160 #, no-wrap
2161 msgid "B<--archive-areas> I<ARCHIVE_AREA>|\"I<ARCHIVE_AREAS>\""
2162 msgstr ""
2163
2164 #. type: Plain text
2165 #: en/lb_config.1:449
2166 msgid ""
2167 "defines which package archive areas of a debian packages archive should be "
2168 "used for configured debian package mirrors. By default, this is set to main. "
2169 "Remember to check the licenses of each packages with respect to their "
2170 "redistributability in your juristiction when enabling contrib or non-free "
2171 "with this mechanism."
2172 msgstr ""
2173
2174 #. type: IP
2175 #: en/lb_config.1:449
2176 #, no-wrap
2177 msgid "B<--parent-archive-areas> I<PARENT_ARCHIVE_AREA>|\"I<PARENT_ARCHIVE_AREAS>\""
2178 msgstr ""
2179
2180 #. type: Plain text
2181 #: en/lb_config.1:451
2182 msgid "defines the archive areas for derivatives of the resulting live system."
2183 msgstr ""
2184
2185 #. type: IP
2186 #: en/lb_config.1:451
2187 #, no-wrap
2188 msgid "B<--security> true|false"
2189 msgstr ""
2190
2191 #. type: Plain text
2192 #: en/lb_config.1:453
2193 msgid ""
2194 "defines if the security repositories specified in the security mirror "
2195 "options should be used or not."
2196 msgstr ""
2197
2198 #. type: IP
2199 #: en/lb_config.1:453
2200 #, no-wrap
2201 msgid "B<--source> true|false"
2202 msgstr ""
2203
2204 #. type: Plain text
2205 #: en/lb_config.1:455
2206 msgid ""
2207 "defines if a corresponding source image to the binary image should be build. "
2208 "By default this is false because most people do not require this and would "
2209 "require to download quite a few source packages. However, once you start "
2210 "distributing your live image, you should make sure you build it with a "
2211 "source image alongside."
2212 msgstr ""
2213
2214 #. type: IP
2215 #: en/lb_config.1:455
2216 #, no-wrap
2217 msgid "-s|B<--source-images> iso|netboot|tar|hdd"
2218 msgstr ""
2219
2220 #. type: Plain text
2221 #: en/lb_config.1:457
2222 msgid "defines the image type for the source image. Default is tar."
2223 msgstr ""
2224
2225 #. type: IP
2226 #: en/lb_config.1:457
2227 #, no-wrap
2228 msgid "B<--firmware-binary> true|false"
2229 msgstr ""
2230
2231 #. type: Plain text
2232 #: en/lb_config.1:459
2233 msgid ""
2234 "defines if firmware packages should be automatically included into the "
2235 "binary pool for debian-installer. Note that only firmware packages available "
2236 "within the configured archive areas are included, e.g. an image with "
2237 "packages from main only will not automatically include firmware from non-"
2238 "free. This option does not interfere with explicitly listed packages in "
2239 "binary package lists."
2240 msgstr ""
2241
2242 #. type: IP
2243 #: en/lb_config.1:459
2244 #, no-wrap
2245 msgid "B<--firmware-chroot> true|false"
2246 msgstr ""
2247
2248 #. type: Plain text
2249 #: en/lb_config.1:461
2250 msgid ""
2251 "defines if firmware packages should be automatically included into the live "
2252 "image. Note that only firmware packages available within the configured "
2253 "archive areas are included, e.g. an image with packages from main only will "
2254 "not automatically include firmware from non-free. This option does not "
2255 "interfere with explicitly listed packages in chroot package lists."
2256 msgstr ""
2257
2258 #. type: IP
2259 #: en/lb_config.1:461
2260 #, no-wrap
2261 msgid "B<--swap-file-path> I<PATH>"
2262 msgstr ""
2263
2264 #. type: Plain text
2265 #: en/lb_config.1:463
2266 msgid ""
2267 "defines the path to a swap file to create in the binary image. Default is "
2268 "not to create a swap file."
2269 msgstr ""
2270
2271 #. type: IP
2272 #: en/lb_config.1:463
2273 #, no-wrap
2274 msgid "B<--swap-file-size> I<MB>"
2275 msgstr ""
2276
2277 #. type: Plain text
2278 #: en/lb_config.1:465
2279 msgid ""
2280 "defines what size in megabytes the swap file should be, if one is to be "
2281 "created. Default is 512MB."
2282 msgstr ""
2283
2284 #. type: IP
2285 #: en/lb_config.1:465
2286 #, no-wrap
2287 msgid "B<--syslinux-theme> I<THEME_SUFFIX>"
2288 msgstr ""
2289
2290 #. type: Plain text
2291 #: en/lb_config.1:467
2292 msgid ""
2293 "defines the syslinux theme to use. The theme suffix is the name of a "
2294 "directory in /usr/share/syslinux/themes/ provided by a package named "
2295 "syslinux-theme- plus the suffix. In debian mode, this defaults to debian-"
2296 "squeeze."
2297 msgstr ""
2298
2299 #. type: IP
2300 #: en/lb_config.1:467
2301 #, no-wrap
2302 msgid "B<--tasksel> apt|aptitude|tasksel"
2303 msgstr ""
2304
2305 #. type: Plain text
2306 #: en/lb_config.1:469
2307 msgid ""
2308 "selects which program is used to install tasks. By default, this is set to "
2309 "tasksel."
2310 msgstr ""
2311
2312 #. type: IP
2313 #: en/lb_config.1:469
2314 #, no-wrap
2315 msgid "B<--templates> I<PATH>"
2316 msgstr ""
2317
2318 #. type: Plain text
2319 #: en/lb_config.1:471
2320 msgid ""
2321 "sets the path to the templates that live-build is going to use, e.g. for "
2322 "bootloaders. By default, this is set to /usr/share/live/build/templates/."
2323 msgstr ""
2324
2325 #. type: IP
2326 #: en/lb_config.1:471
2327 #, no-wrap
2328 msgid "B<--hdd-size> MB"
2329 msgstr ""
2330
2331 #. type: Plain text
2332 #: en/lb_config.1:473
2333 msgid ""
2334 "defines what size the hdd image should be. Note that although the default is "
2335 "set to 10000 (= 10GB), it will not need 10GB space on your harddisk as the "
2336 "files are created as sparse files."
2337 msgstr ""
2338
2339 #. type: IP
2340 #: en/lb_config.1:473
2341 #, no-wrap
2342 msgid "B<--updates> true|false"
2343 msgstr ""
2344
2345 #. type: Plain text
2346 #: en/lb_config.1:475
2347 msgid ""
2348 "defines if debian updates package archives should be included in the image "
2349 "or not."
2350 msgstr ""
2351
2352 #. type: IP
2353 #: en/lb_config.1:475
2354 #, no-wrap
2355 msgid "B<--backports> true|false"
2356 msgstr ""
2357
2358 #. type: Plain text
2359 #: en/lb_config.1:477
2360 msgid ""
2361 "defines if debian backports package archives should be included in the image "
2362 "or not."
2363 msgstr ""
2364
2365 #. type: IP
2366 #: en/lb_config.1:477
2367 #, no-wrap
2368 msgid "B<--exposed-root> true|false"
2369 msgstr ""
2370
2371 #. type: Plain text
2372 #: en/lb_config.1:479
2373 msgid ""
2374 "defines whether to expose the root filesystem as read only and not covered "
2375 "by the union filesystem. This has useful implications for certain speciality "
2376 "setups such as LTSP. By default, this option is false."
2377 msgstr ""
2378
2379 #. type: IP
2380 #: en/lb_config.1:479 en/live-build.7:42
2381 #, no-wrap
2382 msgid "B<--verbose>"
2383 msgstr ""
2384
2385 #. type: Plain text
2386 #: en/lb_config.1:481
2387 msgid "increases the verbosity of messages output by B<lb build>."
2388 msgstr ""
2389
2390 #. type: IP
2391 #: en/lb_config.1:481
2392 #, no-wrap
2393 msgid "B<--win32-loader true|false>"
2394 msgstr ""
2395
2396 #. FIXME
2397 #. type: Plain text
2398 #: en/lb_config.1:484
2399 msgid "defines if win32-loader should be included in the binary image or not."
2400 msgstr ""
2401
2402 #. type: SH
2403 #: en/lb_config.1:485
2404 #, no-wrap
2405 msgid "ENVIRONMENT"
2406 msgstr ""
2407
2408 #. FIXME
2409 #. type: Plain text
2410 #: en/lb_config.1:488
2411 msgid ""
2412 "Currently, command line switches can also be specified through the "
2413 "corresponding environment variable. However, this generally should not be "
2414 "relied upon, as it is an implementation detail that is subject to change in "
2415 "future releases. For options applying directly to live-build, environment "
2416 "variables are named LB_FOO, meaning, e.g. B<--apt-ftp-proxy> becomes "
2417 "LB_APT_FTP_PROXY (the exception being internal options such as B<--debug>). "
2418 "For options passed to another program, as in APT_OPTIONS or GZIP_OPTIONS, no "
2419 "LB_ prefix is used."
2420 msgstr ""
2421
2422 #. FIXME
2423 #. type: IP
2424 #: en/lb_config.1:492
2425 #, no-wrap
2426 msgid "B<auto/config>"
2427 msgstr ""
2428
2429 #. type: IP
2430 #: en/lb_config.1:493
2431 #, no-wrap
2432 msgid "B</etc/live/build.conf, /etc/live/build/*>"
2433 msgstr ""
2434
2435 #. FIXME
2436 #. type: Plain text
2437 #: en/lb_config.1:496
2438 msgid ""
2439 "An optional, global configuration file for B<lb config> variables. It is "
2440 "useful to specify a few system wide defaults, like "
2441 "LB_PARENT_MIRROR_BOOTSTRAP. This feature can be false by specifying the B<--"
2442 "ignore-system-defaults> option."
2443 msgstr ""
2444
2445 #. type: Plain text
2446 #: en/lb_config.1:501 en/live-build.7:225
2447 msgid "I<live-boot>(7)"
2448 msgstr ""
2449
2450 #. type: Plain text
2451 #: en/lb_config.1:503 en/live-build.7:227
2452 msgid "I<live-config>(7)"
2453 msgstr ""
0 # SOME DESCRIPTIVE TITLE
1 # Copyright (C) YEAR Free Software Foundation, Inc.
2 # This file is distributed under the same license as the live-build package.
3 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4 #
5 #, fuzzy
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: live-build VERSION\n"
9 "POT-Creation-Date: 2012-12-23 10:50+0100\n"
10 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Language-Team: LANGUAGE <[email protected]>\n"
13 "Language: \n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=CHARSET\n"
16 "Content-Transfer-Encoding: 8bit\n"
17
18 #. type: TH
19 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
20 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
21 #: en/lb_testroot.1:1 en/live-build.7:1
22 #, no-wrap
23 msgid "LIVE-BUILD"
24 msgstr ""
25
26 #. type: TH
27 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
28 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
29 #: en/lb_testroot.1:1 en/live-build.7:1
30 #, no-wrap
31 msgid "2012-12-23"
32 msgstr ""
33
34 #. type: TH
35 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
36 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
37 #: en/lb_testroot.1:1 en/live-build.7:1
38 #, no-wrap
39 msgid "3.0~b4-1"
40 msgstr ""
41
42 #. type: TH
43 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
44 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
45 #: en/lb_testroot.1:1 en/live-build.7:1
46 #, no-wrap
47 msgid "Debian Live Project"
48 msgstr ""
49
50 #. type: SH
51 #: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3
52 #: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3
53 #: en/lb_testroot.1:3 en/live-build.7:3
54 #, no-wrap
55 msgid "NAME"
56 msgstr ""
57
58 #. type: SH
59 #: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6
60 #: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6
61 #: en/lb_testroot.1:6 en/live-build.7:6
62 #, no-wrap
63 msgid "SYNOPSIS"
64 msgstr ""
65
66 #. type: SH
67 #: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9
68 #: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9
69 #: en/lb_testroot.1:9 en/live-build.7:11
70 #, no-wrap
71 msgid "DESCRIPTION"
72 msgstr ""
73
74 #. type: SH
75 #: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14
76 #: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14
77 #: en/lb_testroot.1:18 en/live-build.7:20
78 #, no-wrap
79 msgid "OPTIONS"
80 msgstr ""
81
82 #. type: SH
83 #: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17
84 #: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17
85 #: en/lb_testroot.1:21 en/live-build.7:219
86 #, no-wrap
87 msgid "FILES"
88 msgstr ""
89
90 #. type: IP
91 #: en/lb.1:20 en/lb_binary.1:18 en/lb_bootstrap.1:18 en/lb_chroot.1:18
92 #: en/lb_source.1:18 en/lb_testroot.1:22
93 #, no-wrap
94 msgid "B<none>"
95 msgstr ""
96
97 #. type: SH
98 #: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22
99 #: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20
100 #: en/lb_testroot.1:24 en/live-build.7:223
101 #, no-wrap
102 msgid "SEE ALSO"
103 msgstr ""
104
105 #. type: Plain text
106 #: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24
107 #: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22
108 #: en/lb_testroot.1:26
109 msgid "I<live-build>(7)"
110 msgstr ""
111
112 #. type: Plain text
113 #: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26
114 #: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24
115 #: en/lb_testroot.1:28 en/live-build.7:229
116 msgid "This program is a part of live-build."
117 msgstr ""
118
119 #. type: SH
120 #: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27
121 #: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25
122 #: en/lb_testroot.1:29 en/live-build.7:230
123 #, no-wrap
124 msgid "HOMEPAGE"
125 msgstr ""
126
127 #. type: Plain text
128 #: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29
129 #: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27
130 #: en/lb_testroot.1:31 en/live-build.7:232
131 msgid ""
132 "More information about live-build and the Debian Live project can be found "
133 "on the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
134 "E<lt>I<http://live.debian.net/manual/>E<gt>."
135 msgstr ""
136
137 #. type: SH
138 #: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30
139 #: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28
140 #: en/lb_testroot.1:32 en/live-build.7:233
141 #, no-wrap
142 msgid "BUGS"
143 msgstr ""
144
145 #. type: Plain text
146 #: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32
147 #: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30
148 #: en/lb_testroot.1:34 en/live-build.7:235
149 msgid ""
150 "Bugs can be reported by submitting a bugreport for the live-build package in "
151 "the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or by "
152 "writing a mail to the Debian Live mailing list at E<lt>I<debian-live@lists."
153 "debian.org>E<gt>."
154 msgstr ""
155
156 #. type: SH
157 #: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33
158 #: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31
159 #: en/lb_testroot.1:35 en/live-build.7:236
160 #, no-wrap
161 msgid "AUTHOR"
162 msgstr ""
163
164 #. type: Plain text
165 #: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34
166 #: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32
167 #: en/lb_testroot.1:36 en/live-build.7:237
168 msgid ""
169 "live-build was written by Daniel Baumann E<lt>I<[email protected]>E<gt> for "
170 "the Debian project."
171 msgstr ""
172
173 #. type: Plain text
174 #: en/lb_source.1:5
175 msgid "B<lb source> - Complete the source stage"
176 msgstr ""
177
178 #. type: Plain text
179 #: en/lb_source.1:8
180 msgid "B<lb source> [I<live-build options>]"
181 msgstr ""
182
183 #. type: Plain text
184 #: en/lb_source.1:11
185 msgid ""
186 "B<lb source> is a high-level command (porcelain) of I<live-build>(7), the "
187 "Debian Live tool suite."
188 msgstr ""
189
190 #. type: Plain text
191 #: en/lb_source.1:13
192 msgid ""
193 "B<lb source> calls all necessary live-build programs in the correct order to "
194 "complete the source stage."
195 msgstr ""
196
197 #. type: Plain text
198 #: en/lb_source.1:16
199 msgid ""
200 "B<lb source> has no specific options but understands all generic live-build "
201 "options. See I<live-build>(7) for a complete list of all generic live-build "
202 "options."
203 msgstr ""
0 # SOME DESCRIPTIVE TITLE
1 # Copyright (C) YEAR Free Software Foundation, Inc.
2 # This file is distributed under the same license as the live-build package.
3 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4 #
5 #, fuzzy
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: live-build VERSION\n"
9 "POT-Creation-Date: 2012-12-23 10:50+0100\n"
10 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Language-Team: LANGUAGE <[email protected]>\n"
13 "Language: \n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=CHARSET\n"
16 "Content-Transfer-Encoding: 8bit\n"
17
18 #. type: TH
19 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
20 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
21 #: en/lb_testroot.1:1 en/live-build.7:1
22 #, no-wrap
23 msgid "LIVE-BUILD"
24 msgstr ""
25
26 #. type: TH
27 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
28 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
29 #: en/lb_testroot.1:1 en/live-build.7:1
30 #, no-wrap
31 msgid "2012-12-23"
32 msgstr ""
33
34 #. type: TH
35 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
36 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
37 #: en/lb_testroot.1:1 en/live-build.7:1
38 #, no-wrap
39 msgid "3.0~b4-1"
40 msgstr ""
41
42 #. type: TH
43 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
44 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
45 #: en/lb_testroot.1:1 en/live-build.7:1
46 #, no-wrap
47 msgid "Debian Live Project"
48 msgstr ""
49
50 #. type: SH
51 #: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3
52 #: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3
53 #: en/lb_testroot.1:3 en/live-build.7:3
54 #, no-wrap
55 msgid "NAME"
56 msgstr ""
57
58 #. type: SH
59 #: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6
60 #: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6
61 #: en/lb_testroot.1:6 en/live-build.7:6
62 #, no-wrap
63 msgid "SYNOPSIS"
64 msgstr ""
65
66 #. type: SH
67 #: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9
68 #: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9
69 #: en/lb_testroot.1:9 en/live-build.7:11
70 #, no-wrap
71 msgid "DESCRIPTION"
72 msgstr ""
73
74 #. type: SH
75 #: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14
76 #: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14
77 #: en/lb_testroot.1:18 en/live-build.7:20
78 #, no-wrap
79 msgid "OPTIONS"
80 msgstr ""
81
82 #. type: SH
83 #: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17
84 #: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17
85 #: en/lb_testroot.1:21 en/live-build.7:219
86 #, no-wrap
87 msgid "FILES"
88 msgstr ""
89
90 #. type: IP
91 #: en/lb.1:20 en/lb_binary.1:18 en/lb_bootstrap.1:18 en/lb_chroot.1:18
92 #: en/lb_source.1:18 en/lb_testroot.1:22
93 #, no-wrap
94 msgid "B<none>"
95 msgstr ""
96
97 #. type: SH
98 #: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22
99 #: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20
100 #: en/lb_testroot.1:24 en/live-build.7:223
101 #, no-wrap
102 msgid "SEE ALSO"
103 msgstr ""
104
105 #. type: Plain text
106 #: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24
107 #: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22
108 #: en/lb_testroot.1:26
109 msgid "I<live-build>(7)"
110 msgstr ""
111
112 #. type: Plain text
113 #: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26
114 #: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24
115 #: en/lb_testroot.1:28 en/live-build.7:229
116 msgid "This program is a part of live-build."
117 msgstr ""
118
119 #. type: SH
120 #: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27
121 #: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25
122 #: en/lb_testroot.1:29 en/live-build.7:230
123 #, no-wrap
124 msgid "HOMEPAGE"
125 msgstr ""
126
127 #. type: Plain text
128 #: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29
129 #: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27
130 #: en/lb_testroot.1:31 en/live-build.7:232
131 msgid ""
132 "More information about live-build and the Debian Live project can be found "
133 "on the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
134 "E<lt>I<http://live.debian.net/manual/>E<gt>."
135 msgstr ""
136
137 #. type: SH
138 #: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30
139 #: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28
140 #: en/lb_testroot.1:32 en/live-build.7:233
141 #, no-wrap
142 msgid "BUGS"
143 msgstr ""
144
145 #. type: Plain text
146 #: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32
147 #: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30
148 #: en/lb_testroot.1:34 en/live-build.7:235
149 msgid ""
150 "Bugs can be reported by submitting a bugreport for the live-build package in "
151 "the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or by "
152 "writing a mail to the Debian Live mailing list at E<lt>I<debian-live@lists."
153 "debian.org>E<gt>."
154 msgstr ""
155
156 #. type: SH
157 #: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33
158 #: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31
159 #: en/lb_testroot.1:35 en/live-build.7:236
160 #, no-wrap
161 msgid "AUTHOR"
162 msgstr ""
163
164 #. type: Plain text
165 #: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34
166 #: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32
167 #: en/lb_testroot.1:36 en/live-build.7:237
168 msgid ""
169 "live-build was written by Daniel Baumann E<lt>I<[email protected]>E<gt> for "
170 "the Debian project."
171 msgstr ""
172
173 #. type: Plain text
174 #: en/lb_testroot.1:5
175 msgid "B<lb testroot> - Ensure that a system is built as root"
176 msgstr ""
177
178 #. type: Plain text
179 #: en/lb_testroot.1:8
180 msgid "B<lb testroot> [I<live-build options>]"
181 msgstr ""
182
183 #. type: Plain text
184 #: en/lb_testroot.1:11
185 msgid ""
186 "B<lb testroot> is a high-level command (porcelain) of I<live-build>(7), the "
187 "Debian Live tool suite."
188 msgstr ""
189
190 #. FIXME
191 #. type: Plain text
192 #: en/lb_testroot.1:14
193 msgid ""
194 "B<lb testroot> simply checks to see if you are root. If not, it exits with "
195 "an error. Debian Live images must currently be built as real root."
196 msgstr ""
197
198 #. FIXME
199 #. type: Plain text
200 #: en/lb_testroot.1:17
201 msgid ""
202 "Note: Support for using I<fakeroot>(1) and I<sudo>(8) internally in live-"
203 "build itself is still experimental, however, calling a helper yourself with "
204 "sudo is safe."
205 msgstr ""
206
207 #. type: Plain text
208 #: en/lb_testroot.1:20
209 msgid ""
210 "B<lb testroot> has no specific options but understands all generic live-"
211 "build options. See I<live-build>(7) for a complete list of all generic live-"
212 "build options."
213 msgstr ""
0 # SOME DESCRIPTIVE TITLE
1 # Copyright (C) YEAR Free Software Foundation, Inc.
2 # This file is distributed under the same license as the live-build package.
3 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4 #
5 #, fuzzy
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: live-build VERSION\n"
9 "POT-Creation-Date: 2012-12-23 10:50+0100\n"
10 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
11 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Language-Team: LANGUAGE <[email protected]>\n"
13 "Language: \n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=CHARSET\n"
16 "Content-Transfer-Encoding: 8bit\n"
17
18 #. type: TH
19 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
20 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
21 #: en/lb_testroot.1:1 en/live-build.7:1
22 #, no-wrap
23 msgid "LIVE-BUILD"
24 msgstr ""
25
26 #. type: TH
27 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
28 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
29 #: en/lb_testroot.1:1 en/live-build.7:1
30 #, no-wrap
31 msgid "2012-12-23"
32 msgstr ""
33
34 #. type: TH
35 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
36 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
37 #: en/lb_testroot.1:1 en/live-build.7:1
38 #, no-wrap
39 msgid "3.0~b4-1"
40 msgstr ""
41
42 #. type: TH
43 #: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1
44 #: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1
45 #: en/lb_testroot.1:1 en/live-build.7:1
46 #, no-wrap
47 msgid "Debian Live Project"
48 msgstr ""
49
50 #. type: SH
51 #: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3
52 #: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3
53 #: en/lb_testroot.1:3 en/live-build.7:3
54 #, no-wrap
55 msgid "NAME"
56 msgstr ""
57
58 #. type: SH
59 #: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6
60 #: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6
61 #: en/lb_testroot.1:6 en/live-build.7:6
62 #, no-wrap
63 msgid "SYNOPSIS"
64 msgstr ""
65
66 #. type: SH
67 #: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9
68 #: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9
69 #: en/lb_testroot.1:9 en/live-build.7:11
70 #, no-wrap
71 msgid "DESCRIPTION"
72 msgstr ""
73
74 #. type: SH
75 #: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14
76 #: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14
77 #: en/lb_testroot.1:18 en/live-build.7:20
78 #, no-wrap
79 msgid "OPTIONS"
80 msgstr ""
81
82 #. type: SH
83 #: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17
84 #: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17
85 #: en/lb_testroot.1:21 en/live-build.7:219
86 #, no-wrap
87 msgid "FILES"
88 msgstr ""
89
90 #. type: SH
91 #: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22
92 #: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20
93 #: en/lb_testroot.1:24 en/live-build.7:223
94 #, no-wrap
95 msgid "SEE ALSO"
96 msgstr ""
97
98 #. type: Plain text
99 #: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26
100 #: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24
101 #: en/lb_testroot.1:28 en/live-build.7:229
102 msgid "This program is a part of live-build."
103 msgstr ""
104
105 #. type: SH
106 #: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27
107 #: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25
108 #: en/lb_testroot.1:29 en/live-build.7:230
109 #, no-wrap
110 msgid "HOMEPAGE"
111 msgstr ""
112
113 #. type: Plain text
114 #: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29
115 #: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27
116 #: en/lb_testroot.1:31 en/live-build.7:232
117 msgid ""
118 "More information about live-build and the Debian Live project can be found "
119 "on the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
120 "E<lt>I<http://live.debian.net/manual/>E<gt>."
121 msgstr ""
122
123 #. type: SH
124 #: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30
125 #: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28
126 #: en/lb_testroot.1:32 en/live-build.7:233
127 #, no-wrap
128 msgid "BUGS"
129 msgstr ""
130
131 #. type: Plain text
132 #: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32
133 #: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30
134 #: en/lb_testroot.1:34 en/live-build.7:235
135 msgid ""
136 "Bugs can be reported by submitting a bugreport for the live-build package in "
137 "the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or by "
138 "writing a mail to the Debian Live mailing list at E<lt>I<debian-live@lists."
139 "debian.org>E<gt>."
140 msgstr ""
141
142 #. type: SH
143 #: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33
144 #: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31
145 #: en/lb_testroot.1:35 en/live-build.7:236
146 #, no-wrap
147 msgid "AUTHOR"
148 msgstr ""
149
150 #. type: Plain text
151 #: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34
152 #: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32
153 #: en/lb_testroot.1:36 en/live-build.7:237
154 msgid ""
155 "live-build was written by Daniel Baumann E<lt>I<[email protected]>E<gt> for "
156 "the Debian project."
157 msgstr ""
158
159 #. type: IP
160 #: en/lb_config.1:318 en/live-build.7:36
161 #, no-wrap
162 msgid "B<--debug>"
163 msgstr ""
164
165 #. type: IP
166 #: en/lb_config.1:330 en/live-build.7:38
167 #, no-wrap
168 msgid "B<--force>"
169 msgstr ""
170
171 #. type: IP
172 #: en/lb_config.1:439 en/live-build.7:40
173 #, no-wrap
174 msgid "B<--quiet>"
175 msgstr ""
176
177 #. type: IP
178 #: en/lb_config.1:479 en/live-build.7:42
179 #, no-wrap
180 msgid "B<--verbose>"
181 msgstr ""
182
183 #. type: Plain text
184 #: en/lb_config.1:501 en/live-build.7:225
185 msgid "I<live-boot>(7)"
186 msgstr ""
187
188 #. type: Plain text
189 #: en/lb_config.1:503 en/live-build.7:227
190 msgid "I<live-config>(7)"
191 msgstr ""
192
193 #. type: Plain text
194 #: en/live-build.7:5
195 msgid "B<live-build> - the Debian Live tool suite"
196 msgstr ""
197
198 #. FIXME
199 #. FIXME
200 #. type: Plain text
201 #: en/live-build.7:10
202 msgid ""
203 "B<lb >I<COMMAND> [B<-h|--help>] [B<-u|--usage>] [B<-v|--version>] [B<--"
204 "breakpoints>] [B<--conffile>] [B<--debug>] [B<--force>] [B<--quiet>] [B<--"
205 "verbose>]"
206 msgstr ""
207
208 #. FIXME
209 #. type: Plain text
210 #: en/live-build.7:14
211 msgid ""
212 "live-build is a set of scripts to build Debian Live system images. The idea "
213 "behind live-build is a tool suite that uses a configuration directory to "
214 "completely automate and customize all aspects of building a Live image."
215 msgstr ""
216
217 #. type: Plain text
218 #: en/live-build.7:16
219 msgid "The I<COMMAND> is a name of a live-build command (see below)."
220 msgstr ""
221
222 #. FIXME
223 #. type: Plain text
224 #: en/live-build.7:19
225 msgid ""
226 "More documentation about how to use live-build is available in the "
227 "individual manpages for each helper and in the manual at E<lt>I<http://live."
228 "debian.net/manual/>E<gt>."
229 msgstr ""
230
231 #. FIXME
232 #. type: SS
233 #: en/live-build.7:22
234 #, no-wrap
235 msgid "Shared live-build options"
236 msgstr ""
237
238 #. type: Plain text
239 #: en/live-build.7:24
240 msgid ""
241 "The following command line options are supported by all live-build programs."
242 msgstr ""
243
244 #. type: IP
245 #: en/live-build.7:24
246 #, no-wrap
247 msgid "B<-h, --help>"
248 msgstr ""
249
250 #. type: Plain text
251 #: en/live-build.7:26
252 msgid "display help and exit."
253 msgstr ""
254
255 #. type: IP
256 #: en/live-build.7:26
257 #, no-wrap
258 msgid "B<-u, --usage>"
259 msgstr ""
260
261 #. type: Plain text
262 #: en/live-build.7:28
263 msgid "show usage and exit."
264 msgstr ""
265
266 #. type: IP
267 #: en/live-build.7:28
268 #, no-wrap
269 msgid "B<-v, --version>"
270 msgstr ""
271
272 #. type: Plain text
273 #: en/live-build.7:30
274 msgid "output version information and exit."
275 msgstr ""
276
277 #. type: SS
278 #: en/live-build.7:30
279 #, no-wrap
280 msgid "Common live-build options"
281 msgstr ""
282
283 #. type: Plain text
284 #: en/live-build.7:32
285 msgid ""
286 "The following command line options are supported by most live-build "
287 "programs. See the man page of each program for a complete explanation of "
288 "what each option does."
289 msgstr ""
290
291 #. type: IP
292 #: en/live-build.7:32
293 #, no-wrap
294 msgid "B<--breakpoints>"
295 msgstr ""
296
297 #. type: Plain text
298 #: en/live-build.7:34
299 msgid "run with breakpoints."
300 msgstr ""
301
302 #. type: IP
303 #: en/live-build.7:34
304 #, no-wrap
305 msgid "B<--conffile>"
306 msgstr ""
307
308 #. type: Plain text
309 #: en/live-build.7:36
310 msgid "use custom configuration file."
311 msgstr ""
312
313 #. type: Plain text
314 #: en/live-build.7:38
315 msgid "show debug information."
316 msgstr ""
317
318 #. type: Plain text
319 #: en/live-build.7:40
320 msgid "force helper execution, even if stage file exists."
321 msgstr ""
322
323 #. type: Plain text
324 #: en/live-build.7:42
325 msgid "be quiet."
326 msgstr ""
327
328 #. FIXME
329 #. type: Plain text
330 #: en/live-build.7:45
331 msgid "be verbose."
332 msgstr ""
333
334 #. type: SH
335 #: en/live-build.7:46
336 #, no-wrap
337 msgid "LIVE-BUILD COMMANDS"
338 msgstr ""
339
340 #. FIXME
341 #. type: Plain text
342 #: en/live-build.7:49
343 msgid ""
344 "We divide live-build into high level (\"porcelain\") commands and low level "
345 "(\"plumbing\") commands."
346 msgstr ""
347
348 #. FIXME
349 #. type: Plain text
350 #: en/live-build.7:53
351 msgid ""
352 "Here is the complete list of all available live-build commands. See their "
353 "man pages for additional documentation."
354 msgstr ""
355
356 #. type: SH
357 #: en/live-build.7:54
358 #, no-wrap
359 msgid "HIGH-LEVEL COMMANDS (PORCELAIN)"
360 msgstr ""
361
362 #. FIXME
363 #. type: Plain text
364 #: en/live-build.7:57
365 msgid ""
366 "We separate the porcelain commands into the main commands and some ancillary "
367 "user utilities."
368 msgstr ""
369
370 #. type: SS
371 #: en/live-build.7:57
372 #, no-wrap
373 msgid "Main porcelain commands"
374 msgstr ""
375
376 #. type: IP
377 #: en/live-build.7:58
378 #, no-wrap
379 msgid "B<lb_config>(1)"
380 msgstr ""
381
382 #. type: Plain text
383 #: en/live-build.7:60
384 msgid "create configuration for live-build"
385 msgstr ""
386
387 #. type: IP
388 #: en/live-build.7:60
389 #, no-wrap
390 msgid "B<lb_bootstrap>(1)"
391 msgstr ""
392
393 #. type: Plain text
394 #: en/live-build.7:62
395 msgid "create the first stage by bootstrapping a basic debian system"
396 msgstr ""
397
398 #. type: IP
399 #: en/live-build.7:62
400 #, no-wrap
401 msgid "B<lb_chroot>(1)"
402 msgstr ""
403
404 #. type: Plain text
405 #: en/live-build.7:64
406 msgid "create the second stage by customizing the chroot"
407 msgstr ""
408
409 #. type: IP
410 #: en/live-build.7:64
411 #, no-wrap
412 msgid "B<lb_binary>(1)"
413 msgstr ""
414
415 #. type: Plain text
416 #: en/live-build.7:66
417 msgid "create the third stage by generating a binary image"
418 msgstr ""
419
420 #. type: IP
421 #: en/live-build.7:66
422 #, no-wrap
423 msgid "B<lb_source>(1)"
424 msgstr ""
425
426 #. type: Plain text
427 #: en/live-build.7:68
428 msgid "create the optional fourth stage by generating a source image"
429 msgstr ""
430
431 #. type: IP
432 #: en/live-build.7:68
433 #, no-wrap
434 msgid "B<lb_clean>(1)"
435 msgstr ""
436
437 #. type: Plain text
438 #: en/live-build.7:70
439 msgid "clean up system build directories"
440 msgstr ""
441
442 #. type: SS
443 #: en/live-build.7:70
444 #, no-wrap
445 msgid "Ancillary Commands"
446 msgstr ""
447
448 #. type: IP
449 #: en/live-build.7:71
450 #, no-wrap
451 msgid "B<lb>(1)"
452 msgstr ""
453
454 #. type: Plain text
455 #: en/live-build.7:73
456 msgid "generic live-build wrapper"
457 msgstr ""
458
459 #. type: IP
460 #: en/live-build.7:73
461 #, no-wrap
462 msgid "B<lb_build>(1)"
463 msgstr ""
464
465 #. type: Plain text
466 #: en/live-build.7:75
467 msgid "alias for all stages"
468 msgstr ""
469
470 #. type: IP
471 #: en/live-build.7:75
472 #, no-wrap
473 msgid "B<lb_local>(1)"
474 msgstr ""
475
476 #. type: Plain text
477 #: en/live-build.7:77
478 msgid "helper for using a local live-build"
479 msgstr ""
480
481 #. type: IP
482 #: en/live-build.7:77
483 #, no-wrap
484 msgid "B<lb_testroot>(1)"
485 msgstr ""
486
487 #. FIXME
488 #. type: Plain text
489 #: en/live-build.7:80
490 msgid "ensure that a system is built as root"
491 msgstr ""
492
493 #. type: SH
494 #: en/live-build.7:81
495 #, no-wrap
496 msgid "LOW-LEVEL COMMANDS (PLUMBING)"
497 msgstr ""
498
499 #. FIXME
500 #. type: Plain text
501 #: en/live-build.7:84
502 msgid ""
503 "The actual work of live-build is implemented in the low-level commands, "
504 "called plumbing. They are not supposed to be used by end users, they should "
505 "stick with porcelains as they ensure that all the different plumbing "
506 "commands are executed in the right order. However, if you intend to reuse "
507 "live-build commands in your own scripts, then the plumbings might be of "
508 "interest for you."
509 msgstr ""
510
511 #. type: Plain text
512 #: en/live-build.7:86
513 msgid ""
514 "Note that the interface (set of options and the semantics) to these low-"
515 "level commands are meant to be a lot more stable than Porcelain level "
516 "commands. The interface to Porcelain commands on the other hand are subject "
517 "to change in order to improve the end user experience."
518 msgstr ""
519
520 #. type: SS
521 #: en/live-build.7:86
522 #, no-wrap
523 msgid "Bootstrap commands"
524 msgstr ""
525
526 #. type: IP
527 #: en/live-build.7:87
528 #, no-wrap
529 msgid "B<lb_bootstrap_cache>(1)"
530 msgstr ""
531
532 #. type: Plain text
533 #: en/live-build.7:89
534 msgid "cache bootstrap stage"
535 msgstr ""
536
537 #. type: IP
538 #: en/live-build.7:89
539 #, no-wrap
540 msgid "B<lb_bootstrap_cdebootstrap>(1)"
541 msgstr ""
542
543 #. type: Plain text
544 #: en/live-build.7:91
545 msgid "bootstrap a Debian system with cdebootstrap(1)"
546 msgstr ""
547
548 #. type: IP
549 #: en/live-build.7:91
550 #, no-wrap
551 msgid "B<lb_bootstrap_debootstrap>(1)"
552 msgstr ""
553
554 #. type: Plain text
555 #: en/live-build.7:93
556 msgid "bootstrap a Debian system with debootstrap(8)"
557 msgstr ""
558
559 #. type: SS
560 #: en/live-build.7:93
561 #, no-wrap
562 msgid "Chroot commands"
563 msgstr ""
564
565 #. type: IP
566 #: en/live-build.7:94
567 #, no-wrap
568 msgid "B<lb_chroot_apt>(1)"
569 msgstr ""
570
571 #. type: Plain text
572 #: en/live-build.7:96
573 msgid "manage /etc/apt/apt.conf"
574 msgstr ""
575
576 #. type: IP
577 #: en/live-build.7:96
578 #, no-wrap
579 msgid "B<lb_chroot_cache>(1)"
580 msgstr ""
581
582 #. type: Plain text
583 #: en/live-build.7:98
584 msgid "cache chroot stage"
585 msgstr ""
586
587 #. type: IP
588 #: en/live-build.7:98
589 #, no-wrap
590 msgid "B<lb_chroot_debianchroot>(1)"
591 msgstr ""
592
593 #. type: Plain text
594 #: en/live-build.7:100
595 msgid "manage /etc/debian_chroot"
596 msgstr ""
597
598 #. type: IP
599 #: en/live-build.7:100
600 #, no-wrap
601 msgid "B<lb_chroot_devpts>(1)"
602 msgstr ""
603
604 #. type: Plain text
605 #: en/live-build.7:102
606 msgid "mount /dev/pts"
607 msgstr ""
608
609 #. type: IP
610 #: en/live-build.7:102
611 #, no-wrap
612 msgid "B<lb_chroot_dpkg>(1)"
613 msgstr ""
614
615 #. type: Plain text
616 #: en/live-build.7:104
617 msgid "manage /sbin/dpkg"
618 msgstr ""
619
620 #. type: IP
621 #: en/live-build.7:104
622 #, no-wrap
623 msgid "B<lb_chroot_hacks>(1)"
624 msgstr ""
625
626 #. type: Plain text
627 #: en/live-build.7:106
628 msgid "execute hacks in chroot"
629 msgstr ""
630
631 #. type: IP
632 #: en/live-build.7:106
633 #, no-wrap
634 msgid "B<lb_chroot_hostname>(1)"
635 msgstr ""
636
637 #. type: Plain text
638 #: en/live-build.7:108
639 msgid "manage /bin/hostname"
640 msgstr ""
641
642 #. type: IP
643 #: en/live-build.7:108
644 #, no-wrap
645 msgid "B<lb_chroot_hosts>(1)"
646 msgstr ""
647
648 #. type: Plain text
649 #: en/live-build.7:110
650 msgid "manage /etc/hosts"
651 msgstr ""
652
653 #. type: IP
654 #: en/live-build.7:110
655 #, no-wrap
656 msgid "B<lb_chroot_install-packages>(1)"
657 msgstr ""
658
659 #. type: Plain text
660 #: en/live-build.7:112
661 msgid "install queued packages into chroot"
662 msgstr ""
663
664 #. type: IP
665 #: en/live-build.7:112
666 #, no-wrap
667 msgid "B<lb_chroot_interactive>(1)"
668 msgstr ""
669
670 #. type: Plain text
671 #: en/live-build.7:114
672 msgid "make build interactive"
673 msgstr ""
674
675 #. type: IP
676 #: en/live-build.7:114
677 #, no-wrap
678 msgid "B<lb_chroot_linux-image>(1)"
679 msgstr ""
680
681 #. type: Plain text
682 #: en/live-build.7:116
683 msgid "manage /etc/kernel-img.conf"
684 msgstr ""
685
686 #. type: IP
687 #: en/live-build.7:116
688 #, no-wrap
689 msgid "B<lb_chroot_hooks>(1)"
690 msgstr ""
691
692 #. type: Plain text
693 #: en/live-build.7:118
694 msgid "execute local hooks in chroot"
695 msgstr ""
696
697 #. type: IP
698 #: en/live-build.7:118
699 #, no-wrap
700 msgid "B<lb_chroot_local-includes>(1)"
701 msgstr ""
702
703 #. type: Plain text
704 #: en/live-build.7:120
705 msgid "copy local files into chroot"
706 msgstr ""
707
708 #. type: IP
709 #: en/live-build.7:120
710 #, no-wrap
711 msgid "B<lb_chroot_packages>(1)"
712 msgstr ""
713
714 #. type: Plain text
715 #: en/live-build.7:122
716 msgid "queue install of packages into chroot"
717 msgstr ""
718
719 #. type: IP
720 #: en/live-build.7:122
721 #, no-wrap
722 msgid "B<lb_chroot_local-patches>(1)"
723 msgstr ""
724
725 #. type: Plain text
726 #: en/live-build.7:124
727 msgid "apply local patches against chroot"
728 msgstr ""
729
730 #. type: IP
731 #: en/live-build.7:124
732 #, no-wrap
733 msgid "B<lb_chroot_local-preseed>(1)"
734 msgstr ""
735
736 #. type: Plain text
737 #: en/live-build.7:126
738 msgid "use debconf local preseeding file"
739 msgstr ""
740
741 #. type: IP
742 #: en/live-build.7:126
743 #, no-wrap
744 msgid "B<lb_chroot_packagelists>(1)"
745 msgstr ""
746
747 #. type: Plain text
748 #: en/live-build.7:128
749 msgid "queue install of package lists into chroot"
750 msgstr ""
751
752 #. type: IP
753 #: en/live-build.7:128
754 #, no-wrap
755 msgid "B<lb_chroot_proc>(1)"
756 msgstr ""
757
758 #. type: Plain text
759 #: en/live-build.7:130
760 msgid "mount /proc"
761 msgstr ""
762
763 #. type: IP
764 #: en/live-build.7:130
765 #, no-wrap
766 msgid "B<lb_chroot_resolv>(1)"
767 msgstr ""
768
769 #. type: Plain text
770 #: en/live-build.7:132
771 msgid "manage /etc/resolv.conf"
772 msgstr ""
773
774 #. type: IP
775 #: en/live-build.7:132
776 #, no-wrap
777 msgid "B<lb_chroot_selinuxfs>(1)"
778 msgstr ""
779
780 #. type: Plain text
781 #: en/live-build.7:134
782 msgid "mount /selinux"
783 msgstr ""
784
785 #. type: IP
786 #: en/live-build.7:134
787 #, no-wrap
788 msgid "B<lb_chroot_archives>(1)"
789 msgstr ""
790
791 #. type: Plain text
792 #: en/live-build.7:136
793 msgid "manage /etc/apt/sources.list"
794 msgstr ""
795
796 #. type: IP
797 #: en/live-build.7:136
798 #, no-wrap
799 msgid "B<lb_chroot_sysfs>(1)"
800 msgstr ""
801
802 #. type: Plain text
803 #: en/live-build.7:138
804 msgid "mount /sys"
805 msgstr ""
806
807 #. type: IP
808 #: en/live-build.7:138
809 #, no-wrap
810 msgid "B<lb_chroot_sysv-rc>(1)"
811 msgstr ""
812
813 #. type: Plain text
814 #: en/live-build.7:140
815 msgid "manage /usr/sbin/policy-rc.d"
816 msgstr ""
817
818 #. type: IP
819 #: en/live-build.7:140
820 #, no-wrap
821 msgid "B<lb_chroot_task-lists>(1)"
822 msgstr ""
823
824 #. type: Plain text
825 #: en/live-build.7:142
826 msgid "install task lists into chroot"
827 msgstr ""
828
829 #. type: SS
830 #: en/live-build.7:142
831 #, no-wrap
832 msgid "Binary commands"
833 msgstr ""
834
835 #. type: IP
836 #: en/live-build.7:143
837 #, no-wrap
838 msgid "B<lb_binary_chroot>(1)"
839 msgstr ""
840
841 #. type: Plain text
842 #: en/live-build.7:145
843 msgid "copy chroot into chroot"
844 msgstr ""
845
846 #. type: IP
847 #: en/live-build.7:145
848 #, no-wrap
849 msgid "B<lb_binary_debian-installer>(1)"
850 msgstr ""
851
852 #. type: Plain text
853 #: en/live-build.7:147
854 msgid "install debian-installer into binary"
855 msgstr ""
856
857 #. type: IP
858 #: en/live-build.7:147
859 #, no-wrap
860 msgid "B<lb_binary_disk>(1)"
861 msgstr ""
862
863 #. type: Plain text
864 #: en/live-build.7:149
865 msgid "install disk information into binary"
866 msgstr ""
867
868 #. type: IP
869 #: en/live-build.7:149
870 #, no-wrap
871 msgid "B<lb_binary_grub>(1)"
872 msgstr ""
873
874 #. type: Plain text
875 #: en/live-build.7:151
876 msgid "installs grub into binary"
877 msgstr ""
878
879 #. type: IP
880 #: en/live-build.7:151
881 #, no-wrap
882 msgid "B<lb_binary_grub2>(1)"
883 msgstr ""
884
885 #. type: Plain text
886 #: en/live-build.7:153
887 msgid "installs grub2 into binary"
888 msgstr ""
889
890 #. type: IP
891 #: en/live-build.7:153
892 #, no-wrap
893 msgid "B<lb_binary_includes>(1)"
894 msgstr ""
895
896 #. type: Plain text
897 #: en/live-build.7:155 en/live-build.7:163
898 msgid "copy files into binary"
899 msgstr ""
900
901 #. type: IP
902 #: en/live-build.7:155
903 #, no-wrap
904 msgid "B<lb_binary_iso>(1)"
905 msgstr ""
906
907 #. type: Plain text
908 #: en/live-build.7:157
909 msgid "build iso binary image"
910 msgstr ""
911
912 #. type: IP
913 #: en/live-build.7:157
914 #, no-wrap
915 msgid "B<lb_binary_linux-image>(1)"
916 msgstr ""
917
918 #. type: Plain text
919 #: en/live-build.7:159
920 msgid "install linux-image into binary"
921 msgstr ""
922
923 #. type: IP
924 #: en/live-build.7:159
925 #, no-wrap
926 msgid "B<lb_binary_local-hooks>(1)"
927 msgstr ""
928
929 #. type: Plain text
930 #: en/live-build.7:161
931 msgid "execute local hooks in binary"
932 msgstr ""
933
934 #. type: IP
935 #: en/live-build.7:161
936 #, no-wrap
937 msgid "B<lb_binary_local-includes>(1)"
938 msgstr ""
939
940 #. type: IP
941 #: en/live-build.7:163
942 #, no-wrap
943 msgid "B<lb_binary_local-packagelists>(1)"
944 msgstr ""
945
946 #. type: Plain text
947 #: en/live-build.7:165
948 msgid "install local package lists into binary"
949 msgstr ""
950
951 #. type: IP
952 #: en/live-build.7:165
953 #, no-wrap
954 msgid "B<lb_binary_manifest>(1)"
955 msgstr ""
956
957 #. type: Plain text
958 #: en/live-build.7:167
959 msgid "create manifest"
960 msgstr ""
961
962 #. type: IP
963 #: en/live-build.7:167
964 #, no-wrap
965 msgid "B<lb_binary_checksums>(1)"
966 msgstr ""
967
968 #. type: Plain text
969 #: en/live-build.7:169
970 msgid "create binary checksums (md5, sha1, and/or sha256)"
971 msgstr ""
972
973 #. type: IP
974 #: en/live-build.7:169
975 #, no-wrap
976 msgid "B<lb_binary_memtest>(1)"
977 msgstr ""
978
979 #. type: Plain text
980 #: en/live-build.7:171
981 msgid "installs a memtest into binary"
982 msgstr ""
983
984 #. type: IP
985 #: en/live-build.7:171
986 #, no-wrap
987 msgid "B<lb_binary_net>(1)"
988 msgstr ""
989
990 #. type: Plain text
991 #: en/live-build.7:173
992 msgid "build netboot binary image"
993 msgstr ""
994
995 #. type: IP
996 #: en/live-build.7:173
997 #, no-wrap
998 msgid "B<lb_binary_rootfs>(1)"
999 msgstr ""
1000
1001 #. type: Plain text
1002 #: en/live-build.7:175
1003 msgid "build rootfs image"
1004 msgstr ""
1005
1006 #. type: IP
1007 #: en/live-build.7:175
1008 #, no-wrap
1009 msgid "B<lb_binary_silo>(1)"
1010 msgstr ""
1011
1012 #. type: Plain text
1013 #: en/live-build.7:177
1014 msgid "installs silo into binary"
1015 msgstr ""
1016
1017 #. type: IP
1018 #: en/live-build.7:177
1019 #, no-wrap
1020 msgid "B<lb_binary_syslinux>(1)"
1021 msgstr ""
1022
1023 #. type: Plain text
1024 #: en/live-build.7:179
1025 msgid "installs syslinux into binary"
1026 msgstr ""
1027
1028 #. type: IP
1029 #: en/live-build.7:179
1030 #, no-wrap
1031 msgid "B<lb_binary_tar>(1)"
1032 msgstr ""
1033
1034 #. type: Plain text
1035 #: en/live-build.7:181
1036 msgid "build harddisk binary image"
1037 msgstr ""
1038
1039 #. type: IP
1040 #: en/live-build.7:181
1041 #, no-wrap
1042 msgid "B<lb_binary_hdd>(1)"
1043 msgstr ""
1044
1045 #. type: Plain text
1046 #: en/live-build.7:183
1047 msgid "build binary hdd image"
1048 msgstr ""
1049
1050 #. type: IP
1051 #: en/live-build.7:183
1052 #, no-wrap
1053 msgid "B<lb_binary_win32-loader>(1)"
1054 msgstr ""
1055
1056 #. type: Plain text
1057 #: en/live-build.7:185
1058 msgid "installs win32-loader into binary"
1059 msgstr ""
1060
1061 #. type: IP
1062 #: en/live-build.7:185
1063 #, no-wrap
1064 msgid "B<lb_binary_yaboot>(1)"
1065 msgstr ""
1066
1067 #. type: Plain text
1068 #: en/live-build.7:187
1069 msgid "installs yaboot into binary"
1070 msgstr ""
1071
1072 #. type: SS
1073 #: en/live-build.7:187
1074 #, no-wrap
1075 msgid "Source commands"
1076 msgstr ""
1077
1078 #. type: IP
1079 #: en/live-build.7:188
1080 #, no-wrap
1081 msgid "B<lb_source_debian>(1)"
1082 msgstr ""
1083
1084 #. type: Plain text
1085 #: en/live-build.7:190
1086 msgid "download sources"
1087 msgstr ""
1088
1089 #. type: IP
1090 #: en/live-build.7:190
1091 #, no-wrap
1092 msgid "B<lb_source_debian-live>(1)"
1093 msgstr ""
1094
1095 #. type: Plain text
1096 #: en/live-build.7:192
1097 msgid "copy debian-live config into source"
1098 msgstr ""
1099
1100 #. type: IP
1101 #: en/live-build.7:192
1102 #, no-wrap
1103 msgid "B<lb_source_disk>(1)"
1104 msgstr ""
1105
1106 #. type: Plain text
1107 #: en/live-build.7:194
1108 msgid "install disk information into source"
1109 msgstr ""
1110
1111 #. type: IP
1112 #: en/live-build.7:194
1113 #, no-wrap
1114 msgid "B<lb_source_iso>(1)"
1115 msgstr ""
1116
1117 #. type: Plain text
1118 #: en/live-build.7:196
1119 msgid "build iso source image"
1120 msgstr ""
1121
1122 #. type: IP
1123 #: en/live-build.7:196
1124 #, no-wrap
1125 msgid "B<lb_source_checksums>(1)"
1126 msgstr ""
1127
1128 #. type: Plain text
1129 #: en/live-build.7:198
1130 msgid "create source checksums (md5, sha1, and/or sha256)"
1131 msgstr ""
1132
1133 #. type: IP
1134 #: en/live-build.7:198
1135 #, no-wrap
1136 msgid "B<lb_source_net>(1)"
1137 msgstr ""
1138
1139 #. type: Plain text
1140 #: en/live-build.7:200
1141 msgid "build source net image"
1142 msgstr ""
1143
1144 #. type: IP
1145 #: en/live-build.7:200
1146 #, no-wrap
1147 msgid "B<lb_source_tar>(1)"
1148 msgstr ""
1149
1150 #. type: Plain text
1151 #: en/live-build.7:202
1152 msgid "build source tarball"
1153 msgstr ""
1154
1155 #. type: IP
1156 #: en/live-build.7:202
1157 #, no-wrap
1158 msgid "B<lb_source_hdd>(1)"
1159 msgstr ""
1160
1161 #. FIXME
1162 #. type: Plain text
1163 #: en/live-build.7:205
1164 msgid "build source hdd image"
1165 msgstr ""
1166
1167 #. type: SH
1168 #: en/live-build.7:206
1169 #, no-wrap
1170 msgid "CONFIG FILES"
1171 msgstr ""
1172
1173 #. FIXME
1174 #. type: Plain text
1175 #: en/live-build.7:209
1176 msgid ""
1177 "Many live-build commands make use of files in the I<config/> directory to "
1178 "control what they do. Besides the common I<config/common>, which is used by "
1179 "all live-build commands, some additional files can be used to configure the "
1180 "behavior of specific live-build commands. These files are typically named "
1181 "config/stage or config/stage_helper (where \"stage\" of course, is replaced "
1182 "with the name of the stage that they belong to, and \"helper\" with the name "
1183 "of the helper)."
1184 msgstr ""
1185
1186 #. type: Plain text
1187 #: en/live-build.7:211
1188 msgid ""
1189 "For example, lb_bootstrap_debootstrap uses files named config/bootstrap and "
1190 "config/bootstrap_debootstrap to read the options it will use. See the man "
1191 "pages of individual commands for details about the names and formats of the "
1192 "files they use. Generally, these files contain variables with values "
1193 "assigned, one variable per line. Some programs in live-build use pairs of "
1194 "values or slightly more complicated variable assignments."
1195 msgstr ""
1196
1197 #. type: Plain text
1198 #: en/live-build.7:213
1199 msgid ""
1200 "Note that live-build will respect environment variables which are present in "
1201 "the context of the shell it is running. If variables can be read from config "
1202 "files, then they override environment variables, and if command line options "
1203 "are used, they override values from config files. If no value for a given "
1204 "variable can be found and thus is unset, live-build will automatically set "
1205 "it to the default value."
1206 msgstr ""
1207
1208 #. type: Plain text
1209 #: en/live-build.7:215
1210 msgid ""
1211 "In some rare cases, you may want to have different versions of these files "
1212 "for different architectures or distributions. If files named config/stage."
1213 "arch or config/stage_helper.arch, and config/stage.dist or config/"
1214 "stage_helper.dist exist, where \"arch\" is the same as the output of \"dpkg "
1215 "--print-architecture\" and \"dist\" is the same as the codename of the "
1216 "target distribution, then they will be used in preference to other, more "
1217 "general files."
1218 msgstr ""
1219
1220 #. FIXME
1221 #. type: Plain text
1222 #: en/live-build.7:218
1223 msgid ""
1224 "All config files are shell scripts which are sourced by a live-build "
1225 "program. That means they have to follow the normal shell syntax. You can "
1226 "also put comments in these files; lines beginning with \"#\" are ignored."
1227 msgstr ""
1228
1229 #. type: IP
1230 #: en/live-build.7:220
1231 #, no-wrap
1232 msgid "B</etc/live/build.conf>"
1233 msgstr ""
1234
1235 #. type: IP
1236 #: en/live-build.7:221
1237 #, no-wrap
1238 msgid "B</etc/live/build/*>"
1239 msgstr ""
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Automatically populating config tree
16 if [ -x auto/config ] && [ ! -e .build/config ]
17 then
18 Echo_message "Automatically populating config tree."
19 lb config
20 fi
21
22 # Setting static variables
23 DESCRIPTION="$(Echo 'build binary images')"
24 HELP=""
25 USAGE="${PROGRAM} [--force]"
26
27 Arguments "${@}"
28
29 # Reading configuration files
30 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
31 Set_defaults
32
33 # Setup cleanup function
34 Setup_cleanup
35
36 # Preparing root filesystem
37 lb binary_chroot ${@}
38
39 if [ "${LB_BUILD_WITH_CHROOT}" = "true" ]
40 then
41 # Configuring chroot
42 lb chroot_devpts install ${@}
43 lb chroot_proc install ${@}
44 lb chroot_selinuxfs install ${@}
45 lb chroot_sysfs install ${@}
46 lb chroot_hosts install ${@}
47 lb chroot_resolv install ${@}
48 lb chroot_hostname install ${@}
49 lb chroot_sysv-rc install ${@}
50 lb chroot_upstart install ${@}
51 lb chroot_apt install-binary ${@}
52 lb chroot_archives chroot install ${@}
53 fi
54
55 # Building root filesystem
56 lb binary_rootfs ${@}
57 lb binary_manifest ${@}
58
59 # Prepare images
60 lb binary_package-lists ${@}
61 lb binary_linux-image ${@}
62 lb binary_debian-installer ${@}
63 lb binary_memtest ${@}
64 lb binary_grub ${@}
65 lb binary_grub2 ${@}
66 lb binary_syslinux ${@}
67 lb binary_yaboot ${@}
68 lb binary_silo ${@}
69 lb binary_disk ${@}
70 lb binary_loadlin ${@}
71 lb binary_win32-loader ${@}
72 lb binary_includes ${@}
73 lb binary_hooks ${@}
74 lb binary_checksums ${@}
75
76 if [ "${LB_BUILD_WITH_CHROOT}" != "true" ]
77 then
78 lb chroot_devpts install ${@}
79 lb chroot_proc install ${@}
80 lb chroot_selinuxfs install ${@}
81 lb chroot_sysfs install ${@}
82 fi
83
84 # Building images
85 lb binary_iso ${@}
86 lb binary_netboot ${@}
87 lb binary_tar ${@}
88 lb binary_hdd ${@}
89
90 lb binary_zsync ${@}
91
92 if [ "${LB_BUILD_WITH_CHROOT}" = "true" ]
93 then
94 # Deconfiguring chroot
95 rm -f .build/chroot_archives
96 lb chroot_apt remove ${@}
97 lb chroot_hostname remove ${@}
98 lb chroot_resolv remove ${@}
99 lb chroot_hosts remove ${@}
100 lb chroot_upstart remove ${@}
101 lb chroot_sysv-rc remove ${@}
102 lb chroot_dpkg remove ${@}
103 lb chroot_debianchroot remove ${@}
104 fi
105
106 lb chroot_sysfs remove ${@}
107 lb chroot_selinuxfs remove ${@}
108 lb chroot_proc remove ${@}
109 lb chroot_devpts remove ${@}
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'create binary checksums')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if [ "${LB_CHECKSUMS}" = "none" ]
27 then
28 exit 0
29 fi
30
31 # Requiring stage file
32 Require_stagefile .build/config .build/bootstrap
33
34 # Checking stage file
35 Check_stagefile .build/binary_checksums
36
37 # Checking lock file
38 Check_lockfile .lock
39
40 # Creating lock file
41 Create_lockfile .lock
42
43 for CHECKSUM in ${LB_CHECKSUMS}
44 do
45 CHECKSUMS="$(echo ${CHECKSUM} | tr [a-z] [A-Z])SUMS"
46
47 Echo_message "Begin creating binary ${CHECKSUMS}..."
48
49 # Remove old checksums
50 if [ -f binary/${CHECKSUMS} ]
51 then
52 rm -f binary/${CHECKSUMS}
53 fi
54
55 # Calculating checksums
56 cd binary
57 find . -type f \
58 \! -path './isolinux/isolinux.bin' \
59 \! -path './boot/boot.bin' \
60 \! -path './boot/grub/stage2_eltorito' \
61 \! -path './*SUMS' \
62 -print0 | sort -z | xargs -0 ${CHECKSUM}sum > ../${CHECKSUMS}
63
64 cat > ${CHECKSUMS} << EOF
65 ## This file contains the list of ${CHECKSUM} checksums of all fileson this
66 ## medium.
67 ##
68 ## You can verify them automatically with the 'verify-checksums' boot parameter,
69 ## or, manually with: '${CHECKSUM}sum -c ${CHECKSUMS}'.
70 ##
71 ##
72 EOF
73
74 cat ../${CHECKSUMS} >> ${CHECKSUMS}
75 rm -f ../${CHECKSUMS}
76
77 cd "${OLDPWD}"
78 done
79
80 # File list
81 cd binary
82 find . | sed -e 's|^.||g' | grep "^/" | sort > ../binary.contents
83 cd "${OLDPWD}"
84
85 # Creating stage file
86 Create_stagefile .build/binary_checksums
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'copy chroot into chroot')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 Echo_message "Begin copying chroot..."
27
28 # Requiring stage file
29 Require_stagefile .build/config .build/bootstrap
30
31 # Checking stage file
32 Check_stagefile .build/binary_chroot
33
34 # Checking lock file
35 Check_lockfile .lock
36
37 # Creating lock file
38 Create_lockfile .lock
39
40 # Normally, virtual filesystems are not mounted here, but people tend to be lazy
41 if [ -f chroot/proc/version ]
42 then
43 if [ "${LB_USE_FAKEROOT}" != "true" ]
44 then
45 ${LB_ROOT_COMMAND} umount chroot/proc
46 else
47 rm -rf chroot/proc
48 mkdir -p chroot/proc
49 fi
50 fi
51
52 if [ -d chroot/sys/kernel ]
53 then
54 if [ "${LB_USE_FAKEROOT}" != "true" ]
55 then
56 ${LB_ROOT_COMMAND} umount chroot/sys
57 else
58 rm -rf chroot/sys
59 mkdir -p chroot/sys
60 fi
61 fi
62
63 # Copying /dev if using fakeroot
64 if [ "${LB_USE_FAKEROOT}" = "true" ]
65 then
66 rm -rf chroot/dev
67 find /dev | cpio -dmpu chroot
68 fi
69
70 if [ "${LB_BUILD_WITH_CHROOT}" = "false" ]
71 then
72 exit 0
73 fi
74
75 if [ "${LB_CACHE}" = "true" ] && Find_files cache/binary_rootfs/filesystem*
76 then
77 exit 0
78 fi
79
80 Echo_message "This may take a while."
81
82 # Removing old chroot
83 ${LB_ROOT_COMMAND} rm -rf chroot/chroot
84 ${LB_ROOT_COMMAND} rm -rf chroot.tmp
85
86 # Copying new chroot
87 if [ -d cache/bootstrap ] && [ "${LB_CHROOT_FILESYSTEM}" != "none" ]
88 then
89 ${LB_ROOT_COMMAND} mv chroot chroot.tmp
90 ${LB_ROOT_COMMAND} cp -a cache/bootstrap chroot
91 ${LB_ROOT_COMMAND} touch chroot/chroot.cache
92 else
93 ${LB_ROOT_COMMAND} cp -a chroot chroot.tmp
94 fi
95
96 ${LB_ROOT_COMMAND} mv chroot.tmp chroot/chroot
97
98 # Handling chroot excludes
99 if [ -f config/rootfs/excludes ] && [ "${LB_CHROOT_FILESYSTEM}" != "squashfs" ]
100 then
101 case "${LB_BUILD_WITH_CHROOT}" in
102 true)
103 cp config/rootfs/excludes chroot/chroot/excludes
104 # Not using Chroot() here because we want explicitly /bin/bash (for the time being)
105 chroot chroot/chroot /usr/bin/env -i xargs --arg-file=/excludes -I FILE bash -c 'rm -rf FILE'
106 rm -f chroot/chroot/excludes
107 ;;
108
109 false)
110 cp config/rootfs/excludes chroot/excludes
111 # Not using Chroot() here because we want explicitly /bin/bash (for the time being)
112 chroot chroot /usr/bin/env -i xargs --arg-file=/excludes -I FILE bash -c 'rm -rf FILE'
113 rm -f chroot/excludes
114 ;;
115 esac
116 fi
117
118 if [ -n "${LB_ROOT_COMMAND}" ]
119 then
120 ${LB_ROOT_COMMAND} chown -R $(whoami):$(whoami) chroot
121 fi
122
123 # Creating stage file
124 Create_stagefile .build/binary_chroot
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'install debian-installer into binary')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if [ "${_DEBUG}" = "true" ]
27 then
28 WGET_OPTIONS="${WGET_OPTIONS} --verbose"
29 elif [ "${_QUIET}" = "true" ]
30 then
31 WGET_OPTIONS="${WGET_OPTIONS} --quiet"
32 else
33 WGET_OPTIONS="${WGET_OPTIONS} --no-verbose"
34 fi
35
36 # Check d-i configuration
37 case "${LB_DEBIAN_INSTALLER}" in
38 true|cdrom|netinst|netboot|businesscard|live)
39 ;;
40
41 false)
42 exit 0
43 ;;
44
45 *)
46 Echo_error "debian-installer flavour %s not supported." "${LB_DEBIAN_INSTALLER}"
47 exit 1
48 ;;
49 esac
50
51 Echo_message "Begin installing debian-installer..."
52
53 # Requiring stage file
54 Require_stagefile .build/config .build/bootstrap
55
56 # Checking stage file
57 Check_stagefile .build/binary_debian-installer
58
59 # Checking lock file
60 Check_lockfile .lock
61
62 # Creating lock file
63 Create_lockfile .lock
64
65 # Checking depends
66 Check_package chroot/usr/bin/wget wget
67 Check_package chroot/usr/bin/apt-ftparchive apt-utils
68
69 # Restoring cache
70 Restore_cache cache/packages.binary
71
72 # Installing depends
73 Install_package
74
75 # Setting destination directory
76 case "${LB_BINARY_IMAGES}" in
77 netboot)
78 DESTDIR="tftpboot/debian-install/${LB_ARCHITECTURES}"
79 ;;
80
81 hdd*|tar)
82 DESTDIR="binary/install"
83 ;;
84
85 *)
86 DESTDIR="binary/install"
87 ;;
88 esac
89
90 # Set d-i image type
91 case "${LB_DEBIAN_INSTALLER}" in
92 businesscard|netboot|netinst)
93 DI_IMAGE_TYPE="netboot"
94 ;;
95 *)
96 case "${LB_BINARY_IMAGES}" in
97 netboot)
98 DI_IMAGE_TYPE="netboot"
99 ;;
100
101 *)
102 DI_IMAGE_TYPE="cdrom"
103 ;;
104 esac
105 ;;
106 esac
107
108 # Set architecture-specific variables
109 case "${LB_ARCHITECTURES}" in
110 armel)
111 DEFAULT_FLAVOUR="$(echo ${LH_LINUX_FLAVOURS} | awk '{ print $1 }')"
112 case "${DI_IMAGE_TYPE}" in
113 cdrom)
114 DI_REMOTE_BASE="${DEFAULT_FLAVOUR}/cdrom"
115 ;;
116
117 netboot)
118 DI_REMOTE_BASE="${DEFAULT_FLAVOUR}/netboot"
119 ;;
120 esac
121
122 DI_REMOTE_KERNEL="vmlinuz"
123 DI_REMOTE_BASE_GTK="${DI_REMOTE_BASE}/gtk"
124 ;;
125
126 powerpc)
127 case "${DI_IMAGE_TYPE}" in
128 cdrom)
129 DI_REMOTE_BASE="${LB_ARCHITECTURES}/cdrom"
130 ;;
131
132 netboot)
133 DI_REMOTE_BASE="${LB_ARCHITECTURES}/netboot"
134 ;;
135 esac
136
137 DI_REMOTE_KERNEL="vmlinux"
138 DI_REMOTE_BASE_GTK="${DI_REMOTE_BASE}/gtk"
139 ;;
140
141 sparc)
142 DEFAULT_FLAVOUR="$(echo ${LB_LINUX_FLAVOURS} | awk '{ print $1 }')"
143 DI_REMOTE_KERNEL="$(basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR})"
144 DI_REMOTE_BASE_GTK="none"
145
146 DI_REMOTE_BASE="cdrom"
147 ;;
148 *)
149 case "${DI_IMAGE_TYPE}" in
150 netboot)
151 DI_REMOTE_BASE="netboot/debian-installer/${LB_ARCHITECTURES}"
152 DI_REMOTE_BASE_GTK="netboot/gtk/debian-installer/${LB_ARCHITECTURES}"
153 DI_REMOTE_KERNEL="linux"
154 ;;
155
156 cdrom)
157 DI_REMOTE_BASE="cdrom"
158 DI_REMOTE_BASE_GTK="cdrom/gtk"
159 DI_REMOTE_KERNEL="vmlinuz"
160 ;;
161 esac
162 ;;
163 esac
164
165 Check_multiarchitectures
166
167 Install_file() {
168 local FILE
169 FILE="${1}"
170
171 local ARCHIVE_AREA
172 ARCHIVE_AREA="$(dpkg -I ${FILE} | awk '/^.*Section: / { print $2 }')"
173
174 if echo "${ARCHIVE_AREA}" | grep -qs '/'
175 then
176 ARCHIVE_AREA="$(echo ${ARCHIVE_AREA} | awk -F/ '{ print $1 }')"
177 else
178 ARCHIVE_AREA="main"
179 fi
180
181 local TARGET
182 TARGET="${2}/${ARCHIVE_AREA}"
183
184 SOURCE="$(dpkg -f ${FILE} Source | awk '{ print $1 }')"
185
186 if [ -z "${SOURCE}" ]
187 then
188 SOURCE="$(basename ${FILE} | awk -F_ '{ print $1 }')"
189 fi
190
191 case "${SOURCE}" in
192 lib?*)
193 LETTER="$(echo ${SOURCE} | sed 's|\(....\).*|\1|')"
194 ;;
195
196 *)
197 LETTER="$(echo ${SOURCE} | sed 's|\(.\).*|\1|')"
198 ;;
199 esac
200
201 # Install directory
202 mkdir -p "${TARGET}"/"${LETTER}"/"${SOURCE}"
203
204 # Move files
205 cp "${FILE}" "${TARGET}"/"${LETTER}"/"${SOURCE}"
206 }
207
208 # Set absolute directory for caching; we require it when we call Download_file
209 # from a non-standard cwd.
210 _LB_CACHE_DIR="$(pwd)/cache/binary_debian-installer"
211
212 Download_file () {
213 local _LB_TARGET
214 _LB_TARGET="${1}"
215
216 local _LB_URL
217 _LB_URL="${2}"
218
219 _LB_CACHE_FILE="${_LB_CACHE_DIR}/$(echo "${_LB_URL}" | sed 's|/|_|g')"
220
221 if [ ! -f "${_LB_CACHE_FILE}" ]
222 then
223 mkdir -p ${_LB_CACHE_DIR}
224 if ! wget ${WGET_OPTIONS} -O "${_LB_CACHE_FILE}" "${_LB_URL}"
225 then
226 rm -f "${_LB_CACHE_FILE}"
227
228 Echo_error "Could not download file: %s" "${_LB_URL}"
229 exit 1
230 fi
231 fi
232
233 if [ "$(stat --printf %d "${_LB_CACHE_DIR}")" = "$(stat --printf %d ./)" ]
234 then
235 CP_OPTIONS="-l"
236 fi
237
238 cp -f ${CP_OPTIONS} -- "${_LB_CACHE_FILE}" "${_LB_TARGET}"
239 }
240
241 VMLINUZ_DI="vmlinuz"
242 INITRD_DI="initrd.gz"
243 DESTDIR_DI="${DESTDIR}"
244
245 VMLINUZ_GI="gtk/vmlinuz"
246 INITRD_GI="gtk/initrd.gz"
247 DESTDIR_GI="${DESTDIR}/gtk"
248
249 case "${LB_DERIVATIVE}" in
250 false)
251 if [ "${LB_DEBIAN_INSTALLER_DISTRIBUTION}" = "daily" ]
252 then
253 # FIXME: variable name should be decupled from derivatves
254 LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="sid"
255
256 # Debian Installer daily builds
257 URL="http://d-i.debian.org/daily-images/${LB_ARCHITECTURES}/daily/"
258 else
259 URL="${LB_MIRROR_DEBIAN_INSTALLER}/dists/${LB_DEBIAN_INSTALLER_DISTRIBUTION}/main/installer-${LB_ARCHITECTURES}/current/images/"
260 fi
261 ;;
262
263 true)
264 if [ "${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}" = "daily" ]
265 then
266 LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="sid"
267
268 # Debian Installer daily builds
269 URL="http://d-i.debian.org/daily-images/${LB_ARCHITECTURES}/daily/"
270 else
271 URL="${LB_PARENT_MIRROR_DEBIAN_INSTALLER}/dists/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}/main/installer-${LB_ARCHITECTURES}/current/images/"
272 fi
273
274 if [ "${LB_MODE}" = "progress-linux" ]
275 then
276 # FIXME: normal derivatives probably don't rebuild d-i,
277 # but progress-linux does.
278 URL="${LB_MIRROR_DEBIAN_INSTALLER}/dists/${LB_DEBIAN_INSTALLER_DISTRIBUTION}/main/installer-${LB_ARCHITECTURES}/current/images/"
279 fi
280 ;;
281 esac
282
283 mkdir -p "${DESTDIR_DI}"
284
285 if [ "${LB_ARCHITECTURES}" = "sparc" ] && [ "${DI_IMAGE_TYPE}" = "netboot" ]
286 then
287 # There are no prepared kernel/initrd pairs for sparc netboot so we
288 # must unpack them from a mini.iso
289 Download_file mini.iso ${URL}/mini.iso
290
291 mkdir mini.tmp
292 ${LB_ROOT_COMMAND} mount -o loop -t iso9660 mini.iso mini.tmp
293
294 cp mini.tmp/boot/vmlinuz-${DEFAULT_FLAVOUR} "${DESTDIR}"/"${VMLINUZ_DI}"
295 cp mini.tmp/boot/initrd.gz "${DESTDIR}"/"${INITRD_DI}"
296
297 ${LB_ROOT_COMMAND} umount mini.tmp
298 rm -rf mini.tmp mini.iso
299 else
300 # Downloading debian-installer
301 Download_file "${DESTDIR}"/"${VMLINUZ_DI}" ${URL}/${DI_REMOTE_BASE}/${DI_REMOTE_KERNEL}
302 Download_file "${DESTDIR}"/"${INITRD_DI}" ${URL}/${DI_REMOTE_BASE}/initrd.gz
303
304 # Downloading graphical-installer
305 DOWNLOAD_GTK_INSTALLER=0
306 if [ "${LB_DEBIAN_INSTALLER_GUI}" = "true" ]
307 then
308 case "${LB_ARCHITECTURES}" in
309 amd64|i386)
310 DOWNLOAD_GTK_INSTALLER=1
311 ;;
312
313 powerpc)
314 if [ "${LB_DEBIAN_INSTALLER}" = "netboot" ]
315 then
316 DOWNLOAD_GTK_INSTALLER=1
317 fi
318 ;;
319 esac
320 fi
321
322 if [ ${DOWNLOAD_GTK_INSTALLER} -eq 1 ]
323 then
324 mkdir -p "${DESTDIR_GI}"
325 Download_file "${DESTDIR}"/"${VMLINUZ_GI}" ${URL}/${DI_REMOTE_BASE_GTK}/${DI_REMOTE_KERNEL}
326 Download_file "${DESTDIR}"/"${INITRD_GI}" ${URL}/${DI_REMOTE_BASE_GTK}/initrd.gz
327 fi
328 fi
329
330 # Only download additional packages if appropriate
331 if [ "${DI_IMAGE_TYPE}" != "netboot" ]
332 then
333 # Downloading additional packages
334 mkdir -p chroot/binary.deb/archives/partial
335
336 mv chroot/var/lib/dpkg/status chroot/var/lib/dpkg/status.tmp
337 touch chroot/var/lib/dpkg/status
338
339 case "${LB_ARCHITECTURES}" in
340 amd64)
341 DI_REQ_PACKAGES="lilo grub-pc"
342
343 case "${LB_DISTRIBUTION}" in
344 squeeze)
345 DI_REQ_PACAKGES="${DI_REQ_PACKAGES} grub"
346 ;;
347 esac
348
349 case "${LB_MODE}" in
350 ubuntu)
351 DI_PACKAGES="${DI_REQ_PACKAGES} linux-generic"
352 ;;
353
354 *)
355 DI_PACKAGES="${DI_REQ_PACKAGES} linux-image-2.6-amd64"
356 ;;
357 esac
358 ;;
359
360 i386)
361 DI_REQ_PACKAGES="elilo lilo grub-pc"
362
363 case "${LB_DISTRIBUTION}" in
364 squeeze)
365 DI_REQ_PACAKGES="${DI_REQ_PACKAGES} grub"
366 ;;
367 esac
368
369 case "${LB_MODE}" in
370 ubuntu)
371 case "${LB_DISTRIBUTION}" in
372 precise)
373 DI_PACKAGES="${DI_REQ_PACKAGES} linux-generic-pae"
374 ;;
375
376 *)
377 DI_PACKAGES="${DI_REQ_PACKAGES} linux-generic"
378 ;;
379 esac
380 ;;
381
382 *)
383 DI_PACKAGES="${DI_REQ_PACKAGES} linux-image-2.6-486 linux-image-2.6-686"
384 ;;
385 esac
386 ;;
387
388 sparc)
389 DI_REQ_PACKAGES="silo"
390 case "${LB_MODE}" in
391 ubuntu)
392 DI_PACKAGES="${DI_REQ_PACKAGES} linux-sparc64"
393 ;;
394
395 *)
396 DI_PACKAGES="${DI_REQ_PACKAGES} linux-image-2.6-sparc64 linux-image-2.6-sparc64-smp"
397 ;;
398 esac
399 ;;
400
401 powerpc)
402 DI_REQ_PACKAGES="yaboot"
403 case "${LB_MODE}" in
404 ubuntu)
405 DI_PACKAGES="${DI_REQ_PACKAGES} linux-image-powerpc-smp linux-image-powerpc64-smp linux-image-powerpc-e500 linux-image-powerpc-e500mc"
406 ;;
407
408 *)
409 DI_PACKAGES="${DI_REQ_PACKAGES} linux-image-2.6-powerpc linux-image-2.6-powerpc64 linux-image-2.6-powerpc-smp"
410 ;;
411 esac
412 ;;
413 esac
414
415 DI_PACKAGES="${DI_PACKAGES} busybox cryptsetup mdadm lvm2"
416
417 case "${LB_MODE}" in
418 debian)
419 DI_REQ_PACKAGES="${DI_REQ_PACKAGES} console-setup keyboard-configuration kbd"
420 DI_PACKAGES="${DI_PACKAGES} console-setup keyboard-configuration kbd"
421 ;;
422 esac
423 # Include firmware packages
424 if [ "${LB_FIRMWARE_BINARY}" = "true" ]
425 then
426 # Assumption: firmware packages install files into /lib/firmware
427
428 # Get all firmware packages names
429 mkdir -p cache/contents.binary
430
431 FIRMWARE_PACKAGES=""
432
433 if [ "${LB_PARENT_DISTRIBUTION}" = "squeeze" ]
434 then
435 _CONTENTS="${LB_PARENT_MIRROR_CHROOT}/dists/${LB_PARENT_DISTRIBUTION}/Contents-${LB_ARCHITECTURES}.gz"
436 else
437 _CONTENTS="$(for _PARENT_ARCHIVE_AREA in ${LB_PARENT_ARCHIVE_AREAS}; do echo ${LB_PARENT_MIRROR_CHROOT}/dists/${LB_PARENT_DISTRIBUTION}/${_PARENT_ARCHIVE_AREA}/Contents-${LB_ARCHITECTURES}.gz; done)"
438 fi
439
440 rm -f cache/contents.chroot/contents.${LB_PARENT_DISTRIBUTION}.${LB_ARCHITECTURES}
441
442 for _CONTENT in ${_CONTENTS}
443 do
444 wget ${WGET_OPTIONS} ${_CONTENT} -O - | gunzip -c >> cache/contents.chroot/contents.${LB_PARENT_DISTRIBUTION}.${LB_ARCHITECTURES}
445
446 FIRMWARE_PACKAGES="${FIRMWARE_PACKAGES} $(awk '/^lib\/firmware/ { print $2 }' cache/contents.chroot/contents.${LB_PARENT_DISTRIBUTION}.${LB_ARCHITECTURES} | sort -u)"
447 done
448
449 if echo ${LB_PARENT_ARCHIVE_AREAS} | grep -qs "non-free"
450 then
451 # FIXME: should check that we're building on debian through e.g. a 'derivative-is-based-on' variable or somesuch.
452 # Manually add firmware-linux/non-free meta package
453 FIRMWARE_PACKAGES="${FIRMWARE_PACKAGES} firmware-linux"
454 fi
455
456 if [ "${LB_DERIVATIVE}" = "true" ]
457 then
458 # FIXME: account for the fact that PARENT_DISTRIBUTION and DISTRIBUTION might be the same (to not have overlapping cache files for contents).
459
460 if [ "${_PARENT_DISTRIBUTION}" = "squeeze" ]
461 then
462 _CONTENTS="${LB_MIRROR_CHROOT}/dists/${LB_DISTRIBUTION}/Contents-${LB_ARCHITECTURES}.gz"
463 else
464 _CONTENTS="$(for _ARCHIVE_AREA in ${LB_ARCHIVE_AREAS}; do echo ${LB_MIRROR_CHROOT}/dists/${LB_DISTRIBUTION}/${_ARCHIVE_AREA}/Contents-${LB_ARCHITECTURES}.gz; done)"
465 fi
466
467 rm -f cache/contents.chroot/contents.${LB_DISTRIBUTION}.${LB_ARCHITECTURES}
468
469 for _CONTENT in ${_CONTENTS}
470 do
471 wget ${WGET_OPTIONS} ${_CONTENT} -O - | gunzip -c >> cache/contents.chroot/contents.${LB_DISTRIBUTION}.${LB_ARCHITECTURES}
472
473 FIRMWARE_PACKAGES="${FIRMWARE_PACKAGES} $(awk '/^lib\/firmware/ { print $2 }' cache/contents.chroot/contents.${LB_DISTRIBUTION}.${LB_ARCHITECTURES} | sort -u)"
474 done
475 fi
476
477 if [ "${LB_PARENT_DISTRIBUTION}" = "squeeze" ]
478 then
479 # Filter out contrib packages if contrib is not enabled
480 if ! echo ${LB_ARCHIVE_AREAS} | grep -qs contrib
481 then
482 _FIRMWARE_PACKAGES=""
483
484 for _PACKAGE in ${FIRMWARE_PACKAGES}
485 do
486 _FIRMWARE_PACKAGES="${_FIRMWARE_PACKAGES} $(echo ${_PACKAGE} | sed -e 's|^contrib/.*$||')"
487 done
488
489 FIRMWARE_PACKAGES="${_FIRMWARE_PACKAGES}"
490 fi
491
492 # Filter out non-free packages if non-free is not enabled
493 if ! echo ${LB_ARCHIVE_AREAS} | grep -qs non-free
494 then
495 _FIRMWARE_PACKAGES=""
496
497 for _PACKAGE in ${FIRMWARE_PACKAGES}
498 do
499 _FIRMWARE_PACKAGES="${_FIRMWARE_PACKAGES} $(echo ${_PACKAGE} | sed -e 's|^non-free/.*$||')"
500 done
501
502 FIRMWARE_PACKAGES="${_FIRMWARE_PACKAGES}"
503 fi
504 fi
505
506 # Drop section and keep package names only
507 for _PACKAGE in ${FIRMWARE_PACKAGES}
508 do
509 DI_FIRMWARE_PACKAGES="${DI_FIRMWARE_PACKAGES} $(echo ${_PACKAGE} | awk -F/ '{ print $NF }')"
510 done
511 fi
512
513 # Set apt command prefix
514 _LB_APT_COMMAND="apt-get ${APT_OPTIONS} -o Dir::Cache=/binary.deb -o APT::Install-Recommends=false --download-only"
515
516 if [ "${LB_DEBIAN_INSTALLER}" = "live" ]
517 then
518 # We don't want to duplicate .debs of packages in binary/pool that are already
519 # installed to target/ via live-installer.
520 #
521 # However, we need to force various packages' inclusion in binary/pool as
522 # d-i does not support (for example) re-installing grub from target/ - the grub
523 # .debs must actually exist.
524
525 # Modify dpkg status to show the required packages are not installed.
526 cp chroot/var/lib/dpkg/status.tmp chroot/var/lib/dpkg/status
527 for PACKAGE in ${DI_REQ_PACKAGES}
528 do
529 awk -v f=0 '
530 f == 1 { print "Status: purge ok not-installed"; f=0; next }
531 /Package: '"${PACKAGE}"'/ { f=1; }
532 { print }
533 ' chroot/var/lib/dpkg/status > chroot/var/lib/dpkg/status.awk
534 mv chroot/var/lib/dpkg/status.awk chroot/var/lib/dpkg/status
535 done
536
537 # Download .deb's that we just marked as "purged" which caused broken dependencies
538 Chroot chroot ${_LB_APT_COMMAND} -f dist-upgrade
539
540 # Revert dpkg status file
541 mv chroot/var/lib/dpkg/status.tmp chroot/var/lib/dpkg/status
542
543 # Download .debs of the required packages
544 Chroot chroot ${_LB_APT_COMMAND} install ${DI_PACKAGES} ${DI_FIRMWARE_PACKAGES} ${DI_REQ_PACKAGES}
545 else
546 # Download .debs of the required packages
547 Chroot chroot ${_LB_APT_COMMAND} install ${DI_PACKAGES} ${DI_FIRMWARE_PACKAGES}
548
549 # Revert dpkg status file
550 mv chroot/var/lib/dpkg/status.tmp chroot/var/lib/dpkg/status
551 fi
552
553 mv chroot/binary.deb ./
554
555 for _ARCHIVE_AREA in $(echo ${LB_PARENT_ARCHIVE_AREAS} ${LB_ARCHIVE_AREAS})
556 do
557 mkdir -p binary/pool/${_ARCHIVE_AREA}
558 done
559
560 if Find_files binary.deb/archives/*.deb
561 then
562 for FILE in binary.deb/archives/*.deb
563 do
564 Install_file "${FILE}" "binary/pool"
565 done
566 fi
567
568 if [ "${LB_DEBIAN_INSTALLER}" != "live" ]
569 then
570 # Including base debian packages
571 if ls cache/packages.bootstrap/*.deb > /dev/null 2>&1
572 then
573 for FILE in cache/packages.bootstrap/*.deb
574 do
575 Install_file "${FILE}" "binary/pool"
576 done
577 else
578 Echo_error "Could not find packages in cache/packages.bootstrap."
579 Echo_error "You selected values of LB_CACHE, LB_CACHE_PACKAGES, LB_CACHE_STAGES and LB_DEBIAN_INSTALLER which will result in 'bootstrap' packages not being cached - these are required when integrating the Debian Installer."
580 exit 1
581 fi
582 fi
583
584 # Including local debs
585 if Find_files config/packages.binary/*_"${LB_ARCHITECTURES}".deb || Find_files config/packages/*_"${LB_ARCHITECTURES}".deb
586 then
587 for FILE in config/packages.binary/*_"${LB_ARCHITECTURES}".deb config/packages/*_"${LB_ARCHITECTURES}".deb
588 do
589 if [ -e "${FILE}" ]
590 then
591 Install_file "${FILE}" "binary/pool"
592 fi
593 done
594 fi
595
596 if Find_files config/packages.binary/*_all.deb || Find_files config/packages/*_all.deb
597 then
598 for FILE in config/packages.binary/*_all.deb config/packages/*_all.deb
599 do
600 if [ -e "${FILE}" ]
601 then
602 Install_file "${FILE}" "binary/pool"
603 fi
604 done
605 fi
606
607 # Generating deb indices
608 for _ARCHIVE_AREA in $(cd binary/pool && ls)
609 do
610 mkdir -p binary/dists/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}/${_ARCHIVE_AREA}/binary-${LB_ARCHITECTURES}
611
612 mv binary chroot/root
613 echo "cd /root/binary && apt-ftparchive packages pool/${_ARCHIVE_AREA} > dists/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}/${_ARCHIVE_AREA}/binary-${LB_ARCHITECTURES}/Packages" > chroot/binary.sh
614 Chroot chroot "sh binary.sh"
615 rm -f chroot/binary.sh
616 mv chroot/root/binary ./
617
618 gzip -9 -c binary/dists/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}/${_ARCHIVE_AREA}/binary-${LB_ARCHITECTURES}/Packages > binary/dists/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}/${_ARCHIVE_AREA}/binary-${LB_ARCHITECTURES}/Packages.gz
619
620 # Fetching release
621 Download_file binary/dists/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}/${_ARCHIVE_AREA}/binary-${LB_ARCHITECTURES}/Release "${LB_PARENT_MIRROR_CHROOT}"/dists/"${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}"/${_ARCHIVE_AREA}/binary-"${LB_ARCHITECTURES}"/Release
622 done
623
624 # Symlink firmware packages to /firmware
625 if [ -n "${DI_FIRMWARE_PACKAGES}" ]
626 then
627 mkdir -p binary/firmware
628 cd binary/firmware
629
630 for _PACKAGE in ${DI_FIRMWARE_PACKAGES}
631 do
632 for _FILE in $(find ../pool -name "${_PACKAGE}_*.deb")
633 do
634 ln -s ${_FILE} ./
635 done
636 done
637
638 cd "${OLDPWD}"
639 fi
640
641 # Udeb handling
642 mkdir binary.udeb
643 cd binary.udeb
644
645 # Downloading udeb indices
646 Download_file Packages.gz "${LB_PARENT_MIRROR_CHROOT}"/dists/"${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}"/main/debian-installer/binary-"${LB_ARCHITECTURES}"/Packages.gz
647 gunzip -c Packages.gz > Packages
648
649 if [ "${LB_DERIVATIVE}" = "true" ]
650 then
651 Download_file Packages.derivative.gz "${LB_MIRROR_CHROOT}"/dists/"${LB_DEBIAN_INSTALLER_DISTRIBUTION}"/main/debian-installer/binary-"${LB_ARCHITECTURES}"/Packages.gz
652 gunzip -c Packages.derivative.gz > Packages.derivative
653 fi
654
655 # Sorting udebs
656 if [ "${LB_DERIVATIVE}" = true ]
657 then
658 UDEBS="$(awk '/Filename: / { print $2 }' Packages.derivative)"
659 fi
660
661 UDEBS="${UDEBS} $(awk '/Filename: / { print $2 }' Packages)"
662
663 # Downloading udebs packages
664 Echo_message "Downloading udebs..."
665
666 if [ "${LB_DERIVATIVE}" = "true" ]
667 then
668 Echo_message "Building in derivative mode in debian+ layout.. a lot of 404 errors are ok here."
669 fi
670
671 for UDEB in ${UDEBS}
672 do
673 if [ -f ../cache/packages.binary_debian-installer.udeb/"$(basename ${UDEB})" ]
674 then
675 # Copying cached udebs
676 cp ../cache/packages.binary_debian-installer.udeb/"$(basename ${UDEB})" ./
677 else
678 # Downloading udebs
679 if ! ls "$(basename ${UDEB} | awk -F_ '{ print $1 }')"_* > /dev/null 2>&1
680 then
681 wget ${WGET_OPTIONS} "${LB_MIRROR_CHROOT}"/${UDEB} || wget ${WGET_OPTIONS} "${LB_PARENT_MIRROR_CHROOT}"/${UDEB}
682 fi
683 fi
684 done
685
686 # Caching udebs
687 rm -rf ../cache/packages.binary_debian-installer.udeb
688 mkdir -p ../cache/packages.binary_debian-installer.udeb
689 cp *.udeb ../cache/packages.binary_debian-installer.udeb
690
691 # Including local udebs
692 if Find_files ../config/packages.binary/*_"${LB_ARCHITECTURES}".udeb || Find_files ../config/packages/*_"${LB_ARCHITECTURES}".udeb
693 then
694 for FILE in ../config/packages.binary/*_"${LB_ARCHITECTURES}".udeb ../config/packages/*_"${LB_ARCHITECTURES}".udeb
695 do
696 if [ -e "${FILE}" ]
697 then
698 Install_file "${FILE}" "pool"
699
700 # Prefer local udebs over downloaded udebs
701 rm -f "$(basename ${FILE} | awk -F_ '{ print $1 }')"_*.udeb
702 fi
703 done
704 fi
705
706 if Find_files ../config/packages.binary/*_all.udeb || Find_files ../config/packages/*_all.udeb
707 then
708 for FILE in ../config/packages.binary/*_all.udeb ../config/packages/*_all.udeb
709 do
710 if [ -e "${FILE}" ]
711 then
712 Install_file "${FILE}" "pool"
713
714 # Prefer local udebs over downloaded udebs
715 rm -f "$(basename ${FILE} | awk -F_ '{ print $1 }')"_*.udeb
716 fi
717 done
718 fi
719
720 # Excluding udebs
721 for LOCATION in "${LIVE_BUILD}/data/debian-cd" /usr/share/live/build/data/debian-cd
722 do
723 if [ -e "${LOCATION}" ]
724 then
725 grep -v "^#" "${LOCATION}/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}/udeb_exclude" > exclude || true
726 grep -v "^#" "${LOCATION}/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}/exclude-udebs" >> exclude || true
727 grep -v "^#" "${LOCATION}/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}/exclude-udebs-${LB_ARCHITECTURES}" >> exclude || true
728
729 continue
730 fi
731 done
732
733 # Local exclude file
734 if [ -e ../config/debian-installer/udeb_exclude ]
735 then
736 cat ../config/debian-installer/udeb_exclude >> exclude
737 fi
738
739 # Excluding udebs from excludes because we want them to be in the image on purpose
740 sed -i -e 's|di-utils-exit-installer||' exclude # used for live-installer-launcher
741
742 while read EXCLUDE
743 do
744 if [ "${LB_DEBIAN_INSTALLER}" = "live" ] && [ "${EXCLUDE}" = "live-installer" ]
745 then
746 continue
747 fi
748
749 rm -f ${EXCLUDE}_*.udeb
750 done < exclude
751
752 # Moving udebs
753 for UDEB in ${UDEBS}
754 do
755 if [ -f "$(basename ${UDEB})" ]
756 then
757 mkdir -p $(dirname ${UDEB})
758 mv "$(basename ${UDEB})" "$(dirname ${UDEB})"
759 fi
760 done
761
762 # Creating udeb indices
763 mkdir -p dists/"${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}"/main/debian-installer/binary-"${LB_ARCHITECTURES}"
764 cd "${OLDPWD}"
765
766 mv binary.udeb chroot/root
767 echo "cd /root/binary.udeb && apt-ftparchive packages pool/main > dists/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}/main/debian-installer/binary-${LB_ARCHITECTURES}/Packages" > chroot/binary.sh
768 Chroot chroot "sh binary.sh"
769 rm -f chroot/binary.sh
770 mv chroot/root/binary.udeb ./
771
772 cd binary.udeb
773 gzip -9 -c dists/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}/main/debian-installer/binary-${LB_ARCHITECTURES}/Packages > dists/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}/main/debian-installer/binary-${LB_ARCHITECTURES}/Packages.gz
774
775 rm -f Packages* exclude
776 find . | cpio -dmpu "${OLDPWD}"/binary
777 cd "${OLDPWD}"
778
779 rm -rf binary.udeb
780 rm -rf binary.deb
781
782 # Generating release file
783 mv binary chroot/root
784
785 eval _VERSION="$`echo RELEASE_${LB_PARENT_DISTRIBUTION}`"
786
787 case "${LB_PARENT_DISTRIBUTION}" in
788 sid)
789 _SUITE="unstable"
790 ;;
791
792 *)
793 _SUITE="${LB_PARENT_DISTRIBUTION}"
794 ;;
795 esac
796
797 cat > chroot/binary.sh << EOF
798 cd /root/binary && apt-ftparchive \
799 -o APT::FTPArchive::Release::Origin="Debian" \
800 -o APT::FTPArchive::Release::Label="Debian" \
801 -o APT::FTPArchive::Release::Suite="${_SUITE}" \
802 -o APT::FTPArchive::Release::Version="${_VERSION}" \
803 -o APT::FTPArchive::Release::Codename="${LB_PARENT_DISTRIBUTION}" \
804 -o APT::FTPArchive::Release::Date="$(date -R)" \
805 -o APT::FTPArchive::Release::Architectures="${LB_ARCHITECTURES}" \
806 -o APT::FTPArchive::Release::Components="${LB_PARENT_ARCHIVE_AREAS}" \
807 -o APT::FTPArchive::Release::Description="Last updated: $(date -R)" \
808 release dists/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION} > dists/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}/Release
809 EOF
810
811 Chroot chroot "sh binary.sh"
812 rm -f chroot/binary.sh
813 mv chroot/root/binary ./
814
815 DISTRIBUTIONS="stable testing unstable"
816
817 if [ "${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}" != "${LB_PARENT_DISTRIBUTION}" ]
818 then
819 DISTRIBUTIONS="${DISTRIBUTIONS} ${LB_PARENT_DISTRIBUTION}"
820 fi
821
822 case "${LB_BINARY_IMAGES}" in
823 hdd)
824 case "${LB_BINARY_FILESYSTEM}" in
825 fat*|ntfs)
826 # Creating dist directories
827 for DISTRIBUTION in ${DISTRIBUTIONS}
828 do
829 cp -a binary/dists/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION} binary/dists/${DISTRIBUTION}
830 done
831 ;;
832 esac
833 ;;
834
835 *)
836 # Creating dist symlinks
837 for DISTRIBUTION in ${DISTRIBUTIONS}
838 do
839 ln -s ${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION} binary/dists/${DISTRIBUTION}
840 done
841
842 ln -s . binary/debian
843 ;;
844 esac
845
846 # Including preseeding files
847 if Find_files config/debian-installer/*.cfg
848 then
849 cp config/debian-installer/*.cfg binary/install
850 fi
851 fi
852
853 Repack_initrd()
854 {
855 local TARGET_INITRD
856 local INCLUDE_PATH
857 TARGET_INITRD="${1}"
858 INCLUDE_PATH="${2}"
859 REPACK_TMPDIR="unpacked-initrd"
860
861 if [ -d "${INCLUDE_PATH}" ]
862 then
863 INCLUDE_PATH=$(readlink -f ${INCLUDE_PATH})
864 fi
865
866 # cpio does not have a "extract to directory", so we must change directory
867 mkdir -p ${REPACK_TMPDIR}
868 cd ${REPACK_TMPDIR}
869
870 gzip -d < ../${TARGET_INITRD} | cpio -i --make-directories --no-absolute-filenames
871 if [ ! -d "${INCLUDE_PATH}" ]
872 then
873 # Invoked the old way, just copy the preseeds
874 cp ../config/debian-installer/*.cfg .
875 else
876 # New way, include target directory content in the initrd
877 REPACK_TMPDIR_ABS="${PWD}"
878 cd "${INCLUDE_PATH}"
879 find -print0 | cpio -pumd0 --no-preserve-owner "${REPACK_TMPDIR_ABS}/"
880 cd "${OLDPWD}"
881 fi
882 find -print0 | cpio -H newc -o0 | gzip -9 > ../${TARGET_INITRD}
883
884 cd ..
885 rm -rf ${REPACK_TMPDIR}
886 }
887
888 # Preseed d-i by repacking the initrd in certain situations
889 if [ "${DI_IMAGE_TYPE}" = "netboot" ] && [ -e config/debian-installer/preseed.cfg ]
890 then
891 Repack_initrd "${DESTDIR}"/"${INITRD_DI}"
892
893 if [ -e "${DESTDIR}"/"${INITRD_GI}" ]
894 then
895 Repack_initrd "${DESTDIR}"/"${INITRD_GI}"
896 fi
897 fi
898
899 # Include content of config/includes.debian-installer if exists and not empty
900 if [ -d config/includes.debian-installer ] && [ -n "$(ls -A config/includes.debian-installer)" ]
901 then
902 Repack_initrd "${DESTDIR}"/"${INITRD_DI}" config/includes.debian-installer
903
904 if [ -e "${DESTDIR}"/"${INITRD_GI}" ]
905 then
906 Repack_initrd "${DESTDIR}"/"${INITRD_GI}" config/includes.debian-installer
907 fi
908 fi
909
910 # Saving cache
911 Save_cache cache/packages.binary
912
913 # Removing depends
914 Remove_package
915
916 # Creating stage file
917 Create_stagefile .build/binary_debian-installer
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'install disk information into binary')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 case "${LB_BINARY_IMAGES}" in
27 iso*|hdd*)
28 ;;
29 *)
30 exit 0
31 ;;
32 esac
33
34 Echo_message "Begin installing disk information..."
35
36 # Requiring stage file
37 Require_stagefile .build/config .build/bootstrap
38
39 # Checking stage file
40 Check_stagefile .build/binary_disk
41
42 # Checking lock file
43 Check_lockfile .lock
44
45 # Creating lock file
46 Create_lockfile .lock
47
48 mkdir -p binary/.disk
49
50 ARCHITECTURE="$(echo ${LB_ARCHITECTURES} | sed -e 's| |/|g')"
51 DISTRIBUTION="$(echo ${LB_DISTRIBUTION} | cut -b 1 | tr '[a-z]' '[A-Z]')"
52 DISTRIBUTION="${DISTRIBUTION}$(echo ${LB_DISTRIBUTION} | cut -b 2-)"
53 eval VERSION="$`echo RELEASE_${LB_DISTRIBUTION}`"
54
55 case "${LB_MODE}" in
56 debian)
57 TITLE="Debian GNU/Linux"
58 STRING="Official Snapshot ${ARCHITECTURE}"
59 TRACE="project/trace/ftp-master.debian.org"
60 ;;
61
62 ubuntu)
63 TITLE="Ubuntu"
64 STRING="Build ${ARCHITECTURE}"
65 TRACE=""
66 ;;
67
68 progress-linux)
69 TITLE="Progress Linux"
70 STRING="${VERSION} (${DISTRIBUTION}) - ${ARCHITECTURE}"
71 TRACE="project/trace/archive-master.progress-linux.org"
72 ;;
73
74 *)
75 TITLE="Debian GNU/Linux"
76 STRING="Snapshot ${ARCHITECTURE}"
77 TRACE=""
78 ;;
79 esac
80
81 if [ -n "${TRACE}" ]
82 then
83 echo "$(wget -q ${LB_PARENT_MIRROR_BOOTSTRAP}/${TRACE} -O - | head -n 1)" \
84 > binary/.disk/archive_trace
85 fi
86
87 case "${LB_INITRAMFS}" in
88 casper)
89 for INITRD in binary/casper/initrd.img*
90 do
91 mkdir -p binary/uuid
92 cd binary/uuid
93
94 case "${LB_INITRAMFS_COMPRESSION}" in
95 gzip)
96 zcat "../../${INITRD}" | cpio --quiet -id conf/uuid.conf
97 ;;
98
99 bzip2)
100 bzcat "../../${INITRD}" | cpio --quiet -id conf/uuid.conf
101 ;;
102
103 lzma)
104 lzcat -S "" "../../${INITRD}" | cpio --quiet -id conf/uuid.conf
105 ;;
106 esac
107
108 if [ -e conf/uuid.conf ]
109 then
110 mv conf/uuid.conf "../.disk/casper-uuid${INITRD#binary/casper/initrd.img}"
111 else
112 Echo_warning "Failed to find casper uuid.conf in '${INITRD}'"
113 fi
114
115 cd ${OLDPWD}
116 rm -rf binary/uuid
117 done
118 ;;
119 esac
120
121 case "${LB_DEBIAN_INSTALLER}" in
122 cdrom)
123 echo "main" > binary/.disk/base_components
124
125 touch binary/.disk/base_installable
126
127 echo "full_cd" > binary/.disk/cd_type
128
129 echo "${TITLE} ${VERSION} \"${DISTRIBUTION}\" - ${STRING} LIVE/CD Binary $(date +%Y%m%d-%H:%M)" > binary/.disk/info
130
131 for LOCATION in "${LIVE_BUILD}/data/debian-cd" /usr/share/live/build/data/debian-cd
132 do
133 if [ -e "${LOCATION}" ]
134 then
135 cp "${LOCATION}/${LB_PARENT_DISTRIBUTION}/${LB_ARCHITECTURES}_udeb_include" binary/.disk/udeb_include
136
137 continue
138 fi
139 done
140 ;;
141
142 true|netinst|live)
143 echo "main" > binary/.disk/base_components
144
145 touch binary/.disk/base_installable
146
147 if [ "${LB_DEBIAN_INSTALLER}" = "live" ]
148 then
149 echo "live" > binary/.disk/cd_type
150 echo "${TITLE} ${VERSION} \"${DISTRIBUTION}\" - ${STRING} LIVE/INSTALL Binary $(date +%Y%m%d-%H:%M)" > binary/.disk/info
151 else
152 echo "not_complete" > binary/.disk/cd_type
153 echo "${TITLE} ${VERSION} \"${DISTRIBUTION}\" - ${STRING} LIVE/NETINST Binary $(date +%Y%m%d-%H:%M)" > binary/.disk/info
154 fi
155
156 for LOCATION in "${LIVE_BUILD}/data/debian-cd" /usr/share/live/build/data/debian-cd
157 do
158 if [ -e "${LOCATION}" ]
159 then
160 cp "${LOCATION}/${LB_PARENT_DISTRIBUTION}/${LB_ARCHITECTURES}_netinst_udeb_include" binary/.disk/udeb_include
161
162 continue
163 fi
164 done
165
166 if [ "${LB_DEBIAN_INSTALLER}" = "live" ]
167 then
168 echo "live-installer" >> binary/.disk/udeb_include
169 fi
170 ;;
171
172 businesscard)
173 echo "main" > binary/.disk/base_components
174
175 echo "not_complete" > binary/.disk/cd_type
176
177 echo "${TITLE} ${VERSION} \"${DISTRIBUTION}\" - ${STRING} LIVE/BC Binary $(date +%Y%m%d-%H:%M)" > binary/.disk/info
178
179 for LOCATION in "${LIVE_BUILD}/data/debian-cd" /usr/share/live/build/data/debian-cd
180 do
181 if [ -e "${LOCATION}" ]
182 then
183 cp "${LOCATION}/${LB_PARENT_DISTRIBUTION}/${LB_ARCHITECTURES}_businesscard_udeb_include" binary/.disk/udeb_include
184
185 continue
186 fi
187 done
188 ;;
189
190 false)
191 echo "${TITLE} ${VERSION} \"${DISTRIBUTION}\" - ${STRING} LIVE Binary $(date +%Y%m%d-%H:%M)" > binary/.disk/info
192 ;;
193 esac
194
195 # Creating stage file
196 Create_stagefile .build/binary_disk
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'installs grub into binary')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if [ "${LB_BOOTLOADER}" != "grub" ]
27 then
28 exit 0
29 fi
30
31 Echo_message "Begin installing grub..."
32
33 # Requiring stage file
34 Require_stagefile .build/config .build/bootstrap
35
36 # Checking stage file
37 Check_stagefile .build/binary_grub
38
39 # Checking grub templates
40 Check_templates grub
41
42 # Checking lock file
43 Check_lockfile .lock
44
45 # Creating lock file
46 Create_lockfile .lock
47
48 # Check architecture
49 Check_architectures amd64 i386
50 Check_crossarchitectures
51
52 # Checking depends
53 Check_package chroot/usr/sbin/grub grub-legacy
54
55 # Restoring cache
56 Restore_cache cache/packages.binary
57
58 # Installing depends
59 Install_package
60
61 # Local functions
62 Grub_live_entry ()
63 {
64 LABEL="${1}"
65 KERNEL="${2}"
66 INITRD="${3}"
67 APPEND="${4}"
68
69 LINUX_LIVE="${LINUX_LIVE}\ntitle\t\tDebian GNU/Linux - ${LABEL}"
70 LINUX_LIVE="${LINUX_LIVE}\nkernel\t\t/${KERNEL} ${INITFS:+boot=${INITFS} }config LB_BOOTAPPEND_LIVE ${APPEND}"
71 LINUX_LIVE="${LINUX_LIVE}\ninitrd\t\t/${INITRD}"
72 }
73
74 Grub_install_entry ()
75 {
76 LABEL="${1}"
77 KERNEL="${2}"
78 INITRD="${3}"
79 APPEND="${4}"
80
81 QAPPEND="quiet"
82
83 for TYPE in Install Expert Rescue Auto
84 do
85 case "${TYPE}" in
86 Install)
87 TAPPEND="${APPEND} ${QAPPEND}"
88 ;;
89
90 Expert)
91 TAPPEND="priority=low ${APPEND}"
92 ;;
93
94 Rescue)
95 TAPPEND="rescue/enable=true ${APPEND} ${QAPPEND}"
96 ;;
97
98 Auto)
99 TAPPEND="auto=true priority=critical ${APPEND} ${QAPPEND}"
100 ;;
101 esac
102
103 case "${LABEL}" in
104 Text)
105 TYPE_SUFFIX=""
106 ;;
107 GUI)
108 TYPE_SUFFIX="gui"
109 ;;
110 esac
111
112
113 LINUX_INSTALL="${LINUX_INSTALL}\ntitle\t\t${LABEL} ${TYPE}"
114 LINUX_INSTALL="${LINUX_INSTALL}\nkernel\t\t/${KERNEL} ${TAPPEND} ${LB_BOOTAPPEND_INSTALL}"
115 LINUX_INSTALL="${LINUX_INSTALL}\ninitrd\t\t/${INITRD}"
116 done
117 }
118
119 case "${LB_INITRAMFS}" in
120 casper)
121 INITFS="casper"
122 ;;
123
124 live-boot)
125 INITFS="live"
126 ;;
127
128 *)
129 INITFS=""
130 ;;
131 esac
132
133 # Setting destination directory
134 case "${LB_BINARY_IMAGES}" in
135 iso*|tar)
136 case "${LB_INITRAMFS}" in
137 casper)
138 DESTDIR_LIVE="binary/casper"
139 ;;
140
141 live-boot)
142 DESTDIR_LIVE="binary/live"
143 ;;
144
145 *)
146 DESTDIR_LIVE="binary/boot"
147 ;;
148 esac
149
150 DESTDIR_INSTALL="binary/install"
151 ;;
152
153 hdd*|netboot)
154 Echo_warning "Bootloader in this image type not yet supported by live-build."
155 Echo_warning "This would produce a not bootable image, aborting (FIXME)."
156 exit 1
157 ;;
158 esac
159
160 Check_multiarchitectures
161
162 # Creating directory
163 mkdir -p "${DESTDIR_LIVE}"
164
165 # Setting boot parameters
166 if [ "${LB_UNION_FILESYSTEM}" != "aufs" ]
167 then
168 LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE} union=${LB_UNION_FILESYSTEM}"
169 fi
170
171 if [ -n "${LB_NET_COW_PATH}" ]
172 then
173 Echo_error "Net cow not yet supported on grub"
174 exit 1
175 fi
176
177 if [ "${LB_EXPOSED_ROOT}" != "false" ]
178 then
179 LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE} exposedroot"
180 fi
181
182 LB_BOOTAPPEND_LIVE="$(echo ${LB_BOOTAPPEND_LIVE} | sed -e 's| ||')"
183
184 # Assembling kernel configuration
185
186 # Default entries
187 DEFAULT_FLAVOUR="$(echo ${LB_LINUX_FLAVOURS} | awk '{ print $1 }')"
188 DEFAULT_KERNEL="$(basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR})"
189 DEFAULT_INITRD="initrd.img-$(echo ${DEFAULT_KERNEL} | sed -e 's|vmlinuz-||')"
190
191 Grub_live_entry "live" "$(basename ${DESTDIR_LIVE})/${DEFAULT_KERNEL}" "$(basename ${DESTDIR_LIVE})/${DEFAULT_INITRD}"
192
193 if [ "${LB_BOOTAPPEND_FAILSAFE}" != "none" ]
194 then
195 Grub_live_entry "live (fail-safe mode)" "$(basename ${DESTDIR_LIVE})/${DEFAULT_KERNEL}" "$(basename ${DESTDIR_LIVE})/${DEFAULT_INITRD}" "${LB_BOOTAPPEND_FAILSAFE}"
196 fi
197
198 for KERNEL in chroot/boot/vmlinuz-*
199 do
200 VERSION="$(basename ${KERNEL} | sed -e 's|vmlinuz-||')"
201
202 Grub_live_entry "live, kernel ${VERSION}" "$(basename ${DESTDIR_LIVE})/$(basename ${KERNEL})" "$(basename ${DESTDIR_LIVE})/initrd.img-${VERSION}"
203 Grub_live_entry "live, kernel ${VERSION} (fail-safe mode)" "$(basename ${DESTDIR_LIVE})/$(basename ${KERNEL})" "$(basename ${DESTDIR_LIVE})/initrd.img-${VERSION}" "${LB_BOOTAPPEND_FAILSAFE}"
204 done
205
206 LINUX_LIVE="$(/bin/echo ${LINUX_LIVE} | sed -e 's|binary||g' -e 's|//|/|g')"
207
208 # Assembling debian-installer configuration
209 if [ "${LB_DEBIAN_INSTALLER}" != "false" ]
210 then
211 LINUX_LIVE="title\t\tLive:\nroot\n\n${LINUX_LIVE}"
212 LINUX_INSTALL="title\t\tInstaller:\nroot"
213
214 VMLINUZ_DI="install/vmlinuz"
215 INITRD_DI="install/initrd.gz"
216 APPEND_DI="vga=normal"
217
218 VMLINUZ_GI="install/gtk/vmlinuz"
219 INITRD_GI="install/gtk/initrd.gz"
220 APPEND_GI="video=vesa:ywrap,mtrr vga=788"
221
222 if [ -f "binary/${VMLINUZ_DI}" ] && [ -f "binary/${INITRD_DI}" ]
223 then
224 Grub_install_entry "Text" "${VMLINUZ_DI}" "${INITRD_DI}" "${APPEND_DI}"
225 fi
226
227 if [ -f "binary/${VMLINUZ_GI}" ] && [ -f "binary/${INITRD_GI}" ]
228 then
229 Grub_install_entry "GUI" "${VMLINUZ_GI}" "${INITRD_GI}" "${APPEND_GI}"
230 fi
231 fi
232
233 LINUX_INSTALL="$(/bin/echo ${LINUX_INSTALL} | sed -e 's|binary||g' -e 's|//|/|g')"
234
235 # Assembling memtest configuration
236 if [ -f "${DESTDIR_LIVE}"/memtest ]
237 then
238 MEMTEST="title\t\tOther:\nroot"
239 MEMTEST="${MEMTEST}\n\ntitle\t\t${LB_MEMTEST}\nkernel\t\t/$(basename ${DESTDIR_LIVE})/memtest"
240 MEMTEST="$(/bin/echo ${MEMTEST} | sed -e 's|//|/|g')"
241 fi
242
243 # Copying templates
244 mkdir -p binary/boot/grub
245 cp -r "${TEMPLATES}"/* binary/boot/grub
246
247 case ${LB_BINARY_IMAGES} in
248 iso*)
249 FILES="chroot/usr/lib/grub/*/stage2_eltorito"
250 ;;
251
252 hdd*|tar)
253 FILES="chroot/usr/lib/grub/*/stage1 chroot/usr/lib/grub/*/e2fs_stage1_5 chroot/usr/lib/grub/*/stage2"
254 ;;
255 esac
256
257 if [ "${LB_BUILD_WITH_CHROOT}" = "false" ]
258 then
259 FILES="$(echo ${FILES} | sed -e 's|chroot||g')"
260 fi
261
262 # Copying grub
263 cp ${FILES} binary/boot/grub
264
265 sed -i -e "s|LINUX_LIVE|${LINUX_LIVE}|" -e "s|LINUX_INSTALL|${LINUX_INSTALL}|" -e "s|MEMTEST|${MEMTEST}|" binary/boot/grub/menu.lst
266 sed -i -e "s#LB_BOOTAPPEND_INSTALL#${LB_BOOTAPPEND_INSTALL}#" -e "s#LB_BOOTAPPEND_LIVE#${LB_BOOTAPPEND_LIVE}#" binary/boot/grub/menu.lst
267
268 sed -i -e 's|\ $||g' binary/boot/grub/menu.lst
269
270 # Saving cache
271 Save_cache cache/packages.binary
272
273 # Removing depends
274 Remove_package
275
276 # Creating stage file
277 Create_stagefile .build/binary_grub
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'installs grub2 into binary')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if [ "${LB_BOOTLOADER}" != "grub2" ]
27 then
28 exit 0
29 fi
30
31 Echo_message "Begin installing grub2..."
32
33 # Requiring stage file
34 Require_stagefile .build/config .build/bootstrap
35
36 # Checking stage file
37 Check_stagefile .build/binary_grub
38
39 # Checking grub2 templates
40 Check_templates grub2
41
42 # Checking lock file
43 Check_lockfile .lock
44
45 # Creating lock file
46 Create_lockfile .lock
47
48 # Check architecture
49 Check_architectures amd64 i386
50 Check_crossarchitectures
51
52 # Checking depends
53 Check_package chroot/usr/bin/grub-mkimage grub-pc
54
55 # Restoring cache
56 Restore_cache cache/packages.binary
57
58 # Installing depends
59 Install_package
60
61 # Local functions
62 Grub_live_entry ()
63 {
64 LABEL="${1}"
65 KERNEL="${2}"
66 INITRD="${3}"
67 APPEND="${4}"
68
69 LINUX_LIVE="${LINUX_LIVE}\nmenuentry \"Debian GNU/Linux - ${LABEL}\" {"
70 LINUX_LIVE="${LINUX_LIVE}\nlinux\t\t/${KERNEL} ${INITFS:+boot=${INITFS} }config LB_BOOTAPPEND_LIVE ${APPEND}"
71 LINUX_LIVE="${LINUX_LIVE}\ninitrd\t\t/${INITRD}"
72 LINUX_LIVE="${LINUX_LIVE}\n}"
73 }
74
75 Grub_install_entry ()
76 {
77 LABEL="${1}"
78 KERNEL="${2}"
79 INITRD="${3}"
80 APPEND="${4}"
81
82 if [ "${LABEL}" != "rescue" ] && [ "${LABEL}" != "rescuegui" ]
83 then
84 APPEND="${APPEND} quiet"
85 fi
86
87 LINUX_INSTALL="${LINUX_INSTALL}\nmenuentry \"Debian GNU/Linux - ${LABEL}\" {"
88 LINUX_INSTALL="${LINUX_INSTALL}\nlinux\t\t/${KERNEL} ${APPEND} LB_BOOTAPPEND_INSTALL"
89 LINUX_INSTALL="${LINUX_INSTALL}\ninitrd\t\t/${INITRD}"
90 LINUX_INSTALL="${LINUX_INSTALL}\n}"
91 }
92
93 case "${LB_INITRAMFS}" in
94 casper)
95 INITFS="casper"
96 ;;
97
98 live-boot)
99 INITFS="live"
100 ;;
101
102 *)
103 INITFS=""
104 ;;
105 esac
106
107 # Setting destination directory
108 case "${LB_BINARY_IMAGES}" in
109 iso*|tar)
110 case "${LB_INITRAMFS}" in
111 casper)
112 DESTDIR_LIVE="binary/casper"
113 ;;
114
115 live-boot)
116 DESTDIR_LIVE="binary/live"
117 ;;
118
119 *)
120 DESTDIR_LIVE="binary/live"
121 ;;
122 esac
123
124 DESTDIR_INSTALL="binary/install"
125 ;;
126
127 hdd*|netboot)
128 Echo_warning "Bootloader in this image type not yet supported by live-build."
129 Echo_warning "This would produce a not bootable image, aborting (FIXME)."
130 exit 1
131 ;;
132 esac
133
134 Check_multiarchitectures
135
136 # Creating directory
137 mkdir -p "${DESTDIR_LIVE}"
138
139 # Setting boot parameters
140 if [ "${LB_UNION_FILESYSTEM}" != "aufs" ]
141 then
142 LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE} union=${LB_UNION_FILESYSTEM}"
143 fi
144
145 if [ -n "${LB_NET_COW_PATH}" ]
146 then
147 Echo_error "Net cow not yet supported on grub"
148 exit 1
149 fi
150
151 if [ "${LB_EXPOSED_ROOT}" != "false" ]
152 then
153 LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE} exposedroot"
154 fi
155
156 LB_BOOTAPPEND_LIVE="$(echo ${LB_BOOTAPPEND_LIVE} | sed -e 's| ||')"
157
158 # Assembling kernel configuration
159
160 # Default entries
161 DEFAULT_FLAVOUR="$(echo ${LB_LINUX_FLAVOURS} | awk '{ print $1 }')"
162 DEFAULT_KERNEL="$(basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR})"
163 DEFAULT_INITRD="initrd.img-$(echo ${DEFAULT_KERNEL} | sed -e 's|vmlinuz-||')"
164
165 Grub_live_entry "live" "$(basename ${DESTDIR_LIVE})/${DEFAULT_KERNEL}" "$(basename ${DESTDIR_LIVE})/${DEFAULT_INITRD}"
166
167 if [ "${LB_BOOTAPPEND_FAILSAFE}" != "none" ]
168 then
169 Grub_live_entry "live (fail-safe mode)" "$(basename ${DESTDIR_LIVE})/${DEFAULT_KERNEL}" "$(basename ${DESTDIR_LIVE})/${DEFAULT_INITRD}" "${LB_BOOTAPPEND_FAILSAFE}"
170 fi
171
172 for KERNEL in chroot/boot/vmlinuz-*
173 do
174 VERSION="$(basename ${KERNEL} | sed -e 's|vmlinuz-||')"
175
176 Grub_live_entry "live, kernel ${VERSION}" "$(basename ${DESTDIR_LIVE})/$(basename ${KERNEL})" "$(basename ${DESTDIR_LIVE})/initrd.img-${VERSION}"
177 Grub_live_entry "live, kernel ${VERSION} (fail-safe mode)" "$(basename ${DESTDIR_LIVE})/$(basename ${KERNEL})" "$(basename ${DESTDIR_LIVE})/initrd.img-${VERSION}" "${LB_BOOTAPPEND_FAILSAFE}"
178 done
179
180 LINUX_LIVE="$(/bin/echo ${LINUX_LIVE} | sed -e 's|binary||g' -e 's|//|/|g')"
181
182 # Assembling debian-installer configuration
183 if [ "${LB_DEBIAN_INSTALLER}" != "false" ]
184 then
185 LINUX_LIVE="#\t \"Live\"\n${LINUX_LIVE}"
186 LINUX_INSTALL="#\t \"Installer\"\n"
187
188 VMLINUZ_DI="install/vmlinuz"
189 INITRD_DI="install/initrd.gz"
190 APPEND_DI="vga=normal"
191
192 VMLINUZ_GI="install/gtk/vmlinuz"
193 INITRD_GI="install/gtk/initrd.gz"
194 APPEND_GI="video=vesa:ywrap,mtrr vga=788"
195
196 Grub_install_entry "install" "${VMLINUZ_DI}" "${INITRD_DI}" "${APPEND_DI}"
197 Grub_install_entry "installgui" "${VMLINUZ_GI}" "${INITRD_GI}" "${APPEND_GI}"
198 Grub_install_entry "expert" "${VMLINUZ_DI}" "${INITRD_DI}" "priority=low ${APPEND_DI}"
199 Grub_install_entry "expertgui" "${VMLINUZ_GI}" "${INITRD_GI}" "priority=low ${APPEND_GI}"
200 Grub_install_entry "rescue" "${VMLINUZ_DI}" "${INITRD_DI}" "rescue/enable=true ${APPEND_DI}"
201 Grub_install_entry "rescuegui" "${VMLINUZ_GI}" "${INITRD_GI}" "rescue/enable=true ${APPEND_GI}"
202 Grub_install_entry "auto" "${VMLINUZ_DI}" "${INITRD_DI}" "auto=true priority=critical ${APPEND_DI}"
203 Grub_install_entry "autogui" "${VMLINUZ_GI}" "${INITRD_GI}" "auto=true priority=critical ${APPEND_GI}"
204 fi
205
206 LINUX_INSTALL="$(/bin/echo ${LINUX_INSTALL} | sed -e 's|binary||g' -e 's|//|/|g')"
207
208 # Assembling memtest configuration
209 if [ -f "${DESTDIR_LIVE}"/memtest ]
210 then
211 MEMTEST="#\t \"Other\"\n"
212 MEMTEST="${MEMTEST}\nmenuentry\t\"${LB_MEMTEST}\" {\nlinux16\t$(basename ${DESTDIR_LIVE})/memtest\n}"
213 MEMTEST="$(/bin/echo ${MEMTEST} | sed -e 's|//|/|g')"
214 fi
215
216 # Copying templates
217 mkdir -p binary/boot/grub
218 cp -r "${TEMPLATES}"/* binary/boot/grub
219
220 case ${LB_BINARY_IMAGES} in
221 iso*)
222 FILES="chroot/usr/lib/grub/i386-pc/*.mod chroot/usr/lib/grub/i386-pc/*.lst chroot/usr/lib/grub/i386-pc/efiemu??.o chroot/usr/share/grub/*.pf2"
223 ;;
224
225 hdd*|tar)
226 FILES="chroot/usr/lib/grub/i386-pc/*"
227 ;;
228 esac
229
230 if [ "${LB_BUILD_WITH_CHROOT}" = "false" ]
231 then
232 FILES="$(echo ${FILES} | sed -e 's|chroot||g')"
233 fi
234
235 # Copying grub
236 cp ${FILES} binary/boot/grub
237
238 sed -i -e "s|LINUX_LIVE|${LINUX_LIVE}|" -e "s|LINUX_INSTALL|${LINUX_INSTALL}|" -e "s|MEMTEST|${MEMTEST}|" binary/boot/grub/grub.cfg
239 sed -i -e "s#LB_BOOTAPPEND_INSTALL#${LB_BOOTAPPEND_INSTALL}#" -e "s#LB_BOOTAPPEND_LIVE#${LB_BOOTAPPEND_LIVE}#" binary/boot/grub/grub.cfg
240
241 sed -i -e 's|\ $||g' binary/boot/grub/grub.cfg
242
243 # Saving cache
244 Save_cache cache/packages.binary
245
246 # Removing depends
247 Remove_package
248
249 # Creating stage file
250 Create_stagefile .build/binary_grub
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'build binary image')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if ! In_list hdd "${LB_BINARY_IMAGES}"
27 then
28 exit 0
29 fi
30
31 Echo_message "Begin building binary hdd image..."
32
33 # Requiring stage file
34 Require_stagefile .build/config .build/bootstrap .build/chroot_proc
35
36 # Checking stage file
37 Check_stagefile .build/binary_hdd
38
39 # Checking lock file
40 Check_lockfile .lock
41
42 # Creating lock file
43 Create_lockfile .lock
44
45 # Checking depends
46 case "${LB_BINARY_FILESYSTEM}" in
47 fat*)
48 Check_package chroot/sbin/mkdosfs dosfstools
49 ;;
50
51 ntfs)
52 case "${LB_PARENT_DISTRIBUTION}" in
53 squeeze)
54 Check_package chroot/sbin/mkfs.ntfs ntfsprogs
55 ;;
56
57 *)
58 Check_package chroot/sbin/mkfs.nfts ntfs-3g
59 ;;
60 esac
61 ;;
62 esac
63
64 Check_package chroot/usr/share/doc/mtools mtools
65 Check_package chroot/sbin/parted parted
66
67 if [ "${LB_ARCHITECTURES}" = "sparc" ]
68 then
69 case "${LB_BINARY_FILESYSTEM}" in
70 ext2|ext3|ext4)
71 Check_package chroot/sbin/mkfs.${LB_BINARY_FILESYSTEM} e2fsprogs
72 ;;
73
74 *)
75 Echo_error "Sparc only supports booting from ext2, ext3, ext4 or ufs."
76 exit 1
77 ;;
78 esac
79 fi
80
81 case "${LB_BOOTLOADER}" in
82 grub)
83 Check_package chroot/usr/sbin/grub grub
84 ;;
85
86 syslinux)
87 Check_package chroot/usr/bin/syslinux syslinux
88 ;;
89 esac
90
91 # Restoring cache
92 Restore_cache cache/packages.binary
93
94 # Installing depends
95 Install_package
96
97 # Remove old binary
98 if [ -f binary.img ]
99 then
100 rm -f binary.img
101 fi
102
103 # Enforce fat32 if we find individual files bigger than 2GB
104 if [ "${LB_BINARY_FILESYSTEM}" = "fat16" ] && [ -n "$(find binary -size +1999M)" ]
105 then
106 Echo_warning "FAT16 doesn't support files larger than 2GB, automatically enforcing FAT32."
107
108 LB_BINARY_FILESYSTEM="fat32"
109 export LB_BINARY_FILESYSTEM
110 fi
111
112 # Enforce fat32 if we have images in total bigger than 2GB
113 if [ "${LB_BINARY_FILESYSTEM}" = "fat16" ] && [ "$(du -s binary | awk '{ print $1 }')" -gt "1900000" ]
114 then
115 Echo_warning "FAT16 doesn't support partitions larger than 2GB, automatically enforcing FAT32"
116
117 LB_BINARY_FILESYSTEM="fat32"
118 export LB_BINARY_FILESYSTEM
119 fi
120
121 # Enforce ntfs if we find individual files bigger than 4GB
122 if [ "${LB_BINARY_FILESYSTEM}" = "fat32" ] && [ -n "$(find binary -size +3999M)" ]
123 then
124 Echo_warning "FAT32 doesn't support files larger than 4GB, automatically enforcing NTFS."
125
126 LB_BINARY_FILESYSTEM="ntfs"
127 export LB_BINARY_FILESYSTEM
128 fi
129
130 # Everything which comes here needs to be cleaned up,
131 DU_DIM="$(du -ms binary | cut -f1)"
132 REAL_DIM="$(Calculate_partition_size ${DU_DIM} ${LB_BINARY_FILESYSTEM})"
133 dd if=/dev/zero of=chroot/binary.img bs=1024k count=0 seek=${REAL_DIM}
134 FREELO="$(${LB_LOSETUP} -f)"
135 if [ ! -b chroot/${FREELO} ]
136 then
137 MAKEDEV="true"
138
139 mv chroot/dev chroot/dev.tmp
140 find /dev | cpio -dmpu chroot
141 fi
142
143 echo "!!! The following error/warning messages can be ignored !!!"
144 Losetup $FREELO chroot/binary.img 0
145
146 case "${LB_ARCHITECTURES}" in
147 sparc)
148 PARTITION_TABLE_TYPE="sun"
149 ;;
150 *)
151 PARTITION_TABLE_TYPE="msdos"
152 ;;
153 esac
154
155 case "${LB_BINARY_FILESYSTEM}" in
156 ext2|ext3|ext4)
157 PARTITION_TYPE="ext2"
158 ;;
159
160 fat16|fat32)
161 PARTITION_TYPE="${LB_BINARY_FILESYSTEM}"
162 ;;
163
164 ntfs)
165 PARTITION_TYPE="NTFS"
166 ;;
167
168 *)
169 Echo_error "Unsupported binary filesystem %s" "${LB_BINARY_FILESYSTEM}"
170 exit 1
171 ;;
172 esac
173
174 case "${LB_BUILD_WITH_CHROOT}" in
175 true)
176 Chroot chroot "parted -s ${FREELO} mklabel ${PARTITION_TABLE_TYPE}" || true
177 Chroot chroot "parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0.0 100%" || true
178 Chroot chroot "parted -s ${FREELO} set 1 boot on" || true
179 Chroot chroot "parted -s ${FREELO} set 1 lba off" || true
180
181 if [ "${LB_BOOTLOADER}" = "syslinux" ]
182 then
183 dd if=chroot/usr/lib/syslinux/mbr.bin of=${FREELO} bs=440 count=1
184 fi
185 ;;
186
187 false)
188 parted -s ${FREELO} mklabel ${PARTITION_TABLE_TYPE} || true
189 parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0.0 100% || true
190 parted -s "${FREELO}" set 1 boot on || true
191 parted -s "${FREELO}" set 1 lba off || true
192
193 if [ "${LB_BOOTLOADER}" = "syslinux" ]
194 then
195 dd if=/usr/lib/syslinux/mbr.bin of=${FREELO} bs=440 count=1
196 fi
197 ;;
198 esac
199
200 Lodetach ${FREELO}
201
202 FREELO="$(${LB_LOSETUP} -f)"
203 Losetup $FREELO chroot/binary.img 1
204
205 case "${LB_BINARY_FILESYSTEM}" in
206 ext2|ext3|ext4)
207 MKFS="${LB_BINARY_FILESYSTEM}"
208 MKFS_OPTIONS="-L ${LB_HDD_LABEL} -m 0"
209 ;;
210
211 fat16)
212 MKFS="vfat"
213 MKFS_OPTIONS="-F 16 -n ${LB_HDD_LABEL}"
214 ;;
215
216 fat32)
217 MKFS="vfat"
218 MKFS_OPTIONS="-F 32 -n ${LB_HDD_LABEL}"
219 ;;
220
221 ntfs)
222 MKFS="ntfs"
223 MKFS_OPTIONS="-L ${LB_HDD_LABEL}"
224 ;;
225 esac
226
227 case "${LB_BUILD_WITH_CHROOT}" in
228 true)
229 Chroot chroot "mkfs.${MKFS} ${MKFS_OPTIONS} ${FREELO}"
230 ;;
231
232 false)
233 mkfs.${MKFS} ${MKFS_OPTIONS} ${FREELO}
234 ;;
235 esac
236
237 case "${LB_BINARY_FILESYSTEM}" in
238 fat*)
239 CP_OPTIONS="-L"
240 ;;
241 esac
242
243 mkdir -p chroot/binary.tmp
244 ${LB_ROOT_COMMAND} mount ${FREELO} chroot/binary.tmp
245 cp -r -T ${CP_OPTIONS} binary/ chroot/binary.tmp
246
247 FIXME()
248 {
249 if [ "${LB_BOOTLOADER}" = "grub" ]
250 then
251
252 cat > chroot/grub.sh << EOF
253 cd binary.tmp
254 grub --batch << EOM
255 find /live/vmlinuz
256 EOM
257 EOF
258
259 rootpartition="$(Chroot chroot 'sh grub.sh' 2>/dev/null | grep -A 1 'find /live/vmlinuz' | grep -v 'find /live/vmlinuz')"
260 hdddev="$(echo $rootpartition | sed -e 's|,[[:digit:]]||')"
261 echo "Root partition is $rootpartition, device is: $hdddev"
262
263 echo "WAITING..." && read WAIT
264
265 #cat > chroot/grub.sh << EOF
266 #grub --batch << EOM
267 #root $rootpartition
268 #setup $hdddev
269 #EOM
270 #EOF
271
272 #Chroot chroot "sh grub.sh"
273
274 rm -f chroot/grub.sh
275 fi
276 }
277
278 ${LB_ROOT_COMMAND} umount chroot/binary.tmp
279 rmdir chroot/binary.tmp
280
281 if [ "${LB_BOOTLOADER}" = "syslinux" ]
282 then
283 case "${LB_BUILD_WITH_CHROOT}" in
284 true)
285 Chroot chroot "syslinux ${FREELO}"
286 ;;
287
288 false)
289 syslinux ${FREELO}
290 ;;
291 esac
292 fi
293
294 Lodetach ${FREELO}
295
296 echo "!!! The above error/warning messages can be ignored !!!"
297
298 if [ -n "${MAKEDEV}" ]
299 then
300 rm -rf chroot/dev
301 mv chroot/dev.tmp chroot/dev
302 fi
303
304 mv chroot/binary.img ./
305
306 # Saving cache
307 Save_cache cache/packages.binary
308
309 # Removing depends
310 Remove_package
311
312 # Creating stage file
313 Create_stagefile .build/binary_hdd
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'execute hooks in binary')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 Echo_message "Begin executing hooks..."
27
28 # Requiring stage file
29 Require_stagefile .build/config .build/bootstrap
30
31 # Checking stage file
32 Check_stagefile .build/binary_hooks
33
34 # Checking lock file
35 Check_lockfile .lock
36
37 # Creating lock file
38 Create_lockfile .lock
39
40 ## Processing distribution hooks
41
42 # Running hooks
43 for _HOOK in ${LB_BINARY_HOOKS}
44 do
45 for LOCATION in "${LIVE_BUILD}/hooks" /usr/share/live/build/hooks
46 do
47 for FILE in "${LOCATION}"/????-"${_HOOK}".binary
48 do
49 if [ -e "${FILE}" ]
50 then
51 cd binary
52 "${FILE}" || { Echo_error "${_HOOK} failed (exit non-zero). You should check for errors."; exit 1 ;}
53 cd "${OLDPWD}"
54 fi
55 done
56 done
57 done
58
59 ## Processing local hooks
60
61 if Find_files config/hooks/*.binary
62 then
63 for HOOK in config/hooks/*.binary
64 do
65 # Making hook executable
66 if [ ! -x "${HOOK}" ]
67 then
68 chmod +x "${HOOK}"
69 fi
70
71 # Executing hook
72 ./"${HOOK}" || { Echo_error "${HOOK} failed (exit non-zero). You should check for errors."; exit 1 ;}
73 done
74
75 # Creating stage file
76 Create_stagefile .build/binary_hooks
77 fi
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'copy files into binary')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 Echo_message "Begin copying binary includes..."
27
28 # Requiring stage file
29 Require_stagefile .build/config .build/bootstrap
30
31 # Checking stage file
32 Check_stagefile .build/includes.binary
33
34 # Checking lock file
35 Check_lockfile .lock
36
37 # Creating lock file
38 Create_lockfile .lock
39
40 if Find_files config/includes.binary/
41 then
42 # Copying includes
43 cd config/includes.binary
44 find . | cpio -dmpu --no-preserve-owner "${OLDPWD}"/binary
45 cd "${OLDPWD}"
46
47 # Removing symlinks
48 case "${LB_BINARY_IMAGES}" in
49 hdd*)
50 find binary -type l | xargs rm -f
51 ;;
52 esac
53
54 # Creating stage file
55 Create_stagefile .build/binary_includes
56 fi
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'build iso binary image')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 case "${LB_BINARY_IMAGES}" in
27 iso)
28 IMAGE="binary.iso"
29 ;;
30
31 iso-hybrid)
32 IMAGE="binary.hybrid.iso"
33 ;;
34
35 *)
36 exit 0
37 ;;
38 esac
39
40 Echo_message "Begin building binary iso image..."
41
42 # Requiring stage file
43 Require_stagefile .build/config .build/bootstrap
44
45 # Checking stage file
46 Check_stagefile .build/binary_iso
47
48 # Checking lock file
49 Check_lockfile .lock
50
51 # Creating lock file
52 Create_lockfile .lock
53
54 # Checking depends
55 Check_package chroot/usr/bin/xorriso xorriso
56
57 if [ "${LB_BINARY_IMAGES}" = "iso-hybrid" ]
58 then
59 Check_package chroot/usr/lib/syslinux/isohdpfx.bin syslinux-common
60 fi
61
62 # Restoring cache
63 Restore_cache cache/packages.binary
64
65 # Installing depends
66 Install_package
67
68 # Remove old iso image
69 if [ -f ${IMAGE} ]
70 then
71 rm -f ${IMAGE}
72 fi
73
74 # Handle xorriso generic options
75 XORRISO_OPTIONS="-as mkisofs -r -J -joliet-long -l -cache-inodes"
76
77 # Handle xorriso live-build specific options
78 if [ "${LB_BINARY_IMAGES}" = "iso-hybrid" ]
79 then
80 XORRISO_OPTIONS="${XORRISO_OPTIONS} -isohybrid-mbr /usr/lib/syslinux/isohdpfx.bin -partition_offset 16"
81 fi
82
83 if [ "${_QUIET}" = "true" ]
84 then
85 XORRISO_OPTIONS="${XORRISO_OPTIONS} -quiet"
86 fi
87
88 if [ "${_VERBOSE}" = "true" ]
89 then
90 XORRISO_OPTIONS="${XORRISO_OPTIONS} -v"
91 fi
92
93 if [ -n "${LB_ISO_APPLICATION}" ] && [ "${LB_ISO_APPLICATION}" != "none" ]
94 then
95 XORRISO_OPTIONS="${XORRISO_OPTIONS} -A \"${LB_ISO_APPLICATION}\""
96 fi
97
98 if [ -n "${LB_ISO_PREPARER}" ] && [ "${LB_ISO_PREPARER}" != "none" ]
99 then
100 XORRISO_OPTIONS="${XORRISO_OPTIONS} -p \"${LB_ISO_PREPARER}\""
101 fi
102
103 if [ -n "${LB_ISO_PUBLISHER}" ] && [ "${LB_ISO_PUBLISHER}" != "none" ]
104 then
105 XORRISO_OPTIONS="${XORRISO_OPTIONS} -publisher \"${LB_ISO_PUBLISHER}\""
106 fi
107
108 if [ -n "${LB_ISO_VOLUME}" ] && [ "${LB_ISO_VOLUME}" != "none" ]
109 then
110 XORRISO_OPTIONS="${XORRISO_OPTIONS} -V \"${LB_ISO_VOLUME}\""
111 fi
112
113 # Handle xorriso architecture specific options
114 case "${LB_BOOTLOADER}" in
115 grub)
116 XORRISO_OPTIONS="${XORRISO_OPTIONS} -no-emul-boot -boot-load-size 4 -boot-info-table"
117 XORRISO_OPTIONS="${XORRISO_OPTIONS} -b boot/grub/stage2_eltorito"
118 XORRISO_EXCLUDE="boot/grub/stage2_eltorito"
119 ;;
120
121 grub2)
122 XORRISO_OPTIONS="${XORRISO_OPTIONS} -no-emul-boot -boot-load-size 4 -boot-info-table"
123 XORRISO_OPTIONS="${XORRISO_OPTIONS} -b boot/grub/grub_eltorito -J"
124 XORRISO_EXCLUDE="boot/grub/grub_eltorito"
125 ;;
126
127 silo)
128 XORRISO_OPTIONS="${XORRISO_OPTIONS} -G boot/isofs.b -B ..."
129 XORRISO_EXCLUDE="boot/isofs.b"
130 ;;
131
132 syslinux)
133 case "${LB_MODE}" in
134 progress-linux)
135 XORRISO_OPTIONS="${XORRISO_OPTIONS} -b boot/boot.bin -c boot/boot.cat"
136 XORRISO_EXCLUDE="boot/boot.bin"
137 ;;
138
139 *)
140 XORRISO_OPTIONS="${XORRISO_OPTIONS} -b isolinux/isolinux.bin -c isolinux/boot.cat"
141 XORRISO_EXCLUDE="isolinux/isolinux.bin"
142 ;;
143 esac
144
145 XORRISO_OPTIONS="${XORRISO_OPTIONS} -no-emul-boot -boot-load-size 4 -boot-info-table"
146 ;;
147
148 yaboot)
149 XORRISO_OPTIONS="${XORRISO_OPTIONS} --iso-level 2 --netatalk -hfs -probe -map"
150 XORRISO_OPTIONS="${XORRISO_OPTIONS} binary/yaboot/hfs.map --chrp-boot -part -no-desktop"
151 XORRISO_OPTIONS="${XORRISO_OPTIONS} -hfs-bless binary/yaboot -hfs-volid Debian/Live_powerpc"
152 XORRISO_EXCLUDE="yaboot/hfs.map"
153 ;;
154
155 *)
156 Echo_warning "Bootloader on your architecture not yet supported by live-build."
157 Echo_warning "This will produce a most likely not bootable image (Continuing in 5 seconds)."
158 sleep 5
159 ;;
160 esac
161
162 #if [ "${LB_DEBIAN_INSTALLER}" != "live" ]
163 #then
164 # XORRISO_OPTIONS="${XORRISO_OPTIONS} -m ${XORRISO_EXCLUDE}"
165 #fi
166
167 if [ "${LB_BOOTLOADER}" = "grub2" ]
168 then
169
170 cat > binary.sh << EOF
171 #!/bin/sh
172
173 input_dir=/usr/lib/grub/i386-pc
174
175 # build core.img
176 core_img=\$(mktemp)
177 grub-mkimage -d \${input_dir} -o \${core_img} -O i386-pc biosdisk iso9660
178
179 # build grub_eltorito image
180 cat \${input_dir}/cdboot.img \${core_img} > binary/boot/grub/grub_eltorito
181
182 rm -f \${core_img}
183
184 for file in \${input_dir}/*.mod \${input_dir}/efiemu??.o \
185 \${input_dir}/command.lst \${input_dir}/moddep.lst \${input_dir}/fs.lst \
186 \${input_dir}/handler.lst \${input_dir}/parttool.lst
187 do
188 if test -f "\$file"
189 then
190 cp -f "\$file" binary/boot/grub
191 fi
192 done
193 EOF
194
195 else
196 echo "#!/bin/sh" > binary.sh
197 fi
198
199 cat >> binary.sh << EOF
200
201 xorriso ${XORRISO_OPTIONS} -o ${IMAGE} binary
202 EOF
203
204 case "${LB_BUILD_WITH_CHROOT}" in
205 true)
206 # Moving image
207 mv binary.sh chroot
208 mv binary chroot
209
210 Chroot chroot "sh binary.sh"
211
212 # Move image
213 mv chroot/binary chroot/${IMAGE} ./
214 rm -f chroot/binary.sh
215 ;;
216
217 false)
218 sh binary.sh
219 rm -f binary.sh
220 ;;
221 esac
222
223 # Saving cache
224 Save_cache cache/packages.binary
225
226 # Removing depends
227 Remove_package
228
229 # Creating stage file
230 Create_stagefile .build/binary_iso
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'install linux-image into binary')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if [ "${LB_LINUX_PACKAGES}" = "none" ]
27 then
28 exit 0
29 fi
30
31 Echo_message "Begin install linux-image..."
32
33 # Requiring stage file
34 Require_stagefile .build/config .build/bootstrap
35
36 # Checking stage file
37 Check_stagefile .build/binary_linux-image
38
39 # Checking lock file
40 Check_lockfile .lock
41
42 # Creating lock file
43 Create_lockfile .lock
44
45 case "${LB_INITRAMFS}" in
46 casper)
47 DESTDIR="binary/casper"
48 ;;
49
50 live-boot)
51 DESTDIR="binary/live"
52 ;;
53
54 *)
55 DESTDIR="binary/boot"
56 ;;
57 esac
58
59 case "${LB_ARCHITECTURES}" in
60 powerpc)
61 LINUX="vmlinux"
62 ;;
63
64 *)
65 LINUX="vmlinuz"
66 ;;
67 esac
68
69 Check_multiarchitectures
70
71 # Creating directory
72 mkdir -p "${DESTDIR}"
73
74 # Installing linux-image
75 if [ "${LB_LINUX_PACKAGES}" != "none" ]
76 then
77 cp chroot/boot/"${LINUX}"-* "${DESTDIR}"
78 cp chroot/boot/initrd.img-* "${DESTDIR}"
79 fi
80
81 case "${LB_INITRAMFS}" in
82 live-boot)
83 if [ -e chroot/usr/share/doc/live-boot/parameters.txt ]
84 then
85 cp chroot/usr/share/doc/live-boot/parameters.txt "${DESTDIR}"/parameters
86 fi
87 ;;
88 esac
89
90 # Creating stage file
91 Create_stagefile .build/binary_linux-image
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'copy loadlin into binary')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if [ "${LB_LOADLIN}" != "true" ]
27 then
28 exit 0
29 fi
30
31 Echo_message "Begin copying loadlin..."
32
33 # Requiring stage file
34 Require_stagefile .build/config .build/bootstrap
35
36 # Checking stage file
37 Check_stagefile .build/binary_loadlin
38
39 # Checking lock file
40 Check_lockfile .lock
41
42 # Creating lock file
43 Create_lockfile .lock
44
45 case "${LB_ARCHITECTURES}" in
46 amd64|i386)
47 if [ "${LB_BUILD_WITH_CHROOT}" = "true" ]
48 then
49 # Checking depends
50 Check_package chroot/usr/lib/loadlin/loadlin.exe.gz loadlin
51
52 # Restoring cache
53 Restore_cache cache/packages.binary
54
55 # Installing depends
56 Install_package
57
58 # Copying loadlin
59 mkdir -p binary/tools
60 gunzip -c chroot/usr/lib/loadlin/loadlin.exe.gz > binary/tools/loadlin.exe
61 gunzip -c chroot/usr/share/doc/loadlin/manual.txt.gz > binary/tools/loadlin.txt
62
63 # Saving cache
64 Save_cache cache/packages.binary
65
66 # Removing depends
67 Remove_package
68 else
69 # Copying loadlin
70 mkdir -p binary/tools
71 gunzip -c /usr/lib/loadlin/loadlin.exe.gz > binary/tools/loadlin.exe
72 gunzip -c /usr/share/doc/loadlin/manual.txt.gz > binary/tools/loadlin.txt
73 fi
74 ;;
75
76 *)
77 Echo_warning "loadlin inclusion is set to true but not compatible with your architecture, ignoring."
78 ;;
79 esac
80
81 # Creating stage file
82 Create_stagefile .build/binary_loadlin
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'create manifest')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 Echo_message "Begin creating manifest..."
27
28 # Requiring stage file
29 Require_stagefile .build/config .build/bootstrap
30
31 # Checking stage file
32 Check_stagefile .build/binary_manifest
33
34 # Checking lock file
35 Check_lockfile .lock
36
37 # Creating lock file
38 Create_lockfile .lock
39
40 case "${LB_INITRAMFS}" in
41 casper)
42 INITFS="casper"
43 SUFFIX="manifest"
44 ;;
45
46 live-boot)
47 INITFS="live"
48 SUFFIX="packages"
49 ;;
50
51 *)
52 INITFS="boot"
53 SUFFIX="packages"
54 ;;
55 esac
56
57 # Add filesystem.packages
58 cp chroot.packages.live "binary/${INITFS}/filesystem.${SUFFIX}"
59 echo "$(diff chroot.packages.live chroot.packages.install | awk '/^< / { print $2 }')" \
60 > "binary/${INITFS}/filesystem.${SUFFIX}-remove"
61
62 cp chroot.packages.live binary.packages
63
64 # Creating stage file
65 Create_stagefile .build/binary_manifest
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'installs a memtest into binary')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if [ "${LB_MEMTEST}" = "false" ] || [ "${LB_MEMTEST}" = "none" ]
27 then
28 exit 0
29 fi
30
31 Echo_message "Begin installing memtest..."
32
33 # Requiring stage file
34 Require_stagefile .build/config .build/bootstrap
35
36 # Checking stage file
37 Check_stagefile .build/binary_memtest
38
39 # Checking lock file
40 Check_lockfile .lock
41
42 # Creating lock file
43 Create_lockfile .lock
44
45 if [ "${LB_ARCHITECTURES}" != "amd64" ] && [ "${LB_ARCHITECTURES}" != "i386" ]
46 then
47 Echo_warning "skipping binary_memtest, foreign architecture."
48 exit 0
49 fi
50
51 if [ "${LB_BUILD_WITH_CHROOT}" = "true" ]
52 then
53
54 if [ -f chroot/usr/sbin/grub ] && [ ! -f chroot/boot/grub/menu.lst ]
55 then
56 GRUB="yes"
57
58 mkdir -p chroot/boot/grub
59 touch chroot/boot/grub/menu.lst
60 fi
61 fi
62
63 # Checking depends
64 case "${LB_MEMTEST}" in
65 memtest86)
66 Check_package chroot/boot/memtest86.bin memtest86
67 ;;
68
69 memtest86+)
70 Check_package chroot/boot/memtest86+.bin memtest86+
71 ;;
72 esac
73
74 # Restoring cache
75 Restore_cache cache/packages.binary
76
77 # Installing depends
78 Install_package
79
80 # Setting destination directory
81 case "${LB_INITRAMFS}" in
82 casper)
83 DESTDIR="binary/casper"
84 ;;
85
86 live-boot)
87 DESTDIR="binary/live"
88 ;;
89
90 *)
91 DESTDIR="binary/boot"
92 ;;
93 esac
94
95 Check_multiarchitectures
96
97 # Creating directory
98 mkdir -p "${DESTDIR}"
99
100 # Installing memtest
101 case "${LB_BUILD_WITH_CHROOT}" in
102 true)
103 cp chroot/boot/${LB_MEMTEST}.bin "${DESTDIR}"/memtest
104 ;;
105
106 false)
107 cp /boot/${LB_MEMTEST}.bin "${DESTDIR}"/memtest
108 ;;
109 esac
110
111 # Saving cache
112 Save_cache cache/packages.binary
113
114 # Removing depends
115 Remove_package
116
117 if [ "${GRUB}" ]
118 then
119 rm -rf chroot/boot/grub
120 fi
121
122 # Creating stage file
123 Create_stagefile .build/binary_memtest
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'build netboot binary image')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if ! In_list netboot "${LB_BINARY_IMAGES}"
27 then
28 exit 0
29 fi
30
31 if [ "${LB_NET_TARBALL}" = "false" ]
32 then
33 exit 0
34 fi
35
36 Echo_message "Begin building binary netboot image..."
37
38 # Requiring stage file
39 Require_stagefile .build/config .build/bootstrap
40
41 # Checking stage file
42 Check_stagefile .build/binary_netboot
43
44 # Checking lock file
45 Check_lockfile .lock
46
47 # Creating lock file
48 Create_lockfile .lock
49
50 if [ "${LB_ARCHITECTURES}" = "sparc" ]
51 then
52 # Checking depends
53 Check_package chroot/usr/bin/elftoaout sparc-utils
54
55 # Restoring cache
56 Restore_cache cache/packages.binary
57
58 # Installing depends
59 Install_package
60
61 # Set target and source directories
62 DESTDIR="tftpboot"
63 case "${LB_INITRAMFS}" in
64 casper)
65 ORIGDIR="binary/casper"
66 ;;
67
68 live-boot)
69 ORIGDIR="binary/live"
70 ;;
71
72 *)
73 ORIGDIR="binary/boot"
74 ;;
75 esac
76
77 # Find defaults
78 DEFAULT_FLAVOUR="$(echo ${LB_LINUX_FLAVOURS} | awk '{ print $1 }')"
79 DEFAULT_KERNEL="$(basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR})"
80 DEFAULT_INITRD="initrd.img-$(echo ${DEFAULT_KERNEL} | sed -e 's|vmlinuz-||')"
81 DEFAULT_MAP="$(echo chroot/boot/System.map-*${DEFAULT_FLAVOUR})"
82
83 gzip -cd ${ORIGDIR}/${DEFAULT_KERNEL} > kernel.tmp
84
85 mkdir -p ${DESTDIR}
86 rm -f ${DESTDIR}/boot.img
87 elftoaout -o ${DESTDIR}/boot.img kernel.tmp
88
89 case "${DEFAULT_FLAVOUR}" in
90 sparc32)
91 piggyback ${DESTDIR}/boot.img ${DEFAULT_MAP} ${ORIGDIR}/${DEFAULT_INITRD}
92 ;;
93 sparc64)
94 piggyback64 ${DESTDIR}/boot.img ${DEFAULT_MAP} ${ORIGDIR}/${DEFAULT_INITRD}
95 ;;
96 *)
97 Echo_error "Invalid default kernel flavour for sparc \"%s\"" "${DEFAULT_FLAVOUR}"
98 exit 1;
99 ;;
100 esac
101
102 # Pad boot.img
103 REMAINDER=$((( 4 - $(stat -c %s ${DESTDIR}/boot.img) % 4 ) % 4))
104 dd if=/dev/zero bs=1 count=${REMAINDER} >> ${DESTDIR}/boot.img
105
106 # No need for kernel and initrd images in the binary
107 rm -f ${ORIGDIR}/vmlinuz-*
108 rm -f ${ORIGDIR}/initrd.img-*
109
110 # Clean temporaries
111 rm -f kernel.tmp
112
113 # Saving cache
114 Save_cache cache/packages.binary
115
116 # Removing depends
117 Remove_package
118 fi
119
120 # Remove old binary
121 rm -f binary.netboot.tar binary.netboot.tar.gz binary.netboot.tar.bz2 binary.netboot.tar.xz binary.netboot.tar.xz
122
123 # Creating image file
124 ROOT_DIR=$(basename ${LB_NET_ROOT_PATH})
125
126 if [ "${ROOT_DIR}" = "chroot" ]
127 then
128 mv chroot chroot.tmp
129 fi
130
131 if [ "${ROOT_DIR}" != "binary" ]
132 then
133 mv binary ${ROOT_DIR}
134 fi
135
136 mkdir binary.tmp
137 mv ${ROOT_DIR} tftpboot binary.tmp
138 cd binary.tmp
139
140 # Moving kernel and initrd image arround
141 mkdir tftpboot/live
142 mv */live/vmlinuz* */live/initrd* tftpboot/live
143
144 tar cf ../binary.netboot.tar *
145
146 case "${LB_COMPRESSION}" in
147 bzip2)
148 bzip2 ${BZIP2_OPTIONS} ../binary.netboot.tar
149 ;;
150
151 gzip)
152 gzip ${GZIP_OPTIONS} ../binary.netboot.tar
153 ;;
154
155 lzip)
156 lzip ${LZIP_OPTIONS} ../binary.netboot.tar
157 ;;
158
159 xz)
160 xz ${XZ_OPTIONS} ../binary.netboot.tar
161 ;;
162
163 none)
164 ;;
165 esac
166
167 mv * ../
168 cd "${OLDPWD}"
169 rmdir binary.tmp
170
171 if [ "${ROOT_DIR}" != "binary" ]
172 then
173 mv ${ROOT_DIR} binary
174 fi
175
176 if [ "${ROOT_DIR}" = "chroot" ]
177 then
178 mv chroot.tmp chroot
179 fi
180
181 # Creating stage file
182 Create_stagefile .build/binary_netboot
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'install local packages into binary')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 Echo_message "Begin installing local package lists..."
27
28 # Requiring stage file
29 Require_stagefile .build/config .build/bootstrap
30
31 # Checking stage file
32 Check_stagefile .build/binary_package-lists
33
34 # Checking lock file
35 Check_lockfile .lock
36
37 # Creating lock file
38 Create_lockfile .lock
39
40 if ls config/package-lists/*.list > /dev/null 2>&1 || \
41 ls config/package-lists/*.list.binary > /dev/null 2>&1
42 then
43 case "${LB_BUILD_WITH_CHROOT}" in
44 true)
45 # Restoring cache
46 Restore_cache cache/packages.chroot
47
48 # Check depends
49 Check_package chroot/usr/bin/apt-ftparchive apt-utils
50 Check_package chroot/usr/bin/grep-aptavail dctrl-tools
51
52 # Installing depends
53 Install_package
54 ;;
55
56 false)
57 if [ ! -e /usr/bin/apt-ftparchive ]; then
58 # apt-utils
59 Echo_error "/usr/bin/apt-ftparchive - no such file."
60 exit 1
61 fi
62
63 if [ ! -e /usr/bin/grep-aptavail ]; then
64 # dctrl-tools
65 Echo_error "/usr/bin/grep-aptavail - no such file."
66 exit 1
67 fi
68 ;;
69 esac
70
71 if [ -e "${LIVE_BUILD}/share/bin/Packages" ]
72 then
73 cp "${LIVE_BUILD}/share/bin/Packages" chroot/bin
74 else
75 cp /usr/share/live/build/bin/Packages chroot/bin
76 fi
77
78 mkdir -p chroot/binary.deb/archives/partial
79 mv chroot/var/lib/dpkg/status chroot/var/lib/dpkg/status.tmp
80 touch chroot/var/lib/dpkg/status
81
82 for LIST in config/package-lists/*.list \
83 config/package-lists/*.list.binary
84 do
85 if [ -e "${LIST}" ]
86 then
87 # Generate package list
88 Expand_packagelist "${LIST}" "config/package-lists" > chroot/root/"$(basename ${LIST})"
89
90 # Downloading additional packages
91 Chroot chroot "xargs --arg-file=/root/$(basename ${LIST}) apt-get ${APT_OPTIONS} -o Dir::Cache=/binary.deb --download-only install"
92
93 # Remove package list
94 rm chroot/root/"$(basename ${LIST})"
95 fi
96 done
97
98 for FILE in chroot/binary.deb/archives/*.deb
99 do
100 SOURCE="$(dpkg -f ${FILE} Source | awk '{ print $1 }')"
101 SECTION="$(dpkg -f ${FILE} Section | awk '{ print $1 }')"
102
103 if [ -z "${SOURCE}" ]
104 then
105 SOURCE="$(basename ${FILE} | awk -F_ '{ print $1 }')"
106 fi
107
108 case "${SOURCE}" in
109 lib?*)
110 LETTER="$(echo ${SOURCE} | sed 's|\(....\).*|\1|')"
111 ;;
112
113 *)
114 LETTER="$(echo ${SOURCE} | sed 's|\(.\).*|\1|')"
115 ;;
116 esac
117
118 if echo "${SECTION}" | grep -qs contrib
119 then
120 SECTION="contrib"
121 elif echo "${SECTION}" | grep -qs non-free
122 then
123 SECTION="non-free"
124 else
125 SECTION="main"
126 fi
127
128 # Install directory
129 mkdir -p binary/pool/${SECTION}/"${LETTER}"/"${SOURCE}"
130
131 # Move files
132 mv "${FILE}" binary/pool/${SECTION}/"${LETTER}"/"${SOURCE}"
133 done
134
135 cd binary
136
137 for SECTION in pool/*
138 do
139 SECTION="$(basename ${SECTION})"
140
141 mkdir -p dists/${LB_PARENT_DISTRIBUTION}/${SECTION}/binary-${LB_ARCHITECTURES}
142 apt-ftparchive packages pool/${SECTION} > dists/${LB_PARENT_DISTRIBUTION}/${SECTION}/binary-${LB_ARCHITECTURES}/Packages
143 gzip -9 -c dists/${LB_PARENT_DISTRIBUTION}/${SECTION}/binary-${LB_ARCHITECTURES}/Packages > dists/${LB_PARENT_DISTRIBUTION}/${SECTION}/binary-${LB_ARCHITECTURES}/Packages.gz
144 done
145
146 cd "${OLDPWD}"
147
148 rm -f chroot/bin/Packages
149
150 rm -rf chroot/binary.deb
151 mv chroot/var/lib/dpkg/status.tmp chroot/var/lib/dpkg/status
152
153 case "${LB_BUILD_WITH_CHROOT}" in
154 true)
155 # Removing depends
156 Remove_package
157
158 # Saving cache
159 Save_cache cache/packages.chroot
160 ;;
161 esac
162
163 # Creating stage file
164 Create_stagefile .build/binary_package-lists
165 fi
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'build rootfs image')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 Echo_message "Begin building root filesystem image..."
27
28 # Requiring stage file
29 Require_stagefile .build/config .build/bootstrap .build/binary_chroot
30
31 # Checking stage file
32 Check_stagefile .build/binary_rootfs
33
34 # Checking lock file
35 Check_lockfile .lock
36
37 # Creating lock file
38 Create_lockfile .lock
39
40 case "${LB_ARCHITECTURES}" in
41 amd64|i386)
42 LINUX="vmlinuz"
43 ;;
44
45 powerpc)
46 LINUX="vmlinux"
47 ;;
48 esac
49
50 case "${LB_INITRAMFS}" in
51 casper)
52 INITFS="casper"
53 ;;
54
55 live-boot)
56 INITFS="live"
57 ;;
58
59 *)
60 INITFS="boot"
61 ;;
62 esac
63
64 # Creating directory
65 mkdir -p binary/${INITFS}
66
67 for STAGE in ${LB_CACHE_STAGES}
68 do
69 if [ "${STAGE}" = "rootfs" ] && [ -d cache/binary_rootfs ]
70 then
71 # Removing old chroot
72 rm -rf binary/"${INITFS}"/filesystem.*
73
74 # Restoring old cache
75 mkdir -p binary/"${INITFS}"
76 ${LB_ROOT_COMMAND} cp -a cache/binary_rootfs/filesystem.* binary/"${INITFS}"
77
78 if [ -n "${LB_ROOT_COMMAND}" ]
79 then
80 ${LB_ROOT_COMMAND} chown -R $(whoami):$(whoami) binary
81 fi
82
83 # Creating stage file
84 Create_stagefile .build/binary_rootfs
85 exit 0
86 fi
87 done
88
89 case "${LB_CHROOT_FILESYSTEM}" in
90 ext2|ext3|ext4)
91 # Checking depends
92 Check_package chroot/sbin/mkfs.${LB_CHROOT_FILESYSTEM} e2fsprogs
93
94 # Restoring cache
95 Restore_cache cache/packages.binary
96
97 # Installing depends
98 Install_package
99
100 # Remove old image
101 if [ -f binary/${INITFS}/filesystem.${LB_CHROOT_FILESYSTEM} ]
102 then
103 rm -f binary/${INITFS}/filesystem.${LB_CHROOT_FILESYSTEM}
104 fi
105
106 case "${LB_BUILD_WITH_CHROOT}" in
107 true)
108 DU_DIM="$(du -ms chroot/chroot | cut -f1)"
109 INODES="$(find chroot/chroot | wc -l)"
110 ;;
111
112 false)
113 DU_DIM="$(du -ms chroot | cut -f1)"
114 INODES="$(find chroot | wc -l)"
115 ;;
116 esac
117
118 REAL_DIM="$(Calculate_partition_size ${DU_DIM} ${LB_CHROOT_FILESYSTEM})"
119 REAL_INODES="$(Calculate_partition_size ${INODES} ${LB_CHROOT_FILESYSTEM})"
120
121 case "${LB_BUILD_WITH_CHROOT}" in
122 true)
123 dd if=/dev/zero of=chroot/filesystem.${LB_CHROOT_FILESYSTEM} bs=1024k count=0 seek=${REAL_DIM}
124
125 if ! Chroot chroot "test -s /etc/mtab"
126 then
127 Chroot chroot "ln -s /proc/mounts/mtab /etc/mtab"
128 FAKE_MTAB="true"
129 fi
130
131 Chroot chroot "mkfs.${LB_CHROOT_FILESYSTEM} -F -b 1024 -N ${REAL_INODES} -m 0 filesystem.${LB_CHROOT_FILESYSTEM}"
132
133 mkdir -p filesystem.tmp
134 ${LB_ROOT_COMMAND} mount -o loop chroot/filesystem.${LB_CHROOT_FILESYSTEM} filesystem.tmp
135 cp -a chroot/chroot/* filesystem.tmp
136
137 if [ "${FAKE_MTAB}" = "true" ]
138 then
139 Chroot chroot "rm -f /etc/mtab"
140 fi
141
142 ${LB_ROOT_COMMAND} umount filesystem.tmp
143 rmdir filesystem.tmp
144
145 # Move image
146 mv chroot/filesystem.${LB_CHROOT_FILESYSTEM} binary/${INITFS}
147
148 case "${LB_MODE}" in
149 ubuntu)
150 du -B 1 -s chroot/chroot | cut -f1 > binary/${INITFS}/filesystem.size
151 ;;
152 esac
153
154 if [ -e chroot/chroot.cache ]
155 then
156 rm -f .lock
157 mv chroot/chroot chroot.tmp
158
159 lb chroot_archives binary remove ${@}
160 lb chroot_apt remove ${@}
161 lb chroot_hostname remove ${@}
162 lb chroot_resolv remove ${@}
163 lb chroot_hosts remove ${@}
164 lb chroot_sysv-rc remove ${@}
165 lb chroot_upstart remove ${@}
166 lb chroot_dpkg remove ${@}
167 lb chroot_debianchroot remove ${@}
168 lb chroot_sysfs remove ${@}
169 lb chroot_selinuxfs remove ${@}
170 lb chroot_proc remove ${@}
171 lb chroot_devpts remove ${@}
172
173 rm -rf chroot
174 mv chroot.tmp chroot
175
176 lb chroot_devpts install ${@}
177 lb chroot_proc install ${@}
178 lb chroot_selinuxfs install ${@}
179 lb chroot_sysfs install ${@}
180 lb chroot_debianchroot install ${@}
181 lb chroot_dpkg install ${@}
182 lb chroot_sysv-rc install ${@}
183 lb chroot_upstart install ${@}
184 lb chroot_hosts install ${@}
185 lb chroot_resolv install ${@}
186 lb chroot_hostname install ${@}
187 lb chroot_apt install ${@}
188 lb chroot_archives binary install ${@}
189
190 touch .lock
191 else
192 rm -rf chroot/chroot
193
194 # Removing depends
195 Remove_package
196 fi
197 ;;
198
199 false)
200 dd if=/dev/zero of=binary/${INITFS}/filesystem.${LB_CHROOT_FILESYSTEM} bs=1024k count=0 seek=${REAL_DIM}
201 mkfs.${LB_CHROOT_FILESYSTEM} -F -b 1024 -N ${REAL_INODES} -m 0 binary/${INITFS}/filesystem.${LB_CHROOT_FILESYSTEM}
202
203 mkdir -p filesystem.tmp
204 ${LB_ROOT_COMMAND} mount -o loop binary/${INITFS}/filesystem.${LB_CHROOT_FILESYSTEM} filesystem.tmp
205 cp -a chroot/* filesystem.tmp
206
207 ${LB_ROOT_COMMAND} umount filesystem.tmp
208 rmdir filesystem.tmp
209 ;;
210 esac
211
212 # Saving cache
213 Save_cache cache/packages.binary
214 ;;
215
216 jffs2)
217 # Checking depends
218 Check_package chroot/usr/sbin/mkfs.jffs2 mtd-tools
219
220 # Restoring cache
221 Restore_cache cache/packages.binary
222
223 # Installing depends
224 Install_package
225
226 # Remove old jffs2 image
227 if [ -f binary/${INITFS}/filesystem.jffs2 ]
228 then
229 rm -f binary/${INITFS}/filesystem.jffs2
230 fi
231
232 if [ -n "${LB_JFFS2_ERASEBLOCK}" ]
233 then
234 JFFS2_OPTIONS="--eraseblock=${LB_JFFS2_ERASEBLOCK}"
235 fi
236
237 case "${LB_BUILD_WITH_CHROOT}" in
238 true)
239 Chroot chroot "mkfs.jffs2 ${JFFS2_OPTIONS} --root=chroot --output filesystem.jffs2"
240
241 # Move image
242 mv chroot/filesystem.jffs2 binary/${INITFS}
243
244 if [ -e chroot/chroot.cache ]
245 then
246 rm -f .lock
247 mv chroot/chroot chroot.tmp
248
249 lb chroot_archives binary remove ${@}
250 lb chroot_apt remove ${@}
251 lb chroot_hostname remove ${@}
252 lb chroot_resolv remove ${@}
253 lb chroot_hosts remove ${@}
254 lb chroot_sysv-rc remove ${@}
255 lb chroot_upstart remove ${@}
256 lb chroot_dpkg remove ${@}
257 lb chroot_debianchroot remove ${@}
258 lb chroot_sysfs remove ${@}
259 lb chroot_selinuxfs remove ${@}
260 lb chroot_proc remove ${@}
261 lb chroot_devpts remove ${@}
262
263 rm -rf chroot
264 mv chroot.tmp chroot
265
266 lb chroot_devpts install ${@}
267 lb chroot_proc install ${@}
268 lb chroot_selinuxfs install ${@}
269 lb chroot_sysfs install ${@}
270 lb chroot_debianchroot install ${@}
271 lb chroot_dpkg install ${@}
272 lb chroot_sysv-rc install ${@}
273 lb chroot_upstart install ${@}
274 lb chroot_hosts install ${@}
275 lb chroot_resolv install ${@}
276 lb chroot_hostname install ${@}
277 lb chroot_apt install ${@}
278 lb chroot_archives binary install ${@}
279
280 touch .lock
281 else
282 rm -rf chroot/chroot
283
284 # Removing depends
285 Remove_package
286 fi
287 ;;
288
289 false)
290 mkfs.jffs2 ${JFFS2_OPTIONS} --root=chroot --output binary/${INITFS}/filesystem.jffs2
291 ;;
292 esac
293
294 # Saving cache
295 Save_cache cache/packages.binary
296 ;;
297
298 plain)
299 if [ -d binary/${INITFS}/filesystem.dir ]
300 then
301 rm -rf binary/${INITFS}/filesystem.dir
302 fi
303
304 case "${LB_BUILD_WITH_CHROOT}" in
305 true)
306 mv chroot/chroot binary/${INITFS}/filesystem.dir
307 ;;
308
309 false)
310 cp -a chroot binary/${INITFS}/filesystem.dir
311 ;;
312 esac
313 ;;
314
315 squashfs)
316 # Checking depends
317 Check_package chroot/usr/share/doc/squashfs-tools squashfs-tools
318
319 # Restoring cache
320 Restore_cache cache/packages.binary
321
322 # Installing depends
323 Install_package
324
325 Echo_message "Preparing squashfs image..."
326 Echo_message "This may take a while."
327
328 # Remove old squashfs image
329 if [ -f binary/${INITFS}/filesystem.squashfs ]
330 then
331 rm -f binary/${INITFS}/filesystem.squashfs
332 fi
333
334 # Remove stale squashfs image
335 rm -f chroot/filesystem.squashfs
336
337 MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -no-progress"
338
339 if [ "${_VERBOSE}" = "true" ]
340 then
341 MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -info"
342 fi
343
344 if [ -f config/rootfs/squashfs.sort ]
345 then
346 MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -sort squashfs.sort"
347
348 case "${LB_BUILD_WITH_CHROOT}" in
349 true)
350 cp config/rootfs/squashfs.sort chroot
351 ;;
352
353 false)
354 cp config/rootfs/squashfs.sort .
355 ;;
356 esac
357 fi
358
359 if [ "${LB_PARENT_DISTRIBUTION}" != "squeeze" ] && [ "${LB_MODE}" != "ubuntu" ]
360 then
361 MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -comp xz"
362 fi
363
364 case "${LB_BUILD_WITH_CHROOT}" in
365 true)
366 if [ -e config/rootfs/excludes ]
367 then
368 cp config/rootfs/excludes chroot/excludes
369
370 MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -wildcards -ef /excludes"
371 fi
372
373 # Create image
374 Chroot chroot "mksquashfs chroot filesystem.squashfs ${MKSQUASHFS_OPTIONS}"
375
376 rm -f chroot/chroot/excludes
377
378 case "${LB_MODE}" in
379 ubuntu)
380 du -B 1 -s chroot/chroot | cut -f1 > binary/${INITFS}/filesystem.size
381 ;;
382 esac
383
384 # Move image
385 ${LB_ROOT_COMMAND} mv chroot/filesystem.squashfs binary/${INITFS}
386 ${LB_ROOT_COMMAND} rm -f chroot/squashfs.sort
387
388 if [ -e chroot/chroot.cache ]
389 then
390 rm -f .lock
391 mv chroot/chroot chroot.tmp
392
393 lb chroot_archives binary remove ${@}
394 lb chroot_apt remove ${@}
395 lb chroot_hostname remove ${@}
396 lb chroot_resolv remove ${@}
397 lb chroot_hosts remove ${@}
398 lb chroot_sysv-rc remove ${@}
399 lb chroot_upstart remove ${@}
400 lb chroot_dpkg remove ${@}
401 lb chroot_debianchroot remove ${@}
402 lb chroot_sysfs remove ${@}
403 lb chroot_selinuxfs remove ${@}
404 lb chroot_proc remove ${@}
405 lb chroot_devpts remove ${@}
406
407 rm -rf chroot
408 mv chroot.tmp chroot
409
410 lb chroot_devpts install ${@}
411 lb chroot_proc install ${@}
412 lb chroot_selinuxfs install ${@}
413 lb chroot_sysfs install ${@}
414 lb chroot_debianchroot install ${@}
415 lb chroot_dpkg install ${@}
416 lb chroot_sysv-rc install ${@}
417 lb chroot_upstart install ${@}
418 lb chroot_hosts install ${@}
419 lb chroot_resolv install ${@}
420 lb chroot_hostname install ${@}
421 lb chroot_apt install ${@}
422 lb chroot_archives binary install ${@}
423
424 touch .lock
425 else
426 rm -rf chroot/chroot
427
428 # Removing depends
429 Remove_package
430 fi
431
432 ${LB_ROOT_COMMAND} chmod 0644 binary/${INITFS}/filesystem.squashfs
433 ;;
434
435 false)
436 if [ -e config/rootfs/excludes ]
437 then
438 MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -wildcards -ef config/rootfs/excludes"
439 fi
440
441 mksquashfs chroot binary/${INITFS}/filesystem.squashfs ${MKSQUASHFS_OPTIONS}
442
443 case "${LB_MODE}" in
444 ubuntu)
445 du -B 1 -s chroot | cut -f1 > binary/${INITFS}/filesystem.size
446 ;;
447 esac
448 ;;
449 esac
450
451 if [ -n "${LB_ROOT_COMMAND}" ]
452 then
453 ${LB_ROOT_COMMAND} chown -R $(whoami):$(whoami) binary/${INITFS}
454 fi
455
456 # Saving cache
457 Save_cache cache/packages.binary
458 ;;
459
460 none)
461 if [ -d binary ]
462 then
463 rm -rf binary
464 fi
465
466 case "${LB_BUILD_WITH_CHROOT}" in
467 true)
468 mv chroot/chroot binary
469 ;;
470
471 false)
472 Echo_message "This may take a while."
473 cp -a chroot binary
474 ;;
475 esac
476 ;;
477
478 esac
479
480 for STAGE in ${LB_CACHE_STAGES}
481 do
482 if [ "${STAGE}" = "rootfs" ]
483 then
484 rm -rf cache/binary_rootfs
485
486 mkdir -p cache/binary_rootfs
487
488 if [ "${LB_CHROOT_FILESYSTEM}" != "none" ]
489 then
490 ${LB_ROOT_COMMAND} cp -a binary/"${INITFS}"/filesystem.* cache/binary_rootfs
491 fi
492
493 if [ -n "${LB_ROOT_COMMAND}" ]
494 then
495 ${LB_ROOT_COMMAND} chown -R $(whoami):$(whoami) cache/binary_rootfs
496 fi
497 fi
498 done
499
500 # Creating stage file
501 Create_stagefile .build/binary_rootfs
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'installs silo into binary')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if [ "${LB_BOOTLOADER}" != "silo" ]
27 then
28 exit 0
29 fi
30
31 # Check image type
32 case "${LB_BINARY_IMAGES}" in
33 iso*|hdd*|tar)
34 ;;
35
36 netboot)
37 # silo not required for sparc netbooting
38 exit 0
39 ;;
40 esac
41
42 Echo_message "Begin installing silo..."
43
44 # Requiring stage file
45 Require_stagefile .build/config .build/bootstrap
46
47 # Checking stage file
48 Check_stagefile .build/binary_silo
49
50 # Checking silo templates
51 Check_templates silo
52
53 # Checking lock file
54 Check_lockfile .lock
55
56 # Creating lock file
57 Create_lockfile .lock
58
59 # Check architecture
60 Check_architectures sparc
61
62 # Checking depends
63 Check_package chroot/usr/sbin/silo silo
64
65 # Restoring cache
66 Restore_cache cache/packages.binary
67
68 # Installing depends
69 Install_package
70
71 # Local functions
72 Silo_live_entry ()
73 {
74 LABEL="${1}"
75 KERNEL="${2}"
76 INITRD="${3}"
77 APPEND="${4}"
78
79 DIRECTORY="/$(basename ${DESTDIR_LIVE})"
80
81 LINUX_LIVE="${LINUX_LIVE}\nimage=${DIRECTORY}/${KERNEL}\n"
82 LINUX_LIVE="${LINUX_LIVE}\t label=${LABEL}\n"
83 LINUX_LIVE="${LINUX_LIVE}\t initrd=${DIRECTORY}/${INITRD}\n"
84 LINUX_LIVE="${LINUX_LIVE}\t append=\"${INITFS:+boot=${INITFS} }config LB_BOOTAPPEND_LIVE ${APPEND}\"\n"
85 }
86
87 Silo_install_entry ()
88 {
89 LABEL="${1}"
90 KERNEL="${2}"
91 INITRD="${3}"
92 APPEND="${4}"
93
94 DIRECTORY="/$(basename ${DESTDIR_INSTALL})"
95
96 if [ "${LABEL}" != "rescue" ] && [ "${LABEL}" != "rescuegui" ]
97 then
98 APPEND="${APPEND} quiet"
99 fi
100
101 LINUX_INSTALL="${LINUX_INSTALL}\nimage=${DIRECTORY}/${KERNEL}\n"
102 LINUX_INSTALL="${LINUX_INSTALL}\t label=${LABEL}\n"
103 LINUX_INSTALL="${LINUX_INSTALL}\t initrd=${DIRECTORY}/${INITRD}\n"
104 LINUX_INSTALL="${LINUX_INSTALL}\t append=\"LB_BOOTAPPEND_LIVE ${APPEND} LB_BOOTAPPEND_INSTALL\"\n"
105 }
106
107 # Setting destination directories
108 DESTDIR_INSTALL="binary/install"
109 case "${LB_INITRAMFS}" in
110 casper)
111 INITFS="casper"
112 DESTDIR_LIVE="binary/casper"
113 ;;
114
115 live-boot)
116 INITFS="live"
117 DESTDIR_LIVE="binary/live"
118 ;;
119
120 *)
121 INITFS=""
122 DESTDIR_LIVE="binary/boot"
123 ;;
124 esac
125
126 # Creating directory
127 mkdir -p "${DESTDIR_LIVE}"
128
129 # Setting boot parameters
130 if [ "${LB_UNION_FILESYSTEM}" != "aufs" ]
131 then
132 LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE} union=${LB_UNION_FILESYSTEM}"
133 fi
134
135 if [ -n "${LB_NET_COW_PATH}" ]
136 then
137 Echo_error "Net cow not supported on silo"
138 exit 1
139 fi
140
141 if [ "${LB_EXPOSED_ROOT}" != "false" ]
142 then
143 LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE} exposedroot"
144 fi
145
146 LB_BOOTAPPEND_LIVE="$(echo ${LB_BOOTAPPEND_LIVE} | sed -e 's| ||')"
147
148 # Assembling kernel configuration
149
150 # Default entries
151 DEFAULT_FLAVOUR="$(echo ${LB_LINUX_FLAVOURS} | awk '{ print $1 }')"
152 DEFAULT_KERNEL="$(basename chroot/boot/vmlinuz-*${DEFAULT_FLAVOUR})"
153 DEFAULT_INITRD="initrd.img-$(echo ${DEFAULT_KERNEL} | sed -e 's|vmlinuz-||')"
154
155 Silo_live_entry "live" "${DEFAULT_KERNEL}" "${DEFAULT_INITRD}"
156
157 if [ "${LB_BOOTAPPEND_FAILSAFE}" != "none" ]
158 then
159 Silo_live_entry "live-failsafe" "${DEFAULT_KERNEL}" "${DEFAULT_INITRD}" "${LB_BOOTAPPEND_FAILSAFE}"
160 fi
161
162 if [ "$(echo ${LB_LINUX_FLAVOURS} | wc -w)" -gt "1" ]
163 then
164 for KERNEL in chroot/boot/vmlinuz-*
165 do
166 KERNEL_IMAGE="$(basename ${KERNEL})"
167 KERNEL_VERSION="$(echo ${KERNEL_IMAGE} | sed -e 's|vmlinuz-||')"
168 INITRD="initrd.img-${KERNEL_VERSION}"
169
170 Silo_live_entry "live-${KERNEL_VERSION}" "${KERNEL_IMAGE}" "${INITRD}"
171 Silo_live_entry "live-${KERNEL_VERSION}-failsafe" "${KERNEL_IMAGE}" "${INITRD}" "${LB_BOOTAPPEND_FAILSAFE}"
172 done
173 fi
174
175 LINUX_LIVE="$(/bin/echo ${LINUX_LIVE} | sed -e 's|binary||g' -e 's|//|/|g')"
176
177 # Assembling debian-installer configuration
178 if [ "${LB_DEBIAN_INSTALLER}" != "false" ]
179 then
180 VMLINUZ_DI="vmlinuz"
181 INITRD_DI="initrd.gz"
182 APPEND_DI="vga=normal"
183
184 Silo_install_entry "linux" "${VMLINUZ_DI}" "${INITRD_DI}" "${APPEND_DI}"
185 Silo_install_entry "install" "${VMLINUZ_DI}" "${INITRD_DI}" "${APPEND_DI}"
186 Silo_install_entry "expert" "${VMLINUZ_DI}" "${INITRD_DI}" "priority=low ${APPEND_DI}"
187 Silo_install_entry "rescue" "${VMLINUZ_DI}" "${INITRD_DI}" "rescue/enable=true ${APPEND_DI}"
188 Silo_install_entry "auto" "${VMLINUZ_DI}" "${INITRD_DI}" "auto=true priority=critical ${APPEND_DI}"
189 fi
190
191 LINUX_INSTALL="$(/bin/echo ${LINUX_INSTALL} | sed -e 's|binary||g' -e 's|//|/|g')"
192
193 case "${LB_BINARY_IMAGES}" in
194 iso*|hdd*)
195 # Copying silo
196 mkdir -p binary/boot
197
198 case "${LB_BUILD_WITH_CHROOT}" in
199 true)
200 cp chroot/boot/second.b binary/boot
201 ;;
202
203 false)
204 cp /boot/second.b binary/boot
205 ;;
206 esac
207
208 cp -r "${TEMPLATES}"/* binary/boot
209
210 if [ "${LB_DEBIAN_INSTALLER}" = "false" ]
211 then
212 rm -f binary/boot/debian.txt.install
213 else
214 mv binary/boot/debian.txt.install binary/boot/debian.txt
215 fi
216
217 # Configure silo templates
218 sed -i -e "s|LINUX_LIVE|${LINUX_LIVE}|" \
219 -e "s|LINUX_INSTALL|${LINUX_INSTALL}|" \
220 binary/boot/silo.conf
221 sed -i -e "s#LB_BOOTAPPEND_INSTALL#${LB_BOOTAPPEND_INSTALL}#" \
222 -e "s#LB_BOOTAPPEND_LIVE#${LB_BOOTAPPEND_LIVE}#" \
223 binary/boot/silo.conf
224 sed -i -e "s|LB_DATE|$(date +%Y%m%d)|" \
225 -e "s|LB_VERSION|${VERSION}|" \
226 -e "s|LB_DISTRIBUTION|${LB_DISTRIBUTION}|" \
227 binary/boot/debian.txt
228 ;;
229 esac
230
231 # Saving cache
232 Save_cache cache/packages.binary
233
234 # Removing depends
235 Remove_package
236
237 # Creating stage file
238 Create_stagefile .build/binary_silo
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'installs syslinux into binary')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if [ "${LB_BOOTLOADER}" != "syslinux" ]
27 then
28 exit 0
29 fi
30
31 Echo_message "Begin installing syslinux..."
32
33 # Requiring stage file
34 Require_stagefile .build/config .build/bootstrap
35
36 # Checking stage file
37 Check_stagefile .build/binary_syslinux
38
39 # Checking lock file
40 Check_lockfile .lock
41
42 # Creating lock file
43 Create_lockfile .lock
44
45 # Check architecture
46 Check_architectures amd64 i386
47 Check_crossarchitectures
48
49 # Assembling image specifics
50 case "${LB_BINARY_IMAGES}" in
51 iso*)
52 _BOOTLOADER="isolinux"
53
54 case "${LB_MODE}" in
55 progress-linux)
56 _TARGET="binary/boot"
57 ;;
58
59 *)
60 _TARGET="binary/isolinux"
61 ;;
62 esac
63 ;;
64
65 netboot)
66 _BOOTLOADER="pxelinux"
67 _TARGET="tftpboot"
68 ;;
69
70 hdd*|*)
71 _BOOTLOADER="syslinux"
72
73 case "${LB_MODE}" in
74 progress-linux)
75 _TARGET="binary/boot"
76 ;;
77
78 *)
79 _TARGET="binary/syslinux"
80 ;;
81 esac
82 ;;
83 esac
84
85 # Checking depends
86 case "${LB_BUILD_WITH_CHROOT}" in
87 true)
88 Check_package chroot/usr/bin/syslinux syslinux
89 Check_package chroot/usr/lib/syslinux syslinux-common
90
91 case "${LB_SYSLINUX_THEME}" in
92 live-build)
93 Check_package chroot/usr/bin/rsvg librsvg2-bin
94 ;;
95
96 *)
97 Check_package chroot/usr/share/syslinux/themes/${LB_SYSLINUX_THEME} syslinux-themes-${LB_SYSLINUX_THEME}
98
99 case "${LB_MODE}" in
100 ubuntu)
101 Check_package chroot/usr/share/gfxboot-theme-ubuntu/bootlogo.tar.gz gfxboot-theme-ubuntu
102 ;;
103 esac
104 ;;
105 esac
106 ;;
107
108 false)
109 if [ ! -e /usr/bin/syslinux ]
110 then
111 # syslinux
112 Echo_error "/usr/bin/syslinux - no such file."
113 exit 1
114 fi
115
116 if [ ! -e /usr/lib/syslinux ]
117 then
118 # syslinux-common
119 Echo_error "/usr/lib/syslinux - no such directory"
120 exit 1
121 fi
122
123 case "${LB_SYSLINUX_THEME}" in
124 live-build)
125 if [ ! -e /usr/bin/rsvg ]
126 then
127 # librsvg2-bin
128 Echo_error "/usr/bin/rsvg - no such file"
129 exit 1
130 fi
131 ;;
132
133 *)
134 if [ ! -e /usr/share/syslinux/themes/${LB_SYSLINUX_THEME} ]
135 then
136 # syslinux-theme
137 Echo_error "/usr/share/syslinux/themes/${LB_SYSLINUX_THEME} - no such directory."
138 exit 1
139 fi
140 ;;
141 esac
142 ;;
143 esac
144
145 # Restoring cache
146 Restore_cache cache/packages.binary
147
148 # Installing depends
149 Install_package
150
151 # FIXME: cleanup, unify, and extend themes for ${_BOOTLOADER}-live and ${_BOOTLOADER}-installer
152 if [ "${LB_SYSLINUX_THEME}" = "live-build" ]
153 then
154 if [ -e "config/bootloaders/${_BOOTLOADER}" ]
155 then
156 # Internal local copy
157 _SOURCE="config/bootloaders/${_BOOTLOADER}"
158 else
159 # Internal system copy
160 if [ -n "${LIVE_BUILD}" ]
161 then
162 _SOURCE="${LIVE_BUILD}/share/bootloaders/${_BOOTLOADER}"
163 else
164 _SOURCE="/usr/share/live/build/bootloaders/${_BOOTLOADER}"
165 fi
166 fi
167 else
168 # External copy from chroot or system
169 _SOURCE="/usr/share/syslinux/themes/${LB_SYSLINUX_THEME}/${_BOOTLOADER}-live"
170 fi
171
172 # Copying files
173 case "${LB_BUILD_WITH_CHROOT}" in
174 true)
175 mkdir -p $(dirname ${_TARGET})
176
177 # Copy in two steps since the theme can have absolute symlinks and would therefore not be dereferenced correctly
178 if [ "${LB_SYSLINUX_THEME}" = "live-build" ]
179 then
180 cp -a ${_SOURCE} chroot/root
181 Chroot chroot cp -aL /root/$(basename ${_SOURCE}) /root/$(basename ${_SOURCE}).tmp
182 rm -rf chroot/$(basename ${_SOURCE})
183 else
184 Chroot chroot cp -aL ${_SOURCE} /root/$(basename ${_SOURCE}).tmp
185 fi
186
187 case "${LB_MODE}" in
188 ubuntu)
189 Chroot chroot "tar xfz /usr/share/gfxboot-theme-ubuntu/bootlogo.tar.gz -C /root/$(basename ${_SOURCE}).tmp"
190 ;;
191 esac
192
193 mv chroot/root/$(basename ${_SOURCE}).tmp ${_TARGET}
194 ;;
195
196 false)
197 mkdir -p ${_TARGET}
198
199 cp -aL ${_SOURCE}/* ${_TARGET}
200
201 case "${LB_MODE}" in
202 ubuntu)
203 tar xfz /usr/share/gfxboot-theme-ubuntu/bootlogo.tar.gz -C ${_TARGET}
204 ;;
205 esac
206 ;;
207 esac
208
209 # Configuring files
210 if [ -e "${_TARGET}/live.cfg.in" ]
211 then
212 # This is all rather suboptimal.. needs prettifying at some point
213 _FLAVOURS="$(echo ${LB_LINUX_FLAVOURS} | wc -w)"
214
215 case "${_FLAVOURS}" in
216 1)
217 mv binary/live/vmlinuz-* binary/live/vmlinuz
218 mv binary/live/initrd.img-* binary/live/initrd.img
219
220 sed -e "s|@FLAVOUR@|${LB_LINUX_FLAVOURS}|g" \
221 -e "s|@LINUX@|/live/vmlinuz|g" \
222 -e "s|@INITRD@|/live/initrd.img|g" \
223 -e "s#@APPEND_LIVE@#${LB_BOOTAPPEND_LIVE}#g" \
224 -e "s#@APPEND_LIVE_FAILSAFE@#${LB_BOOTAPPEND_LIVE_FAILSAFE}#g" \
225 "${_TARGET}/live.cfg.in" >> "${_TARGET}/live.cfg"
226
227 rm -f "${_TARGET}/live.cfg.in"
228 ;;
229
230 *)
231 _NUMBER="0"
232
233 for _FLAVOUR in ${LB_LINUX_FLAVOURS}
234 do
235 _NUMBER="$((${_NUMBER} + 1))"
236
237 mv binary/live/vmlinuz-*-${_FLAVOUR} binary/live/vmlinuz${_NUMBER}
238 mv binary/live/initrd.img-*-${_FLAVOUR} binary/live/initrd${_NUMBER}.img
239
240 if [ "${_NUMBER}" -gt 1 ]
241 then
242 echo "" >> "${_TARGET}/live.cfg"
243 grep -v 'menu default' "${_TARGET}/live.cfg.in" >> "${_TARGET}/live.cfg"
244 else
245 cat "${_TARGET}/live.cfg.in" >> "${_TARGET}/live.cfg"
246 fi
247
248 sed -i -e "s|@FLAVOUR@|${_FLAVOUR}|g" \
249 -e "s|@LINUX@|/live/vmlinuz${_NUMBER}|g" \
250 -e "s|@INITRD@|/live/initrd${_NUMBER}.img|g" \
251 -e "s#@APPEND_LIVE@#${LB_BOOTAPPEND_LIVE}#g" \
252 -e "s#@APPEND_LIVE_FAILSAFE@#${LB_BOOTAPPEND_LIVE_FAILSAFE}#g" \
253 "${_TARGET}/live.cfg"
254 done
255
256 rm -f "${_TARGET}/live.cfg.in"
257 ;;
258 esac
259 elif [ -e "${_TARGET}/live.cfg" ]
260 then
261 sed -i -e "s#@LB_BOOTAPPEND_LIVE@#${LB_BOOTAPPEND_LIVE}#g" \
262 -e "s#@LB_BOOTAPPEND_LIVE_FAILSAFE@#${LB_BOOTAPPEND_LIVE_FAILSAFE}#g" \
263 ${_TARGET}/live.cfg
264 fi
265
266 if [ -e ${_TARGET}/install.cfg ]
267 then
268 sed -i -e "s#@LB_BOOTAPPEND_INSTALL@#${LB_BOOTAPPEND_INSTALL}#g" \
269 ${_TARGET}/install.cfg
270 fi
271
272 if [ -e "${_TARGET}/splash.svg.in" ]
273 then
274 case "${LB_MODE}" in
275 progress-linux)
276 _PROJECT="Progress Linux"
277
278 if ls config/package-lists/client-gnome.list*
279 then
280 _DESCRIPTION="Client GNOME"
281 elif ls config/package-lists/client-lxde.list* > /dev/null 2>&1
282 then
283 _DESCRIPTION="Client LXDE"
284 elif ls config/package-lists/server-lxc.list* > /dev/null 2>&1
285 then
286 _DESCRIPTION="Server LXC"
287 else
288 _DESCRIPTION="Standard"
289 fi
290 ;;
291
292 *)
293 _PROJECT="Debian GNU/Linux"
294 _DESCRIPTION=""
295 ;;
296
297 esac
298
299 eval _VERSION="$`echo RELEASE_${LB_DISTRIBUTION}`"
300 _DISTRIBUTION="${LB_DISTRIBUTION}"
301 _ARCHITECTURE="${LB_ARCHITECTURES}"
302 _DATE=$(date -R)
303 _YEAR="$(date +%Y)"
304 _MONTH="$(date +%m)"
305 _DAY="$(date +%d)"
306 _HOUR="$(date +%H)"
307 _MINUTE="$(date +%M)"
308 _SECOND="$(date +%S)"
309 _LINUX_VERSIONS="$(for _LINUX in chroot/boot/vmlinuz-* ; do chroot chroot apt-cache policy $(basename ${_LINUX} | sed -e 's|vmlinuz-|linux-image-|') | awk '/Installed: / { print $2 }' ; done | sort -u | tr "\n" " ")"
310 _LIVE_BUILD_VERSION="$(lb --version)"
311 _LIVE_BOOT_VERSION="$(chroot chroot apt-cache policy live-boot | awk '/Installed: / { print $2 }')"
312 _LIVE_CONFIG_VERSION="$(chroot chroot apt-cache policy live-config | awk '/Installed: / { print $2 }')"
313 _LIVE_TOOLS_VERSION="$(chroot chroot apt-cache policy live-tools | awk '/Installed: / { print $2 }')"
314
315 sed -e "s|@PROJECT@|${_PROJECT}|g" \
316 -e "s|@DISTRIBUTION@|${_DISTRIBUTION}|g" \
317 -e "s|@PARENT_DISTRIBUTION@|${LB_PARENT_DISTRIBUTION}|g" \
318 -e "s|@VERSION@|${_VERSION}|g" \
319 -e "s|@ARCHITECTURE@|${_ARCHITECTURE}|g" \
320 -e "s|@DESCRIPTION@|${_DESCRIPTION}|g" \
321 -e "s|@DATE@|${_DATE}|g" \
322 -e "s|@YEAR@|${_YEAR}|g" \
323 -e "s|@MONTH@|${_MONTH}|g" \
324 -e "s|@DAY@|${_DAY}|g" \
325 -e "s|@HOUR@|${_HOUR}|g" \
326 -e "s|@MINUTE@|${_MINUTE}|g" \
327 -e "s|@SECOND@|${_SECOND}|g" \
328 -e "s|@LINUX_VERSIONS@|${_LINUX_VERSIONS}|g" \
329 -e "s|@LIVE_BUILD_VERSION@|${_LIVE_BUILD_VERSION}|g" \
330 -e "s|@LIVE_BOOT_VERSION@|${_LIVE_BOOT_VERSION}|g" \
331 -e "s|@LIVE_CONFIG_VERSION@|${_LIVE_CONFIG_VERSION}|g" \
332 -e "s|@LIVE_TOOLS_VERSION@|${_LIVE_TOOLS_VERSION}|g" \
333 "${_TARGET}/splash.svg.in" > "${_TARGET}/splash.svg"
334
335 case "${LB_BUILD_WITH_CHROOT}" in
336 true)
337 cp "${_TARGET}/splash.svg" chroot
338 Chroot chroot "rsvg --format png --height 480 --width 640 splash.svg splash.png"
339 mv chroot/splash.png "${_TARGET}"
340 rm -f chroot/splash.svg
341 ;;
342
343 false)
344 rsvg --format png --height 480 --width 640 "${_TARGET}/splash.svg" "${_TARGET}/splash.png"
345 ;;
346 esac
347
348 rm -f "${_TARGET}/splash.svg.in" "${_TARGET}/splash.svg"
349 fi
350
351 case "${LB_MODE}" in
352 progress-linux)
353 for _FILE in "${_TARGET}/isolinux.bin" "${_TARGET}/isolinux.cfg" "${_TARGET}/syslinux.cfg"
354 do
355 if [ -e "${_FILE}" ]
356 then
357 mv "${_FILE}" "${_TARGET}/$(echo ${_FILE} | sed -e 's|.*linux|boot|')"
358 fi
359 done
360 ;;
361 esac
362
363 case "${LB_BUILD_WITH_CHROOT}" in
364 true)
365 # Saving cache
366 Save_cache cache/packages.binary
367
368 # Removing depends
369 Remove_package
370 ;;
371 esac
372
373 # Creating stage file
374 Create_stagefile .build/binary_syslinux
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'build harddisk binary image')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if ! In_list tar "${LB_BINARY_IMAGES}"
27 then
28 exit 0
29 fi
30
31 Echo_message "Begin building binary harddisk image..."
32
33 # Requiring stage file
34 Require_stagefile .build/config .build/bootstrap
35
36 # Checking stage file
37 Check_stagefile .build/binary_tar
38
39 # Checking lock file
40 Check_lockfile .lock
41
42 # Creating lock file
43 Create_lockfile .lock
44
45 # Remove old binary
46 rm -f binary.tar.bz2 binary.tar.gz binary.tar.lz binary.tar
47
48 tar cf binary-tar.tar binary
49
50 case "${LB_COMPRESSION}" in
51 bzip2)
52 bzip2 ${BZIP2_OPTIONS} binary-tar.tar
53 ;;
54
55 gzip)
56 gzip ${GZIP_OPTIONS} binary-tar.tar
57 ;;
58
59 lzip)
60 lzip ${LZIP_OPTIONS} binary-tar.tar
61 ;;
62
63 xz)
64 xz ${XZ_OPTIONS} binary-tar.tar
65 ;;
66
67 none)
68 ;;
69 esac
70
71 # Creating stage file
72 Create_stagefile .build/binary_tar
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'copy win32-loader into binary')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if [ "${LB_WIN32_LOADER}" != "true" ]
27 then
28 exit 0
29 fi
30
31 Echo_message "Begin copying win32-loader..."
32
33 # Requiring stage file
34 Require_stagefile .build/config .build/bootstrap
35
36 # Checking stage file
37 Check_stagefile .build/binary_win32-loader
38
39 # Checking lock file
40 Check_lockfile .lock
41
42 # Creating lock file
43 Create_lockfile .lock
44
45 case "${LB_ARCHITECTURES}" in
46 amd64|i386)
47 if [ "${LB_BUILD_WITH_CHROOT}" = "true" ]
48 then
49 # Checking depends
50 Check_package chroot/usr/share/win32/win32-loader.exe win32-loader
51
52 # Restoring cache
53 Restore_cache cache/packages.binary
54
55 # Installing depends
56 Install_package
57
58 # Copying win32-loader
59 cp -r chroot/usr/share/win32/* binary
60 else
61 cp -r usr/share/win32/* binary
62 fi
63
64 mv binary/win32-loader.exe binary/setup.exe
65
66 if [ -e binary/win32-loader-standalone.exe ]
67 then
68 mv binary/win32-loader-standalone.exe binary/setup-standalone.exe
69 fi
70
71 if ls binary/win32-loader/g2ldr* > /dev/null 2>&1
72 then
73 mv binary/win32-loader/g2ldr* binary
74 rmdir binary/win32-loader > /dev/null 2>&1 || true
75 fi
76
77 if [ "${LB_DEBIAN_INSTALLER}" != "false" ]
78 then
79
80 cat > binary/win32-loader.ini << EOF
81 [installer]
82 arch=${LB_ARCHITECTURES}
83 i386/linux=install/vmlinuz
84 i386/initrd=install/initrd.gz
85 i386/gtk/linux=install/vmlinuz
86 i386/gtk/initrd=install/gtk/initrd.gz
87
88 [grub]
89 g2ldr=g2ldr
90 g2ldr.mbr=g2ldr.mbr
91 EOF
92
93 fi
94
95 # Saving cache
96 Save_cache cache/packages.binary
97
98 # Removing depends
99 Remove_package
100 ;;
101
102 *)
103 Echo_warning "win32-loader inclusion is set to true but not compatible with your architecture, ignoring."
104 ;;
105 esac
106
107 # Creating stage file
108 Create_stagefile .build/binary_win32-loader
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'installs yaboot into binary')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if [ "${LB_BOOTLOADER}" != "yaboot" ]
27 then
28 exit 0
29 fi
30
31 Echo_message "Begin installing yaboot..."
32
33 # Requiring stage file
34 Require_stagefile .build/config .build/bootstrap
35
36 # Checking stage file
37 Check_stagefile .build/binary_yaboot
38
39 # Checking yaboot templates
40 Check_templates yaboot
41
42 # Checking lock file
43 Check_lockfile .lock
44
45 # Creating lock file
46 Create_lockfile .lock
47
48 # Check architecture
49 Check_architectures powerpc ppc64
50 Check_crossarchitectures
51
52 # Checking depends
53 Check_package chroot/usr/lib/yaboot/yaboot yaboot
54
55 # Restoring cache
56 Restore_cache cache/packages.binary
57
58 # Installing depends
59 Install_package
60
61 # Local functions
62 Yaboot_live_entry ()
63 {
64 LABEL="${1}"
65 KERNEL="${2}"
66 INITRD="${3}"
67 APPEND="${4}"
68
69 DIRECTORY="/$(basename ${DESTDIR_LIVE})"
70
71 LINUX_LIVE="${LINUX_LIVE}\nimage=${DIRECTORY}/${KERNEL}\n"
72 LINUX_LIVE="${LINUX_LIVE}\tlabel=${LABEL}\n"
73 LINUX_LIVE="${LINUX_LIVE}\tinitrd=${DIRECTORY}/${INITRD}\n"
74 LINUX_LIVE="${LINUX_LIVE}\tappend=\"${INITFS:+boot=${INITFS} }config LB_BOOTAPPEND_LIVE ${APPEND}\"\n"
75 LINUX_LIVE="${LINUX_LIVE}\tinitrd-size=10240\n"
76 }
77
78 Yaboot_install_entry ()
79 {
80 LABEL="${1}"
81 KERNEL="${2}"
82 INITRD="${3}"
83 APPEND="${4}"
84
85 DIRECTORY="/$(basename ${DESTDIR_INSTALL})"
86
87 QAPPEND="quiet"
88
89 for TYPE in Install Expert Rescue Auto
90 do
91 case "${TYPE}" in
92 Install)
93 TAPPEND="${APPEND} ${QAPPEND}"
94 ;;
95
96 Expert)
97 TAPPEND="priority=low ${APPEND}"
98 ;;
99
100 Rescue)
101 TAPPEND="rescue/enable=true ${APPEND} ${QAPPEND}"
102 ;;
103
104 Auto)
105 TAPPEND="auto=true priority=critical ${APPEND} ${QAPPEND}"
106 ;;
107 esac
108
109 case "${LABEL}" in
110 Text)
111 TYPE_SUFFIX=""
112 ;;
113 GUI)
114 TYPE_SUFFIX="gui"
115 ;;
116 esac
117
118 LINUX_INSTALL="${LINUX_INSTALL}\nimage=${DIRECTORY}/${KERNEL}\n"
119 LINUX_INSTALL="${LINUX_INSTALL}\tlabel=${TYPE}${TYPE_SUFFIX}\n"
120 LINUX_INSTALL="${LINUX_INSTALL}\tinitrd=${DIRECTORY}/${INITRD}\n"
121 LINUX_INSTALL="${LINUX_INSTALL}\tappend=\"${TAPPEND} ${LB_BOOTAPPEND_INSTALL}\"\n"
122 LINUX_INSTALL="${LINUX_INSTALL}\tinitrd-size=10240\n"
123 done
124 }
125
126 case "${LB_INITRAMFS}" in
127 casper)
128 INITFS="casper"
129 ;;
130
131 live-boot)
132 INITFS="live"
133 ;;
134
135 *)
136 INITFS=""
137 ;;
138 esac
139
140 # Setting destination directory
141 case "${LB_BINARY_IMAGES}" in
142 iso*)
143 case "${LB_INITRAMFS}" in
144 casper)
145 DESTDIR_LIVE="binary/casper"
146 ;;
147
148 live-boot)
149 DESTDIR_LIVE="binary/live"
150 ;;
151
152 *)
153 DESTDIR_LIVE="binary/boot"
154 ;;
155 esac
156
157 DESTDIR_INSTALL="binary/install"
158 ;;
159
160 hdd*|netboot|tar)
161 Echo_error "not yet supported, aborting (FIXME)."
162 exit 1
163 ;;
164 esac
165
166 Check_multiarchitectures
167
168 # Creating directory
169 mkdir -p "${DESTDIR_LIVE}"
170
171 # Setting boot parameters
172 if [ "${LB_UNION_FILESYSTEM}" != "aufs" ]
173 then
174 LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE} union=${LB_UNION_FILESYSTEM}"
175 fi
176
177 if [ -n "${LB_NET_COW_PATH}" ]
178 then
179 Echo_error "Net cow not yet supported on yaboot"
180 exit 1
181 fi
182
183 if [ "${LB_EXPOSED_ROOT}" != "false" ]
184 then
185 LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE} exposedroot"
186 fi
187
188 LB_BOOTAPPEND_LIVE="$(echo ${LB_BOOTAPPEND_LIVE} | sed -e 's| ||')"
189
190 # Assembling kernel configuration
191
192 # Default entries
193 DEFAULT_FLAVOUR="$(echo ${LB_LINUX_FLAVOURS} | awk '{ print $1 }')"
194 DEFAULT_KERNEL="$(basename chroot/boot/vmlinux-*${DEFAULT_FLAVOUR})"
195 DEFAULT_INITRD="initrd.img-$(echo ${DEFAULT_KERNEL} | sed -e 's|vmlinux-||')"
196
197 Yaboot_live_entry "live" "${DEFAULT_KERNEL}" "${DEFAULT_INITRD}"
198
199 if [ "${LB_BOOTAPPEND_FAILSAFE}" != "none" ]
200 then
201 Yaboot_live_entry "live-failsafe" "${DEFAULT_KERNEL}" "${DEFAULT_INITRD}" "${LB_BOOTAPPEND_FAILSAFE}"
202 fi
203
204 if [ "$(echo ${LB_LINUX_FLAVOURS} | wc -w)" -gt "1" ]
205 then
206 for KERNEL in chroot/boot/vmlinux-*
207 do
208 KERNEL_IMAGE="$(basename ${KERNEL})"
209 KERNEL_VERSION="$(echo ${KERNEL_IMAGE} | sed -e 's|vmlinux-||')"
210 INITRD="initrd.img-${KERNEL_VERSION}"
211
212 Yaboot_live_entry "live-${KERNEL_VERSION}" "${KERNEL_IMAGE}" "${INITRD}"
213 Yaboot_live_entry "live-${KERNEL_VERSION}-failsafe" "${KERNEL_IMAGE}" "${INITRD}" "${LB_BOOTAPPEND_FAILSAFE}"
214 done
215 fi
216
217 LINUX_LIVE="$(/bin/echo ${LINUX_LIVE} | sed -e 's|binary||g' -e 's|//|/|g')"
218
219 # Assembling debian-installer configuration
220 if [ "${LB_DEBIAN_INSTALLER}" != "false" ]
221 then
222 VMLINUZ_DI="vmlinuz"
223 INITRD_DI="initrd.gz"
224 APPEND_DI="vga=normal"
225
226 VMLINUZ_GI="gtk/vmlinuz"
227 INITRD_GI="gtk/initrd.gz"
228 APPEND_GI="video=vesa:ywrap,mtrr vga=788"
229
230 if [ -f "binary/${DESTDIR_INSTALL}/${VMLINUZ_DI}" ] && [ -f "binary/${DESTDIR_INSTALL}/${INITRD_DI}" ]
231 then
232 Yaboot_install_entry "Text" "${VMLINUZ_DI}" "${INITRD_DI}" "${APPEND_DI}"
233 fi
234
235 if [ -f "binary/${DESTDIR_INSTALL}/${VMLINUZ_GI}" ] && [ -f "binary/${DESTDIR_INSTALL}/${INITRD_GI}" ]
236 then
237 Yaboot_install_entry "GUI" "${VMLINUZ_GI}" "${INITRD_GI}" "${APPEND_GI}"
238 fi
239 fi
240
241 LINUX_INSTALL="$(/bin/echo ${LINUX_INSTALL} | sed -e 's|binary||g' -e 's|//|/|g')"
242
243 case "${LB_BINARY_IMAGES}" in
244 iso*|hdd*)
245 # Copying yaboot
246 mkdir -p binary/yaboot
247
248 case "${LB_BUILD_WITH_CHROOT}" in
249 true)
250 cp chroot/usr/lib/yaboot/yaboot binary/yaboot
251 ;;
252
253 false)
254 cp /usr/lib/yaboot/yaboot binary/yaboot
255 ;;
256 esac
257
258 cp -r "${TEMPLATES}"/* binary/yaboot
259
260 case "${LB_BINARY_IMAGES}" in
261 hdd*)
262 mv binary/yaboot/yaboot.conf binary/yaboot/yaboot.conf.tmp
263 echo "root=/dev/ram" > binary/yaboot/yaboot.conf
264 cat binary/yaboot/yaboot.conf.tmp >> binary/yaboot/yaboot.conf
265 rm -f binary/yaboot/yaboot.conf.tmp
266 ;;
267 esac
268
269 # Configure yaboot templates
270 sed -i -e "s|LINUX_LIVE|${LINUX_LIVE}|" -e "s|LINUX_INSTALL|${LINUX_INSTALL}|" binary/yaboot/yaboot.conf
271 sed -i -e "s#LB_BOOTAPPEND_INSTALL#${LB_BOOTAPPEND_INSTALL}#" -e "s#LB_BOOTAPPEND_LIVE#${LB_BOOTAPPEND_LIVE}#" binary/yaboot/yaboot.conf
272 sed -i -e "s|LB_DATE|$(date +%Y%m%d)|" -e "s|LB_VERSION|${VERSION}|" binary/yaboot/boot.msg
273 ;;
274 esac
275
276 # Saving cache
277 Save_cache cache/packages.binary
278
279 # Removing depends
280 Remove_package
281
282 # Creating stage file
283 Create_stagefile .build/binary_yaboot
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'build zsync control files')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if [ "${LB_BINARY_IMAGES}" != "iso" ] && [ "${LB_BINARY_IMAGES}" != "iso-hybrid" ]
27 then
28 exit 0
29 fi
30
31 if [ "${LB_ZSYNC}" != "true" ]
32 then
33 exit 0
34 fi
35
36 Echo_message "Begin building zsync control files..."
37
38 # Requiring stage file
39 Require_stagefile .build/config .build/bootstrap
40
41 # Checking stage file
42 Check_stagefile .build/binary_zsync
43
44 # Checking lock file
45 Check_lockfile .lock
46
47 # Creating lock file
48 Create_lockfile .lock
49
50 # Checking depends
51 Check_package chroot/usr/bin/zsyncmake zsync
52
53 # Restoring cache
54 Restore_cache cache/packages.binary
55
56 # Installing depends
57 Install_package
58
59 case "${LB_BINARY_IMAGES}" in
60 iso)
61 _IMAGES="binary.iso"
62 ;;
63
64 iso-hybrid)
65 _IMAGES="binary.hybrid.iso"
66 ;;
67
68 hdd)
69 _IMAGES="binary.img"
70 ;;
71
72 net)
73 _IMAGES="binary.netboot.tar*"
74 ;;
75
76 tar)
77 _IMAGES="binary.tar*"
78 ;;
79 esac
80
81 for _IMAGE in ${_IMAGES}
82 do
83 if [ -e "${_IMAGE}" ]
84 then
85 case "${LB_BUILD_WITH_CHROOT}" in
86 true)
87 mv ${_IMAGE} chroot
88 Chroot chroot "zsyncmake -C -b 2048 -u ${_IMAGE} ${_IMAGE}"
89 mv chroot/${_IMAGE} chroot/${_IMAGE}.zsync ./
90 ;;
91
92 false)
93 zsyncmake -C -b 2048 -u "${_IMAGE}" "${_IMAGE}"
94 ;;
95 esac
96
97 case "${LB_COMPRESSION}" in
98 bzip2)
99 bzip2 ${BZIP2_OPTIONS} ${_IMAGE}.zsync
100 ;;
101
102 gzip)
103 gzip ${GZIP_OPTIONS} ${_IMAGE}.zsync
104 ;;
105
106 lzip)
107 lzip ${LZIP_OPTIONS} ${_IMAGE}.zsync
108 ;;
109
110 xz)
111 xz ${XZ_OPTIONS} ${_IMAGE}.zsync
112 ;;
113
114 none)
115 ;;
116 esac
117 fi
118 done
119
120 #CHECKSUMS
121
122 # Saving cache
123 Save_cache cache/packages.binary
124
125 # Removing depends
126 Remove_package
127
128 # Creating stage file
129 Create_stagefile .build/binary_zsync
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Automatically populating config tree
16 if [ -x auto/config ] && [ ! -e .build/config ]
17 then
18 Echo_message "Automatically populating config tree."
19 lb config
20 fi
21
22 # Setting static variables
23 DESCRIPTION="$(Echo 'bootstrap a Debian system')"
24 HELP=""
25 USAGE="${PROGRAM} [--force]"
26
27 Arguments "${@}"
28
29 # Reading configuration files
30 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
31 Set_defaults
32
33 # Setup cleanup function
34 Setup_cleanup
35
36 # Bootstrapping system
37 lb bootstrap_cache restore ${@}
38 lb bootstrap_cdebootstrap ${@}
39 lb bootstrap_debootstrap ${@}
40 lb bootstrap_cache save ${@}
41
42 # Temporary hack for base-files wrt/ plymouth
43 case "${LB_DISTRIBUTION}" in
44 artax*)
45 echo '0.0.0' > chroot/etc/progress-linux_version
46 ;;
47 esac
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'cache bootstrap stage')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 # Check architecture
27 Check_crossarchitectures
28
29 for STAGE in ${LB_CACHE_STAGES}
30 do
31 if [ "${STAGE}" = "bootstrap" ]
32 then
33 case "${1}" in
34 restore)
35 Echo_message "Restoring bootstrap stage from cache..."
36
37 # Checking stage file
38 Check_stagefile .build/bootstrap_cache.restore
39
40 if [ -d cache/bootstrap ]
41 then
42 # Checking lock file
43 Check_lockfile .lock
44
45 # Creating lock file
46 Create_lockfile .lock
47
48 # Removing old chroot
49 rm -rf chroot
50
51 # Restoring old cache
52 ${LB_ROOT_COMMAND} cp -a cache/bootstrap chroot
53
54 if [ -n "${LB_ROOT_COMMAND}" ]
55 then
56 ${LB_ROOT_COMMAND} chown -R $(whoami):$(whoami) chroot
57 fi
58
59 # Creating stage file
60 Create_stagefile .build/bootstrap_cache.restore
61 Create_stagefile .build/bootstrap
62
63 exit 0
64 fi
65 ;;
66
67 save)
68 Echo_message "Saving bootstrap stage to cache..."
69
70 # Checking stage file
71 Check_stagefile .build/bootstrap_cache.save
72
73 # Checking lock file
74 Check_lockfile .lock
75
76 # Creating lock file
77 Create_lockfile .lock
78
79 rm -rf cache/bootstrap
80
81 mkdir -p cache
82
83 ${LB_ROOT_COMMAND} cp -a chroot cache/bootstrap
84
85 if [ -n "${LB_ROOT_COMMAND}" ]
86 then
87 ${LB_ROOT_COMMAND} chown -R $(whoami):$(whoami) cache/bootstrap
88 fi
89
90 # Creating stage file
91 Create_stagefile .build/bootstrap_cache.save
92 ;;
93 esac
94 fi
95 done
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'bootstrap a Debian system with cdebootstrap(1)')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if [ "${LB_BOOTSTRAP}" != "cdebootstrap" ] && [ "${LB_BOOTSTRAP}" != "cdebootstrap-static" ]
27 then
28 exit 0
29 fi
30
31 if [ ! -x "$(which cdebootstrap 2>/dev/null)" ]
32 then
33 echo "E: cdebootstrap - command not found"
34 echo "I: cdebootstrap can be optained from http://ftp.debian.org/debian/pool/main/d/cdebootstrap/"
35 echo "I: On Debian based systems, cdebootstrap can be installed with 'apt-get install debootstrap'."
36 exit 1
37 fi
38
39 # Check architecture
40 Check_crossarchitectures
41
42 Echo_message "Begin bootstrapping system..."
43
44 Check_package /usr/bin/${LB_BOOTSTRAP} cdebootstrap
45
46 # Ensure that a system is built as root
47 lb testroot
48
49 # Checking stage file
50 Check_stagefile .build/bootstrap
51 Check_stagefile .build/bootstrap_cache.restore
52
53 # Checking lock file
54 Check_lockfile .lock
55
56 # Creating lock file
57 Create_lockfile .lock
58
59 # Creating chroot directory
60 mkdir -p chroot
61
62 # Setting cdebootstrap options
63 if [ -n "${LB_ARCHITECTURES}" ]
64 then
65 CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --arch=${LB_ARCHITECTURES}"
66 fi
67
68 if [ "${_DEBUG}" = "true" ]
69 then
70 CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --debug"
71 fi
72
73 if [ "${_QUIET}" = "true" ]
74 then
75 CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --quiet"
76 fi
77
78 if [ "${_VERBOSE}" = "true" ]
79 then
80 CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --verbose"
81 fi
82
83 if [ "${LB_APT_SECURE}" = "false" ]
84 then
85 CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --allow-unauthenticated"
86 fi
87
88 if [ -x "/usr/bin/cdebootstrap" ] || [ -x "/usr/bin/cdebootstrap-static" ]
89 then
90 if [ "${LB_CACHE_PACKAGES}" = "true" ]
91 then
92 if ls cache/packages.bootstrap/*.deb > /dev/null 2>&1
93 then
94 mkdir -p chroot/var/cache/bootstrap
95 cp cache/packages.bootstrap/*.deb chroot/var/cache/bootstrap
96 fi
97
98 Echo_breakage "Running ${LB_BOOTSTRAP} (download-only)... "
99 ${LB_ROOT_COMMAND} ${LB_BOOTSTRAP} ${CDEBOOTSTRAP_OPTIONS} --download-only "${LB_PARENT_DISTRIBUTION}" chroot "${LB_PARENT_MIRROR_BOOTSTRAP}"
100
101 if [ -n "${LB_ROOT_COMMAND}" ]
102 then
103 ${LB_ROOT_COMMAND} chown -R $(whoami):$(whoami) chroot
104 fi
105
106 # Removing old cache
107 rm -f cache/packages.bootstrap/*.deb
108
109 # Saving new cache
110 mkdir -p cache/packages.bootstrap
111 cp chroot/var/cache/bootstrap/*.deb cache/packages.bootstrap
112 fi
113
114 Echo_breakage "Running ${LB_BOOTSTRAP}... "
115
116 # Run appropriate bootstrap, i.e. foreign or regular bootstrap
117 if [ "${LB_BOOTSTRAP_QEMU_ARCHITECTURES}" = "${LB_ARCHITECTURES}" ]; then
118
119 if [ -n "${LB_BOOTSTRAP_QEMU_EXCLUDE}" ]
120 then
121 CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --exclude=$(echo ${LB_BOOTSTRAP_QEMU_EXCLUDE} | sed 's| *|,|g')"
122 fi
123
124 Echo_message "Bootstrap will be foreign"
125 ${LB_ROOT_COMMAND} ${LB_BOOTSTRAP} ${CDEBOOTSTRAP_OPTIONS} --foreign "${LB_PARENT_DISTRIBUTION}" chroot "${LB_PARENT_MIRROR_BOOTSTRAP}"
126
127 Echo_message "Running debootstrap second stage under QEMU"
128 cp ${LB_BOOTSTRAP_QEMU_STATIC} chroot/usr/bin
129 Chroot chroot /bin/sh /sbin/cdebootstrap-foreign
130 else
131 ${LB_ROOT_COMMAND} ${LB_BOOTSTRAP} ${CDEBOOTSTRAP_OPTIONS} "${LB_PARENT_DISTRIBUTION}" chroot "${LB_PARENT_MIRROR_BOOTSTRAP}"
132 fi
133
134 if [ -n "${LB_ROOT_COMMAND}" ]
135 then
136 ${LB_ROOT_COMMAND} chown -R $(whoami):$(whoami) chroot
137 fi
138
139 # Deconfiguring cdebootstrap configurations
140 rm -f chroot/etc/apt/sources.list
141 rm -f chroot/etc/hosts
142 rm -f chroot/etc/resolv.conf
143
144 # Removing bootstrap cache
145 rm -rf chroot/var/cache/bootstrap
146
147 # Creating stage file
148 Create_stagefile .build/bootstrap
149 else
150 Echo_error "Can't process file /usr/bin/${LB_BOOTSTRAP} (FIXME)"
151 exit 1
152 fi
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'bootstrap a Debian system with debootstrap(8)')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if [ "${LB_BOOTSTRAP}" != "debootstrap" ]
27 then
28 exit 0
29 fi
30
31 if [ ! -x "$(which debootstrap 2>/dev/null)" ]
32 then
33 echo "E: debootstrap - command not found"
34 echo "I: debootstrap can be optained from http://ftp.debian.org/debian/pool/main/d/debootstrap/"
35 echo "I: On Debian based systems, debootstrap can be installed with 'apt-get install debootstrap'."
36 exit 1
37 fi
38
39 # Check architecture
40 Check_crossarchitectures
41
42 Echo_message "Begin bootstrapping system..."
43
44 Check_package /usr/sbin/debootstrap debootstrap
45
46 # Ensure that a system is built as root
47 lb testroot
48
49 # Checking stage file
50 Check_stagefile .build/bootstrap
51 Check_stagefile .build/bootstrap_cache.restore
52
53 # Checking lock file
54 Check_lockfile .lock
55
56 # Creating lock file
57 Create_lockfile .lock
58
59 # Creating chroot directory
60 mkdir -p chroot
61
62 # Setting debootstrap options
63 if [ -n "${LB_ARCHITECTURES}" ]
64 then
65 DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --arch=${LB_ARCHITECTURES}"
66 fi
67
68 if [ "${LB_ARCHIVE_AREAS}" != "main" ]
69 then
70 # Modify archive areas to remove leading/trailing whitespaces and replace other whitepspace with commas
71 DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --components=$(echo ${LB_ARCHIVE_AREAS} | sed -e 's| |,|g')"
72 fi
73
74 case "${LB_USE_FAKEROOT}" in
75 true)
76 DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --variant=fakechroot"
77 ;;
78 esac
79
80 if [ "${_VERBOSE}" = "true" ]
81 then
82 DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --verbose"
83 fi
84
85 # If LB_APT_SECURE is false, do not check signatures of the Release file
86 # (requires debootstrap >= 1.0.30)
87 if [ "${LB_APT_SECURE}" = "false" ] && /usr/sbin/debootstrap --help | grep -qs '\-\-no-check-gpg'
88 then
89 DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --no-check-gpg"
90 fi
91
92 if [ -x "/usr/sbin/debootstrap" ]
93 then
94 if [ "${LB_CACHE_PACKAGES}" = "true" ]
95 then
96 if ls cache/packages.bootstrap/*.deb > /dev/null 2>&1
97 then
98 mkdir -p chroot/var/cache/apt/archives
99 cp cache/packages.bootstrap/*.deb chroot/var/cache/apt/archives
100 fi
101
102 Echo_breakage "Running debootstrap (download-only)... "
103 ${LB_ROOT_COMMAND} debootstrap ${DEBOOTSTRAP_OPTIONS} --download-only "${LB_PARENT_DISTRIBUTION}" chroot "${LB_PARENT_MIRROR_BOOTSTRAP}"
104
105 if [ -n "${LB_ROOT_COMMAND}" ]
106 then
107 ${LB_ROOT_COMMAND} chown -R $(whoami):$(whoami) chroot
108 fi
109
110 # Removing old cache
111 rm -f cache/packages.bootstrap/*.deb
112
113 # Saving new cache
114 mkdir -p cache/packages.bootstrap
115 cp chroot/var/cache/apt/archives/*.deb cache/packages.bootstrap
116 fi
117
118 Echo_breakage "Running debootstrap... "
119
120 # Run appropriate bootstrap, i.e. foreign or regular bootstrap
121 if [ "${LB_BOOTSTRAP_QEMU_ARCHITECTURES}" = "${LB_ARCHITECTURES}" ]; then
122
123 if [ -n "${LB_BOOTSTRAP_QEMU_EXCLUDE}" ]
124 then
125 DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --exclude=$(echo ${LB_BOOTSTRAP_QEMU_EXCLUDE} | sed 's| *|,|g')"
126 fi
127
128 Echo_message "Bootstrap will be foreign"
129 ${LB_ROOT_COMMAND} debootstrap ${DEBOOTSTRAP_OPTIONS} --foreign "${LB_PARENT_DISTRIBUTION}" chroot "${LB_PARENT_MIRROR_BOOTSTRAP}"
130
131 Echo_message "Running debootstrap second stage under QEMU"
132 cp ${LB_BOOTSTRAP_QEMU_STATIC} chroot/usr/bin
133 Chroot chroot /bin/sh /debootstrap/debootstrap --second-stage
134 else
135 ${LB_ROOT_COMMAND} debootstrap ${DEBOOTSTRAP_OPTIONS} "${LB_PARENT_DISTRIBUTION}" chroot "${LB_PARENT_MIRROR_BOOTSTRAP}"
136 fi
137
138 if [ -n "${LB_ROOT_COMMAND}" ]
139 then
140 ${LB_ROOT_COMMAND} chown -R $(whoami):$(whoami) chroot
141 fi
142
143 # Deconfiguring debootstrap configurations
144 rm -f chroot/etc/hosts
145
146 # Removing bootstrap cache
147 rm -f chroot/var/cache/apt/archives/*.deb
148
149 # Creating stage file
150 Create_stagefile .build/bootstrap
151 else
152 Echo_error "Can't process file /usr/bin/debootstrap (FIXME)"
153 exit 1
154 fi
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Automatically populating config tree
16 if [ -x auto/config ] && [ ! -e .build/config ]
17 then
18 Echo_message "Automatically populating config tree."
19 lb config
20 fi
21
22 # Read meta config
23 if [ "${1}" != "noauto" ] && [ -x auto/build ]
24 then
25 Echo_message "Executing auto/build script."
26 ./auto/build "${@}"
27 exit ${?}
28 fi
29
30 if [ "${1}" = "noauto" ]
31 then
32 shift
33 fi
34
35 # Setting static variables
36 DESCRIPTION="$(Echo 'build a Debian Live system')"
37 HELP=""
38 USAGE="${PROGRAM} [--force]"
39
40 Arguments "${@}"
41
42 if [ ! -d config ]
43 then
44 Echo_warning "No config/ directory; using defaults for all options"
45 fi
46
47 if [ "$(pwd)" = "/" ]
48 then
49 Echo_error "Cannot build live image from the root directory (/)"
50 exit 1
51 fi
52
53 if echo $(pwd) | grep -qs " "
54 then
55 Echo_error "Cannot build live image from a directory containing spaces"
56 exit 1
57 fi
58
59 # Reading configuration files
60 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
61 Set_defaults
62
63 # Checking defaults
64 Check_defaults
65
66 # Bootstrapping system
67 lb bootstrap ${@}
68
69 # Customizing chroot
70 lb chroot ${@}
71
72 # Building binary images
73 lb binary ${@}
74
75 # Building source images
76 lb source ${@}
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Automatically populating config tree
16 if [ -x auto/config ] && [ ! -e .build/config ]
17 then
18 Echo_message "Automatically populating config tree."
19 lb config
20 fi
21
22 # Setting static variables
23 DESCRIPTION="$(Echo 'customize the Debian system')"
24 HELP=""
25 USAGE="${PROGRAM} [--force]"
26
27 Arguments "${@}"
28
29 # Reading configuration files
30 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
31 Set_defaults
32
33 # Setup cleanup function
34 Setup_cleanup
35
36 # Configuring chroot
37 lb chroot_cache restore ${@}
38 lb chroot_devpts install ${@}
39 lb chroot_proc install ${@}
40 lb chroot_selinuxfs install ${@}
41 lb chroot_sysfs install ${@}
42 lb chroot_debianchroot install ${@}
43 lb chroot_dpkg install ${@}
44 lb chroot_tmpfs install ${@}
45 lb chroot_sysv-rc install ${@}
46 lb chroot_upstart install ${@}
47 lb chroot_hosts install ${@}
48 lb chroot_resolv install ${@}
49 lb chroot_hostname install ${@}
50 lb chroot_apt install ${@}
51 lb chroot_archives chroot install ${@}
52
53 # Customizing chroot
54 lb chroot_linux-image ${@}
55 lb chroot_preseed ${@}
56
57 for _PASS in install live
58 do
59 lb chroot_package-lists ${_PASS} ${@}
60 lb chroot_install-packages ${_PASS} ${@}
61
62 if [ "${_PASS}" = install ]
63 then
64 Chroot chroot "dpkg-query -W" > chroot.packages.install
65 fi
66 done
67
68 lb chroot_live-packages ${@}
69 lb chroot_includes ${@}
70 lb chroot_hooks ${@}
71 lb chroot_hacks ${@}
72 lb chroot_interactive ${@}
73
74 Chroot chroot "dpkg-query -W" > chroot.packages.live
75
76 # Deconfiguring chroot
77 lb chroot_archives chroot remove ${@}
78 lb chroot_apt remove ${@}
79 lb chroot_hostname remove ${@}
80 lb chroot_resolv remove ${@}
81 lb chroot_hosts remove ${@}
82 lb chroot_sysv-rc remove ${@}
83 lb chroot_upstart remove ${@}
84 lb chroot_tmpfs remove ${@}
85 lb chroot_dpkg remove ${@}
86 lb chroot_debianchroot remove ${@}
87 lb chroot_sysfs remove ${@}
88 lb chroot_selinuxfs remove ${@}
89 lb chroot_proc remove ${@}
90 lb chroot_devpts remove ${@}
91 lb chroot_cache save ${@}
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'manage /etc/apt/apt.conf')"
17 HELP=""
18 USAGE="${PROGRAM} {install|install-binary|remove} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 # Requiring stage file
27 Require_stagefile .build/config .build/bootstrap
28
29 case "${1}" in
30 install|install-binary)
31 Echo_message "Configuring file /etc/apt/apt.conf"
32
33 # Checking stage file
34 Check_stagefile .build/chroot_apt
35
36 # Checking lock file
37 Check_lockfile .lock
38
39 # Creating lock file
40 Create_lockfile .lock
41
42 mkdir -p chroot/etc/apt/apt.conf.d
43
44 # Configuring apt ftp proxy
45 if [ -n "${LB_APT_FTP_PROXY}" ]
46 then
47 echo "Acquire::ftp::Proxy \"${LB_APT_FTP_PROXY}\";" > chroot/etc/apt/apt.conf.d/00ftp-proxy
48 fi
49
50 # Configuring apt http proxy
51 if [ -n "${LB_APT_HTTP_PROXY}" ]
52 then
53 echo "Acquire::http::Proxy \"${LB_APT_HTTP_PROXY}\";" > chroot/etc/apt/apt.conf.d/00http-proxy
54 fi
55
56 # Configuring apt pipeline
57 if [ -n "${LB_APT_PIPELINE}" ]
58 then
59 echo "Acquire::http::Pipeline-Depth \"${LB_APT_PIPELINE}\";" > chroot/etc/apt/apt.conf.d/00pipeline
60 fi
61
62 # Configuring apt recommends
63 case "${LB_APT_RECOMMENDS}" in
64 true)
65 echo "APT::Install-Recommends \"true\";" > chroot/etc/apt/apt.conf.d/00recommends
66 echo "Aptitude::Recommends-Important \"true\";" >> chroot/etc/apt/apt.conf.d/00recommends
67 ;;
68
69 false)
70 echo "APT::Install-Recommends \"false\";" > chroot/etc/apt/apt.conf.d/00recommends
71 echo "Aptitude::Recommends-Important \"false\";" >> chroot/etc/apt/apt.conf.d/00recommends
72 ;;
73 esac
74
75 # Configuring apt secure
76 case "${LB_APT_SECURE}" in
77 true)
78 echo "APT::Get::AllowUnauthenticated \"false\";" > chroot/etc/apt/apt.conf.d/00secure
79 echo "Aptitude::CmdLine::Ignore-Trust-Violations \"false\";" >> chroot/etc/apt/apt.conf.d/00secure
80 ;;
81
82 false)
83 echo "APT::Get::AllowUnauthenticated \"true\";" > chroot/etc/apt/apt.conf.d/00secure
84 echo "Aptitude::CmdLine::Ignore-Trust-Violations \"true\";" >> chroot/etc/apt/apt.conf.d/00secure
85 ;;
86 esac
87
88 # Configuring apt config
89 if [ -f config/apt/apt.conf ]
90 then
91 if [ -f chroot/etc/apt/apt.conf ]
92 then
93 mv chroot/etc/apt/apt.conf chroot/etc/apt/apt.conf.orig
94 fi
95
96 cp config/apt/apt.conf chroot/etc/apt/apt.conf
97 fi
98
99 # Configuring apt preferences
100 if [ -f config/apt/preferences ]
101 then
102 if [ -f chroot/etc/apt/preferences ]
103 then
104 mv chroot/etc/apt/preferences chroot/etc/apt/preferences.orig
105 fi
106
107 cp config/apt/preferences chroot/etc/apt/preferences
108 fi
109
110 if Find_files config/apt/*.pref
111 then
112 for _FILE in config/apt/*.pref
113 do
114 if [ -f chroot/etc/apt/preferences.d/$(basename ${_FILE}) ]
115 then
116 mv chroot/etc/apt/preferences.d/$(basename ${_FILE}) chroot/etc/apt/preferences.d/$(basename ${_FILE}).orig
117 fi
118
119 cp -aL ${_FILE} chroot/etc/apt/preferences.d
120 done
121 fi
122
123 if Find_files config/packages.chroot/*.deb || Find_files config/packages/*.deb
124 then
125 echo >> chroot/etc/apt/preferences
126 echo "# Added by lb_chroot_apt ${@}" >> chroot/etc/apt/preferences
127 echo "Package: *" >> chroot/etc/apt/preferences
128 echo "Pin: release o=config/packages.chroot" >> chroot/etc/apt/preferences
129
130 case "${1}" in
131 install)
132 # Ensure local packages have priority
133 echo "Pin-Priority: 1001" >> chroot/etc/apt/preferences
134 ;;
135
136 install-binary)
137 # Ensure local packages are not re-installed during lb_binary
138 echo "Pin-Priority: 99" >> chroot/etc/apt/preferences
139
140 echo >> chroot/etc/apt/preferences
141 echo "Package: *" >> chroot/etc/apt/preferences
142 echo "Pin: release o=debian" >> chroot/etc/apt/preferences
143 echo "Pin-Priority: 99" >> chroot/etc/apt/preferences
144 ;;
145 esac
146 fi
147
148 case "${LB_MODE}" in
149 progress-linux)
150 if [ ! -e chroot/etc/apt/preferences.d/progress-linux.pref ]
151 then
152 _DISTRIBUTION="$(echo ${LB_DISTRIBUTION} | sed -e 's|-backports||')"
153
154 _ENABLE_DISTRIBUTIONS="${_DISTRIBUTION}"
155 _DISABLE_DISTRIBUTIONS=""
156
157 if [ "${LB_SECURITY}" = "true" ]
158 then
159 _ENABLE_DISTRIBUTIONS="${_ENABLE_DISTRIBUTIONS} ${_DISTRIBUTION}-security"
160 fi
161
162 if [ "${LB_UPDATES}" = "true" ]
163 then
164 _ENABLE_DISTRIBUTIONS="${_ENABLE_DISTRIBUTIONS} ${_DISTRIBUTION}-updates"
165 fi
166
167 case "${LB_DISTRIBUTION}" in
168 *-backports)
169 if [ "${LB_BACKPORTS}" = "true" ]
170 then
171 _ENABLE_DISTRIBUTIONS="${_ENABLE_DISTRIBUTIONS} ${_DISTRIBUTION}-backports"
172 fi
173 ;;
174
175 *)
176 if [ "${LB_BACKPORTS}" = "true" ]
177 then
178 _DISABLE_DISTRIBUTIONS="${_DISABLE_DISTRIBUTIONS} ${_DISTRIBUTION}-backports"
179 fi
180 ;;
181 esac
182
183 for _DISTRIBUTION in ${_ENABLE_DISTRIBUTIONS}
184 do
185
186 cat >> chroot/etc/apt/preferences.d/progress-linux.pref << EOF
187
188 Package: *
189 Pin: release n=${_DISTRIBUTION}
190 Pin-Priority: 999
191 EOF
192
193 done
194
195 for _DISTRIBUTION in ${_DISABLE_DISTRIBUTIONS}
196 do
197
198 cat >> chroot/etc/apt/preferences.d/progress-linux.pref << EOF
199
200 #Package: *
201 #Pin: release n=${_DISTRIBUTION}
202 #Pin-Priority: 999
203 EOF
204
205 done
206
207 # Add temporary hack to avoid squashfs version mismatch
208 case "${LB_DISTRIBUTION}" in
209 artax-backports)
210
211 cat >> chroot/etc/apt/preferences.d/progress-linux.tmp.pref << EOF
212 Package: squashfs-tools
213 Pin: release n=squeeze
214 Pin-Priority: 1001
215 EOF
216
217 ;;
218 esac
219 fi
220 ;;
221 esac
222
223 # Creating stage file
224 Create_stagefile .build/chroot_apt
225 ;;
226
227 remove)
228 Echo_message "Deconfiguring file /etc/apt/apt.conf"
229
230 # Checking lock file
231 Check_lockfile .lock
232
233 # Creating lock file
234 Create_lockfile .lock
235
236 # Deconfiguring aptitude ftp proxy
237 rm -f chroot/etc/apt/apt.conf.d/00ftp-proxy
238
239 # Deconfiguring aptitude http proxy
240 rm -f chroot/etc/apt/apt.conf.d/00http-proxy
241
242 # Deconfiguring aptitude pipeline
243 rm -f chroot/etc/apt/apt.conf.d/00pipeline
244
245 # Deconfiguring aptitude recommends
246 if [ "${LB_APT_RECOMMENDS}" = "true" ]
247 then
248 rm -f chroot/etc/apt/apt.conf.d/00recommends
249 fi
250
251 # Deconfiguring aptitude secure
252 if [ "${LB_APT_SECURE}" = "true" ]
253 then
254 rm -f chroot/etc/apt/apt.conf.d/00secure
255 fi
256
257 # Configuring apt config
258 if [ -f config/apt/apt.conf ]
259 then
260 if [ -f chroot/etc/apt/apt.conf ]
261 then
262 mv chroot/etc/apt/apt.conf chroot/etc/apt/apt.conf.orig
263 fi
264
265 cp config/apt/apt.conf chroot/etc/apt/apt.conf
266
267 if [ -f chroot/etc/apt/apt.conf.orig ]
268 then
269 mv chroot/etc/apt/apt.conf.orig chroot/etc/apt/apt.conf
270 fi
271 fi
272
273 # Deconfiguring apt preferences
274 if [ -f config/apt/preferences ]
275 then
276 if [ -f chroot/etc/apt/preferences ]
277 then
278 mv chroot/etc/apt/preferences chroot/etc/apt/preferences.orig
279 fi
280
281 cp config/apt/preferences chroot/etc/apt/preferences
282
283 if [ -f chroot/etc/apt/preferences.orig ]
284 then
285 mv chroot/etc/apt/preferences.orig chroot/etc/apt/preferences
286 fi
287 fi
288
289 if Find_files config/apt/*.pref
290 then
291 for _FILE in config/apt/*.pref
292 do
293 if [ -f chroot/etc/apt/preferences.d/$(basename ${_FILE}) ]
294 then
295 mv chroot/etc/apt/preferences.d/$(basename ${_FILE}) chroot/etc/apt/preferences.d/$(basename ${_FILE}).orig
296 fi
297
298 cp -aL ${_FILE} chroot/etc/apt/preferences.d
299
300 if [ -f chroot/etc/apt/preferences.d/$(basename ${_FILE}).orig ]
301 then
302 mv chroot/etc/apt/preferences.d/$(basename ${_FILE}).orig chroot/etc/apt/preferences.d/$(basename ${_FILE})
303 fi
304 done
305 fi
306
307 if Find_files config/packages.chroot/*.deb || Find_files config/packages/*.deb
308 then
309 if [ -f chroot/etc/apt/preferences ]
310 then
311 # delete additions from lb_chroot_apt install|install-binary to preferences
312 sed -i '/# Added by lb_chroot_apt/,$d' chroot/etc/apt/preferences
313 # delete the last empty line
314 sed -i '${/^[[:blank:]]*$/d;}' chroot/etc/apt/preferences
315 # if the resulting preferences file is empty there was no user additions, remove it
316 if [ ! -s chroot/etc/apt/preferences ]
317 then
318 rm -rf chroot/etc/apt/preferences
319 fi
320 fi
321
322 fi
323
324 # Remove temporary hack to avoid squashfs version mismatch for artax-backports
325 rm -f chroot/etc/apt/preferences.d/progress-linux.tmp.pref
326
327 # Removing stage file
328 rm -f .build/chroot_apt
329 ;;
330
331 *)
332 Usage
333 ;;
334 esac
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'manage /etc/apt/sources.list')"
17 HELP=""
18 USAGE="${PROGRAM} {install|remove} [--force]"
19
20 _PASS="${1}"
21 shift
22
23 Arguments "${@}"
24
25 # Reading configuration files
26 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
27 Set_defaults
28
29 # Requiring stage file
30 Require_stagefile .build/config .build/bootstrap
31
32 _LB_LOCAL_KEY_EMAIL="live-build-local-key@invalid"
33
34 # FIXME: this is ugly
35 if [ -n "${LIVE_BUILD}" ]
36 then
37 _BASE="${LIVE_BUILD}"
38 else
39 _BASE="/usr/share/live/build"
40 fi
41
42 case "${LB_DERIVATIVE}" in
43 true)
44 _PARENT_FILE="sources.list.d/debian.list"
45 ;;
46
47 false)
48 _PARENT_FILE="sources.list"
49 ;;
50 esac
51
52 case "${1}" in
53 install)
54 Echo_message "Configuring file /etc/apt/sources.list"
55
56 # Checking stage file
57 Check_stagefile .build/chroot_archives
58
59 # Checking lock file
60 Check_lockfile .lock
61
62 # Creating lock file
63 Create_lockfile .lock
64
65 # Restoring cache
66 Restore_cache cache/packages.chroot
67
68 # Configure custom sources.list
69
70 cat > chroot/etc/apt/${_PARENT_FILE} << EOF
71 deb ${LB_PARENT_MIRROR_CHROOT} ${LB_PARENT_DISTRIBUTION} ${LB_PARENT_ARCHIVE_AREAS}
72 EOF
73
74 if [ "${_PASS}" = "source" ] || [ "${LB_APT_SOURCE_ARCHIVES}" = "true" ]
75 then
76 echo "deb-src ${LB_PARENT_MIRROR_CHROOT} ${LB_PARENT_DISTRIBUTION} ${LB_PARENT_ARCHIVE_AREAS}" >> chroot/etc/apt/${_PARENT_FILE}
77 fi
78
79 if [ "${LB_DERIVATIVE}" = "true" ]
80 then
81 rm -f chroot/etc/apt/sources.list.d/${LB_MODE}.list
82
83 _DISTRIBUTION="$(echo ${LB_DISTRIBUTION} | sed -e 's|-backports||')"
84
85 echo "deb ${LB_MIRROR_CHROOT} ${_DISTRIBUTION} ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
86
87 if [ "${_PASS}" = "source" ] || [ "${LB_APT_SOURCE_ARCHIVES}" = "true" ]
88 then
89 echo "deb-src ${LB_MIRROR_CHROOT} ${_DISTRIBUTION} ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
90 fi
91 fi
92
93 if [ "${LB_SECURITY}" = "true" ]
94 then
95 case "${LB_MODE}" in
96 debian|progress-linux)
97 case "${LB_PARENT_DISTRIBUTION}" in
98 sid)
99
100 ;;
101
102 *)
103 echo "deb ${LB_PARENT_MIRROR_CHROOT_SECURITY} ${LB_PARENT_DISTRIBUTION}/updates ${LB_PARENT_ARCHIVE_AREAS}" >> chroot/etc/apt/${_PARENT_FILE}
104
105 if [ "${_PASS}" = "source" ] || [ "${LB_APT_SOURCE_ARCHIVES}" = "true" ]
106 then
107 echo "deb-src ${LB_PARENT_MIRROR_CHROOT_SECURITY} ${LB_PARENT_DISTRIBUTION}/updates ${LB_PARENT_ARCHIVE_AREAS}" >> chroot/etc/apt/${_PARENT_FILE}
108 fi
109 ;;
110 esac
111
112 if [ "${LB_MODE}" = progress-linux ]
113 then
114 echo "deb ${LB_MIRROR_CHROOT_SECURITY} ${_DISTRIBUTION}-security ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
115
116 if [ "${_PASS}" = "source" ] || [ "${LB_APT_SOURCE_ARCHIVES}" = "true" ]
117 then
118 echo "deb-src ${LB_MIRROR_CHROOT_SECURITY} ${_DISTRIBUTION}-security ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
119 fi
120 else
121 if [ "${LB_DERIVATIVE}" = "true" ]
122 then
123 echo "deb ${LB_MIRROR_CHROOT_SECURITY} ${_DISTRIBUTION}/updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
124
125 if [ "${_PASS}" = "source" ] || [ "${LB_APT_SOURCE_ARCHIVES}" = "true" ]
126 then
127 echo "deb-src ${LB_MIRROR_CHROOT_SECURITY} ${_DISTRIBUTION}/updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
128 fi
129 fi
130 fi
131 ;;
132
133 ubuntu)
134 echo "deb ${LB_PARENT_MIRROR_CHROOT_SECURITY} ${LB_PARENT_DISTRIBUTION}-security ${LB_PARENT_ARCHIVE_AREAS}" >> chroot/etc/apt/${_PARENT_FILE}
135
136 if [ "${_PASS}" = "source" ] || [ "${LB_APT_SOURCE_ARCHIVES}" = "true" ]
137 then
138 echo "deb-src ${LB_PARENT_MIRROR_CHROOT_SECURITY} ${LB_PARENT_DISTRIBUTION}-security ${LB_PARENT_ARCHIVE_AREAS}" >> chroot/etc/apt/${_PARENT_FILE}
139 fi
140 ;;
141 esac
142 fi
143
144 if [ "${LB_UPDATES}" = "true" ]
145 then
146 echo "deb ${LB_PARENT_MIRROR_CHROOT_UPDATES} ${LB_PARENT_DISTRIBUTION}-updates ${LB_PARENT_ARCHIVE_AREAS}" >> chroot/etc/apt/${_PARENT_FILE}
147
148 if [ "${_PASS}" = "source" ] || [ "${LB_APT_SOURCE_ARCHIVES}" = "true" ]
149 then
150 echo "deb-src ${LB_PARENT_MIRROR_CHROOT_UPDATES} ${LB_PARENT_DISTRIBUTION}-updates ${LB_PARENT_ARCHIVE_AREAS}" >> chroot/etc/apt/${_PARENT_FILE}
151 fi
152
153 if [ "${LB_DERIVATIVE}" = "true" ] && [ "${LB_MIRROR_CHROOT_UPDATES}" != "none" ]
154 then
155 echo "deb ${LB_MIRROR_CHROOT_UPDATES} ${_DISTRIBUTION}-updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
156
157 if [ "${_PASS}" = "source" ] || [ "${LB_APT_SOURCE_ARCHIVES}" = "true" ]
158 then
159 echo "deb-src ${LB_MIRROR_CHROOT_UPDATES} ${_DISTRIBUTION}-updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
160 fi
161 fi
162 fi
163
164 if [ "${LB_BACKPORTS}" = "true" ]
165 then
166 case "${LB_MODE}" in
167 debian)
168 if [ "${LB_PARENT_DISTRIBUTION}" != "sid" ]
169 then
170 echo "deb ${LB_PARENT_MIRROR_CHROOT_BACKPORTS} ${LB_PARENT_DISTRIBUTION}-backports ${LB_PARENT_ARCHIVE_AREAS}" >> chroot/etc/apt/${_PARENT_FILE}
171
172 if [ "${_PASS}" = "source" ] || [ "${LB_APT_SOURCE_ARCHIVES}" = "true" ]
173 then
174 echo "deb-src ${LB_PARENT_MIRROR_CHROOT_BACKPORTS} ${LB_PARENT_DISTRIBUTION}-backports ${LB_PARENT_ARCHIVE_AREAS}" >> chroot/etc/apt/${_PARENT_FILE}
175 fi
176 fi
177 ;;
178 esac
179
180 if [ "${LB_DERIVATIVE}" = "true" ] && [ "${LB_MIRROR_CHROOT_BACKPORTS}" != "none" ]
181 then
182 echo "deb ${LB_MIRROR_CHROOT_BACKPORTS} ${_DISTRIBUTION}-backports ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
183
184 if [ "${_PASS}" = "source" ] || [ "${LB_APT_SOURCE_ARCHIVES}" = "true" ]
185 then
186 echo "deb-src ${LB_MIRROR_CHROOT_BACKPORTS} ${_DISTRIBUTION}-backports ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
187 fi
188 fi
189 fi
190
191 # Configure third-party archives
192 if [ -n "${LB_ARCHIVES}" ]
193 then
194 for REPOSITORY in ${LB_ARCHIVES}
195 do
196 # ubuntu workaround to allow using live.debian.net
197 case "${LB_MODE}" in
198 ubuntu)
199 if [ "${REPOSITORY}" = "live.debian.net" ]
200 then
201 _DISTRIBUTION="sid"
202 else
203 _DISTRIBUTION="${LB_PARENT_DISTRIBUTION}"
204 fi
205 ;;
206
207 *)
208 _DISTRIBUTION="${LB_PARENT_DISTRIBUTION}"
209 ;;
210 esac
211
212 # Prefer archives from the config tree
213 # over the global ones.
214 if ! ls "${_BASE}/archives/${REPOSITORY}"* > /dev/null 2>&1
215 then
216 continue
217 fi
218
219 # Adding apt sources (chroot)
220 for _FILE in "${_BASE}/archives/${REPOSITORY}" "${_BASE}/archives/${REPOSITORY}.chroot"
221 do
222 if [ -e "${_FILE}" ]
223 then
224 sed -e "s|@DISTRIBUTION@|${_DISTRIBUTION}|g" \
225 -e "s|@PARENT_DISTRIBUTION@|${LB_PARENT_DISTRIBUTION}|g" \
226 -e "s|@ARCHIVE_AREAS@|${LB_PARENT_ARCHIVE_AREAS}|g" \
227 "${_FILE}" > "chroot/etc/apt/sources.list.d/${REPOSITORY}.list"
228 fi
229 done
230
231 # Adding apt configuration (chroot)
232 for _FILE in "${_BASE}/archives/${REPOSITORY}.conf" "${_BASE}/archives/${REPOSITORY}.conf.chroot"
233 do
234 if [ -e "${_FILE}" ]
235 then
236 cp "${_FILE}" "chroot/etc/apt/conf.d/${REPOSITORY}.conf"
237 fi
238 done
239
240 # Adding apt preferences (chroot)
241 for _FILE in "${_BASE}/archives/${REPOSITORY}.pref" "${_BASE}/archives/${REPOSITORY}.pref.chroot"
242 do
243 if [ -e "${_FILE}" ]
244 then
245 cp "${_FILE}" "chroot/etc/apt/preferences.d/${REPOSITORY}.pref"
246 fi
247 done
248
249 # Adding apt keys (chroot)
250 if [ "${LB_APT_SECURE}" != false ]
251 then
252 for _FILE in "${_BASE}/archives/${REPOSITORY}.key" "${_BASE}/archives/${REPOSITORY}.key.chroot"
253 do
254 if [ -e "${_FILE}" ]
255 then
256 cat "${_FILE}" | Chroot chroot "apt-key add -"
257 fi
258 done
259 fi
260 done
261 fi
262
263 # Adding local apt sources (chroot)
264 for FILE in config/archives/*.list config/archives/*.list.chroot
265 do
266 if [ -e "${FILE}" ]
267 then
268 sed -e "s|@DISTRIBUTION@|${LB_DISTRIBUTION}|g" \
269 -e "s|@PARENT_DISTRIBUTION@|${LB_PARENT_DISTRIBUTION}|g" \
270 -e "s|@ARCHIVE_AREAS@|${LB_ARCHIVE_AREAS}|g" \
271 -e "s|@PARENT_ARCHIVE_AREAS@|${LB_PARENT_ARCHIVE_AREAS}|g" \
272 "${FILE}" > "chroot/etc/apt/sources.list.d/$(basename ${FILE} .chroot)"
273
274 if [ "${_PASS}" != "source" ] && [ "${LB_APT_SOURCE_ARCHIVES}" = "false" ]
275 then
276 # Strip out source archives
277 sed "/^deb-src /d" "chroot/etc/apt/sources.list.d/$(basename ${FILE} .chroot)"
278 fi
279 fi
280 done
281
282 # Adding local apt configuration (chroot)
283 for FILE in config/archives/*.conf config/archives/*.conf.chroot
284 do
285 if [ -e "${FILE}" ]
286 then
287 cp ${FILE} chroot/etc/apt/conf.d/$(basename ${FILE} .chroot)
288 fi
289 done
290
291 # Adding local apt preferences (chroot)
292 for FILE in config/archives/*.pref config/archives/*.pref.chroot
293 do
294 if [ -e "${FILE}" ]
295 then
296 cp ${FILE} chroot/etc/apt/preferences.d/$(basename ${FILE} .chroot)
297 fi
298 done
299
300 # Configure local package repository
301 if Find_files config/packages.chroot/*.deb || Find_files config/packages/*.deb
302 then
303 rm -rf chroot/root/packages
304 mkdir -p chroot/root/packages
305
306 if [ "$(stat --printf %d config/packages.chroot)" = "$(stat --printf %d chroot/root/packages)" ] ||
307 [ "$(stat --printf %d config/packages)" = "$(stat --printf %d chroot/root/packages)" ]
308 then
309 CP_OPTIONS="-l"
310 fi
311
312 # Copy packages
313 if Find_files config/packages.chroot/*_"${LB_ARCHITECTURES}".deb || Find_files config/packages/*_"${LB_ARCHITECTURES}".deb
314 then
315 for FILE in config/packages.chroot/*_"${LB_ARCHITECTURES}".deb config/packages/*_"${LB_ARCHITECTURES}".deb
316 do
317 if [ -L "${FILE}" ]
318 then
319 cp -L "${FILE}" chroot/root/packages
320 elif [ -e "${FILE}" ]
321 then
322 cp ${CP_OPTIONS} "${FILE}" chroot/root/packages
323 fi
324 done
325 fi
326
327 if Find_files config/packages.chroot/*_all.deb || Find_files config/packages/*_all.deb
328 then
329 for FILE in config/packages.chroot/*_all.deb config/packages/*_all.deb
330 do
331 if [ -L "${FILE}" ]
332 then
333 cp -L "${FILE}" chroot/root/packages
334 elif [ -e "${FILE}" ]
335 then
336 cp ${CP_OPTIONS} "${FILE}" chroot/root/packages
337 fi
338 done
339 fi
340
341 if Find_files chroot/root/packages/*.deb
342 then
343 # If we bootstrapped a minimal chroot, we need
344 # to install apt-utils before we have
345 # completed all the indices.
346 if [ ! -e chroot/usr/bin/apt-ftparchive ]
347 then
348 Apt chroot update
349 fi
350
351 # Check depends
352 Check_package chroot/usr/bin/apt-ftparchive apt-utils
353
354 # Installing depends
355 Install_package
356
357 # Generate Packages and Packages.gz
358 echo "cd /root/packages && apt-ftparchive packages . > Packages" | Chroot chroot sh
359 gzip -9 -c chroot/root/packages/Packages > chroot/root/packages/Packages.gz
360
361 # Generate Release
362 echo "cd /root/packages && apt-ftparchive \
363 -o APT::FTPArchive::Release::Origin=config/packages.chroot \
364 release . > Release" | Chroot chroot sh
365
366 if [ "${LB_APT_SECURE}" = "true" ]
367 then
368 _LB_DOTGNUPG_EXISTED=0
369 if [ -d chroot/root/.gnupg ]
370 then
371 _LB_DOTGNUPG_EXISTED=1
372 fi
373
374 # Ensure ~/.gnupg exists (required for gnupg >= ~1.4.9)
375 mkdir -p chroot/root/.gnupg
376
377 # Temporarily replace /dev/random with /dev/urandom so as not
378 # to block automated image builds; we don't care about the
379 # security of this key anyway.
380 if [ -e chroot/dev/random ]
381 then
382 mv chroot/dev/random chroot/dev/random.orig
383 cp -a chroot/dev/urandom chroot/dev/random
384 fi
385
386 if Find_files cache/local-package-keyring.*
387 then
388 cp cache/local-package-keyring.* chroot/root
389 else
390 # Generate temporary key
391 echo "Key-Type: RSA
392 Key-Length: 1024
393 Subkey-Type: ELG-E
394 Subkey-Length: 1024
395 Name-Real: live-build local packages key
396 Name-Email: ${_LB_LOCAL_KEY_EMAIL}
397 Expire-Date: 0
398 %secring /root/local-package-keyring.sec
399 %pubring /root/local-package-keyring.pub
400 %commit" | Chroot chroot "gpg --batch --gen-key" || _LB_RET=${?}
401
402 case "${_LB_RET}" in
403 ""|2)
404 # Gnupg sometimes seems to return with a status of 2 when there was not
405 # enough entropy (and key creation blocks temporarily) even if the
406 # operation was ultimately successful.
407 ;;
408 *)
409 Echo_error "GPG exited with error status %s" "${_LB_RET}"
410 exit ${_LB_RET}
411 ;;
412 esac
413
414 # Save keyrings to avoid regeneration
415 cp chroot/root/local-package-keyring.* cache/
416 fi
417
418 # Sign release
419 Chroot chroot "gpg --no-default-keyring --secret-keyring /root/local-package-keyring.sec \
420 --keyring /root/local-package-keyring.pub -abs -o \
421 /root/packages/Release.gpg /root/packages/Release"
422
423 # Import key
424 Chroot chroot "gpg --no-default-keyring --secret-keyring /root/local-package-keyring.sec \
425 --keyring /root/local-package-keyring.pub --armor \
426 --export ${_LB_LOCAL_KEY_EMAIL}" | Chroot chroot "apt-key add -"
427
428 # Remove temporary keyrings
429 rm chroot/root/local-package-keyring.pub
430 rm chroot/root/local-package-keyring.sec
431
432 # Revert /dev/random
433 if [ -e chroot/dev/random.orig ]
434 then
435 mv chroot/dev/random.orig chroot/dev/random
436 fi
437
438 # Remove /root/.gnupg if we created it during the signing process
439 if [ "${_LB_DOTGNUPG_EXISTED}" -eq 0 ]
440 then
441 rm -rf chroot/root/.gnupg
442 fi
443 fi
444
445 # Add to sources.list.d
446 echo "deb file:/root/packages ./" > chroot/etc/apt/sources.list.d/packages.list
447
448 # Move top-level sources away, otherwise apt always preferes it (#644148)
449 if [ -e chroot/etc/apt/sources.list ]
450 then
451 mv chroot/etc/apt/sources.list chroot/etc/apt/sources.list.d/zz-sources.list
452 fi
453
454 # Removing depends
455 Remove_package
456 else
457 Echo_warning "Local packages must be named with suffix '_all.deb' or '_\$architecture.deb'."
458 fi
459 fi
460
461 if Find_files chroot/root/packages/*.deb
462 then
463 gunzip < chroot/root/packages/Packages.gz | awk '/^Package: / { print $2 }' \
464 >> chroot/root/packages.chroot
465 fi
466
467 # Update indices from cache
468 if [ "${LB_CACHE_INDICES}" = "true" ] && [ -d cache/indices.bootstrap ]
469 then
470 if Find_files cache/indices.bootstrap/secring.gpg*
471 then
472 cp -f cache/indices.bootstrap/secring.gpg* chroot/etc/apt
473 fi
474
475 if Find_files cache/indices.bootstrap/trusted.gpg*
476 then
477 cp -rf cache/indices.bootstrap/trusted.gpg* chroot/etc/apt
478 fi
479
480 if [ -f cache/indices.bootstrap/pkgcache.bin ]
481 then
482 cp -f cache/indices.bootstrap/pkgcache.bin chroot/var/cache/apt
483 fi
484
485 if [ -f cache/indices.bootstrap/srcpkgcache.bin ]
486 then
487 cp -f cache/indices.bootstrap/srcpkgcache.bin chroot/var/cache/apt
488 fi
489
490 if Find_files cache/indices.bootstrap/*_Packages
491 then
492 cp -f cache/indices.bootstrap/*_Packages chroot/var/lib/apt/lists
493 fi
494
495 if Find_files cache/indices.bootstrap/*_Sources
496 then
497 cp -f cache/indices.bootstrap/*_Sources chroot/var/lib/apt/lists
498 fi
499
500 if Find_files cache/indices.bootstrap/*Release*
501 then
502 cp -f cache/indices.bootstrap/*Release* chroot/var/lib/apt/lists
503 fi
504
505 if [ "${LB_APT}" = "aptitude" ] && [ ! -x /usr/bin/aptitude ]
506 then
507 Chroot chroot "apt-get ${APT_OPTIONS} update"
508 Chroot chroot "apt-get ${APT_OPTIONS} install aptitude"
509 fi
510 else # Get fresh indices
511 # Check local archive keys
512 if Find_files config/archives/*.key || \
513 Find_files config/archives/*.key.chroot
514 then
515 for FILE in config/archives/*.key \
516 config/archives/*.key.chroot
517 do
518 if [ -e "${FILE}" ]
519 then
520 cp ${FILE} chroot/root
521 Chroot chroot "apt-key add /root/$(basename ${FILE})"
522 rm -f chroot/root/$(basename ${FILE})
523 fi
524 done
525 fi
526
527 # Check local keyring packages
528 if Find_files config/archives/*.deb
529 then
530 for PACKAGE in config/archives/*.deb
531 do
532 cp ${PACKAGE} chroot/root
533 Chroot chroot "dpkg -i /root/$(basename ${PACKAGE})"
534 rm -f chroot/root/$(basename ${PACKAGE})
535 done
536 fi
537
538 # Installing aptitude (FIXME)
539 if [ "${LB_APT}" = "aptitude" ] && [ ! -x /usr/bin/aptitude ]
540 then
541 Chroot chroot "apt-get ${APT_OPTIONS} update"
542 Chroot chroot "apt-get ${APT_OPTIONS} install aptitude"
543 fi
544
545 # Rebuild apt indices from scratch.
546 # Due to the fact that apt doesn't understand
547 # pinning on the fly, we need to manually remove
548 # the cached indices and rebuild them again.
549 rm -rf chroot/var/cache/apt/*.bin
550
551 Apt chroot update
552
553 # Installing keyring packages
554 if [ -n "${LB_KEYRING_PACKAGES}" ]
555 then
556 if [ "${LB_DERIVATIVE}" = "true" ]
557 then
558 # Temporary hack (FIXME)
559 Chroot chroot "apt-get ${APT_OPTIONS} --force-yes install ${LB_KEYRING_PACKAGES}"
560 else
561 Apt chroot "install ${LB_KEYRING_PACKAGES}"
562 fi
563 fi
564
565 rm -rf chroot/var/cache/apt/*.bin
566
567 Apt chroot update
568 Apt chroot "upgrade"
569 Apt chroot "dist-upgrade"
570
571 if [ "${LB_CACHE_INDICES}" = "true" ]
572 then
573 mkdir -p cache/indices.bootstrap
574
575 if Find_files chroot/etc/apt/secring.gpg*
576 then
577 cp -f chroot/etc/apt/secring.gpg* cache/indices.bootstrap
578 fi
579
580 cp -rf chroot/etc/apt/trusted.gpg* cache/indices.bootstrap
581
582 cp -f chroot/var/cache/apt/pkgcache.bin cache/indices.bootstrap
583
584 if Find_files chroot/var/cache/apt/srcpkgcache.bin
585 then
586 cp -f chroot/var/cache/apt/srcpkgcache.bin cache/indices.bootstrap
587 fi
588
589 cp -f chroot/var/lib/apt/lists/*_Packages cache/indices.bootstrap
590
591 if Find_files chroot/var/lib/apt/lists/*_Sources
592 then
593 cp -f chroot/var/lib/apt/lists/*_Sources cache/indices.bootstrap
594 fi
595
596 cp -f chroot/var/lib/apt/lists/*Release* cache/indices.bootstrap
597 fi
598 fi
599
600 # Saving cache
601 Save_cache cache/packages.chroot
602
603 # Creating stage file
604 Create_stagefile .build/chroot_archives
605 ;;
606
607 remove)
608 Echo_message "Deconfiguring file /etc/apt/sources.list"
609
610 # Checking lock file
611 Check_lockfile .lock
612
613 # Creating lock file
614 Create_lockfile .lock
615
616 # Restore top-level sources
617 if [ -e chroot/etc/apt/sources.list.d/zz-sources.list ]
618 then
619 mv chroot/etc/apt/sources.list.d/zz-sources.list chroot/etc/apt/sources.list
620 fi
621
622 # Configure generic indices
623 # Don't do anything if it's not required
624 if [ "${LB_PARENT_MIRROR_CHROOT}" = "${LB_PARENT_MIRROR_BINARY}" ] && \
625 [ "${LB_PARENT_MIRROR_CHROOT_SECURITY}" = "${LB_PARENT_MIRROR_BINARY_SECURITY}" ] && \
626 [ ! -d chroot/root/packages ]
627 then
628 # Removing stage file
629 rm -f .build/chroot_archives
630
631 exit 0
632 fi
633
634 # Cleaning apt list cache
635 rm -rf chroot/var/lib/apt/lists
636 mkdir -p chroot/var/lib/apt/lists/partial
637
638 # Configure custom sources.list
639
640 cat > chroot/etc/apt/${_PARENT_FILE} << EOF
641 deb ${LB_PARENT_MIRROR_BINARY} ${LB_PARENT_DISTRIBUTION} ${LB_PARENT_ARCHIVE_AREAS}
642 EOF
643
644 if [ "${_PASS}" = "source" ] || [ "${LB_APT_SOURCE_ARCHIVES}" = "true" ]
645 then
646 echo "deb-src ${LB_PARENT_MIRROR_BINARY} ${LB_PARENT_DISTRIBUTION} ${LB_PARENT_ARCHIVE_AREAS}" >> chroot/etc/apt/${_PARENT_FILE}
647 fi
648
649 if [ "${LB_DERIVATIVE}" = "true" ]
650 then
651 rm -f chroot/etc/apt/sources.list.d/${LB_MODE}.list
652
653 _DISTRIBUTION="$(echo ${LB_DISTRIBUTION} | sed -e 's|-backports||')"
654
655 echo "deb ${LB_MIRROR_BINARY} ${_DISTRIBUTION} ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
656
657 if [ "${_PASS}" = "source" ] || [ "${LB_APT_SOURCE_ARCHIVES}" = "true" ]
658 then
659 echo "deb-src ${LB_MIRROR_BINARY} ${_DISTRIBUTION} ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
660 fi
661 fi
662
663 if [ "${LB_SECURITY}" = "true" ]
664 then
665 case "${LB_MODE}" in
666 debian|progress-linux)
667 case "${LB_PARENT_DISTRIBUTION}" in
668 sid)
669
670 ;;
671
672 *)
673 echo "deb ${LB_PARENT_MIRROR_BINARY_SECURITY} ${LB_PARENT_DISTRIBUTION}/updates ${LB_PARENT_ARCHIVE_AREAS}" >> chroot/etc/apt/${_PARENT_FILE}
674
675 if [ "${_PASS}" = "source" ] || [ "${LB_APT_SOURCE_ARCHIVES}" = "true" ]
676 then
677 echo "deb-src ${LB_PARENT_MIRROR_BINARY_SECURITY} ${LB_PARENT_DISTRIBUTION}/updates ${LB_PARENT_ARCHIVE_AREAS}" >> chroot/etc/apt/${_PARENT_FILE}
678 fi
679 ;;
680 esac
681
682 if [ "${LB_MODE}" = progress-linux ]
683 then
684 echo "deb ${LB_MIRROR_BINARY_SECURITY} ${_DISTRIBUTION}-security ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
685
686 if [ "${_PASS}" = "source" ] || [ "${LB_APT_SOURCE_ARCHIVES}" = "true" ]
687 then
688 echo "deb-src ${LB_MIRROR_BINARY_SECURITY} ${_DISTRIBUTION}-security ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
689 fi
690 else
691 if [ "${LB_DERIVATIVE}" = "true" ]
692 then
693 echo "deb ${LB_MIRROR_BINARY_SECURITY} ${_DISTRIBUTION}/updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
694
695 if [ "${_PASS}" = "source" ] || [ "${LB_APT_SOURCE_ARCHIVES}" = "true" ]
696 then
697 echo "deb-src ${LB_MIRROR_BINARY_SECURITY} ${_DISTRIBUTION}/updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
698 fi
699 fi
700 fi
701 ;;
702
703 ubuntu)
704 echo "deb ${LB_PARENT_MIRROR_BINARY_SECURITY} ${LB_PARENT_DISTRIBUTION}-security ${LB_PARENT_ARCHIVE_AREAS}" >> chroot/etc/apt/${_PARENT_FILE}
705
706 if [ "${_PASS}" = "source" ] || [ "${LB_APT_SOURCE_ARCHIVES}" = "true" ]
707 then
708 echo "deb-src ${LB_PARENT_MIRROR_BINARY_SECURITY} ${LB_PARENT_DISTRIBUTION}-security ${LB_PARENT_ARCHIVE_AREAS}" >> chroot/etc/apt/${_PARENT_FILE}
709 fi
710 ;;
711 esac
712 fi
713
714 if [ "${LB_UPDATES}" = "true" ]
715 then
716 echo "deb ${LB_PARENT_MIRROR_BINARY_UPDATES} ${LB_PARENT_DISTRIBUTION}-updates ${LB_PARENT_ARCHIVE_AREAS}" >> chroot/etc/apt/${_PARENT_FILE}
717
718 if [ "${_PASS}" = "source" ] || [ "${LB_APT_SOURCE_ARCHIVES}" = "true" ]
719 then
720 echo "deb-src ${LB_PARENT_MIRROR_BINARY_UPDATES} ${LB_PARENT_DISTRIBUTION}-updates ${LB_PARENT_ARCHIVE_AREAS}" >> chroot/etc/apt/${_PARENT_FILE}
721 fi
722
723 if [ "${LB_DERIVATIVE}" = "true" ] && [ "${LB_MIRROR_BINARY_UPDATES}" != "none" ]
724 then
725 echo "deb ${LB_MIRROR_BINARY_UPDATES} ${_DISTRIBUTION}-updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
726
727 if [ "${_PASS}" = "source" ] || [ "${LB_APT_SOURCE_ARCHIVES}" = "true" ]
728 then
729 echo "deb-src ${LB_MIRROR_BINARY_UPDATES} ${_DISTRIBUTION}-updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
730 fi
731 fi
732 fi
733
734 if [ "${LB_BACKPORTS}" = "true" ]
735 then
736 case "${LB_MODE}" in
737 debian)
738 if [ "${LB_PARENT_DISTRIBUTION}" != "sid" ]
739 then
740 echo "deb ${LB_PARENT_MIRROR_BINARY_BACKPORTS} ${LB_PARENT_DISTRIBUTION}-backports ${LB_PARENT_ARCHIVE_AREAS}" >> chroot/etc/apt/${_PARENT_FILE}
741
742 if [ "${_PASS}" = "source" ] || [ "${LB_APT_SOURCE_ARCHIVES}" = "true" ]
743 then
744 echo "deb-src ${LB_PARENT_MIRROR_BINARY_BACKPORTS} ${LB_PARENT_DISTRIBUTION}-backports ${LB_PARENT_ARCHIVE_AREAS}" >> chroot/etc/apt/${_PARENT_FILE}
745 fi
746 fi
747 ;;
748 esac
749
750 if [ "${LB_DERIVATIVE}" = "true" ] && [ "${LB_MIRROR_BINARY_BACKPORTS}" != "none" ]
751 then
752 echo "deb ${LB_MIRROR_BINARY_BACKPORTS} ${_DISTRIBUTION}-backports ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
753
754 if [ "${_PASS}" = "source" ] || [ "${LB_APT_SOURCE_ARCHIVES}" = "true" ]
755 then
756 echo "deb-src ${LB_MIRROR_BINARY_BACKPORTS} ${_DISTRIBUTION}-backports ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
757 fi
758 fi
759 fi
760
761 # probably too bold, needs refinment (FIXME)
762 rm -f chroot/etc/apt/conf.d/*
763 rm -f chroot/etc/apt/preferences.d/*
764
765 # Configure third-party archives
766 if [ -n "${LB_ARCHIVES}" ]
767 then
768 for REPOSITORY in ${LB_ARCHIVES}
769 do
770 # Removing sources.list entries (chroot)
771 rm -f "chroot/etc/apt/sources.list.d/${REPOSITORY}.list"
772
773 # Prefer archives from the config tree
774 # over the global ones.
775 if ! ls "${_BASE}/archives/${REPOSITORY}"* > /dev/null 2>&1
776 then
777 continue
778 fi
779
780 # Adding apt sources (binary)
781 for _FILE in "${_BASE}/archives/${REPOSITORY}" "${_BASE}/archives/${REPOSITORY}.binary"
782 do
783 if [ -e "${_FILE}" ]
784 then
785 sed -e "s|@DISTRIBUTION@|${LB_PARENT_DISTRIBUTION}|g" \
786 -e "s|@PARENT_DISTRIBUTION@|${LB_PARENT_DISTRIBUTION}|g" \
787 -e "s|@ARCHIVE_AREAS@|${LB_PARENT_ARCHIVE_AREAS}|g" \
788 "${_FILE}" > "chroot/etc/apt/sources.list.d/${REPOSITORY}.list"
789 fi
790 done
791
792 # Adding apt configuration (binary)
793 for _FILE in "${_BASE}/archives/${REPOSITORY}.conf" "${_BASE}/archives/${REPOSITORY}.conf.binary"
794 do
795 if [ -e "${_FILE}" ]
796 then
797 cp "${_FILE}" "chroot/etc/apt/conf.d/${REPOSITORY}.conf"
798 fi
799 done
800
801 # Adding apt preferences (binary)
802 for _FILE in "${_BASE}/archives/${REPOSITORY}.pref" "${_BASE}/archives/${REPOSITORY}.pref.binary"
803 do
804 if [ -e "${_FILE}" ]
805 then
806 cp "${_FILE}" "chroot/etc/apt/preferences.d/${REPOSITORY}.pref"
807 fi
808 done
809
810 # Adding apt keys (binary)
811 if [ "${LB_APT_SECURE}" != false ]
812 then
813 for _FILE in "${_BASE}/archives/${REPOSITORY}.key" "${_BASE}/archives/${REPOSITORY}.key.binary"
814 do
815 if [ -e "${_FILE}" ]
816 then
817 cat "${_FILE}" | Chroot chroot "apt-key add -"
818 fi
819 done
820 fi
821 done
822 fi
823
824 # Adding local apt sources (binary)
825 for FILE in config/archives/*.list config/archives/*.list.binary
826 do
827 if [ -e "${FILE}" ]
828 then
829 sed -e "s|@DISTRIBUTION@|${LB_DISTRIBUTION}|g" \
830 -e "s|@PARENT_DISTRIBUTION@|${LB_PARENT_DISTRIBUTION}|g" \
831 -e "s|@ARCHIVE_AREAS@|${LB_ARCHIVE_AREAS}|g" \
832 -e "s|@PARENT_ARCHIVE_AREAS@|${LB_PARENT_ARCHIVE_AREAS}|g" \
833 "${FILE}" > "chroot/etc/apt/sources.list.d/$(basename ${FILE} .binary)"
834
835 if [ "${_PASS}" != "source" ] && [ "${LB_APT_SOURCE_ARCHIVES}" = "false" ]
836 then
837 # Strip out source archives
838 sed "/^deb-src /d" "chroot/etc/apt/sources.list.d/$(basename ${FILE} .binary)"
839 fi
840 fi
841 done
842
843 # Adding local apt configuration (binary)
844 for FILE in config/archives/*.conf config/archives/*.conf.binary
845 do
846 if [ -e "${FILE}" ]
847 then
848 cp ${FILE} chroot/etc/apt/conf.d/$(basename ${FILE} .binary)
849 fi
850 done
851
852 # Adding local apt preferences (binary)
853 for FILE in config/archives/*.pref config/archives/*.pref.binary
854 do
855 if [ -e "${FILE}" ]
856 then
857 cp ${FILE} chroot/etc/apt/preferences.d/$(basename ${FILE} .binary)
858 fi
859 done
860
861 # Adding local apt keys (binary)
862 for FILE in config/archives/*.key config/archives/*.key.binary
863 do
864 if [ -e "${FILE}" ]
865 then
866 cp ${FILE} chroot/root
867 Chroot chroot "apt-key add /root/$(basename ${FILE})"
868 rm -f chroot/root/$(basename ${FILE})
869 fi
870 done
871
872 # Updating indices
873 Apt chroot update
874
875 # Cleaning apt package cache
876 rm -rf chroot/var/cache/apt
877 mkdir -p chroot/var/cache/apt/archives/partial
878
879 # Cleaning apt package lists
880 if [ "${LB_APT_INDICES}" = "false" ]
881 then
882 rm -rf chroot/var/lib/apt/lists
883 mkdir -p chroot/var/lib/apt/lists/partial
884 fi
885
886 # Remove local package repository
887 rm -f chroot/etc/apt/sources.list.d/packages.list
888 rm -rf chroot/root/packages
889
890 # Remove local packages key if it exists
891 if apt-key list | grep -q ${_LB_LOCAL_KEY_EMAIL}
892 then
893 apt-key del ${_LB_LOCAL_KEY_EMAIL}
894 fi
895
896 # Removing stage file
897 rm -f .build/chroot_archives
898 ;;
899
900 *)
901 Usage
902 ;;
903 esac
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'cache chroot stage')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 for STAGE in ${LB_CACHE_STAGES}
27 do
28 if [ "${STAGE}" = "chroot" ]
29 then
30 case "${1}" in
31 restore)
32 Echo_message "Restoring chroot stage from cache..."
33
34 # Checking stage file
35 Check_stagefile .build/chroot_cache.restore
36
37 if [ -d cache/chroot ]
38 then
39 # Checking lock file
40 Check_lockfile .lock
41
42 # Creating lock file
43 Create_lockfile .lock
44
45 # Removing old chroot
46 rm -rf chroot
47
48 # Restoring old cache
49 ${LB_ROOT_COMMAND} cp -a cache/chroot chroot
50
51 if [ -n "${LB_ROOT_COMMAND}" ]
52 then
53 ${LB_ROOT_COMMAND} chown -R $(whoami):$(whoami) chroot
54 fi
55
56 # Creating stage file
57 Create_stagefile .build/chroot_cache.restore
58
59 exit 0
60 fi
61 ;;
62
63 save)
64 Echo_message "Saving chroot stage to cache..."
65
66 # Checking stage file
67 Check_stagefile .build/chroot_cache.save
68
69 # Checking lock file
70 Check_lockfile .lock
71
72 # Creating lock file
73 Create_lockfile .lock
74
75 rm -rf cache/chroot
76
77 mkdir -p cache
78
79 ${LB_ROOT_COMMAND} cp -a chroot cache/chroot
80
81 if [ -n "${LB_ROOT_COMMAND}" ]
82 then
83 ${LB_ROOT_COMMAND} chown -R $(whoami):$(whoami) cache/chroot
84 fi
85
86 # Creating stage file
87 Create_stagefile .build/chroot_cache.save
88 ;;
89 esac
90 fi
91 done
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'manage /etc/debian_chroot')"
17 HELP=""
18 USAGE="${PROGRAM} {install|remove} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 # Requiring stage file
27 Require_stagefile .build/config .build/bootstrap
28
29 case "${1}" in
30 install)
31 Echo_message "Configuring file /etc/debian_chroot"
32
33 # Checking stage file
34 Check_stagefile .build/chroot_debianchroot
35
36 # Checking lock file
37 Check_lockfile .lock
38
39 # Creating lock file
40 Create_lockfile .lock
41
42 if [ -f chroot/etc/debian_chroot ]
43 then
44 # Save chroot file
45 mv chroot/etc/debian_chroot chroot/etc/debian_chroot.orig
46 fi
47
48 # Create chroot file
49 echo "live" > chroot/etc/debian_chroot
50
51 # Creating stage file
52 Create_stagefile .build/chroot_debianchroot
53 ;;
54
55 remove)
56 Echo_message "Deconfiguring file /etc/debian_chroot"
57
58 # Checking lock file
59 Check_lockfile .lock
60
61 # Creating lock file
62 Create_lockfile .lock
63
64 if [ -f chroot/etc/debian_chroot.orig ]
65 then
66 # Restore chroot file
67 mv chroot/etc/debian_chroot.orig chroot/etc/debian_chroot
68 else
69 # Remove chroot file
70 rm -f chroot/etc/debian_chroot
71 fi
72
73 # Removing stage file
74 rm -f .build/chroot_debianchroot
75 ;;
76
77 *)
78 Usage
79 ;;
80 esac
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'mount /dev/pts')"
17 HELP=""
18 USAGE="${PROGRAM} {install|remove} [--force]"
19
20 Arguments "${@}"
21
22 # Ensure that a system is built as root
23 lb testroot
24
25 # Reading configuration files
26 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
27 Set_defaults
28
29 # Requiring stage file
30 Require_stagefile .build/config .build/bootstrap
31
32 case "${1}" in
33 install)
34 Echo_message "Begin mounting /dev/pts..."
35
36 # Checking stage file
37 Check_stagefile .build/chroot_devpts
38
39 # Checking lock file
40 Check_lockfile .lock
41
42 # Creating lock file
43 Create_lockfile .lock
44
45 if [ "${LB_USE_FAKEROOT}" != "true" ]
46 then
47 # Creating mountpoint
48 mkdir -p chroot/dev/pts
49
50 # Mounting /dev/pts
51 ${LB_ROOT_COMMAND} mount devpts-live -t devpts chroot/dev/pts || true
52 fi
53
54 # Creating stage file
55 Create_stagefile .build/chroot_devpts
56 ;;
57
58 remove)
59 Echo_message "Begin unmounting /dev/pts..."
60
61 # Checking lock file
62 Check_lockfile .lock
63
64 # Creating lock file
65 Create_lockfile .lock
66
67 # Unmounting /dev/pts
68 if [ "${LB_USE_FAKEROOT}" != "true" ]
69 then
70 if grep -qs "$(pwd)/chroot/dev/pts" /proc/mounts || Find_files chroot/dev/pts/*
71 then
72 ${LB_ROOT_COMMAND} umount chroot/dev/pts
73 else
74 ${LB_ROOT_COMMAND} umount -f chroot/dev/pts > /dev/null 2>&1 || true
75 fi
76 fi
77
78 # Removing stage file
79 rm -f .build/chroot_devpts
80 ;;
81
82 *)
83 Usage
84 ;;
85 esac
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'manage /sbin/dpkg')"
17 HELP=""
18 USAGE="${PROGRAM} {install|remove} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 # Requiring stage file
27 Require_stagefile .build/config .build/bootstrap
28
29 case "${1}" in
30 install)
31 Echo_message "Configuring file /sbin/start-stop-daemon"
32
33 # Checking stage file
34 Check_stagefile .build/chroot_dpkg
35
36 # Checking lock file
37 Check_lockfile .lock
38
39 # Creating lock file
40 Create_lockfile .lock
41
42 # Save start-stop-daemon program
43 mv chroot/sbin/start-stop-daemon chroot/sbin/start-stop-daemon.orig
44
45 # Create start-stop-daemon program
46
47 cat > chroot/sbin/start-stop-daemon << EOF
48 #!/bin/sh
49
50 exit 0
51 EOF
52
53 chmod 755 chroot/sbin/start-stop-daemon
54
55 # Disable dpkg syncing
56
57 cat > chroot/etc/dpkg/dpkg.cfg.d/live-build << EOF
58 force-unsafe-io
59 EOF
60
61 # Manual hacks for special packages
62
63 # samhain
64 if [ -e /var/state/samhain/samhain_file ]
65 then
66 mv /var/state/samhain/samhain_file /var/state/samhain/samhain_file.orig
67 else
68 mkdir -p /var/state/samhain
69 touch /var/state/samhain/samhain_file
70 fi
71
72 # flash-kernel
73 Chroot chroot dpkg-divert --rename --quiet --add /usr/sbin/flash-kernel
74 ln -s /bin/true chroot/usr/sbin/flash-kernel
75
76 # Creating stage file
77 Create_stagefile .build/chroot_dpkg
78 ;;
79
80 remove)
81 Echo_message "Deconfiguring file /sbin/start-stop-daemon"
82
83 # Checking lock file
84 Check_lockfile .lock
85
86 # Creating lock file
87 Create_lockfile .lock
88
89 # Manual hacks for special packages
90
91 # flash-kernel
92 rm -f chroot/usr/sbin/flash-kernel
93 Chroot chroot dpkg-divert --rename --quiet --remove /usr/sbin/flash-kernel
94
95 # samhain
96 if [ -e /var/state/samhain/samhain_file.orig ]
97 then
98 mv /var/state/samhain/samhain_file.orig /var/state/samhain/samhain_file
99 elif [ -d /var/state/samhain ]
100 then
101 rm -f /var/state/samhain/samhain_file
102 rmdir --ignore-fail-on-non-empty /var/state/samhain || true
103 fi
104
105 # Restore start-stop-daemon program
106 if [ -e chroot/sbin/start-stop-daemon.orig ]
107 then
108 mv chroot/sbin/start-stop-daemon.orig chroot/sbin/start-stop-daemon
109 fi
110
111 # Remove dpkg sync configuration
112 rm -f chroot/etc/dpkg/dpkg.cfg.d/live-build
113
114 # Removing stage file
115 rm -f .build/chroot_dpkg
116 ;;
117
118 *)
119 Usage
120 ;;
121 esac
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'execute hacks in chroot')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 Echo_message "Begin executing hacks..."
27
28 # Requiring stage file
29 Require_stagefile .build/config .build/bootstrap
30
31 # Checking stage file
32 Check_stagefile .build/chroot_hacks
33
34 # Checking lock file
35 Check_lockfile .lock
36
37 # Creating lock file
38 Create_lockfile .lock
39
40 case "${LB_BINARY_IMAGES}" in
41 netboot)
42 if [ ! -f chroot/sbin/mount.cifs ]
43 then
44 Apt chroot install cifs-utils
45 fi
46
47 if [ ! -d chroot/etc/initramfs-tools ]
48 then
49 mkdir chroot/etc/initramfs-tools
50 fi
51
52 # Configuring initramfs for NFS
53 if ! grep -qs "BOOT=nfs" chroot/etc/initramfs-tools/initramfs.conf
54 then
55 echo "BOOT=nfs" >> chroot/etc/initramfs-tools/initramfs.conf
56 fi
57
58 if ! grep -qs "NFSROOT=auto" chroot/etc/initramfs-tools/initramfs.conf
59 then
60 echo "NFSROOT=auto" >> chroot/etc/initramfs-tools/initramfs.conf
61 fi
62 ;;
63 esac
64
65 # Update initramfs (always, because of udev rules in initrd)
66 case "${LB_INITRAMFS}" in
67 casper)
68 UPDATE_INITRAMFS_OPTIONS="CASPER_GENERATE_UUID=1"
69 ;;
70
71 live-boot)
72 #UPDATE_INITRAMFS_OPTIONS="LIVE_GENERATE_UUID=1"
73 ;;
74 esac
75
76 if [ "${LB_INITRAMFS}" != "none" ]
77 then
78 Chroot chroot "${UPDATE_INITRAMFS_OPTIONS} update-initramfs -k all -t -u"
79 fi
80
81 # We probably ought to use COMPRESS= in a temporary file in
82 # /etc/initramfs-tools/conf.d/ instead, but it's hard to pass options that
83 # way.
84 case "${LB_INITRAMFS_COMPRESSION}" in
85 gzip)
86 ;;
87
88 bzip2)
89 for INITRAMFS in $(find chroot/boot -name 'initrd*'); do
90 zcat "${INITRAMFS}" | bzip2 -c ${BZIP2_OPTIONS} > "${INITRAMFS}.new"
91 mv "${INITRAMFS}.new" "${INITRAMFS}"
92 done
93 ;;
94
95 lzma)
96 # We probably ought to use COMPRESS= in a temporary file in
97 # /etc/initramfs-tools/conf.d/ instead, but it's hard to
98 # pass options that way.
99 for INITRAMFS in $(find chroot/boot -name 'initrd*'); do
100 zcat "${INITRAMFS}" | lzma -c ${LZMA_OPTIONS} > "${INITRAMFS}.new"
101 mv "${INITRAMFS}.new" "${INITRAMFS}"
102 done
103 ;;
104 esac
105
106 case "${LB_PARENT_DISTRIBUTION}" in
107 squeeze)
108 # Ensure readable permissions on initramfs. loop-aes-utils sets umask to
109 # protect GPG keys, which live-build does not support.
110 # Note: Use find rather than chmod on the wildcard, one never knows what
111 # people might do in local hooks, and there might be no initrds at all.
112 find chroot/boot -name 'initrd*' -print0 | xargs -r -0 chmod go+r
113 ;;
114 esac
115
116 if [ -n "${LB_ROOT_COMMAND}" ]
117 then
118 ${LB_ROOT_COMMAND} chown -R --quiet $(whoami):$(whoami) chroot
119 fi
120
121 case "${LB_INITRAMFS}" in
122 casper)
123 ID="999"
124 ;;
125
126 live-boot)
127 ID="1000"
128 ;;
129
130 *)
131 ID=""
132 ;;
133 esac
134
135 if [ "${LB_DEBIAN_INSTALLER}" = "live" ]
136 then
137 # This is a temporary hack to get rid of fstab;
138 # needs cleanup in live-boot first to proper fix.
139 rm -f chroot/etc/fstab
140 touch chroot/etc/fstab
141 fi
142
143 if [ "${LB_EXPOSED_ROOT}" = "true" ]
144 then
145 # Make sure RW dirs exist so that the initramfs script has
146 # a directory in which to bind the tmpfs filesystems
147 COW_DIRECTORIES="/home /live /tmp /var/lib/live /var/lock /var/log /var/run /var/tmp /var/spool"
148
149 for DIRECTORY in ${COW_DIRECTORIES}
150 do
151 mkdir -p chroot/"${DIRECTORY}"
152 done
153
154 # Config files which need to be RW
155 COW_FILES="/etc/adjtime /etc/fstab /etc/hostname /etc/hosts /etc/live.conf /etc/network/interfaces /etc/resolv.conf /etc/udev/rules.d/*persistent-net.rules /etc/udev/rules.d/*persistent-cd.rules /etc/X11/xorg.conf"
156
157 # Where we will store RW config files
158 RW_DIRECTORY="/var/lib/live"
159
160 for FILE in ${COW_FILES}
161 do
162 DIRECTORY="$(dirname ${FILE})"
163 FILE="$(basename ${FILE})"
164 RELATIVE_PATH="$(echo ${DIRECTORY} | sed 's|[^/]\+|..|g; s|^/||g')"
165
166 # Touch files in case they don't yet exist
167 mkdir -p chroot/${DIRECTORY}
168 touch chroot/${DIRECTORY}/${FILE}
169
170 # Move files to the read-write directory
171 mkdir -p chroot/${RW_DIRECTORY}/${DIRECTORY}
172 mv chroot/${DIRECTORY}/${FILE} chroot/${RW_DIRECTORY}/${DIRECTORY}
173
174 # Create a symbolic link to RW config file
175 ln -s ${RELATIVE_PATH}/${RW_DIRECTORY}/${DIRECTORY}/${FILE} chroot/${DIRECTORY}/${FILE}
176 done
177
178 # Mount doesn't write to a symlink so use /proc/mounts instead,
179 # see debian bug #154438 for more info
180 rm -f chroot/etc/mtab
181 ln -s /proc/mounts chroot/etc/mtab
182 fi
183
184 if [ "${LB_SWAP_FILE_PATH}" ]; then
185 dd if=/dev/zero of="chroot/${LB_SWAP_FILE_PATH}" bs=1024k count="${LB_SWAP_FILE_SIZE}"
186 mkswap "chroot/${LB_SWAP_FILE_PATH}"
187 fi
188
189 # Creating stage file
190 Create_stagefile .build/chroot_hacks
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'execute hooks in chroot')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 Echo_message "Begin executing hooks..."
27
28 # Requiring stage file
29 Require_stagefile .build/config .build/bootstrap
30
31 # Checking stage file
32 Check_stagefile .build/chroot_hooks
33
34 # Checking lock file
35 Check_lockfile .lock
36
37 # Creating lock file
38 Create_lockfile .lock
39
40 ## Processing distribution hooks
41
42 # Make build config available to chroot hooks. First, make the bind
43 # mount and then make it read-only. This can't happen in one mount
44 # command, then the resulting mount will be rw (see mount(8)). Making it
45 # ro prevents modifications and prevents accidentally removing the
46 # contents of the config directory when removing the chroot.
47 mkdir -p chroot/root/config
48 mount -o bind config chroot/root/config
49 mount -o remount,ro,bind config chroot/root/config
50
51 # Copying hooks
52 for _HOOK in ${LB_CHROOT_HOOKS}
53 do
54 for LOCATION in "${LIVE_BUILD}/hooks" /usr/share/live/build/hooks
55 do
56 for FILE in "${LOCATION}"/????-"${_HOOK}".chroot
57 do
58 if [ -e "${FILE}" ]
59 then
60 mkdir -p chroot/root/lb_chroot_hooks
61 cp "${FILE}" chroot/root/lb_chroot_hooks
62 fi
63 done
64 done
65 done
66
67 # Running hooks
68 if ls chroot/root/lb_chroot_hooks/* > /dev/null 2>&1
69 then
70 for _HOOK in chroot/root/lb_chroot_hooks/*
71 do
72 Chroot chroot "/root/lb_chroot_hooks/$(basename ${_HOOK})" || { Echo_error "${_HOOK} failed (exit non-zero). You should check for errors."; exit 1 ;}
73 rm -f chroot/root/lb_chroot_hooks/"$(basename ${_HOOK})"
74 done
75
76 rmdir chroot/root/lb_chroot_hooks
77 fi
78
79 ## Processing local hooks
80
81 if Find_files config/hooks/*.chroot
82 then
83 # Restoring cache
84 Restore_cache cache/packages.chroot
85
86 for _HOOK in config/hooks/*.chroot
87 do
88 # Copying hook
89 cp "${_HOOK}" chroot/root
90
91 # Making hook executable
92 if [ ! -x chroot/root/"$(basename ${_HOOK})" ]
93 then
94 chmod +x chroot/root/"$(basename ${_HOOK})"
95 fi
96
97 # Executing hook
98 Chroot chroot "/root/$(basename ${_HOOK})" || { Echo_error "${_HOOK} failed (exit non-zero). You should check for errors."; exit 1 ;}
99
100 # Removing hook
101 rm -f chroot/root/"$(basename ${_HOOK})"
102 done
103
104 # Saving cache
105 Save_cache cache/packages.chroot
106
107 # Creating stage file
108 Create_stagefile .build/chroot_hooks
109 fi
110
111 # Remove bind mount of build config inside chroot.
112 umount chroot/root/config
113 rmdir chroot/root/config
114
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'manage /bin/hostname')"
17 HELP=""
18 USAGE="${PROGRAM} {install|remove} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 # Requiring stage file
27 Require_stagefile .build/config .build/bootstrap
28
29 case "${1}" in
30 install)
31 Echo_message "Configuring file /etc/hostname"
32
33 # Checking stage file
34 Check_stagefile .build/chroot_hostname
35
36 # Checking lock file
37 Check_lockfile .lock
38
39 # Creating lock file
40 Create_lockfile .lock
41
42 # Save hostname
43 mv chroot/bin/hostname chroot/bin/hostname.orig
44
45 # Create hostname file
46 echo "localhost.localdomain" > chroot/etc/hostname
47
48 Echo_message "Configuring file /bin/hostname"
49
50 # Create hostname program
51
52 cat > chroot/bin/hostname << EOF
53 #!/bin/sh
54
55 echo "localhost.localdomain"
56 EOF
57
58 chmod 755 chroot/bin/hostname
59
60 # Creating stage file
61 Create_stagefile .build/chroot_hostname
62 ;;
63
64 remove)
65 Echo_message "Deconfiguring file /etc/hostname"
66
67 # Checking lock file
68 Check_lockfile .lock
69
70 # Creating lock file
71 Create_lockfile .lock
72
73 # Copying hostname from includes, if existing
74 if [ -e config/includes.chroot/etc/hostname ]
75 then
76 cp -a config/includes.chroot/etc/hostname chroot/etc/hostname
77 fi
78
79 Echo_message "Deconfiguring file /bin/hostname"
80
81 # Restore hostname file
82 if [ -e chroot/bin/hostname.orig ]
83 then
84 mv chroot/bin/hostname.orig chroot/bin/hostname
85 fi
86
87 # Removing stage file
88 rm -f .build/chroot_hostname
89 ;;
90
91 *)
92 Usage
93 ;;
94 esac
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'manage /etc/hosts')"
17 HELP=""
18 USAGE="${PROGRAM} {install|remove} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 # Requiring stage file
27 Require_stagefile .build/config .build/bootstrap
28
29 case "${1}" in
30 install)
31 Echo_message "Configuring file /etc/hosts"
32
33 # Checking stage file
34 Check_stagefile .build/chroot_hosts
35
36 # Checking lock file
37 Check_lockfile .lock
38
39 # Creating lock file
40 Create_lockfile .lock
41
42 if [ -f chroot/etc/hosts ]
43 then
44 # Save hosts file
45 mv chroot/etc/hosts chroot/etc/hosts.orig
46 fi
47
48 # Creating hosts file
49
50 cat > chroot/etc/hosts << EOF
51 127.0.0.1 localhost localhost.localdomain
52 127.0.1.1 debian
53 EOF
54
55 if [ -f /etc/hosts ]
56 then
57 # Append hosts file
58 #grep -e "127.0.0.1" -e "127.0.1.1" /etc/hosts >> chroot/etc/hosts
59 cat /etc/hosts >> chroot/etc/hosts
60 fi
61
62 # Creating stage file
63 Create_stagefile .build/chroot_hosts
64 ;;
65
66 remove)
67 Echo_message "Deconfiguring file /etc/hosts"
68
69 # Checking lock file
70 Check_lockfile .lock
71
72 # Creating lock file
73 Create_lockfile .lock
74
75 if [ -e config/includes.chroot/etc/hosts ]
76 then
77 # Copying local hosts
78 cp -a config/includes.chroot/etc/hosts chroot/etc/hosts
79 rm -f chroot/etc/hosts.orig
80 elif [ -f chroot/etc/hosts.orig ]
81 then
82 # Restore hosts file
83 mv chroot/etc/hosts.orig chroot/etc/hosts
84 else
85 # Blank out hosts file, don't remove in case
86 # its a symlink, as in the case of exposedroot mode
87 Truncate chroot/etc/hosts
88 fi
89
90 # Removing stage file
91 rm -f .build/chroot_hosts
92 ;;
93
94 *)
95 Usage
96 ;;
97 esac
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'copy files into chroot')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 Echo_message "Begin copying chroot includes..."
27
28 # Requiring stage file
29 Require_stagefile .build/config .build/bootstrap
30
31 # Checking stage file
32 Check_stagefile .build/includes.chroot
33
34 # Checking lock file
35 Check_lockfile .lock
36
37 # Creating lock file
38 Create_lockfile .lock
39
40 if Find_files config/includes.chroot/
41 then
42 # Copying includes
43 cd config/includes.chroot
44 find . | cpio -dmpu --no-preserve-owner "${OLDPWD}"/chroot
45 cd "${OLDPWD}"
46
47 # Creating stage file
48 Create_stagefile .build/chroot_includes
49 fi
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'install queued packages into chroot')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19 USAGE="${PROGRAM} {install|live} [--force]"
20
21 _PASS="${1}"
22 shift
23
24 Arguments "${@}"
25
26 # Reading configuration files
27 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
28 Set_defaults
29
30 Echo_message "Begin installing packages (${_PASS} pass)..."
31
32 # Requiring stage file
33 Require_stagefile .build/config .build/bootstrap
34
35 # Checking stage file
36 Check_stagefile .build/chroot_install-packages.${PASS}
37
38 # Checking lock file
39 Check_lockfile .lock
40
41 # Creating lock file
42 Create_lockfile .lock
43
44 if [ -e chroot/root/packages.chroot ] && [ -s chroot/root/packages.chroot ]
45 then
46 # Restoring cache
47 Restore_cache cache/packages.chroot
48
49 # Installing packages
50 case "${LB_APT}" in
51 apt|apt-get)
52 Chroot chroot "xargs --arg-file=/root/packages.chroot apt-get ${APT_OPTIONS} install"
53 ;;
54
55 aptitude)
56 Chroot chroot "xargs --arg-file=/root/packages.chroot aptitude ${APTITUDE_OPTIONS} install"
57 ;;
58 esac
59
60 # Tidying up
61 rm -f chroot/root/packages.chroot
62
63 # Saving cache
64 Save_cache cache/packages.chroot
65
66 fi
67
68 # Creating stage file
69 Create_stagefile .build/chroot_install-packages.${_PASS}
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'make build interactive')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if [ "${LB_INTERACTIVE}" = "false" ]
27 then
28 exit 0
29 fi
30
31 Echo_message "Begin interactive build..."
32
33 # Requiring stage file
34 Require_stagefile .build/config .build/bootstrap
35
36 # Checking stage file
37 Check_stagefile .build/chroot_interactive
38
39 # Checking lock file
40 Check_lockfile .lock
41
42 # Creating lock file
43 Create_lockfile .lock
44
45 case "${LB_INTERACTIVE}" in
46 true|shell)
47 Echo_message "Pausing build: starting interactive shell..."
48 Chroot chroot "/bin/bash --login"
49 ;;
50 x11)
51 Echo_message "Pausing build: starting interactive X11..."
52 Chroot chroot "startx"
53 ;;
54 xnest)
55 Echo_message "Pausing build: starting interactive Xnest..."
56 #Chroot chroot "" # FIXME
57 ;;
58 esac
59
60 # Creating stage file
61 Create_stagefile .build/chroot_interactive
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'schedule kernel packages for installation')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 # Requiring stage file
27 Require_stagefile .build/config .build/bootstrap
28
29 # Checking stage file
30 Check_stagefile .build/chroot_linux-image
31
32 # Checking lock file
33 Check_lockfile .lock
34
35 # Creating lock file
36 Create_lockfile .lock
37
38 # Diverting update-initramfs
39 #case "${LB_INITRAMFS}" in
40 # live-boot)
41 # mv chroot/usr/sbin/update-initramfs chroot/usr/sbin/update-initramfs.live-build
42 # ;;
43 #esac
44
45 if [ "${LB_LINUX_PACKAGES}" != "none" ]
46 then
47 for FLAVOUR in ${LB_LINUX_FLAVOURS}
48 do
49 for PACKAGE in ${LB_LINUX_PACKAGES}
50 do
51 echo ${PACKAGE}-${FLAVOUR} >> chroot/root/packages.chroot
52 done
53 done
54
55 # Include firmware packages
56 if [ "${LB_FIRMWARE_CHROOT}" = "true" ]
57 then
58 # Assumption: firmware packages install files into /lib/firmware
59
60 # Get all firmware packages names
61 mkdir -p cache/contents.chroot
62
63 FIRMWARE_PACKAGES=""
64
65 if [ "${LB_PARENT_DISTRIBUTION}" = "squeeze" ]
66 then
67 _CONTENTS="${LB_PARENT_MIRROR_CHROOT}/dists/${LB_PARENT_DISTRIBUTION}/Contents-${LB_ARCHITECTURES}.gz"
68 else
69 _CONTENTS="$(for _PARENT_ARCHIVE_AREA in ${LB_PARENT_ARCHIVE_AREAS}; do echo ${LB_PARENT_MIRROR_CHROOT}/dists/${LB_PARENT_DISTRIBUTION}/${_PARENT_ARCHIVE_AREA}/Contents-${LB_ARCHITECTURES}.gz; done)"
70 fi
71
72 rm -f cache/contents.chroot/contents.${LB_PARENT_DISTRIBUTION}.${LB_ARCHITECTURES}
73
74 for _CONTENT in ${_CONTENTS}
75 do
76 wget ${WGET_OPTIONS} ${_CONTENT} -O - | gunzip -c >> cache/contents.chroot/contents.${LB_PARENT_DISTRIBUTION}.${LB_ARCHITECTURES}
77
78 FIRMWARE_PACKAGES="${FIRMWARE_PACKAGES} $(awk '/^lib\/firmware/ { print $2 }' cache/contents.chroot/contents.${LB_PARENT_DISTRIBUTION}.${LB_ARCHITECTURES} | sort -u)"
79 done
80
81 if echo ${LB_PARENT_ARCHIVE_AREAS} | grep -qs "non-free"
82 then
83 # FIXME: should check that we're building on debian through e.g. a 'derivative-is-based-on' variable or somesuch.
84 # Manually add firmware-linux/non-free meta package
85 FIRMWARE_PACKAGES="${FIRMWARE_PACKAGES} firmware-linux"
86 fi
87
88 if [ "${LB_DERIVATIVE}" = "true" ]
89 then
90 # FIXME: account for the fact that PARENT_DISTRIBUTION and DISTRIBUTION might be the same (to not have overlapping cache files for contents).
91
92 if [ "${_PARENT_DISTRIBUTION}" = "squeeze" ]
93 then
94 _CONTENTS="${LB_MIRROR_CHROOT}/dists/${LB_DISTRIBUTION}/Contents-${LB_ARCHITECTURES}.gz"
95 else
96 _CONTENTS="$(for _ARCHIVE_AREA in ${LB_ARCHIVE_AREAS}; do echo ${LB_MIRROR_CHROOT}/dists/${LB_DISTRIBUTION}/${_ARCHIVE_AREA}/Contents-${LB_ARCHITECTURES}.gz; done)"
97 fi
98
99 rm -f cache/contents.chroot/contents.${LB_DISTRIBUTION}.${LB_ARCHITECTURES}
100
101 for _CONTENT in ${_CONTENTS}
102 do
103 wget ${WGET_OPTIONS} ${_CONTENT} -O - | gunzip -c >> cache/contents.chroot/contents.${LB_DISTRIBUTION}.${LB_ARCHITECTURES}
104
105 FIRMWARE_PACKAGES="${FIRMWARE_PACKAGES} $(awk '/^lib\/firmware/ { print $2 }' cache/contents.chroot/contents.${LB_DISTRIBUTION}.${LB_ARCHITECTURES} | sort -u)"
106 done
107 fi
108
109 if [ "${LB_PARENT_DISTRIBUTION}" = "squeeze" ]
110 then
111 # Filter out contrib packages if contrib is not enabled
112 if ! echo ${LB_ARCHIVE_AREAS} | grep -qs contrib
113 then
114 _FIRMWARE_PACKAGES=""
115
116 for _PACKAGE in ${FIRMWARE_PACKAGES}
117 do
118 _FIRMWARE_PACKAGES="${_FIRMWARE_PACKAGES} $(echo ${_PACKAGE} | sed -e 's|^contrib/.*$||')"
119 done
120
121 FIRMWARE_PACKAGES="${_FIRMWARE_PACKAGES}"
122 fi
123
124 # Filter out non-free packages if non-free is not enabled
125 if ! echo ${LB_ARCHIVE_AREAS} | grep -qs non-free
126 then
127 _FIRMWARE_PACKAGES=""
128
129 for _PACKAGE in ${FIRMWARE_PACKAGES}
130 do
131 _FIRMWARE_PACKAGES="${_FIRMWARE_PACKAGES} $(echo ${_PACKAGE} | sed -e 's|^non-free/.*$||')"
132 done
133
134 FIRMWARE_PACKAGES="${_FIRMWARE_PACKAGES}"
135 fi
136 fi
137
138 # Drop section and keep package names only
139 for _PACKAGE in ${FIRMWARE_PACKAGES}
140 do
141 echo $(echo ${_PACKAGE} | awk -F/ '{ print $NF }') >> chroot/root/packages.chroot
142 done
143
144 # Some known licenses required to be accepted
145 if echo ${LB_PARENT_ARCHIVE_AREAS} | grep -qs "non-free"
146 then
147
148 cat >> chroot/root/packages.chroot.cfg << EOF
149 firmware-ivtv firmware-ivtv/license/accepted boolean true
150 firmware-ipw2x00 firmware-ipw2x00/license/accepted boolean true
151 EOF
152
153 fi
154 fi
155
156 # Creating stage file
157 Create_stagefile .build/chroot_linux-image
158 fi
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'schedule live packages for installation')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 # Requiring stage file
27 Require_stagefile .build/config .build/bootstrap
28
29 # Checking stage file
30 Check_stagefile .build/chroot_live-packages
31
32 # Checking lock file
33 Check_lockfile .lock
34
35 # Creating lock file
36 Create_lockfile .lock
37
38 # Queue installation of live-boot
39 if [ -n "${LB_INITRAMFS}" ] && [ "${LB_INITRAMFS}" != "none" ]
40 then
41 _PACKAGES="${LB_INITRAMFS}"
42 fi
43
44 # Queue installation of live-config
45 if [ -n "${LB_INITSYSTEM}" ] && [ "${LB_INITSYSTEM}" != "none" ]
46 then
47 _PACKAGES="${_PACKAGES} live-config live-config-${LB_INITSYSTEM}"
48 fi
49
50 # Do initsystem specific hacks
51 case "${LB_INITSYSTEM}" in
52 systemd)
53 _PACKAGES="${_PACKAGES} systemd-sysv"
54
55 if [ -e chroot/var/lib/dpkg/info/sysvinit.list ]
56 then
57 Chroot chroot "dpkg --force-remove-essential --purge sysvinit"
58 fi
59 ;;
60
61 sysvinit)
62 _PACKAGES="${_PACKAGES} sysvinit"
63
64 if [ -e chroot/var/lib/dpkg/info/systemd-sysv.list ]
65 then
66 Chroot chroot "dpkg --force-remove-essential --purge systemd systemd-sysv"
67 fi
68 ;;
69 esac
70
71 # Install live packages
72 if [ -n "${_PACKAGES}" ]
73 then
74 case "${LB_APT}" in
75 apt|apt-get)
76 Chroot chroot "apt-get ${APT_OPTIONS} install ${_PACKAGES}"
77 ;;
78
79 aptitude)
80 Chroot chroot "aptitude ${APTITUDE_OPTIONS} install ${_PACKAGES}"
81 ;;
82 esac
83
84 # Creating stage file
85 Create_stagefile .build/chroot_live-packages
86 fi
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'queue install of package lists into chroot')"
17 HELP=""
18 USAGE="${PROGRAM} {install|live} [--force]"
19
20 _PASS="${1}"
21 shift
22
23 Arguments "${@}"
24
25 # Reading configuration files
26 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
27 Set_defaults
28
29 Echo_message "Begin queueing installation of package lists (${_PASS} pass)..."
30
31 # Requiring stage file
32 Require_stagefile .build/config .build/bootstrap
33
34 # Checking stage file
35 Check_stagefile .build/chroot_package-lists.${_PASS}
36
37 # Checking lock file
38 Check_lockfile .lock
39
40 # Creating lock file
41 Create_lockfile .lock
42
43 # Handling local package lists
44 if ls config/package-lists/*.list > /dev/null 2>&1 || \
45 ls config/package-lists/*.list.chroot > /dev/null 2>&1 || \
46 ls config/package-lists/*.list.chroot_${_PASS} > /dev/null 2>&1
47 then
48 case "${LB_BUILD_WITH_CHROOT}" in
49 true)
50 # Checking depends
51 Check_package chroot/usr/bin/grep-aptavail dctrl-tools
52
53 # Restoring cache
54 Restore_cache cache/packages.chroot
55
56 # Installing depends
57 Install_package
58 ;;
59
60 false)
61 if [ ! -e /usr/bin/grep-aptavail ]; then
62 # dctrl-tools
63 Echo_error "/usr/bin/grep-aptavail - no such file."
64 exit 1
65 fi
66 ;;
67 esac
68
69 if [ -e "${LIVE_BUILD}/share/bin/Packages" ]
70 then
71 cp "${LIVE_BUILD}/share/bin/Packages" chroot/bin
72 else
73 cp /usr/share/live/build/bin/Packages chroot/bin
74 fi
75
76 for LIST in config/package-lists/*.list \
77 config/package-lists/*.list.chroot \
78 config/package-lists/*.list.chroot_${_PASS}
79 do
80 if [ -e "${LIST}" ]
81 then
82 # Generating package list
83 Expand_packagelist "$(basename ${LIST})" "config/package-lists" \
84 >> chroot/root/packages.chroot
85 fi
86 done
87
88 rm -f chroot/bin/Packages
89
90 case "${LB_BUILD_WITH_CHROOT}" in
91 true)
92 # Removing dctrl-tools again if the user has not installed it
93 if ! grep -qs dctrl-tools chroot/root/packages.chroot
94 then
95 # Removing depends
96 Remove_package
97 fi
98
99 # Saving cache
100 Save_cache cache/packages.binary
101 ;;
102 esac
103
104 # Creating stage file
105 Create_stagefile .build/chroot_package-lists.${_PASS}
106 fi
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'execute local preseed in chroot')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 Echo_message "Begin executing local preseeds..."
27
28 # Requiring stage file
29 Require_stagefile .build/config .build/bootstrap
30
31 # Checking stage file
32 Check_stagefile .build/chroot_preseed
33
34 # Checking lock file
35 Check_lockfile .lock
36
37 # Creating lock file
38 Create_lockfile .lock
39
40 if ls config/preseed/*.preseed > /dev/null 2>&1 || \
41 ls config/preseed/*.preseed.chroot > /dev/null 2>&1 || \
42 ls chroot/root/packages.chroot.cfg > /dev/null 2>&1
43 then
44 # Check dependency
45 Check_package chroot/usr/bin/debconf-set-selections debconf
46
47 # Install dependency
48 Install_package
49
50 for PRESEED in config/preseed/*.preseed config/preseed/*.preseed.chroot chroot/root/packages.chroot.cfg
51 do
52 if [ -e "${PRESEED}" ]
53 then
54 # Copying local preseed
55 cp "${PRESEED}" chroot/root/preseed
56
57 Chroot chroot "debconf-set-selections /root/preseed"
58
59 # Removing local preseed file
60 rm -f chroot/root/preseed
61 fi
62 done
63
64 rm -f chroot/root/packages.chroot.cfg
65
66 # Remove dependency
67 Remove_package
68
69 # Creating stage file
70 Create_stagefile .build/chroot_preseed
71 fi
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'mount /proc')"
17 HELP=""
18 USAGE="${PROGRAM} {install|remove} [--force]"
19
20 Arguments "${@}"
21
22 # Ensure that a system is built as root
23 lb testroot
24
25 # Reading configuration files
26 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
27 Set_defaults
28
29 # Requiring stage file
30 Require_stagefile .build/config .build/bootstrap
31
32 case "${1}" in
33 install)
34 Echo_message "Begin mounting /proc..."
35
36 # Checking stage file
37 Check_stagefile .build/chroot_proc
38
39 # Checking lock file
40 Check_lockfile .lock
41
42 # Creating lock file
43 Create_lockfile .lock
44
45 if [ "${LB_USE_FAKEROOT}" != "true" ]
46 then
47 # Creating mountpoint
48 mkdir -p chroot/proc
49
50 # Mounting /proc
51 ${LB_ROOT_COMMAND} mount proc-live -t proc chroot/proc
52 else
53 rm -rf chroot/proc
54 ln -s /proc chroot/
55 fi
56
57 # Creating stage file
58 Create_stagefile .build/chroot_proc
59 ;;
60
61 remove)
62 Echo_message "Begin unmounting /proc..."
63
64 # Checking lock file
65 Check_lockfile .lock
66
67 # Creating lock file
68 Create_lockfile .lock
69
70 if [ "${LB_USE_FAKEROOT}" != "true" ]
71 then
72 # Workaround binfmt-support /proc locking
73 if [ -e chroot/proc/sys/fs/binfmt_misc/status ]
74 then
75 ${LB_ROOT_COMMAND} umount chroot/proc/sys/fs/binfmt_misc
76 fi
77
78 # Unmounting /proc
79 #fuser -km chroot/proc
80 if [ -e chroot/proc/version ]
81 then
82 ${LB_ROOT_COMMAND} umount chroot/proc
83 fi
84 else
85 rm -rf chroot/proc
86 mkdir -p chroot/proc
87 fi
88
89 # Removing stage file
90 rm -f .build/chroot_proc
91 ;;
92
93 *)
94 Usage
95 ;;
96 esac
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'manage /etc/resolv.conf')"
17 HELP=""
18 USAGE="${PROGRAM} {install|remove} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 # Requiring stage file
27 Require_stagefile .build/config .build/bootstrap
28
29 case "${1}" in
30 install)
31 Echo_message "Configuring file /etc/resolv.conf"
32
33 # Checking stage file
34 Check_stagefile .build/chroot_resolv
35
36 # Checking lock file
37 Check_lockfile .lock
38
39 # Creating lock file
40 Create_lockfile .lock
41
42 if [ -e chroot/etc/resolv.conf ]
43 then
44 # Save resolv file or symlink
45 mv chroot/etc/resolv.conf chroot/etc/resolv.conf.orig
46
47 # Also truncate it, otherwise we'll end up with the one
48 # created by debootstrap in the final image.
49 #
50 # If you want to have a custom resolv.conf, please
51 # overwrite it with normal local_includes mechanism.
52 Truncate chroot/etc/resolv.conf.orig
53 elif [ -L chroot/etc/resolv.conf ]
54 then
55 # Move resolv.conf aside if it's a symlink (likely resolvconf)
56 mv chroot/etc/resolv.conf chroot/etc/resolv.conf.orig
57 fi
58
59 if [ -f /etc/resolv.conf ]
60 then
61 # Copy resolv file
62 cp /etc/resolv.conf chroot/etc/resolv.conf
63 fi
64
65 # Creating stage file
66 Create_stagefile .build/chroot_resolv
67 ;;
68
69 remove)
70 Echo_message "Deconfiguring file /etc/resolv.conf"
71
72 # Checking lock file
73 Check_lockfile .lock
74
75 # Creating lock file
76 Create_lockfile .lock
77
78 if [ -e config/includes.chroot/etc/resolv.conf ]
79 then
80 # Copying local resolv.conf
81 cp -a config/includes.chroot/etc/resolv.conf chroot/etc/resolv.conf
82 rm -f chroot/etc/resolv.conf.orig
83 elif [ -e chroot/etc/resolv.conf.orig ] || [ -L chroot/etc/resolv.conf.orig ]
84 then
85 # Restoring resolv file or symlink
86 mv chroot/etc/resolv.conf.orig chroot/etc/resolv.conf
87 else
88 # Truncating resolv file
89 Truncate chroot/etc/resolv.conf
90 fi
91
92 # Clean up resolvconf's pollution
93 if [ -e chroot/etc/resolvconf/resolv.conf.d ]
94 then
95 rm -f chroot/etc/resolvconf/resolv.conf.d/original
96 rm -f chroot/etc/resolvconf/resolv.conf.d/tail
97 fi
98
99 # Removing stage file
100 rm -f .build/chroot_resolv
101 ;;
102
103 *)
104 Usage
105 ;;
106 esac
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'mount /selinux')"
17 HELP=""
18 USAGE="${PROGRAM} {install|remove} [--force]"
19
20 Arguments "${@}"
21
22 # Ensure that a system is built as root
23 lb testroot
24
25 # Reading configuration files
26 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
27 Set_defaults
28
29 # Requiring stage file
30 Require_stagefile .build/config .build/bootstrap
31
32 case "${1}" in
33 install)
34 if [ -e /selinux/enforce ] && [ "$(cat /selinux/enforce)" = "1" ]
35 then
36 Echo_message "Begin mounting /selinux..."
37
38 # Checking stage file
39 Check_stagefile .build/chroot_selinuxfs
40
41 # Checking lock file
42 Check_lockfile .lock
43
44 # Creating lock file
45 Create_lockfile .lock
46
47 if [ "${LB_USE_FAKEROOT}" != "true" ]
48 then
49 # Create mountpoint
50 mkdir -p chroot/selinux
51
52 # Mounting /selinux
53 ${LB_ROOT_COMMAND} mount selinuxfs-live -t selinuxfs chroot/selinux
54 else
55 rm -rf chroot/selinux
56 ln -s /selinux chroot/
57 fi
58
59 # Creating stage file
60 Create_stagefile .build/chroot_selinuxfs
61 fi
62 ;;
63
64 remove)
65 Echo_message "Begin unmounting /selinux..."
66
67 # Checking lock file
68 Check_lockfile .lock
69
70 # Creating lock file
71 Create_lockfile .lock
72
73 if [ "${LB_USE_FAKEROOT}" != "true" ]
74 then
75 # Unmounting /selinux
76 #fuser -km chroot/selinux
77 if [ -e chroot/selinux/enforce ]
78 then
79 ${LB_ROOT_COMMAND} umount chroot/selinux
80 fi
81 else
82 if [ -e chroot/selinux ]
83 then
84 rm -rf chroot/selinux
85 mkdir -p chroot/selinux
86 fi
87 fi
88
89 # Removing stage file
90 rm -f .build/chroot_selinux
91 ;;
92
93 *)
94 Usage
95 ;;
96 esac
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'mount /sys')"
17 HELP=""
18 USAGE="${PROGRAM} {install|remove} [--force]"
19
20 Arguments "${@}"
21
22 # Ensure that a system is built as root
23 lb testroot
24
25 # Reading configuration files
26 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
27 Set_defaults
28
29 # Requiring stage file
30 Require_stagefile .build/config .build/bootstrap
31
32 case "${1}" in
33 install)
34 Echo_message "Begin mounting /sys..."
35
36 # Checking stage file
37 Check_stagefile .build/chroot_sysfs
38
39 # Checking lock file
40 Check_lockfile .lock
41
42 # Creating lock file
43 Create_lockfile .lock
44
45 if [ "${LB_USE_FAKEROOT}" != "true" ]
46 then
47 # Create mountpoint
48 mkdir -p chroot/sys
49
50 # Mounting /sys
51 ${LB_ROOT_COMMAND} mount sysfs-live -t sysfs chroot/sys
52 else
53 rm -rf chroot/sys
54 ln -s /sys chroot/
55 fi
56
57 # Creating stage file
58 Create_stagefile .build/chroot_sysfs
59 ;;
60
61 remove)
62 Echo_message "Begin unmounting /sys..."
63
64 # Checking lock file
65 Check_lockfile .lock
66
67 # Creating lock file
68 Create_lockfile .lock
69
70 if [ "${LB_USE_FAKEROOT}" != "true" ]
71 then
72 # Unmounting /sys
73 #fuser -km chroot/sys
74 if [ -e chroot/sys/class ]
75 then
76 ${LB_ROOT_COMMAND} umount chroot/sys
77 fi
78 else
79 rm -rf chroot/sys
80 mkdir -p chroot/sys
81 fi
82
83 # Removing stage file
84 rm -f .build/chroot_sysfs
85 ;;
86
87 *)
88 Usage
89 ;;
90 esac
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'manage /usr/sbin/policy-rc.d')"
17 HELP=""
18 USAGE="${PROGRAM} {install|remove} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 # Requiring stage file
27 Require_stagefile .build/config .build/bootstrap
28
29 case "${1}" in
30 install)
31 Echo_message "Configuring file /usr/sbin/policy-rc.d"
32
33 # Checking stage file
34 Check_stagefile .build/chroot_sysv-rc
35
36 # Checking lock file
37 Check_lockfile .lock
38
39 # Creating lock file
40 Create_lockfile .lock
41
42 if [ -f chroot/usr/sbin/policy-rc.d ]
43 then
44 # Save policy-rc.d file
45 mv chroot/usr/sbin/policy-rc.d chroot/usr/sbin/policy-rc.d.orig
46 fi
47
48 # Create policy-rc.d file
49 cat > chroot/usr/sbin/policy-rc.d << EOF
50 #!/bin/sh
51 echo "All runlevel operations denied by policy" >&2
52 exit 101
53 EOF
54
55 chmod 0755 chroot/usr/sbin/policy-rc.d
56
57 # Creating stage file
58 Create_stagefile .build/chroot_sysv-rc
59 ;;
60
61 remove)
62 Echo_message "Deconfiguring file /usr/sbin/policy-rc.d"
63
64 # Checking lock file
65 Check_lockfile .lock
66
67 # Creating lock file
68 Create_lockfile .lock
69
70 if [ -f chroot/usr/sbin/policy-rc.d.orig ]
71 then
72 # Restore policy-rc.d file
73 mv chroot/usr/sbin/policy-rc.d.orig chroot/usr/sbin/policy-rc.d
74 else
75 # Remove policy-rc.d file
76 rm -f chroot/usr/sbin/policy-rc.d
77 fi
78
79 # Removing stage file
80 rm -f .build/chroot_sysv-rc
81 ;;
82
83 *)
84 Usage
85 ;;
86 esac
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'use tmpfs to speedup the build')"
17 HELP=""
18 USAGE="${PROGRAM} {install|remove} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if [ "${LB_BUILD_WITH_TMPFS}" != "true" ]
27 then
28 exit 0
29 fi
30
31 # Requiring stage file
32 Require_stagefile .build/config .build/bootstrap
33
34 case "${1}" in
35 install)
36 Echo_message "Configuring tmpfs for /var/lib/dpkg"
37
38 # Checking stage file
39 Check_stagefile .build/chroot_tmpfs
40
41 # Checking lock file
42 Check_lockfile .lock
43
44 # Creating lock file
45 Create_lockfile .lock
46
47 mv chroot/var/lib/dpkg chroot/var/lib/dpkg.tmp
48 mkdir chroot/var/lib/dpkg
49 mount -t tmpfs tmpfs chroot/var/lib/dpkg
50 mv chroot/var/lib/dpkg.tmp/* chroot/var/lib/dpkg
51 rm -rf chroot/var/lib/dpkg.tmp
52
53 # Creating stage file
54 Create_stagefile .build/chroot_tmpfs
55 ;;
56
57 remove)
58 Echo_message "Deconfiguring tmpfs for /var/lib/dpkg"
59
60 # Checking lock file
61 Check_lockfile .lock
62
63 # Creating lock file
64 Create_lockfile .lock
65
66 mkdir -p chroot/var/lib/dpkg.tmp
67 mv chroot/var/lib/dpkg/* chroot/var/lib/dpkg.tmp
68 umount chroot/var/lib/dpkg
69 rm -rf chroot/var/lib/dpkg
70 mv chroot/var/lib/dpkg.tmp chroot/var/lib/dpkg
71
72 # Removing stage file
73 rm -f .build/chroot_tmpfs
74 ;;
75
76 *)
77 Usage
78 ;;
79 esac
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'manage /sbin/initctl')"
17 HELP=""
18 USAGE="${PROGRAM} {install|remove} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 # Requiring stage file
27 Require_stagefile .build/config .build/bootstrap
28
29 case "${1}" in
30 install)
31 Echo_message "Configuring file /sbin/initctl"
32
33 # Checking stage file
34 Check_stagefile .build/chroot_upstart
35
36 # Checking lock file
37 Check_lockfile .lock
38
39 # Creating lock file
40 Create_lockfile .lock
41
42 if [ -f chroot/sbin/initctl ]
43 then
44 # Save initctl file
45 mv chroot/sbin/initctl chroot/sbin/initctl.orig
46 fi
47
48 # Create initctl file
49 cat > chroot/sbin/initctl << EOF
50 #!/bin/sh
51 echo "All runlevel operations denied by policy" >&2
52 exit 101
53 EOF
54
55 chmod 0755 chroot/sbin/initctl
56
57 # Creating stage file
58 Create_stagefile .build/chroot_upstart
59 ;;
60
61 remove)
62 Echo_message "Deconfiguring file /sbin/initctl"
63
64 # Checking lock file
65 Check_lockfile .lock
66
67 # Creating lock file
68 Create_lockfile .lock
69
70 if [ -f chroot/sbin/initctl.orig ]
71 then
72 # Restore initctl file
73 mv chroot/sbin/initctl.orig chroot/sbin/initctl
74 else
75 # Remove initctl file
76 rm -f chroot/sbin/initctl
77 fi
78
79 # Removing stage file
80 rm -f .build/chroot_upstart
81 ;;
82
83 *)
84 Usage
85 ;;
86 esac
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Read meta config
16 if [ "${1}" != "noauto" ] && [ -x auto/clean ]
17 then
18 Echo_message "Executing auto/clean script."
19 ./auto/clean "${@}"
20 exit ${?}
21 fi
22
23 if [ "${1}" = "noauto" ]
24 then
25 shift
26 fi
27
28 # Setting static variables
29 DESCRIPTION="$(Echo 'clean up system build directories')"
30 HELP=""
31 USAGE="${PROGRAM} [--all] [--cache] [--chroot] [--binary] [--purge] [--remove] [--stage] [--source]"
32
33 #Arguments "${@}"
34
35 # Reading configuration files
36 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
37 Set_defaults
38
39 # Avoid cases were users accidentally nuke their config/binary
40 if [ ! -d config ] && [ "$(basename ${PWD})" = "config" ]
41 then
42 Echo_error "%s is not a good Debian Live working directory to clean." "${PWD}"
43 exit 1
44 fi
45
46 rm -f .lock
47
48 if [ -z "${1}" ]
49 then
50 ARGUMENTS="--all"
51 else
52 ARGUMENTS="${@}"
53 fi
54
55 for ARGUMENT in ${ARGUMENTS}
56 do
57 case "${ARGUMENT}" in
58 --all)
59 "${0}" noauto --chroot
60 "${0}" noauto --binary
61 "${0}" noauto --stage
62 "${0}" noauto --source
63
64 rmdir --ignore-fail-on-non-empty auto > /dev/null 2>&1 || true
65 rmdir --ignore-fail-on-non-empty local/bin > /dev/null 2>&1 || true
66 rmdir --ignore-fail-on-non-empty local > /dev/null 2>&1 || true
67 ;;
68
69 --cache)
70 ${LB_ROOT_COMMAND} rm -rf cache
71 ;;
72
73 --chroot)
74 Echo_message "Cleaning chroot"
75 ${LB_ROOT_COMMAND} umount -f chroot/run > /dev/null 2>&1 || true
76 ${LB_ROOT_COMMAND} umount -f chroot/sys > /dev/null 2>&1 || true
77 ${LB_ROOT_COMMAND} umount -f chroot/proc/sys/fs/binfmt_misc > /dev/null 2>&1 || true
78 ${LB_ROOT_COMMAND} umount -f chroot/proc > /dev/null 2>&1 || true
79 ${LB_ROOT_COMMAND} umount -f chroot/lib/init/rw > /dev/null 2>&1 || true
80 ${LB_ROOT_COMMAND} umount -f chroot/dev/shm > /dev/null 2>&1 || true
81 ${LB_ROOT_COMMAND} umount -f chroot/dev/pts > /dev/null 2>&1 || true
82 ${LB_ROOT_COMMAND} umount -f chroot/dev > /dev/null 2>&1 || true
83 ${LB_ROOT_COMMAND} umount -f chroot/var/lib/dpkg > /dev/null 2>&1 || true
84 ${LB_ROOT_COMMAND} umount -f chroot/root/config > /dev/null 2>&1 || true
85
86 ${LB_ROOT_COMMAND} umount -f chroot/binary.tmp > /dev/null 2>&1 || true
87 ${LB_ROOT_COMMAND} umount -f chroot/dev.tmp/pts > /dev/null 2>&1 || true
88
89 ${LB_ROOT_COMMAND} rm -rf chroot chroot.tmp
90
91 rm -f chroot.packages.live chroot.packages.install
92
93 rm -f .build/chroot*
94 ;;
95
96 --binary)
97 ${LB_ROOT_COMMAND} umount -f binary.tmp > /dev/null 2>&1 || true
98 rm -rf binary.tmp binary.deb binary.udeb
99 rm -f binary*.iso
100 rm -f binary*.img
101 rm -f binary*.tar.gz
102 rm -f binary*.zsync*
103 rm -f binary.sh
104 rm -f binary.contents binary.packages md5sum.txt
105
106 rm -rf binary
107 rm -rf tftpboot
108
109 rm -f .build/binary*
110 ;;
111
112 --remove)
113 "${0}" --all
114 rm -rf cache/packages.*
115 ;;
116
117 --purge)
118 "${0}" --all
119 "${0}" --cache
120
121 if [ -e auto/config ]
122 then
123 rm -f .build/config
124 fi
125 ;;
126
127 --stage)
128 rm -rf .build
129 ;;
130
131 --source)
132 rm -f source*.iso
133 rm -f source*.img
134 rm -f source*.tar
135 rm -f source*.tar.gz
136 rm -f source*.list
137 rm -f source-selection.txt
138
139 rm -rf source
140
141 rm -f .build/source*
142 ;;
143
144 -h|--help)
145 Help
146 ;;
147
148 -u|--usage)
149 Usage
150 ;;
151
152 -v|--version)
153 echo "${VERSION}"
154 exit 0
155 ;;
156
157 *)
158 Usage
159 exit 1
160 ;;
161 esac
162 done
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 PROGRAM="lb config"
17 DESCRIPTION="$(Echo 'create configuration for live-build(7)')"
18 USAGE="${PROGRAM} [--apt apt|aptitude]\n\
19 \t [--apt-ftp-proxy URL]\n\
20 \t [--apt-http-proxy URL]\n\
21 \t [--apt-indices true|false|none]\n\
22 \t [--apt-options OPTION|\"OPTIONS\"]\n\
23 \t [--aptitude-options OPTION|\"OPTIONS\"]\n\
24 \t [--apt-pipeline DEPTH]\n\
25 \t [--apt-recommends true|false]\n\
26 \t [--apt-secure true|false]\n\
27 \t [--apt-source-archives true|false]\n\
28 \t [-a|--architectures ARCHITECTURE]\n\
29 \t [-b|--binary-images iso|iso-hybrid|netboot|tar|hdd]\n\
30 \t [--binary-filesystem fat16|fat32|ext2|ext3|ext4|ntfs]\n\
31 \t [--bootappend-install PARAMETER|\"PARAMETERS\"]\n\
32 \t [--bootappend-live PARAMETER|\"PARAMETERS\"]\n\
33 \t [--bootappend-live-failsafe PARAMETER|\"PARAMETERS\"]\n\
34 \t [--bootloader grub|syslinux|yaboot]\n\
35 \t [--bootstrap cdebootstrap|cdebootstrap-static|debootstrap]\n\
36 \t [--cache true|false]\n\
37 \t [--cache-indices true|false]\n\
38 \t [--cache-packages true|false]\n\
39 \t [--cache-stages STAGE|\"STAGES\"]\n\
40 \t [--checksums md5|sha1|sha256|none]\n\
41 \t [--compression bzip2|gzip|lzip|xz|none]\n\
42 \t [--config GIT_URL::GIT_BRANCH]\n\
43 \t [--zsync true|false]\n\
44 \t [--build-with-chroot true|false]\n\
45 \t [--chroot-filesystem ext2|ext3|ext4|squashfs|jffs2|none]\n\
46 \t [--clean\n\
47 \t [-c|--conffile FILE]\n\
48 \t [--debconf-frontend dialog|editor|noninteractive|readline]\n\
49 \t [--debconf-priority low|medium|high|critical]\n\
50 \t [--debian-installer true|cdrom|netinst|netboot|businesscard|live|false]\n\
51 \t [--debian-installer-distribution daily|CODENAME]\n\
52 \t [--debian-installer-preseedfile FILE|URL]\n\
53 \t [--debian-installer-gui true|false]\n\
54 \t [--debug]\n\
55 \t [-d|--distribution CODENAME]\n\
56 \t [--parent-distribution CODENAME]\n\
57 \t [--parent-debian-installer-distribution CODENAME]\n\
58 \t [--dump]\n\
59 \t [--fdisk fdisk|fdisk.dist]\n\
60 \t [--force]\n\
61 \t [--grub-splash FILE]\n\
62 \t [--gzip-options OPTION|\"OPTIONS\"]\n\
63 \t [--hooks FILE]\n\
64 \t [--ignore-system-defaults]\n\
65 \t [--initramfs auto|none|live-boot|casper]\n\
66 \t [--initramfs-compression bzip2|gzip|lzma]\n\
67 \t [--initsystem sysvinit|runit|systemd|upstart|none]\n\
68 \t [--interactive shell]\n\
69 \t [--isohybrid-options OPTION|\"OPTIONS\"]\n\
70 \t [--hdd-label LABEL]\n\
71 \t [--hdd-size MB]\n\
72 \t [--iso-application NAME]\n\
73 \t [--iso-preparer NAME]\n\
74 \t [--iso-publisher NAME]\n\
75 \t [--iso-volume NAME]\n\
76 \t [--jffs2-eraseblock SIZE]\n\
77 \t [--keyring-packages PACKAGE|\"PACKAGES\"]\n\
78 \t [-k|--linux-flavours FLAVOUR|\"FLAVOURS\"]\n\
79 \t [--linux-packages \"PACKAGES\"]\n\
80 \t [--losetup losetup|losetup.orig]\n\
81 \t [--memtest memtest86+|memtest86|none]\n\
82 \t [-m|--parent-mirror-bootstrap URL]\n\
83 \t [--parent-mirror-chroot URL]\n\
84 \t [--parent-mirror-chroot-security URL]\n\
85 \t [--parent-mirror-chroot-updates URL]\n\
86 \t [--parent-mirror-chroot-backports URL]\n\
87 \t [--parent-mirror-binary URL]\n\
88 \t [--parent-mirror-binary-security URL]\n\
89 \t [--parent-mirror-binary-updates URL]\n\
90 \t [--parent-mirror-binary-backports URL]\n\
91 \t [--parent-mirror-debian-installer URL]\n\
92 \t [--mirror-bootstrap URL]\n\
93 \t [--mirror-chroot URL]\n\
94 \t [--mirror-chroot-security URL]\n\
95 \t [--mirror-chroot-updates URL]\n\
96 \t [--mirror-chroot-backports URL]\n\
97 \t [--mirror-binary URL]\n\
98 \t [--mirror-binary-security URL]\n\
99 \t [--mirror-binary-updates URL]\n\
100 \t [--mirror-binary-backports URL]\n\
101 \t [--mirror-debian-installer URL]\n\
102 \t [--mode debian|emdebian|ubuntu]\n\
103 \t [--system live|normal]\n\
104 \t [--net-root-filesystem nfs|cfs]\n\
105 \t [--net-root-mountoptions OPTIONS]\n\
106 \t [--net-root-path PATH]\n\
107 \t [--net-root-server IP|HOSTNAME]\n\
108 \t [--net-cow-filesystem nfs|cfs]\n\
109 \t [--net-cow-mountoptions OPTIONS]\n\
110 \t [--net-cow-path PATH]\n\
111 \t [--net-cow-server IP|HOSTNAME]\n\
112 \t [--net-tarball true|false]\n\
113 \t [--quiet]\n\
114 \t [--root-command sudo]\n\
115 \t [--use-fakeroot true|false]\n\
116 \t [--archives ARCHIVE|\"ARCHIVES\"]\n\
117 \t [--archive-areas ARCHIVE_AREA|\"ARCHIVE_AREAS\"]\n\
118 \t [--parent-archive-areas ARCHIVE_AREA|\"ARCHIVE_AREAS\"]\n\
119 \t [--security true|false]\n\
120 \t [--source true|false]\n\
121 \t [-s|--source-images iso|netboot|tar|hdd]\n\
122 \t [--firmware-binary true|false]\n\
123 \t [--firmware-chroot true|false]\n\
124 \t [--swap-file-path PATH]\n\
125 \t [--swap-file-size MB]\n\
126 \t [--syslinux-theme THEME_SUFFIX]\n\
127 \t [--tasksel apt|aptitude|tasksel]\n\
128 \t [--templates PATH]\n\
129 \t [--updates true|false]\n\
130 \t [--backports true|false]\n\
131 \t [--exposed-root true|false]\n\
132 \t [--verbose]\n\
133 \t [--loadlin true|false]\n\
134 \t [--win32-loader true|false]\n\
135 \t [--bootstrap-qemu-exclude PACKAGES]\n\
136 \t [--bootstrap-qemu-static PATH]\n\
137 \t [--bootstrap-qemu-arch ARCH]"
138
139
140 Local_arguments ()
141 {
142 LONG_OPTIONS="apt:,apt-ftp-proxy:,apt-http-proxy:,apt-options:,aptitude-options:,debootstrap-options:,cdebootstrap-options:,
143 apt-pipeline:,apt-recommends:,apt-secure:,apt-source-archives:,bootstrap:,cache:,cache-indices:,cache-packages:,
144 cache-stages:,debconf-frontend:,debconf-priority:,dump,
145 initramfs:,initramfs-compression:,initsystem:,fdisk:,losetup:,mode:,system:,root-command:,use-fakeroot:,tasksel:,
146 templates:,architectures:,clean,
147 distribution:,parent-distribution:,parent-debian-installer-distribution:,parent-mirror-bootstrap:,parent-mirror-chroot:,parent-mirror-chroot-security:,parent-mirror-chroot-updates:,parent-mirror-chroot-backports:,parent-mirror-binary:,
148 parent-mirror-binary-security:,parent-mirror-binary-updates:,parent-mirror-binary-backports:,parent-mirror-debian-installer:,
149 mirror-bootstrap:,mirror-chroot:,mirror-chroot-security:,mirror-chroot-updates:,mirror-chroot-backports:,mirror-binary:,
150 mirror-binary-security:,mirror-binary-updates:,mirror-binary-backports:,mirror-debian-installer:,
151 archives:,archive-areas:,parent-archive-areas:,chroot-filesystem:,exposed-root:,
152 gzip-options:,hooks:,interactive:,keyring-packages:,linux-flavours:,linux-packages:,
153 security:,updates:,backports:,binary-filesystem:,binary-images:,
154 apt-indices:,bootappend-install:,bootappend-live:,bootappend-live-failsafe:,bootloader:,checksums:,compression:,config:,zsync:,build-with-chroot:,
155 debian-installer:,debian-installer-distribution:,debian-installer-preseedfile:,debian-installer-gui:,
156 grub-splash:,isohybrid-options:,hdd-label:,hdd-size:,iso-application:,iso-preparer:,iso-publisher:,
157 iso-volume:,jffs2-eraseblock:,memtest:,net-root-filesystem:,net-root-mountoptions:,
158 net-root-path:,net-root-server:,net-cow-filesystem:,net-cow-mountoptions:,net-cow-path:,
159 net-cow-server:,net-tarball:,firmware-binary:,firmware-chroot:,swap-file-path:,swap-file-size:,syslinux-theme:,
160 loadlin:,win32-loader:,source:,source-images:,breakpoints,conffile:,debug,force,
161 help,ignore-system-defaults,quiet,usage,verbose,version,bootstrap-qemu-static:,bootstrap-qemu-arch:,
162 bootstrap-qemu-exclude:"
163 # Remove spaces added by indentation
164 LONG_OPTIONS="$(echo ${LONG_OPTIONS} | tr -d ' ')"
165 ARGUMENTS="$(getopt --longoptions ${LONG_OPTIONS} --name="${PROGRAM}" --options a:f:d:m:l:k:p:b:e:s:c:huv --shell sh -- "${@}")"
166
167 if [ "${?}" != "0" ]
168 then
169 Echo_error "terminating" >&2
170 exit 1
171 fi
172
173 eval set -- "${ARGUMENTS}"
174
175 while true
176 do
177 case "${1}" in
178 --dump)
179 # Dump version
180 if [ -x "$(which dpkg-query 2>/dev/null)" ]
181 then
182 VERSION_DPKG="$(dpkg-query -f='${Version}' --show live-build)"
183 fi
184
185 Echo "%s: This is live-build version %s" "${0}" "${VERSION_DPKG:-${VERSION}}"
186
187 # Dump conffile contents
188 Print_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
189
190 # Dump contents of directories that contain text files
191 for DIRECTORY in config/package-lists config/apt config/preseed config/rootfs
192 do
193 if Find_files "${DIRECTORY}"
194 then
195 Echo_file "${DIRECTORY}"/*
196 fi
197 done
198
199 # Dump directory listings of all directories under config/
200 for DIRECTORY in $(find config/ -mindepth 1 -maxdepth 1 -type d)
201 do
202 if Find_files "${DIRECTORY}"
203 then
204 ls -lR "${DIRECTORY}" | while read LINE
205 do
206 echo "${DIRECTORY}: ${LINE}"
207 done
208 fi
209 done
210
211 exit 0
212 ;;
213
214 --clean)
215 _CLEAN="true"
216 shift
217 ;;
218
219 # config/common
220 --apt)
221 LB_APT="${2}"
222 shift 2
223 ;;
224
225 --apt-ftp-proxy)
226 LB_APT_FTP_PROXY="${2}"
227 shift 2
228 ;;
229
230 --apt-http-proxy)
231 LB_APT_HTTP_PROXY="${2}"
232 shift 2
233 ;;
234
235 --apt-indices)
236 LB_APT_INDICES="${2}"
237 shift 2
238 ;;
239
240 --apt-options)
241 APT_OPTIONS="${2}"
242 shift 2
243 ;;
244
245 --aptitude-options)
246 APTITUDE_OPTIONS="${2}"
247 shift 2
248 ;;
249
250 --apt-pipeline)
251 LB_APT_PIPELINE="${2}"
252 shift 2
253 ;;
254
255 --apt-recommends)
256 LB_APT_RECOMMENDS="${2}"
257 shift 2
258 ;;
259
260 --apt-secure)
261 LB_APT_SECURE="${2}"
262 shift 2
263 ;;
264
265 --apt-source-archives)
266 LB_APT_SOURCE_ARCHIVES="${2}"
267 shift 2
268 ;;
269
270 --bootstrap)
271 LB_BOOTSTRAP="${2}"
272 shift 2
273 ;;
274
275 --debootstrap-options)
276 DEBOOTSTRAP_OPTIONS="${2}"
277 shift 2
278 ;;
279
280 --cdebootstrap-options)
281 CDEBOOTSTRAP_OPTIONS="${2}"
282 shift 2
283 ;;
284
285 --cache)
286 LB_CACHE="${2}"
287 shift 2
288 ;;
289
290 --cache-indices)
291 LB_CACHE_INDICES="${2}"
292 shift 2
293 ;;
294
295 --cache-packages)
296 LB_CACHE_PACKAGES="${2}"
297 shift 2
298 ;;
299
300 --cache-stages)
301 LB_CACHE_STAGES="${2}"
302 shift 2
303 ;;
304
305 --debconf-frontend)
306 LB_DEBCONF_FRONTEND="${2}"
307 shift 2
308 ;;
309
310 --debconf-priority)
311 LB_DEBCONF_PRIORITY="${2}"
312 shift 2
313 ;;
314
315 --initramfs)
316 LB_INITRAMFS="${2}"
317 shift 2
318 ;;
319
320 --initramfs-compression)
321 LB_INITRAMFS_COMPRESSION="${2}"
322 shift 2
323 ;;
324
325 --initsystem)
326 LB_INITSYSTEM="${2}"
327 shift 2
328 ;;
329
330 --fdisk)
331 LB_FDISK="${2}"
332 shift 2
333 ;;
334
335 --losetup)
336 LB_LOSETUP="${2}"
337 shift 2
338 ;;
339
340 --mode)
341 LB_MODE="${2}"
342 shift 2
343 ;;
344
345 --system)
346 LB_SYSTEM="${2}"
347 shift 2
348 ;;
349
350 --root-command)
351 LB_ROOT_COMMAND="${2}"
352 shift 2
353 ;;
354
355 --use-fakeroot)
356 LB_USE_FAKEROOT="${2}"
357 shift 2
358 ;;
359
360 --tasksel)
361 LB_TASKSEL="${2}"
362 shift 2
363 ;;
364
365 --templates)
366 LB_TEMPLATES="${2}"
367 shift 2
368 ;;
369
370 # config/bootstrap
371 -a|--architectures)
372 LB_ARCHITECTURES="${2}"
373 shift 2
374 ;;
375
376 -d|--distribution)
377 LB_DISTRIBUTION="${2}"
378 shift 2
379 ;;
380
381 --parent-distribution)
382 LB_PARENT_DISTRIBUTION="${2}"
383 shift 2
384 ;;
385
386 -m|--parent-mirror-bootstrap)
387 LB_PARENT_MIRROR_BOOTSTRAP="${2}"
388 shift 2
389 ;;
390
391 --parent-mirror-chroot)
392 LB_PARENT_MIRROR_CHROOT="${2}"
393 shift 2
394 ;;
395
396 --parent-mirror-chroot-security)
397 LB_PARENT_MIRROR_CHROOT_SECURITY="${2}"
398 shift 2
399 ;;
400
401 --parent-mirror-chroot-updates)
402 LB_PARENT_MIRROR_CHROOT_UPDATES="${2}"
403 shift 2
404 ;;
405
406 --parent-mirror-chroot-backports)
407 LB_PARENT_MIRROR_CHROOT_BACKPORTS="${2}"
408 shift 2
409 ;;
410
411 --parent-mirror-binary)
412 LB_PARENT_MIRROR_BINARY="${2}"
413 shift 2
414 ;;
415
416 --parent-mirror-binary-security)
417 LB_PARENT_MIRROR_BINARY_SECURITY="${2}"
418 shift 2
419 ;;
420
421 --parent-mirror-binary-updates)
422 LB_PARENT_MIRROR_BINARY_UPDATES="${2}"
423 shift 2
424 ;;
425
426 --parent-mirror-binary-backports)
427 LB_PARENT_MIRROR_BINARY_BACKPORTS="${2}"
428 shift 2
429 ;;
430
431 --parent-mirror-debian-installer)
432 LB_PARENT_MIRROR_DEBIAN_INSTALLER="${2}"
433 shift 2
434 ;;
435
436 --mirror-bootstrap)
437 LB_MIRROR_BOOTSTRAP="${2}"
438 shift 2
439 ;;
440
441 --mirror-chroot)
442 LB_MIRROR_CHROOT="${2}"
443 shift 2
444 ;;
445
446 --mirror-chroot-security)
447 LB_MIRROR_CHROOT_SECURITY="${2}"
448 shift 2
449 ;;
450
451 --mirror-chroot-updates)
452 LB_MIRROR_CHROOT_UPDATES="${2}"
453 shift 2
454 ;;
455
456 --mirror-chroot-backports)
457 LB_MIRROR_CHROOT_BACKPORTS="${2}"
458 shift 2
459 ;;
460
461 --mirror-binary)
462 LB_MIRROR_BINARY="${2}"
463 shift 2
464 ;;
465
466 --mirror-binary-security)
467 LB_MIRROR_BINARY_SECURITY="${2}"
468 shift 2
469 ;;
470
471 --mirror-binary-updates)
472 LB_MIRROR_BINARY_UPDATES="${2}"
473 shift 2
474 ;;
475
476 --mirror-binary-backports)
477 LB_MIRROR_BINARY_BACKPORTS="${2}"
478 shift 2
479 ;;
480
481 --mirror-debian-installer)
482 LB_MIRROR_DEBIAN_INSTALLER="${2}"
483 shift 2
484 ;;
485
486 --archives)
487 LB_ARCHIVES="${2}"
488 shift 2
489 ;;
490
491 --archive-areas)
492 LB_ARCHIVE_AREAS="${2}"
493 shift 2
494 ;;
495
496 --parent-archive-areas)
497 LB_PARENT_ARCHIVE_AREAS="${2}"
498 shift 2
499 ;;
500
501 # config/chroot
502 --chroot-filesystem)
503 LB_CHROOT_FILESYSTEM="${2}"
504 shift 2
505 ;;
506
507 --exposed-root)
508 LB_EXPOSED_ROOT="${2}"
509 shift 2
510 ;;
511
512 --gzip-options)
513 GZIP_OPTIONS="${2}"
514 shift 2
515 ;;
516
517 --hooks)
518 LB_HOOKS="${2}"
519 shift 2
520 ;;
521
522 --interactive)
523 LB_INTERACTIVE="${2}"
524 shift 2
525 ;;
526
527 --keyring-packages)
528 LB_KEYRING_PACKAGES="${2}"
529 shift 2
530 ;;
531
532 -k|--linux-flavours)
533 LB_LINUX_FLAVOURS="${2}"
534 shift 2
535 ;;
536
537 --linux-packages)
538 LB_LINUX_PACKAGES="${2}"
539 shift 2
540 ;;
541
542 --security)
543 LB_SECURITY="${2}"
544 shift 2
545 ;;
546
547 --updates)
548 LB_UPDATES="${2}"
549 shift 2
550 ;;
551
552 --backports)
553 LB_BACKPORTS="${2}"
554 shift 2
555 ;;
556
557 # config/binary
558 --binary-filesystem)
559 LB_BINARY_FILESYSTEM="${2}"
560 shift 2
561 ;;
562
563 -b|--binary-images)
564 LB_BINARY_IMAGES="${2}"
565 shift 2
566 ;;
567
568 --bootappend-live)
569 LB_BOOTAPPEND_LIVE="${2}"
570 shift 2
571 ;;
572
573 --bootappend-live-failsafe)
574 LB_BOOTAPPEND_LIVE_FAILSAFE="${2}"
575 shift 2
576 ;;
577
578 --bootappend-install)
579 LB_BOOTAPPEND_INSTALL="${2}"
580 shift 2
581 ;;
582
583 --bootloader)
584 LB_BOOTLOADER="${2}"
585 shift 2
586 ;;
587
588 --checksums)
589 LB_CHECKSUMS="${2}"
590 shift 2
591 ;;
592
593 --compression)
594 LB_COMPRESSION="${2}"
595 shift 2
596 ;;
597
598 --config)
599 _CONFIG="${2}"
600 shift 2
601 ;;
602
603 --zsync)
604 LB_ZSYNC="${2}"
605 shift 2
606 ;;
607
608 --build-with-chroot)
609 LB_BUILD_WITH_CHROOT="${2}"
610 shift 2
611 ;;
612
613 --debian-installer)
614 LB_DEBIAN_INSTALLER="${2}"
615 shift 2
616 ;;
617
618 --debian-installer-distribution)
619 LB_DEBIAN_INSTALLER_DISTRIBUTION="${2}"
620 shift 2
621 ;;
622
623 --parent-debian-installer-distribution)
624 LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="${2}"
625 shift 2
626 ;;
627
628 --debian-installer-preseedfile)
629 LB_DEBIAN_INSTALLER_PRESEEDFILE="${2}"
630 shift 2
631 ;;
632
633 --debian-installer-gui)
634 LB_DEBIAN_INSTALLER_GUI="${2}"
635 shift 2
636 ;;
637
638 --grub-splash)
639 LB_GRUB_SPLASH="${2}"
640 shift 2
641 ;;
642
643 --isohybrid-options)
644 LB_ISOHYBRID_OPTIONS="${2}"
645 shift 2
646 ;;
647
648 --hdd-label)
649 LB_HDD_LABEL="${2}"
650 shift 2
651 ;;
652
653 --hdd-size)
654 LB_HDD_SIZE="${2}"
655 shift 2
656 ;;
657
658 --iso-application)
659 LB_ISO_APPLICATION="${2}"
660 shift 2
661 ;;
662
663 --iso-preparer)
664 LB_ISO_PREPARER="${2}"
665 shift 2
666 ;;
667
668 --iso-publisher)
669 LB_ISO_PUBLISHER="${2}"
670 shift 2
671 ;;
672
673 --iso-volume)
674 LB_ISO_VOLUME="${2}"
675 shift 2
676 ;;
677
678 --jffs2-eraseblock)
679 LB_JFFS2_ERASEBLOCK="${2}"
680 shift 2
681 ;;
682
683 --memtest)
684 LB_MEMTEST="${2}"
685 shift 2
686 ;;
687
688 --net-root-filesystem)
689 LB_NET_ROOT_FILESYSTEM="${2}"
690 shift 2
691 ;;
692
693 --net-root-mountoptions)
694 LB_NET_ROOT_MOUNTOPTIONS="${2}"
695 shift 2
696 ;;
697
698 --net-root-path)
699 LB_NET_ROOT_PATH="${2}"
700 shift 2
701 ;;
702
703 --net-root-server)
704 LB_NET_ROOT_SERVER="${2}"
705 shift 2
706 ;;
707
708 --net-cow-filesystem)
709 LB_NET_COW_FILESYSTEM="${2}"
710 shift 2
711 ;;
712
713 --net-cow-mountoptions)
714 LB_NET_COW_MOUNTOPTIONS="${2}"
715 shift 2
716 ;;
717
718 --net-cow-path)
719 LB_NET_COW_PATH="${2}"
720 shift 2
721 ;;
722
723 --net-cow-server)
724 LB_NET_COW_SERVER="${2}"
725 shift 2
726 ;;
727
728 --net-tarball)
729 LB_NET_TARBALL="${2}"
730 shift 2
731 ;;
732
733 --firmware-binary)
734 LB_FIRMWARE_BINARY="${2}"
735 shift 2
736 ;;
737
738 --firmware-chroot)
739 LB_FIRMWARE_CHROOT="${2}"
740 shift 2
741 ;;
742
743 --swap-file-path)
744 LB_SWAP_FILE_PATH="${2}"
745 shift 2
746 ;;
747
748 --swap-file-size)
749 LB_SWAP_FILE_SIZE="${2}"
750 shift 2
751 ;;
752
753 --syslinux-theme)
754 LB_SYSLINUX_THEME="${2}"
755 shift 2
756 ;;
757
758 --loadlin)
759 LB_LOADLIN="${2}"
760 shift 2
761 ;;
762
763 --win32-loader)
764 LB_WIN32_LOADER="${2}"
765 shift 2
766 ;;
767
768 --bootstrap-qemu-arch)
769 LB_BOOTSTRAP_QEMU_ARCHITECTURES="${2}"
770 shift 2
771 ;;
772
773 --bootstrap-qemu-exclude)
774 LB_BOOTSTRAP_QEMU_EXCLUDE="${2}"
775 shift 2
776 ;;
777
778 --bootstrap-qemu-static)
779 LB_BOOTSTRAP_QEMU_STATIC="${2}"
780 shift 2
781 ;;
782
783 # config/source
784 --source)
785 LB_SOURCE="${2}"
786 shift 2
787 ;;
788
789 -s|--source-images)
790 LB_SOURCE_IMAGES="${2}"
791 shift 2
792 ;;
793
794 # other
795 --breakpoints)
796 _BREAKPOINTS="true"
797 shift
798 ;;
799
800 -c|--conffile)
801 _CONFFILE="${2}"
802 shift 2
803 ;;
804
805 --color)
806 _COLOR="true"
807 shift
808 ;;
809
810 --debug)
811 _DEBUG="true"
812 shift
813 ;;
814
815 --force)
816 _FORCE="true"
817 shift
818 ;;
819
820 -h|--help)
821 Help
822 shift
823 ;;
824
825 --ignore-system-defaults)
826 shift
827 ;;
828
829 --quiet)
830 _QUIET="true"
831 shift
832 ;;
833
834 -u|--usage)
835 Usage
836 shift
837 ;;
838
839 --verbose)
840 _VERBOSE="true"
841 shift
842 ;;
843
844 -v|--version)
845 echo "${VERSION}"
846 exit 0
847 ;;
848
849 --)
850 shift
851 break
852 ;;
853
854 *)
855 Echo_error "internal error %s" "${0}"
856 exit 1
857 ;;
858 esac
859 done
860 }
861
862 Local_arguments "${@}"
863
864 if [ -e .git ] && [ -n "${_CONFIG}" ]
865 then
866 if [ "${1}" != "noauto" ]
867 then
868 Echo_message "Ignoring --config ${_CONFIG}: ${PWD} is already a git repository"
869 fi
870
871 _CONFIG=""
872 fi
873
874 if [ -e .build/config ] && [ -n "${_CONFIG}" ]
875 then
876 if [ "${1}" != "noauto" ]
877 then
878 Echo_message "Ignoring --config ${_CONFIG}: ${PWD} is already a live-build configuration tree"
879 fi
880
881 _CONFIG=""
882 fi
883
884 if [ -n "${_CONFIG}" ]
885 then
886 if [ -e "${_CONFIG}" ] || [ -e "/usr/share/live/images/${_CONFIG}" ]
887 then
888 if [ ! -e "${_CONFIG}" ] && [ -e "/usr/share/live/images/${_CONFIG}" ]
889 then
890 _CONFIG="/usr/share/live/images/${_CONFIG}"
891 fi
892
893 Echo_message "Copying ${_CONFIG}"
894 tar -C "${_CONFIG}" -c . | tar -C ./ -x
895 else
896 _GIT_REPOSITORY="$(echo ${_CONFIG} | sed -e 's|::.*$||')"
897
898 Echo_message "Cloning ${_GIT_REPOSITORY}"
899 git clone ${_GIT_REPOSITORY} ./
900
901 if [ "${_GIT_REPOSITORY}" != "${_CONFIG}" ]
902 then
903 _GIT_BRANCH="$(echo ${_CONFIG} | awk -F\:\: '{ print $NF }')"
904
905 Echo_message "Checking out ${_GIT_BRANCH}"
906 git checkout ${_GIT_BRANCH}
907 fi
908 fi
909
910 if [ -e auto/config ]
911 then
912 _EXTRA_OPTIONS="$(echo ${@} | sed -e "s|--config ${_GIT_REPOSITORY}::${_GIT_BRANCH}||g" -e "s|--config ${_GIT_REPOSITORY}||g")"
913
914 Echo_message "The following extra options specified to lb config are going to be added to auto/config: ${_EXTRA_OPTIONS}"
915 sed -i -e "s|\"\${@}\"|${_EXTRA_OPTIONS} \"\${@}\"|" auto/config
916 fi
917 fi
918
919 # Read meta config
920 if [ "${1}" != "noauto" ] && [ -x auto/config ]
921 then
922 Echo_message "Executing auto/config script."
923 ./auto/config "${@}"
924 exit ${?}
925 fi
926
927 if [ "${1}" = "noauto" ]
928 then
929 shift
930 fi
931
932 # Reading system configuration
933 if ! In_list "--ignore-system-defaults" "${@}"
934 then
935 Echo_message "Considering defaults defined in %s" "/etc/live/build.conf"
936
937 Read_conffiles /etc/live/build.conf /etc/live/build/*
938 fi
939
940 # Reading existing configuration
941 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
942
943 Local_arguments "${@}"
944
945 if [ -n "${_CONFFILE}" ]
946 then
947 Read_conffiles "${_CONFFILE}"
948 fi
949
950 # Setting defaults
951 Set_defaults
952
953 # Checking defaults
954 Check_defaults
955
956 if [ ! -e config ]
957 then
958 Echo_message "Creating config tree for a ${LB_MODE}/${LB_ARCHITECTURES} system"
959 else
960 Echo_message "Updating config tree for a ${LB_MODE}/${LB_ARCHITECTURES} system"
961 fi
962
963 # Creating bootstrap configuration
964 mkdir -p config
965 mkdir -p config/includes
966
967 # Creating live-build configuration
968 cat > config/common << EOF
969 # config/common - common options for live-build(7)
970
971 # LB_CONFIG_VERSION: internal version of the configuration file format
972 LB_CONFIG_VERSION="${CONFIG_VERSION}"
973
974 # \$LB_APT: set package manager
975 # (Default: ${LB_APT})
976 LB_APT="${LB_APT}"
977
978 # \$LB_APT_FTP_PROXY: set apt/aptitude ftp proxy
979 # (Default: autodetected or empty)
980 LB_APT_FTP_PROXY="${LB_APT_FTP_PROXY}"
981
982 # \$LB_APT_HTTP_PROXY: set apt/aptitude http proxy
983 # (Default: autodetected or empty)
984 LB_APT_HTTP_PROXY="${LB_APT_HTTP_PROXY}"
985
986 # \$LB_APT_PIPELINE: set apt/aptitude pipeline depth
987 # (Default: ${LB_APT_PIPELINE})
988 LB_APT_PIPELINE="${LB_APT_PIPELINE}"
989
990 # \$LB_APT_RECOMMENDS: set apt/aptitude recommends
991 # (Default: ${LB_APT_RECOMMENDS})
992 LB_APT_RECOMMENDS="${LB_APT_RECOMMENDS}"
993
994 # \$LB_APT_SECURE: set apt/aptitude security
995 # (Default: ${LB_APT_SECURE})
996 LB_APT_SECURE="${LB_APT_SECURE}"
997
998 # \$LB_APT_SOURCE_ARCHIVES: set apt/aptitude source entries in sources.list
999 # (Default: ${LB_APT_SOURCE_ARCHIVES})
1000 LB_APT_SOURCE_ARCHIVES="${LB_APT_SOURCE_ARCHIVES}"
1001
1002 # \$LB_BOOTSTRAP: set bootstrap program
1003 # (Default: ${LB_BOOTSTRAP})
1004 LB_BOOTSTRAP="${LB_BOOTSTRAP}"
1005
1006 # \$LB_CACHE: control cache
1007 # (Default: ${LB_CACHE})
1008 LB_CACHE="${LB_CACHE}"
1009
1010 # \$LB_CACHE_INDICES: control if downloaded package indices should be cached
1011 # (Default: ${LB_CACHE_INDICES})
1012 LB_CACHE_INDICES="${LB_CACHE_INDICES}"
1013
1014 # \$LB_CACHE_PACKAGES: control if downloaded packages files should be cached
1015 # (Default: ${LB_CACHE_PACKAGES})
1016 LB_CACHE_PACKAGES="${LB_CACHE_PACKAGES}"
1017
1018 # \$LB_CACHE_STAGES: control if completed stages should be cached
1019 # (Default: ${LB_CACHE_STAGES})
1020 LB_CACHE_STAGES="${LB_CACHE_STAGES}"
1021
1022 # \$LB_DEBCONF_FRONTEND: set debconf(1) frontend to use
1023 # (Default: ${LB_DEBCONF_FRONTEND})
1024 LB_DEBCONF_FRONTEND="${LB_DEBCONF_FRONTEND}"
1025
1026 # \$LB_DEBCONF_PRIORITY: set debconf(1) priority to use
1027 # (Default: ${LB_DEBCONF_PRIORITY})
1028 LB_DEBCONF_PRIORITY="${LB_DEBCONF_PRIORITY}"
1029
1030 # \$LB_INITRAMFS: set initramfs hook
1031 # (Default: ${LB_INITRAMFS})
1032 LB_INITRAMFS="${LB_INITRAMFS}"
1033
1034 # \$LB_INITRAMFS_COMPRESSION: set initramfs compression
1035 # (Default: ${LB_INITRAMFS_COMPRESSION})
1036 LB_INITRAMFS_COMPRESSION="${LB_INITRAMFS_COMPRESSION}"
1037
1038 # \$LB_INITSYSTEM: set init system
1039 # (Default: ${LB_INITSYSTEM})
1040 LB_INITSYSTEM="${LB_INITSYSTEM}"
1041
1042 # \$LB_FDISK: set fdisk program
1043 # (Default: autodetected)
1044 LB_FDISK="${LB_FDISK}"
1045
1046 # \$LB_LOSETUP: set losetup program
1047 # (Default: autodetected)
1048 LB_LOSETUP="${LB_LOSETUP}"
1049
1050 # \$LB_MODE: set distribution mode
1051 # (Default: ${LB_MODE})
1052 LB_MODE="${LB_MODE}"
1053
1054 # \$LB_SYSTEM: set system type
1055 # (Default: ${LB_SYSTEM})
1056 LB_SYSTEM="${LB_SYSTEM}"
1057
1058 # \$LB_ROOT_COMMAND: use sudo or equivalent
1059 # (Default: empty)
1060 #LB_ROOT_COMMAND="sudo"
1061
1062 # \$LB_USE_FAKEROOT: use fakeroot/fakechroot
1063 # (Default: ${LB_USE_FAKEROOT})
1064 LB_USE_FAKEROOT="${LB_USE_FAKEROOT}"
1065
1066 # \$LB_TASKSEL: set tasksel program
1067 # (Default: ${LB_TASKSEL})
1068 LB_TASKSEL="${LB_TASKSEL}"
1069
1070 # \$LB_TEMPLATES: set templates
1071 # (Default: ${LB_TEMPLATES})
1072 LB_TEMPLATES="${LB_TEMPLATES}"
1073
1074 # live-build options
1075
1076 # \$_BREAKPOINTS: enable breakpoints
1077 # (Default: ${_BREAKPOINTS})
1078 #_BREAKPOINTS="${_BREAKPOINTS}"
1079
1080 # \$_DEBUG: enable debug
1081 # (Default: ${_DEBUG})
1082 #_DEBUG="${_DEBUG}"
1083
1084 # \$_COLOR: enable color
1085 # (Default: ${_COLOR})
1086 #_COLOR="${_COLOR}"
1087
1088 # \$_FORCE: enable force
1089 # (Default: ${_FORCE})
1090 #_FORCE="${_FORCE}"
1091
1092 # \$_QUIET: enable quiet
1093 # (Default: ${_QUIET})
1094 _QUIET="${_QUIET}"
1095
1096 # \$_VERBOSE: enable verbose
1097 # (Default: ${_VERBOSE})
1098 #_VERBOSE="${_VERBOSE}"
1099
1100 # Internal stuff (FIXME)
1101 APT_OPTIONS="${APT_OPTIONS}"
1102 APTITUDE_OPTIONS="${APTITUDE_OPTIONS}"
1103 DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS}"
1104 CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS}"
1105 GZIP_OPTIONS="${GZIP_OPTIONS}"
1106 ISOHYBRID_OPTIONS="${ISOHYBRID_OPTIONS}"
1107 EOF
1108
1109 # Creating lb_bootstrap_* configuration
1110 cat > config/bootstrap << EOF
1111 # config/bootstrap - options for live-build(7), bootstrap stage
1112
1113 # \$LB_ARCHITECTURES: select chroot architectures
1114 # (Default: autodetected)
1115 LB_ARCHITECTURES="${LB_ARCHITECTURES}"
1116
1117 # \$LB_DISTRIBUTION: select distribution to use
1118 # (Default: ${LB_DISTRIBUTION})
1119 LB_DISTRIBUTION="${LB_DISTRIBUTION}"
1120
1121 # \$LB_PARENT_DISTRIBUTION: select parent distribution to use
1122 # (Default: ${LB_PARENT_DISTRIBUTION})
1123 LB_PARENT_DISTRIBUTION="${LB_PARENT_DISTRIBUTION}"
1124
1125 # \$LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION: select parent distribution for debian-installer to use
1126 # (Default: ${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION})
1127 LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}"
1128
1129 # \$LB_PARENT_MIRROR_BOOTSTRAP: set parent mirror to bootstrap from
1130 # (Default: ${LB_PARENT_MIRROR_BOOTSTRAP})
1131 LB_PARENT_MIRROR_BOOTSTRAP="${LB_PARENT_MIRROR_BOOTSTRAP}"
1132
1133 # \$LB_PARENT_MIRROR_CHROOT: set parent mirror to fetch packages from
1134 # (Default: ${LB_PARENT_MIRROR_CHROOT})
1135 LB_PARENT_MIRROR_CHROOT="${LB_PARENT_MIRROR_CHROOT}"
1136
1137 # \$LB_PARENT_MIRROR_CHROOT_SECURITY: set security parent mirror to fetch packages from
1138 # (Default: ${LB_PARENT_MIRROR_CHROOT_SECURITY})
1139 LB_PARENT_MIRROR_CHROOT_SECURITY="${LB_PARENT_MIRROR_CHROOT_SECURITY}"
1140
1141 # \$LB_PARENT_MIRROR_CHROOT_UPDATES: set updates parent mirror to fetch packages from
1142 # (Default: ${LB_PARENT_MIRROR_CHROOT_UPDATES})
1143 LB_PARENT_MIRROR_CHROOT_UPDATES="${LB_PARENT_MIRROR_CHROOT_UPDATES}"
1144
1145 # \$LB_PARENT_MIRROR_CHROOT_BACKPORTS: set backports parent mirror to fetch packages from
1146 # (Default: ${LB_PARENT_MIRROR_CHROOT_BACKPORTS})
1147 LB_PARENT_MIRROR_CHROOT_BACKPORTS="${LB_PARENT_MIRROR_CHROOT_BACKPORTS}"
1148
1149 # \$LB_PARENT_MIRROR_BINARY: set parent mirror which ends up in the image
1150 # (Default: ${LB_PARENT_MIRROR_BINARY})
1151 LB_PARENT_MIRROR_BINARY="${LB_PARENT_MIRROR_BINARY}"
1152
1153 # \$LB_PARENT_MIRROR_BINARY_SECURITY: set security parent mirror which ends up in the image
1154 # (Default: ${LB_PARENT_MIRROR_BINARY_SECURITY})
1155 LB_PARENT_MIRROR_BINARY_SECURITY="${LB_PARENT_MIRROR_BINARY_SECURITY}"
1156
1157 # \$LB_PARENT_MIRROR_BINARY_UPDATES: set updates parent mirror which ends up in the image
1158 # (Default: ${LB_PARENT_MIRROR_BINARY_UPDATES})
1159 LB_PARENT_MIRROR_BINARY_UPDATES="${LB_PARENT_MIRROR_BINARY_UPDATES}"
1160
1161 # \$LB_PARENT_MIRROR_BINARY_BACKPORTS: set backports parent mirror which ends up in the image
1162 # (Default: ${LB_PARENT_MIRROR_BINARY_BACKPORTS})
1163 LB_PARENT_MIRROR_BINARY_BACKPORTS="${LB_PARENT_MIRROR_BINARY_BACKPORTS}"
1164
1165 # \$LB_PARENT_MIRROR_DEBIAN_INSTALLER: set debian-installer parent mirror
1166 # (Default: ${LB_PARENT_MIRROR_BOOTSTRAP})
1167 LB_PARENT_MIRROR_DEBIAN_INSTALLER="${LB_PARENT_MIRROR_DEBIAN_INSTALLER}"
1168
1169 # \$LB_MIRROR_BOOTSTRAP: set mirror to bootstrap from
1170 # (Default: ${LB_MIRROR_BOOTSTRAP})
1171 LB_MIRROR_BOOTSTRAP="${LB_MIRROR_BOOTSTRAP}"
1172
1173 # \$LB_MIRROR_CHROOT: set mirror to fetch packages from
1174 # (Default: ${LB_MIRROR_CHROOT})
1175 LB_MIRROR_CHROOT="${LB_MIRROR_CHROOT}"
1176
1177 # \$LB_MIRROR_CHROOT_SECURITY: set security mirror to fetch packages from
1178 # (Default: ${LB_MIRROR_CHROOT_SECURITY})
1179 LB_MIRROR_CHROOT_SECURITY="${LB_MIRROR_CHROOT_SECURITY}"
1180
1181 # \$LB_MIRROR_CHROOT_UPDATES: set updates mirror to fetch packages from
1182 # (Default: ${LB_MIRROR_CHROOT_UPDATES})
1183 LB_MIRROR_CHROOT_UPDATES="${LB_MIRROR_CHROOT_UPDATES}"
1184
1185 # \$LB_MIRROR_CHROOT_BACKPORTS: set backports mirror to fetch packages from
1186 # (Default: ${LB_MIRROR_CHROOT_BACKPORTS})
1187 LB_MIRROR_CHROOT_BACKPORTS="${LB_MIRROR_CHROOT_BACKPORTS}"
1188
1189 # \$LB_MIRROR_BINARY: set mirror which ends up in the image
1190 # (Default: ${LB_MIRROR_BINARY})
1191 LB_MIRROR_BINARY="${LB_MIRROR_BINARY}"
1192
1193 # \$LB_MIRROR_BINARY_SECURITY: set security mirror which ends up in the image
1194 # (Default: ${LB_MIRROR_BINARY_SECURITY})
1195 LB_MIRROR_BINARY_SECURITY="${LB_MIRROR_BINARY_SECURITY}"
1196
1197 # \$LB_MIRROR_BINARY_UPDATES: set updates mirror which ends up in the image
1198 # (Default: ${LB_MIRROR_BINARY_UPDATES})
1199 LB_MIRROR_BINARY_UPDATES="${LB_MIRROR_BINARY_UPDATES}"
1200
1201 # \$LB_MIRROR_BINARY_BACKPORTS: set backports mirror which ends up in the image
1202 # (Default: ${LB_MIRROR_BINARY_BACKPORTS})
1203 LB_MIRROR_BINARY_BACKPORTS="${LB_MIRROR_BINARY_BACKPORTS}"
1204
1205 # \$LB_MIRROR_DEBIAN_INSTALLER: set debian-installer mirror
1206 # (Default: ${LB_MIRROR_BOOTSTRAP})
1207 LB_MIRROR_DEBIAN_INSTALLER="${LB_MIRROR_DEBIAN_INSTALLER}"
1208
1209 # \$LB_ARCHIVES: enable available third-party archives
1210 # (Default: empty)
1211 LB_ARCHIVES="${LB_ARCHIVES}"
1212
1213 # \$LB_ARCHIVE_AREAS: select archive areas to use
1214 # (Default: ${LB_ARCHIVE_AREAS})
1215 LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS}"
1216
1217 # \$LB_PARENT_ARCHIVE_AREAS: select archive areas to use
1218 # (Default: ${LB_PARENT_ARCHIVE_AREAS})
1219 LB_PARENT_ARCHIVE_AREAS="${LB_PARENT_ARCHIVE_AREAS}"
1220
1221 # \$LB_BOOTSTRAP_QEMU_ARCHITECTURES: architectures to use foreign bootstrap
1222 # (Default: ${LB_BOOTSTRAP_QEMU_ARCHITECTURES})
1223 LB_BOOTSTRAP_QEMU_ARCHITECTURES="${LB_BOOTSTRAP_QEMU_ARCHITECTURES}"
1224
1225 # \$LB_BOOTSTRAP_QEMU_EXCLUDE: packages to exclude during foreign bootstrap
1226 # (Default: ${LB_BOOTSTRAP_QEMU_EXCLUDE})
1227 LB_BOOTSTRAP_QEMU_EXCLUDE="${LB_BOOTSTRAP_QEMU_EXCLUDE}"
1228
1229 # \$LB_BOOTSTRAP_QEMU_STATIC: static qemu binary for foreign bootstrap
1230 # (Default: ${LB_BOOTSTRAP_QEMU_STATIC})
1231 LB_BOOTSTRAP_QEMU_STATIC="${LB_BOOTSTRAP_QEMU_STATIC}"
1232 EOF
1233
1234 # Creating lb_chroot_* configuration
1235 mkdir -p config/archives
1236 mkdir -p config/apt
1237 mkdir -p config/hooks
1238 mkdir -p config/includes.chroot
1239 mkdir -p config/packages
1240 mkdir -p config/packages.chroot
1241 mkdir -p config/package-lists
1242 mkdir -p config/preseed
1243
1244 cat > config/chroot << EOF
1245 # config/chroot - options for live-build(7), chroot stage
1246
1247 # \$LB_CHROOT_FILESYSTEM: set chroot filesystem
1248 # (Default: ${LB_CHROOT_FILESYSTEM})
1249 LB_CHROOT_FILESYSTEM="${LB_CHROOT_FILESYSTEM}"
1250
1251 # \$LB_UNION_FILESYSTEM: set union filesystem
1252 # (Default: ${LB_UNION_FILESYSTEM})
1253 LB_UNION_FILESYSTEM="${LB_UNION_FILESYSTEM}"
1254
1255 # \$LB_EXPOSED_ROOT: expose root as read only
1256 # (Default: ${LB_EXPOSED_ROOT})
1257 LB_EXPOSED_ROOT="${LB_EXPOSED_ROOT}"
1258
1259 # \$LB_HOOKS: set hook commands
1260 # (Default: empty)
1261 LB_HOOKS="${LB_HOOKS}"
1262
1263 # \$LB_INTERACTIVE: set interactive build
1264 # (Default: ${LB_INTERACTIVE})
1265 LB_INTERACTIVE="${LB_INTERACTIVE}"
1266
1267 # \$LB_KEYRING_PACKAGES: set keyring packages
1268 # (Default: empty)
1269 LB_KEYRING_PACKAGES="${LB_KEYRING_PACKAGES}"
1270
1271 # \$LB_LINUX_FLAVOURS: set kernel flavour to use
1272 # (Default: autodetected)
1273 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS}"
1274
1275 # \$LB_LINUX_PACKAGES: set kernel packages to use
1276 # (Default: autodetected)
1277 LB_LINUX_PACKAGES="${LB_LINUX_PACKAGES}"
1278
1279 # \$LB_SECURITY: enable security updates
1280 # (Default: ${LB_SECURITY})
1281 LB_SECURITY="${LB_SECURITY}"
1282
1283 # \$LB_UPDATES: enable updates updates
1284 # (Default: ${LB_UPDATES})
1285 LB_UPDATES="${LB_UPDATES}"
1286
1287 # \$LB_BACKPORTS: enable backports updates
1288 # (Default: ${LB_BACKPORTS})
1289 LB_BACKPORTS="${LB_BACKPORTS}"
1290 EOF
1291
1292 # Creating lb_binary_* configuration
1293 mkdir -p config/debian-installer
1294 mkdir -p config/includes.binary
1295 mkdir -p config/includes.debian-installer
1296 mkdir -p config/packages.binary
1297 mkdir -p config/package-lists
1298 mkdir -p config/rootfs
1299
1300 cat > config/binary << EOF
1301 # config/binary - options for live-build(7), binary stage
1302
1303 # \$LB_BINARY_FILESYSTEM: set image filesystem
1304 # (Default: ${LB_BINARY_FILESYSTEM})
1305 LB_BINARY_FILESYSTEM="${LB_BINARY_FILESYSTEM}"
1306
1307 # \$LB_BINARY_IMAGES: set image type
1308 # (Default: ${LB_BINARY_IMAGES})
1309 LB_BINARY_IMAGES="${LB_BINARY_IMAGES}"
1310
1311 # \$LB_APT_INDICES: set apt/aptitude generic indices
1312 # (Default: ${LB_APT_INDICES})
1313 LB_APT_INDICES="${LB_APT_INDICES}"
1314
1315 # \$LB_BOOTAPPEND_LIVE: set boot parameters
1316 # (Default: empty)
1317 LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE}"
1318
1319 # \$LB_BOOTAPPEND_INSTALL: set boot parameters
1320 # (Default: empty)
1321 LB_BOOTAPPEND_INSTALL="${LB_BOOTAPPEND_INSTALL}"
1322
1323 # \$LB_BOOTAPPEND_LIVE_FAILSAFE: set boot parameters
1324 # (Default: empty)
1325 LB_BOOTAPPEND_LIVE_FAILSAFE="${LB_BOOTAPPEND_LIVE_FAILSAFE}"
1326
1327 # \$LB_BOOTLOADER: set bootloader
1328 # (Default: ${LB_BOOTLOADER})
1329 LB_BOOTLOADER="${LB_BOOTLOADER}"
1330
1331 # \$LB_CHECKSUMS: set checksums
1332 # (Default: ${LB_CHECKSUMS})
1333 LB_CHECKSUMS="${LB_CHECKSUMS}"
1334
1335 # \$LB_COMPRESSION: set compression
1336 # (Default: ${LB_COMPRESSION})
1337 LB_COMPRESSION="${LB_COMPRESSION}"
1338
1339 # \$LB_ZSYNC: set zsync
1340 # (Default: ${LB_ZSYNC})
1341 LB_ZSYNC="${LB_ZSYNC}"
1342
1343 # \${LB_BUILD_WITH_CHROOT: control if we build binary images chrooted
1344 # (Default: ${LB_BUILD_WITH_CHROOT})
1345 # DO NEVER, *NEVER*, *N*E*V*E*R* SET THIS OPTION to false.
1346 LB_BUILD_WITH_CHROOT="${LB_BUILD_WITH_CHROOT}"
1347
1348 # \$LB_DEBIAN_INSTALLER: set debian-installer
1349 # (Default: ${LB_DEBIAN_INSTALLER})
1350 LB_DEBIAN_INSTALLER="${LB_DEBIAN_INSTALLER}"
1351
1352 # \$LB_DEBIAN_INSTALLER_DISTRIBUTION: set debian-installer suite
1353 # (Default: empty)
1354 LB_DEBIAN_INSTALLER_DISTRIBUTION="${LB_DEBIAN_INSTALLER_DISTRIBUTION}"
1355
1356 # \$LB_DEBIAN_INSTALLER_PRESEEDFILE: set debian-installer preseed filename/url
1357 # (Default: ${LB_DEBIAN_INSTALLER_PRESEEDFILE})
1358 LB_DEBIAN_INSTALLER_PRESEEDFILE="${LB_DEBIAN_INSTALLER_PRESEEDFILE}"
1359
1360 # \$LB_DEBIAN_INSTALLER_GUI: toggle use of GUI debian-installer
1361 # (Default: ${LB_DEBIAN_INSTALLER_GUI})
1362 LB_DEBIAN_INSTALLER_GUI="${LB_DEBIAN_INSTALLER_GUI}"
1363
1364 # \$LB_GRUB_SPLASH: set custom grub splash
1365 # (Default: empty)
1366 LB_GRUB_SPLASH="${LB_GRUB_SPLASH}"
1367
1368 # \$LB_HDD_LABEL: set hdd label
1369 # (Default: ${LB_HDD_LABEL})
1370 LB_HDD_LABEL="${LB_HDD_LABEL}"
1371
1372 # \$LB_HDD_SIZE: set hdd filesystem size
1373 # (Default: ${LB_HDD_SIZE})
1374 LB_HDD_SIZE="${LB_HDD_SIZE}"
1375
1376 # \$LB_ISO_APPLICATION: set iso author
1377 # (Default: ${LB_ISO_APPLICATION})
1378 LB_ISO_APPLICATION="${LB_ISO_APPLICATION}"
1379
1380 # \$LB_ISO_PREPARER: set iso preparer
1381 # (Default: ${LB_ISO_PREPARER})
1382 LB_ISO_PREPARER="${LB_ISO_PREPARER}"
1383
1384 # \$LB_ISO_PUBLISHER: set iso publisher
1385 # (Default: ${LB_ISO_PUBLISHER})
1386 LB_ISO_PUBLISHER="${LB_ISO_PUBLISHER}"
1387
1388 # \$LB_ISO_VOLUME: set iso volume (max 32 chars)
1389 # (Default: ${LB_ISO_VOLUME})
1390 LB_ISO_VOLUME="${LB_ISO_VOLUME}"
1391
1392 # \$LB_JFFS2_ERASEBLOCK: set jffs2 eraseblock size
1393 # (Default: unset)
1394 LB_JFFS2_ERASEBLOCK=""
1395
1396 # \$LB_MEMTEST: set memtest
1397 # (Default: ${LB_MEMTEST})
1398 LB_MEMTEST="${LB_MEMTEST}"
1399
1400 # \$LB_LOADLIN: set loadlin
1401 # (Default: ${LB_LOADLIN})
1402 LB_LOADLIN="${LB_LOADLIN}"
1403
1404 # \$LB_WIN32_LOADER: set win32-loader
1405 # (Default: ${LB_WIN32_LOADER})
1406 LB_WIN32_LOADER="${LB_WIN32_LOADER}"
1407
1408 # \$LB_NET_ROOT_FILESYSTEM: set netboot filesystem
1409 # (Default: ${LB_NET_ROOT_FILESYSTEM})
1410 LB_NET_ROOT_FILESYSTEM="${LB_NET_ROOT_FILESYSTEM}"
1411
1412 # \$LB_NET_ROOT_MOUNTOPTIONS: set nfsopts
1413 # (Default: empty)
1414 LB_NET_ROOT_MOUNTOPTIONS="${LB_NET_ROOT_MOUNTOPTIONS}"
1415
1416 # \$LB_NET_ROOT_PATH: set netboot server directory
1417 # (Default: ${LB_NET_ROOT_PATH})
1418 LB_NET_ROOT_PATH="${LB_NET_ROOT_PATH}"
1419
1420 # \$LB_NET_ROOT_SERVER: set netboot server address
1421 # (Default: ${LB_NET_ROOT_SERVER})
1422 LB_NET_ROOT_SERVER="${LB_NET_ROOT_SERVER}"
1423
1424 # \$LB_NET_COW_FILESYSTEM: set net client cow filesystem
1425 # (Default: ${LB_NET_COW_FILESYSTEM})
1426 LB_NET_COW_FILESYSTEM="${LB_NET_COW_FILESYSTEM}"
1427
1428 # \$LB_NET_COW_MOUNTOPTIONS: set cow mount options
1429 # (Default: empty)
1430 LB_NET_COW_MOUNTOPTIONS="${LB_NET_COW_MOUNTOPTIONS}"
1431
1432 # \$LB_NET_COW_PATH: set cow directory
1433 # (Default: ${LB_NET_COW_PATH})
1434 LB_NET_COW_PATH="${LB_NET_COW_PATH}"
1435
1436 # \$LB_NET_COW_SERVER: set cow server
1437 # (Default: ${LB_NET_COW_SERVER})
1438 LB_NET_COW_SERVER="${LB_NET_COW_SERVER}"
1439
1440 # \$LB_NET_TARBALL: set net tarball
1441 # (Default: ${LB_NET_TARBALL})
1442 LB_NET_TARBALL="${LB_NET_TARBALL}"
1443
1444 # \$LB_FIRMWARE_BINARY: include firmware packages in debian-installer
1445 # (Default: ${LB_FIRMWARE_BINARY})
1446 LB_FIRMWARE_BINARY="${LB_FIRMWARE_BINARY}"
1447
1448 # \$LB_FIRMWARE_CHROOT: include firmware packages in debian-installer
1449 # (Default: ${LB_FIRMWARE_CHROOT})
1450 LB_FIRMWARE_CHROOT="${LB_FIRMWARE_CHROOT}"
1451
1452 # \$LB_SWAP_FILE_PATH: set swap file path
1453 # (Default: ${LB_SWAP_FILE_PATH})
1454 LB_SWAP_FILE_PATH="${LB_SWAP_FILE_PATH}"
1455
1456 # \$LB_SWAP_FILE_SIZE: set swap file size
1457 # (Default: ${LB_SWAP_FILE_SIZE})
1458 LB_SWAP_FILE_SIZE="${LB_SWAP_FILE_SIZE}"
1459
1460 # \$LB_SYSLINUX_THEME: set syslinux theme package
1461 # (Default: ${LB_SYSLINUX_THEME})
1462 LB_SYSLINUX_THEME="${LB_SYSLINUX_THEME}"
1463 EOF
1464
1465 # Creating lb_source_* configuration
1466 cat > config/source << EOF
1467 # config/source - options for live-build(7), source stage
1468
1469 # \$LB_SOURCE: set source option
1470 # (Default: ${LB_SOURCE})
1471 LB_SOURCE="${LB_SOURCE}"
1472
1473 # \$LB_SOURCE_IMAGES: set image type
1474 # (Default: ${LB_SOURCE_IMAGES})
1475 LB_SOURCE_IMAGES="${LB_SOURCE_IMAGES}"
1476 EOF
1477
1478 mkdir -p auto
1479 mkdir -p local/bin
1480
1481 # Checking defaults again
1482 Check_defaults
1483
1484 if [ "${_CLEAN}" = "true" ]
1485 then
1486 # Remove empty directories in config tree
1487 rmdir --ignore-fail-on-non-empty auto > /dev/null 2>&1 || true
1488 rmdir --ignore-fail-on-non-empty config/*/ > /dev/null 2>&1 || true
1489 rmdir --ignore-fail-on-non-empty config > /dev/null 2>&1 || true
1490 rmdir --ignore-fail-on-non-empty local/*/ > /dev/null 2>&1 || true
1491 rmdir --ignore-fail-on-non-empty local > /dev/null 2>&1 || true
1492 fi
1493
1494 # Creating stage file
1495 Create_stagefile .build/config
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Automatically populating config tree
16 if [ -x auto/config ] && [ ! -e .build/config ]
17 then
18 Echo_message "Automatically populating config tree."
19 lb config
20 fi
21
22 # Setting static variables
23 DESCRIPTION="$(Echo 'build source images')"
24 HELP=""
25 USAGE="${PROGRAM} [--force]"
26
27 Arguments "${@}"
28
29 # Reading configuration files
30 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
31 Set_defaults
32
33 if [ "${LB_SOURCE}" != "true" ]
34 then
35 exit 0
36 fi
37
38 #Require_stagefile
39
40 # Setup cleanup function
41 Setup_cleanup
42
43 # Enabling network in chroot
44 lb chroot_hosts install ${@}
45 lb chroot_resolv install ${@}
46 lb chroot_hostname install ${@}
47 lb chroot_archives source install ${@}
48
49 # Preparing images
50 lb source_debian-live ${@}
51 lb source_debian ${@}
52 lb source_disk ${@}
53 lb source_checksums ${@}
54
55 # Building images
56 lb source_iso ${@}
57 lb source_tar ${@}
58 lb source_hdd ${@}
59
60 # Deconfiguring chroot
61 lb chroot_archives chroot remove ${@}
62 lb chroot_hostname remove ${@}
63 lb chroot_resolv remove ${@}
64 lb chroot_hosts remove ${@}
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'create source checksums')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if [ "${LB_CHECKSUMS}" = "none" ] || [ "${LB_SOURCE}" != "true" ]
27 then
28 exit 0
29 fi
30
31 # Requiring stage file
32 Require_stagefile .build/config .build/source_debian
33
34 # Checking stage file
35 Check_stagefile .build/source_checksums
36
37 # Checking lock file
38 Check_lockfile .lock
39
40 # Creating lock file
41 Create_lockfile .lock
42
43 for DIRECTORY in source/debian source/debian-live
44 do
45 if [ ! -d ${DIRECTORY} ]
46 then
47 continue
48 fi
49
50 for CHECKSUM in ${LB_CHECKSUMS}
51 do
52 CHECKSUMS="$(echo ${CHECKSUM} | tr [a-z] [A-Z])SUMS"
53
54 Echo_message "Begin creating source ${CHECKSUMS}..."
55
56 # Remove old checksums
57 if [ -f ${DIRECTORY}/${CHECKSUMS} ]
58 then
59 rm -f ${DIRECTORY}/${CHECKSUMS}
60 fi
61
62 # Calculating checksums
63 cd ${DIRECTORY}
64 find . -type f \
65 \! -path './*SUMS' \
66 -print0 | sort -z | xargs -0 ${CHECKSUM}sum > ../${CHECKSUMS}
67
68 cat > ${CHECKSUMS} << EOF
69 ## This file contains the list of ${CHECKSUM} checksums of all files on this
70 ## medium.
71 ##
72 ## You can verify them automatically with the 'verify-checksums' boot parameter,
73 ## or, manually with: '${CHECKSUM}sum -c ${CHECKSUMS}'.
74 ##
75 ##
76 EOF
77
78 cat ../${CHECKSUMS} >> ${CHECKSUMS}
79 rm -f ../${CHECKSUMS}
80
81 cd "${OLDPWD}"
82 done
83
84 # File list
85 cd ${DIRECTORY}
86 find . | sed -e 's|^.||g' | grep "^/" | sort > ../../$(echo ${DIRECTORY} | sed -e 's|/|.|').contents
87 cd "${OLDPWD}"
88 done
89
90 # Creating stage file
91 Create_stagefile .build/source_checksums
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'debian sources')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if [ "${LB_SOURCE}" != "true" ]
27 then
28 exit 0
29 fi
30
31 Echo_message "Begin downloading sources..."
32
33 # Requiring stage file
34 Require_stagefile .build/config .build/bootstrap
35
36 # Checking stage file
37 Check_stagefile .build/source_debian
38
39 # Checking lock file
40 Check_lockfile .lock
41
42 # Creating lock file
43 Create_lockfile .lock
44
45 # Remove old sources
46 if [ -d source/debian ]
47 then
48 rm -rf source/debian
49 fi
50
51 # Download sources
52 Chroot chroot "dpkg --get-selections" | awk '{ print $1 }' > source-selection.txt
53
54 cat >> source-selection.txt << EOF
55 ${LB_BOOTLOADER}
56 live-build
57 xorriso
58 parted
59 squashfs-tools
60 mtd-tools
61 EOF
62
63 case "${LB_BINARY_FILESYSTEM}" in
64 fat*)
65 echo "dosfstools" >> source-selection.txt
66 ;;
67
68 ntfs)
69 case "${LB_PARENT_DISTRIBUTION}" in
70 squeeze)
71 echo "ntfsprogs" >> source-selection.txt
72 ;;
73
74 *)
75 echo "ntfs-3g" >> source-selection.txt
76 ;;
77 esac
78 ;;
79 esac
80
81 case "${LB_ARCHITECTURES}" in
82 amd64|i386)
83
84 cat >> source-selection.txt << EOF
85 mtools
86 syslinux
87 grub
88 EOF
89
90 if [ "${LB_MEMTEST}" != "false" ] && [ "${LB_MEMTEST}" != "none" ]
91 then
92 echo "${LB_MEMTEST}" >> source-selection.txt
93 fi
94 ;;
95
96 powerpc)
97 echo "yaboot" >> source-selection.txt
98 ;;
99
100 sparc)
101
102 cat >> source-selection.txt << EOF
103 silo
104 sparc-utils
105 EOF
106
107 ;;
108 esac
109
110 if [ -n "${LB_TASKS}" ]
111 then
112 echo "${LB_TASKSEL}" >> source-selection.txt
113 fi
114
115 MISSING=""
116
117 grep . source-selection.txt | \
118 while read PACKAGE
119 do
120 if ! Chroot chroot "apt-get ${APT_OPTIONS} --download-only source ${PACKAGE}"
121 then
122 MISSING="${MISSING} ${PACKAGE}"
123 fi
124 done
125
126 if [ -n "${MISSING}" ]
127 then
128 cat > source/missing-source.txt << EOF
129 This file contains the list of binary packages that are installed on this live
130 system that do not have a corresponding source package.
131
132 EOF
133
134 for PACKAGE in ${MISSING}
135 do
136 Chroot chroot "dpkg -l ${PACKAGE}" | tail -n1 >> source/missing-source.txt
137 done
138 fi
139
140 rm -f source-selection.txt
141
142 # Sort sources
143 for DSC in chroot/*.dsc
144 do
145 SOURCE="$(sed -n 's|^Source: ||p' ${DSC} 2>/dev/null || :)"
146 # The sed may fail if multiple dsc files exist for same source, as the
147 # first one to match will have already been moved.
148 [ -n "$SOURCE" ] || continue
149
150 case "${SOURCE}" in
151 lib?*)
152 LETTER="$(echo ${SOURCE} | sed 's|\(....\).*|\1|')"
153 ;;
154
155 *)
156 LETTER="$(echo ${SOURCE} | sed 's|\(.\).*|\1|')"
157 ;;
158 esac
159
160 # Install directory
161 mkdir -p source/debian/"${LETTER}"/"${SOURCE}"
162
163 # Move files
164 mv chroot/"${SOURCE}"_* source/debian/"${LETTER}"/"${SOURCE}"
165 done
166
167 # Creating stage file
168 Create_stagefile .build/source_debian
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'copy debian-live config into source')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if [ "${LB_SOURCE}" != "true" ]
27 then
28 exit 0
29 fi
30
31 Echo_message "Begin copying live-build configuration..."
32
33 # Requiring stage file
34 Require_stagefile .build/config .build/bootstrap
35
36 # Checking stage file
37 Check_stagefile .build/source_debian-live
38
39 # Checking lock file
40 Check_lockfile .lock
41
42 # Creating lock file
43 Create_lockfile .lock
44
45 # Remove old sources
46 if [ -d source/debian-live ]
47 then
48 rm -rf source/debian-live
49 fi
50
51 # Copy system configuration
52 mkdir -p source/debian-live
53 cp -a config source/debian-live
54
55 if Find_files auto/*
56 then
57 cp -a auto source/debian-live
58 fi
59
60 # Creating stage file
61 Create_stagefile .build/source_debian-live
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'install disk information into source')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 case "${LB_SOURCE_IMAGES}" in
27 iso*|hdd*)
28 ;;
29
30 *)
31 exit 0
32 ;;
33 esac
34
35 Echo_message "Begin installing disk information..."
36
37 # Requiring stage file
38 Require_stagefile .build/config .build/bootstrap
39
40 # Checking stage file
41 Check_stagefile .build/source_disk
42
43 # Checking lock file
44 Check_lockfile .lock
45
46 # Creating lock file
47 Create_lockfile .lock
48
49 mkdir -p source/.disk
50
51 DISTRIBUTION="$(echo ${LB_DISTRIBUTION} | cut -b 1 | tr '[a-z]' '[A-Z]')"
52 DISTRIBUTION="${DISTRIBUTION}$(echo ${LB_DISTRIBUTION} | cut -b 2-)"
53 eval VERSION="$`echo RELEASE_${LB_DISTRIBUTION}`"
54
55 case "${LB_MODE}" in
56 debian)
57 TITLE="Debian GNU/Linux"
58 STRING="Official Snapshot ${ARCHITECTURE}"
59 TRACE="project/trace/ftp-master.debian.org"
60 ;;
61
62 ubuntu)
63 TITLE="Ubuntu"
64 STRING="Build ${ARCHITECTURE}"
65 TRACE=""
66 ;;
67
68 progress-linux)
69 TITLE="Progress Linux"
70 STRING="${VERSION} (${DISTRIBUTION}) - ${ARCHITECTURE}"
71 TRACE="project/trace/archive-master.progress-linux.org"
72 ;;
73
74 *)
75 TITLE="Debian GNU/Linux"
76 STRING="Snapshot ${ARCHITECTURE}"
77 TRACE=""
78 ;;
79 esac
80
81 if [ -n "${TRACE}" ]
82 then
83 case "${LB_DERIVATIVE}" in
84 true)
85 echo "$(echo ${LB_PARENT_MIRROR_BOOTSTRAP} | awk -F:// '{ print $2 }'): $(wget -q ${LB_PARENT_MIRROR_BOOTSTRAP}/${TRACE} -O - | head -n 1)" \
86 > source/.disk/archive_trace
87
88 echo "$(echo ${LB_MIRROR_BOOTSTRAP} | awk -F:// '{ print $2 }'): $(wget -q ${LB_MIRROR_BOOTSTRAP}/${TRACE} -O - | head -n 1)" \
89 >> source/.disk/archive_trace
90 ;;
91
92 false)
93 echo "$(wget -q ${LB_PARENT_MIRROR_BOOTSTRAP}/${TRACE} -O - | head -n 1)" \
94 > source/.disk/archive_trace
95 ;;
96 esac
97 fi
98
99 case "${LB_DEBIAN_INSTALLER}" in
100 cdrom)
101 echo "${TITLE} ${VERSION} \"${DISTRIBUTION}\" - ${STRING} LIVE/CD Source $(date +%Y%m%d-%H:%M)" > source/.disk/info
102 ;;
103
104 true|netinst)
105 echo "${TITLE} ${VERSION} \"${DISTRIBUTION}\" - ${STRING} LIVE/NETINST Source $(date +%Y%m%d-%H:%M)" > source/.disk/info
106 ;;
107
108 live)
109 echo "${TITLE} ${VERSION} \"${DISTRIBUTION}\" - ${STRING} LIVE/INSTALL Source $(date +%Y%m%d-%H:%M)" > source/.disk/info
110 ;;
111
112 businesscard)
113 echo "${TITLE} ${VERSION} \"${DISTRIBUTION}\" - ${STRING} LIVE/BC Source $(date +%Y%m%d-%H:%M)" > source/.disk/info
114 ;;
115
116 false)
117 echo "${TITLE} ${VERSION} \"${DISTRIBUTION}\" - ${STRING} LIVE Source $(date +%Y%m%d-%H:%M)" > source/.disk/info
118 ;;
119 esac
120
121 # Creating stage file
122 Create_stagefile .build/source_disk
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'build source image')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if [ "${LB_SOURCE}" != "true" ]
27 then
28 exit 0
29 fi
30
31 if ! In_list hdd "${LB_SOURCE_IMAGES}"
32 then
33 exit 0
34 fi
35
36 Echo_message "Begin building source hdd image..."
37
38 # Requiring stage file
39 Require_stagefile .build/config .build/source_debian
40
41 # Checking stage file
42 Check_stagefile .build/source_hdd
43
44 # Checking lock file
45 Check_lockfile .lock
46
47 # Creating lock file
48 Create_lockfile .lock
49
50 # Checking depends
51 Check_package chroot/sbin/mkdosfs dosfstools
52 Check_package chroot/sbin/parted parted
53
54 # Installing depends
55 Install_package
56
57 # Remove old source
58 if [ -f source.img ]
59 then
60 rm -f source.img
61 fi
62
63 # Everything which comes here needs to be cleaned up,
64 DU_DIM="$(du -ms source | cut -f1)"
65 REAL_DIM="$(Calculate_partition_size ${DU_DIM} ${LB_BINARY_FILESYSTEM})"
66 dd if=/dev/zero of=source.img bs=1024k count=0 seek=${REAL_DIM}
67 FREELO="$(${LB_LOSETUP} -f)"
68 if [ ! -b chroot/${FREELO} ]
69 then
70 MAKEDEV="true"
71
72 mv chroot/dev chroot/dev.tmp
73 find /dev | cpio -dmpu chroot
74 fi
75
76 case "${LB_BINARY_FILESYSTEM}" in
77 ext2|ext3|ext4)
78 PARTITION_TYPE="ext2"
79 ;;
80
81 fat16|fat32)
82 PARTITION_TYPE="${LB_BINARY_FILESYSTEM}"
83 ;;
84
85 ntfs)
86 PARTITION_TYPE="NTFS"
87 ;;
88
89 *)
90 Echo_error "Unsupported binary filesystem %s" "${LB_BINARY_FILESYSTEM}"
91 exit 1
92 ;;
93 esac
94
95 Echo_warning "!!! The following error/warning messages can be ignored !!!"
96 Losetup $FREELO source.img 0
97 Chroot chroot "parted -s ${FREELO} mklabel msdos" || true
98 Chroot chroot "parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0.0 100%" || true
99 Lodetach ${FREELO}
100
101 Losetup $FREELO source.img 1
102
103 case "${LB_BINARY_FILESYSTEM}" in
104 ext2|ext3|ext4)
105 MKFS="${LB_BINARY_FILESYSTEM}"
106 MKFS_OPTIONS="-L ${LB_HDD_LABEL} -m 0"
107 ;;
108
109 fat16)
110 MKFS="vfat"
111 MKFS_OPTIONS="-F 16 -n ${LB_HDD_LABEL}"
112 ;;
113
114 fat32)
115 MKFS="vfat"
116 MKFS_OPTIONS="-F 32 -n ${LB_HDD_LABEL}"
117 ;;
118
119 ntfs)
120 MKFS="ntfs"
121 MKFS_OPTIONS="-L ${LB_HDD_LABEL}"
122 ;;
123 esac
124
125 Chroot chroot "mkfs.${MKFS} ${MKFS_OPTIONS} ${FREELO}"
126
127 mkdir -p source.tmp
128 ${LB_ROOT_COMMAND} mount ${FREELO} source.tmp
129 cp -r source/* source.tmp
130 ${LB_ROOT_COMMAND} umount source.tmp
131 rmdir source.tmp
132 Lodetach ${FREELO}
133 Echo_warning "!!! The above error/warning messages can be ignored !!!"
134
135 FREELO="$(${LB_LOSETUP} -f)"
136 Losetup "$FREELO" source.img 0
137 Chroot chroot "parted -s ${FREELO} set 1 lba off" || true
138 Lodetach ${FREELO}
139
140 if [ -n "${MAKEDEV}" ]
141 then
142 rm -rf chroot/dev
143 mv chroot/dev.tmp chroot/dev
144 fi
145
146 # Removing depends
147 Remove_package
148
149 # Creating stage file
150 Create_stagefile .build/source_hdd
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'build iso source image')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if [ "${LB_SOURCE}" != "true" ]
27 then
28 exit 0
29 fi
30
31 case "${LB_SOURCE_IMAGES}" in
32 iso*)
33 ;;
34
35 *)
36 exit 0
37 ;;
38 esac
39
40 Echo_message "Begin building source iso image..."
41
42 # Requiring stage file
43 Require_stagefile .build/config .build/source_debian
44
45 # Checking stage file
46 Check_stagefile .build/source_iso
47
48 # Checking lock file
49 Check_lockfile .lock
50
51 # Creating lock file
52 Create_lockfile .lock
53
54 # Checking depends
55 Check_package chroot/usr/bin/xorriso xorriso
56
57 # Installing depends
58 Install_package
59
60 # Remove old iso image
61 if [ -f source.iso ]
62 then
63 rm -f source.iso
64 fi
65
66 # Handle xorriso generic options
67 XORRISO_OPTIONS="-as mkisofs -r -J -joliet-long -l -cache-inodes"
68
69 # Handle xorriso live-build specific options
70 if [ "${_QUIET}" = "true" ]
71 then
72 XORRISO_OPTIONS="${XORRISO_OPTIONS} -quiet"
73 fi
74
75 if [ "${_VERBOSE}" = "true" ]
76 then
77 XORRISO_OPTIONS="${XORRISO_OPTIONS} -v"
78 fi
79
80 if [ -n "${LB_ISO_APPLICATION}" ] && [ "${LB_ISO_APPLICATION}" != "none" ]
81 then
82 XORRISO_OPTIONS="${XORRISO_OPTIONS} -A \"${LB_ISO_APPLICATION}\""
83 fi
84
85 if [ -n "${LB_ISO_PREPARER}" ] && [ "${LB_ISO_PREPARER}" != "none" ]
86 then
87 XORRISO_OPTIONS="${XORRISO_OPTIONS} -p \"${LB_ISO_PREPARER}\""
88 fi
89
90 if [ -n "${LB_ISO_PUBLISHER}" ] && [ "${LB_ISO_PUBLISHER}" != "none" ]
91 then
92 XORRISO_OPTIONS="${XORRISO_OPTIONS} -publisher \"${LB_ISO_PUBLISHER}\""
93 fi
94
95 if [ -n "${LB_ISO_VOLUME}" ] && [ "${LB_ISO_VOLUME}" != "none" ]
96 then
97 XORRISO_OPTIONS="${XORRISO_OPTIONS} -V \"${LB_ISO_VOLUME}\""
98 fi
99
100 # Moving image
101 mv source chroot
102
103 cat >> chroot/source.sh << EOF
104 xorriso ${XORRISO_OPTIONS} -o source.iso source
105 EOF
106
107 Chroot chroot "sh source.sh"
108
109 # Move image
110 mv chroot/source chroot/source.iso ./
111 rm -f chroot/source.sh
112
113 # Removing depends
114 Remove_package
115
116 # Creating stage file
117 Create_stagefile .build/source_iso
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'build source tarball')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 if [ "${LB_SOURCE}" != "true" ]
27 then
28 exit 0
29 fi
30
31 if ! In_list tar "${LB_SOURCE_IMAGES}"
32 then
33 exit 0
34 fi
35
36 Echo_message "Begin building source tarball..."
37 Echo_message "This may take a while."
38
39 # Requiring stage file
40 Require_stagefile .build/config .build/source_debian
41
42 # Checking stage file
43 Check_stagefile .build/source_tar
44
45 # Checking lock file
46 Check_lockfile .lock
47
48 # Creating lock file
49 Create_lockfile .lock
50
51 # Remove old source
52 rm -f source.debian.tar.bz2 source.debian.tar.gz source.debian.tar.lz source.debian.tar
53 rm -f source.debian-live.tar.bz2 source.debian-live.tar.gz source.debian-live.tar.lz source.debian-live.tar
54
55 tar cf source.debian.tar source/debian
56 tar cf source.debian-live.tar source/debian-live
57
58 case "${LB_COMPRESSION}" in
59 bzip2)
60 bzip2 ${BZIP2_OPTIONS} source.debian.tar
61 bzip2 ${BZIP2_OPTIONS} source.debian-live.tar
62 ;;
63
64 gzip)
65 gzip ${GZIP_OPTIONS} source.debian.tar
66 gzip ${GZIP_OPTIONS} source.debian-live.tar
67 ;;
68
69 lzip)
70 lzip ${LZIP_OPTIONS} source.debian.tar
71 lzip ${LZIP_OPTIONS} source.debian-live.tar
72 ;;
73
74 xz)
75 xz ${XZ_OPTIONS} source.debian.tar
76 xz ${XZ_OPTIONS} source.debian-live.tar
77 ;;
78
79 none)
80 ;;
81 esac
82
83 # Creating stage file
84 Create_stagefile .build/source_tar
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 # Including common functions
13 [ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
14
15 # Setting static variables
16 DESCRIPTION="$(Echo 'ensure that a system is built as root')"
17 HELP=""
18 USAGE="${PROGRAM} [--force]"
19
20 Arguments "${@}"
21
22 # Reading configuration files
23 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
24 Set_defaults
25
26 # Checking user account
27 if [ "$(${LB_ROOT_COMMAND} id -u)" -ne "0" ]
28 then
29 Echo_error "need root privileges"
30 exit 1
31 fi
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program is free software: you can redistribute it and/or modify
6 ## it under the terms of the GNU General Public License as published by
7 ## the Free Software Foundation, either version 3 of the License, or
8 ## (at your option) any later version.
9 ##
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 ## GNU General Public License for more details.
14 ##
15 ## You should have received a copy of the GNU General Public License
16 ## along with this program. If not, see <http://www.gnu.org/licenses/>.
17 ##
18 ## The complete text of the GNU General Public License
19 ## can be found in /usr/share/common-licenses/GPL-3 file.
20
21
22 set -e
23
24 if [ -e local/live-build ]
25 then
26 LIVE_BUILD="${LIVE_BUILD:-${PWD}/local/live-build}"
27 export LIVE_BUILD
28 fi
29
30 for _DIRECTORY in "${LIVE_BUILD}/functions" /usr/share/live/build/functions
31 do
32 if [ -e "${_DIRECTORY}" ]
33 then
34 for _FILE in "${_DIRECTORY}"/*.sh
35 do
36 if [ -e "${_FILE}" ]
37 then
38 . "${_FILE}"
39 fi
40 done
41
42 break
43 fi
44 done
0 -----BEGIN PGP PUBLIC KEY BLOCK-----
1 Version: GnuPG v1.4.10 (GNU/Linux)
2
3 mQINBE13ifoBEADIEQNBRMc2KU5H2AhoIDZuNEqrqv4GA0RZAq6HHbhmopTWWQNS
4 zoby+Puao3ipGHgurA693kzpc7NP4iqmDc6i/nehfuitag1klsFSnz5JZa+dyWGb
5 krPidB+ZvM2TCxUdTOwX8QYp7VXOqjLr/nivw5zNHgvtwiDANGdoQmmzOOGsKYNk
6 0i3p2hCxUU4LrZ75ar6b7Y3MviYMA/2ROQC5wHLS8cEQmT+HNOJOayiblOlRqpoJ
7 c50tErf7l+8ejyWbBEudfVN+c4+AD1IAWXkz3AHuID9k2VfqnQbcPfB9yYax0K1z
8 16QNLAPRd3dErLFjXVwVYnhLbriDx7h2P30F8bhxGJ6fHaU/MpSzklLysSUAriZX
9 MGe64Z/MGrlluV8djtt+XOzihIooMu6tcLyep7HkJr1fWbWpbvb5jf4SFcaOzYhU
10 REvapyaSxIQpGrOFRFZiGMw+bdQZkIrdYHYMV4AZwfHry9iu2X0pshiz3+wHjCCc
11 imGWjy6wzWcfgt1sKBNGY5jidC9CuHDKE05bGujifk8PYu2njZkxCRs4RbFrmuNI
12 RqnPJPqdE78LncAOwN2b+GpoHrwGDeC/cdK06kk3FoE9fipEGHqOnkfliFpnM9U2
13 ClfnEr9Kku6x3D8LVZsoG25j6Qk37P/eAAANilKNdwTk9SJfgKUZC0tetwARAQAB
14 tDZEZWJpYW4gTGl2ZSBTaWduaW5nIEtleSA8ZGViaWFuLWxpdmVAbGlzdHMuZGVi
15 aWFuLm9yZz6JAj0EEwEIACcFAk13ifoCGwMFCRKggYAFCwkIBwMFFQoJCAsFFgID
16 AQACHgECF4AACgkQb5W0mWyntabDDBAAtMlz9iD36eYPsx4Exh0l0kJj2V2HbVPc
17 e1wS2ROjJSE/8ifHf0NMEGulhV5wxKxuVXs+WiCku+LcmbzXTZqx4IeFZ9HXnDRq
18 U1LGQZ0+lxF7Q3u0XkjmtOrnYg/3BUPraWh3i6UiSLTwEktCttHl6xN9hn4P6fUJ
19 2O5w/6t1sYxf3ACxz2SK+3W/Na0803/V8jU0vUN12rKLjaeJ6fZFpGBauwbWkhRM
20 VvIAlcNTOOz2An9IFET3eZ0htiWYifJaxMi20FAE6tjZ16jEESbpfiw8VkY6yV5D
21 01NbV9UyRKy+pgPHN2ybCY/shKUag1VoLNkYvdHe/w4I9MbvQn25xQd9JWK+MKW0
22 mLOO0v1S3stlnJ61aH1WFgUw2DukVwFyKyji/PPCzb89HHainzNpAXkByjd9vNcM
23 VCyETWtlViQXpiuaqERBhggGFk07kB/XD6xdKTbwhp24Pla5hrmcEXDyFV/DWTbb
24 Fy7BzUoPqglF3yBUN3BnbgsDmrdzIF2AkaOeU28bGgkRn/yLipw20dIjAZkW2zD0
25 qYKUqF6D3McZrN/vgwMbSXiQ94aktT8sx8lKBzfZqAYdKOBcXJTouqxhHfhgNv4X
26 qDyl22YBm6Y+NWVfJUfxuJfN58EKA9BtvNEaeF74EunWxYv55l2XxMR13FyjO+ZX
27 TczKmxCqnC65Ag0ETXeJ+gEQAMfZQ52Mr1MRTOoqsY/anWh9lFLw/26/pKp0jnWe
28 TezM4+tB/t2HbFDnoCOlQVHYl2OW+BpL6+Iw3Oc56ROqe6sRdFNlc0sNs1WYSUSn
29 XsPfQmGOUrQryuHqx+fMz6w/K/6Hkb2DEMEXWLxh31EUCDJ/IOXX04Nw1RmKZg8M
30 DwJClqE3nNT+Yg7rPTHwmGpGiRJBGswuNiYPUcvSBOV3Lwm/afWImY10osUtyUCc
31 80jGrmn15OhMLEUh0h5H9bCkDpBuStlZv/fXEUBQ7bZyfFjomWXhGK2LZHveL9Tx
32 hFbxdMuQnO5xyjjIBti7zyrybmvSp4ObwEvMTuz4TuVoqnSpTI+AWbvXRk1GvByp
33 Ue9jV4pfgqz9pa/GwMV1Im0JTKhfLWYm72yDxcMKoOcEiqM2q84dKMFwIBWpiSR5
34 FkNYViOvfPkVwBCgZZX+GmbeRKwGI8lME+1gOeJyzkjoSff6BJIhQMNBYoPekMeK
35 CYaSSrMik4yqDy/lTQqVok2JHZkIBICK8IHat2rcsJPeCG8jY/25nfEVgUqThO7E
36 8UlMMoOaRMmv29c5DeIR933/Kf74Fr2TwJL8/qnSjuLGW0Kzj0IzvOhJFvqOvLLa
37 X29RnwvQ+Ao41VrC/p2ATLYCTm1UBt1bIwffNScCRElFsNJvRje+/PxRL7RI0Eo5
38 ooLhABEBAAGJAiUEGAEIAA8FAk13ifoCGwwFCRKggYAACgkQb5W0mWyntaaIfw/+
39 L38aO9vqc2gvKTY7UPcTpe/kKmK83FnRE9oEhnJRQDXV7NQWCIQfZaVqXbub1kDv
40 C9dLacwopKFlXUUvv9YT78Crm76eKAgqGtvT3OLF/r43OQjq8YvET6C+2jp9Dkvr
41 x+2YaV2IVgxJ1AL/RfogV2ds8nHs7rSXzSVVlD+AO/qyDVXoF0i8K7UUcc12jKp6
42 g8htLEoM3FFTIz6crn8zpPz04KeZNcjbETNm7sHg8cw+eyp4vEeENRWJSxReVytD
43 7OwdCkwuuq0o/ngwBx1m+xNg6ONHIOdD/AmHpSgxVLIUqO2/L09C1ACQSNz2Kmuv
44 Nlas2YCUlqWBaPxt4kveaym++6CYu/Xro4WvjHlLDaZWw3L9MzswyuZmmn2aphhA
45 r3VHbBntQBprrjzLfCTauHKQU5Aoi6+Xq+VDgaQlnWg5Iv5gqG0tV3FdNVmC2orh
46 AKWfnD1DA2KmJ2AcNugECCZYFnMCEZVZnHU8FylB/ApKB+LRRZWiLNeU6KgGGlay
47 EW05gC9to4v1KX1JtThYahpnmnlt+Tm9c8DQXrpl+zrJBOapItLW7mtYYnpesLYA
48 Z+no/z1KO4FanSIWQHnCYdM5FucH9EJAJr7sEXPQyXvzePHRnrvuJmzeHXNZQ0lY
49 0c0PdkvzisabNpYqcjqOLflMxthvtxc7NawJ84HJWX8=
50 =d/j+
51 -----END PGP PUBLIC KEY BLOCK-----
0 # Debian Live Project
1 deb http://live.debian.net/ @DISTRIBUTION@-snapshots @ARCHIVE_AREAS@
2 deb-src http://live.debian.net/ @DISTRIBUTION@-snapshots @ARCHIVE_AREAS@
0 #!/bin/sh
1
2 ## live-build(7) - System Build Scripts
3 ## Copyright (C) 2006-2012 Daniel Baumann <[email protected]>
4 ##
5 ## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
6 ## This is free software, and you are welcome to redistribute it
7 ## under certain conditions; see COPYING for details.
8
9
10 set -e
11
12 if [ ! -e /usr/bin/grep-aptavail ]
13 then
14 echo "E: /usr/bin/grep-aptavail: No such file."
15
16 exit 1
17 fi
18
19 if [ -z "${2}" ]
20 then
21 echo "Usage: $(basename ${0}) FIELD VALUE"
22
23 exit 1
24 fi
25
26 _FIELD="${1}"
27 _VALUE="${2}"
28
29 grep-aptavail -n -sPackage -F${_FIELD} ${_VALUE} | sort
0 include menu.cfg
1 default vesamenu.c32
2 prompt 0
3 timeout 0
0 label installgui
1 menu label ^Graphical install
2 kernel /install/gtk/vmlinuz
3 append video=vesa:ywrap,mtrr vga=788 initrd=/install/gtk/initrd.gz @LB_BOOTAPPEND_INSTALL@ -- quiet
4
5 label install
6 menu label ^Text-mode install
7 kernel /install/vmlinuz
8 append vga=788 initrd=/install/initrd.gz @LB_BOOTAPPEND_INSTALL@ -- quiet
0 label live-@FLAVOUR@
1 menu label ^Live (@FLAVOUR@)
2 menu default
3 linux @LINUX@
4 initrd @INITRD@
5 append @APPEND_LIVE@
6
7 label live-@FLAVOUR@-failsafe
8 menu label ^Live (@FLAVOUR@ failsafe)
9 linux @LINUX@
10 initrd @INITRD@
11 append @APPEND_LIVE_FAILSAFE@
0 menu hshift 0
1 menu width 82
2
3 menu title Boot menu
4 include stdmenu.cfg
5 include live.cfg
6 include install.cfg
7 menu end
8
9 menu clear
0 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
1 <!-- Created with Inkscape (http://www.inkscape.org/) -->
2
3 <svg
4 xmlns:dc="http://purl.org/dc/elements/1.1/"
5 xmlns:cc="http://creativecommons.org/ns#"
6 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
7 xmlns:svg="http://www.w3.org/2000/svg"
8 xmlns="http://www.w3.org/2000/svg"
9 xmlns:xlink="http://www.w3.org/1999/xlink"
10 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12 width="640"
13 height="480"
14 id="svg3320"
15 version="1.1"
16 inkscape:version="0.48.3.1 r9886"
17 sodipodi:docname="splash.svg.in">
18 <defs
19 id="defs3322">
20 <radialGradient
21 gradientUnits="userSpaceOnUse"
22 gradientTransform="matrix(1.402663,0,0,1.115648,-6.237984,0.0533075)"
23 r="18.370251"
24 fy="10.943316"
25 fx="15.491823"
26 cy="10.943316"
27 cx="15.491823"
28 id="radialGradient2813"
29 xlink:href="#linearGradient2807"
30 inkscape:collect="always" />
31 <radialGradient
32 r="35.934704"
33 fy="424.15677"
34 fx="131.23691"
35 cy="424.15677"
36 cx="131.23691"
37 gradientTransform="matrix(0.101953,-0.04272301,0.09621296,0.229599,-48.67227,-64.24148)"
38 gradientUnits="userSpaceOnUse"
39 id="radialGradient2798"
40 xlink:href="#linearGradient8543"
41 inkscape:collect="always" />
42 <radialGradient
43 gradientUnits="userSpaceOnUse"
44 gradientTransform="matrix(1,0,0,0.415385,0,26.70146)"
45 r="30.365856"
46 fy="45.673546"
47 fx="29.898689"
48 cy="45.673546"
49 cx="29.898689"
50 id="radialGradient18290"
51 xlink:href="#linearGradient18284"
52 inkscape:collect="always" />
53 <radialGradient
54 gradientUnits="userSpaceOnUse"
55 gradientTransform="matrix(0.105628,-0.04514018,0.06692574,0.156607,-46.01605,-24.35485)"
56 r="103.26014"
57 fy="409.83737"
58 fx="340.35886"
59 cy="409.83737"
60 cx="340.35886"
61 id="radialGradient13895"
62 xlink:href="#linearGradient8543"
63 inkscape:collect="always" />
64 <radialGradient
65 gradientUnits="userSpaceOnUse"
66 gradientTransform="matrix(0.08174351,0.01024998,-0.04335971,0.345793,6.123413,-84.50421)"
67 r="38.451698"
68 fy="270.67969"
69 fx="424.99243"
70 cy="270.67969"
71 cx="424.99243"
72 id="radialGradient11208"
73 xlink:href="#linearGradient11202"
74 inkscape:collect="always" />
75 <radialGradient
76 gradientUnits="userSpaceOnUse"
77 gradientTransform="matrix(0.272962,-0.071724,0.05616202,0.213737,-78.54657,-24.30491)"
78 r="48.782982"
79 fy="243.06874"
80 fx="293.81989"
81 cy="243.06874"
82 cx="293.81989"
83 id="radialGradient10317"
84 xlink:href="#linearGradient8543"
85 inkscape:collect="always" />
86 <radialGradient
87 gradientUnits="userSpaceOnUse"
88 gradientTransform="matrix(0.224796,0.01017229,-0.00975947,0.215674,-73.87964,-54.89804)"
89 r="40.975471"
90 fy="286.46918"
91 fx="500.97794"
92 cy="286.46918"
93 cx="500.97794"
94 id="radialGradient9434"
95 xlink:href="#linearGradient8543"
96 inkscape:collect="always" />
97 <radialGradient
98 gradientUnits="userSpaceOnUse"
99 gradientTransform="matrix(0.163532,-0.01065754,0.01078108,0.165425,-46.18187,-65.65506)"
100 r="235.88632"
101 fy="685.99139"
102 fx="420.87839"
103 cy="685.99139"
104 cx="420.87839"
105 id="radialGradient8549"
106 xlink:href="#linearGradient8543"
107 inkscape:collect="always" />
108 <radialGradient
109 r="297.21338"
110 fy="-72.420044"
111 fx="336.73767"
112 cy="-72.420044"
113 cx="336.73767"
114 gradientTransform="matrix(0.136507,0,-4.484926e-5,0.07137743,-23.39816,12.31028)"
115 gradientUnits="userSpaceOnUse"
116 id="radialGradient7666"
117 xlink:href="#linearGradient5012"
118 inkscape:collect="always" />
119 <linearGradient
120 id="linearGradient5012">
121 <stop
122 id="stop5014"
123 offset="0"
124 style="stop-color:#fdf188;stop-opacity:1;" />
125 <stop
126 id="stop5016"
127 offset="1"
128 style="stop-color:#d3bc00;stop-opacity:1;" />
129 </linearGradient>
130 <linearGradient
131 id="linearGradient8543">
132 <stop
133 id="stop8545"
134 offset="0"
135 style="stop-color:#fffef5;stop-opacity:0.94117647;" />
136 <stop
137 id="stop8547"
138 offset="1"
139 style="stop-color:#fce94f;stop-opacity:0;" />
140 </linearGradient>
141 <linearGradient
142 id="linearGradient11202">
143 <stop
144 id="stop11204"
145 offset="0"
146 style="stop-color:#c4a000;stop-opacity:1;" />
147 <stop
148 id="stop11206"
149 offset="1"
150 style="stop-color:#c4a000;stop-opacity:0;" />
151 </linearGradient>
152 <linearGradient
153 id="linearGradient18284">
154 <stop
155 id="stop18286"
156 offset="0"
157 style="stop-color:#000000;stop-opacity:1;" />
158 <stop
159 style="stop-color:#000000;stop-opacity:1;"
160 offset="0.5"
161 id="stop20913" />
162 <stop
163 style="stop-color:#000000;stop-opacity:0;"
164 offset="1"
165 id="stop19165" />
166 </linearGradient>
167 <linearGradient
168 id="linearGradient2807"
169 inkscape:collect="always">
170 <stop
171 id="stop2809"
172 offset="0"
173 style="stop-color:#ffffff;stop-opacity:1;" />
174 <stop
175 id="stop2811"
176 offset="1"
177 style="stop-color:#ffffff;stop-opacity:0;" />
178 </linearGradient>
179 <inkscape:perspective
180 id="perspective47"
181 inkscape:persp3d-origin="24 : 16 : 1"
182 inkscape:vp_z="48 : 24 : 1"
183 inkscape:vp_y="0 : 1000 : 0"
184 inkscape:vp_x="0 : 24 : 1"
185 sodipodi:type="inkscape:persp3d" />
186 </defs>
187 <sodipodi:namedview
188 id="base"
189 pagecolor="#ffffff"
190 bordercolor="#666666"
191 borderopacity="1.0"
192 inkscape:pageopacity="0.0"
193 inkscape:pageshadow="2"
194 inkscape:zoom="0.775"
195 inkscape:cx="574.36733"
196 inkscape:cy="250.84337"
197 inkscape:document-units="px"
198 inkscape:current-layer="layer1"
199 showgrid="false"
200 inkscape:window-width="1016"
201 inkscape:window-height="570"
202 inkscape:window-x="0"
203 inkscape:window-y="1"
204 inkscape:window-maximized="0" />
205 <metadata
206 id="metadata3325">
207 <rdf:RDF>
208 <cc:Work
209 rdf:about="">
210 <dc:format>image/svg+xml</dc:format>
211 <dc:type
212 rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
213 <dc:title></dc:title>
214 </cc:Work>
215 </rdf:RDF>
216 </metadata>
217 <g
218 inkscape:label="Layer 1"
219 inkscape:groupmode="layer"
220 id="layer1"
221 transform="translate(0,-572.3622)">
222 <rect
223 style="fill:#000000;fill-opacity:1;stroke:none"
224 id="rect3328"
225 width="640"
226 height="480"
227 x="0"
228 y="572.36218" />
229 <text
230 transform="scale(1.0000015,0.99999849)"
231 sodipodi:linespacing="100%"
232 id="text3002"
233 y="619.20685"
234 x="190.68135"
235 style="font-size:35.65467453px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:100%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans Bold"
236 xml:space="preserve"><tspan
237 y="619.20685"
238 x="190.68135"
239 sodipodi:role="line"
240 style="font-size:19.99996948px;font-style:normal;font-weight:bold;-inkscape-font-specification:DejaVu Sans Bold"
241 id="tspan3045">@PROJECT@ @VERSION@ (@DISTRIBUTION@)</tspan><tspan
242 y="639.20679"
243 x="190.68135"
244 sodipodi:role="line"
245 style="font-size:19.99996948px;font-style:normal;font-weight:bold;-inkscape-font-specification:DejaVu Sans Bold"
246 id="tspan3041">@DESCRIPTION@ @ARCHITECTURE@</tspan><tspan
247 y="659.20679"
248 x="190.68135"
249 sodipodi:role="line"
250 style="font-size:19.99996948px;font-style:normal;font-weight:bold;-inkscape-font-specification:DejaVu Sans Bold"
251 id="tspan3037" /><tspan
252 y="679.20679"
253 x="190.68135"
254 sodipodi:role="line"
255 style="font-size:19.99996948px;font-style:normal;font-weight:bold;-inkscape-font-specification:DejaVu Sans Bold"
256 id="tspan3039">Build: @YEAR@-@MONTH@-@DAY@ @HOUR@:@MINUTE@:@SECOND@</tspan><tspan
257 y="699.20673"
258 x="190.68135"
259 sodipodi:role="line"
260 style="font-size:19.99996948px;font-style:normal;font-weight:bold;-inkscape-font-specification:DejaVu Sans Bold"
261 id="tspan3098" /><tspan
262 y="719.20667"
263 x="190.68135"
264 sodipodi:role="line"
265 style="font-size:19.99996948px;font-style:normal;font-weight:normal;-inkscape-font-specification:DejaVu Sans"
266 id="tspan3102">linux: @LINUX_VERSIONS@</tspan><tspan
267 y="739.20667"
268 x="190.68135"
269 sodipodi:role="line"
270 style="font-size:19.99996948px;font-style:normal;font-weight:normal;-inkscape-font-specification:DejaVu Sans"
271 id="tspan3076">live-build: @LIVE_BUILD_VERSION@</tspan><tspan
272 y="759.20667"
273 x="190.68135"
274 sodipodi:role="line"
275 style="font-size:19.99996948px;font-style:normal;font-weight:normal;-inkscape-font-specification:DejaVu Sans"
276 id="tspan3068">live-boot: @LIVE_BOOT_VERSION@</tspan><tspan
277 y="779.2066"
278 x="190.68135"
279 sodipodi:role="line"
280 style="font-size:19.99996948px;font-style:normal;font-weight:normal;-inkscape-font-specification:DejaVu Sans"
281 id="tspan3070">live-config: @LIVE_CONFIG_VERSION@</tspan><tspan
282 y="799.20654"
283 x="190.68135"
284 sodipodi:role="line"
285 style="font-size:19.99996948px;font-style:normal;font-weight:normal;-inkscape-font-specification:DejaVu Sans"
286 id="tspan3012">live-tools: @LIVE_TOOLS_VERSION@</tspan><tspan
287 y="819.20654"
288 x="190.68135"
289 sodipodi:role="line"
290 style="font-size:19.99996948px;font-style:normal;font-weight:normal;-inkscape-font-specification:DejaVu Sans"
291 id="tspan3066" /></text>
292 <text
293 xml:space="preserve"
294 style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
295 x="200"
296 y="336.7742"
297 id="text3114"
298 sodipodi:linespacing="125%"
299 transform="translate(0,572.3622)"><tspan
300 sodipodi:role="line"
301 id="tspan3116" /></text>
302 <g
303 id="layer1-9"
304 inkscape:label="Layer 1"
305 transform="matrix(2.8369273,0,0,2.8369235,27.782921,602.43406)">
306 <path
307 transform="matrix(0.742527,0,-0.05812964,1.428611,4.500517,-36.68345)"
308 d="m 60.264545,45.673546 c 0,6.966249 -13.595256,12.613509 -30.365856,12.613509 -16.770599,0 -30.3658559,-5.64726 -30.3658559,-12.613509 0,-6.966249 13.5952569,-12.613509 30.3658559,-12.613509 16.7706,0 30.365856,5.64726 30.365856,12.613509 z"
309 sodipodi:ry="12.613509"
310 sodipodi:rx="30.365856"
311 sodipodi:cy="45.673546"
312 sodipodi:cx="29.898689"
313 id="path17409"
314 style="fill:url(#radialGradient18290);fill-opacity:1;stroke:none"
315 sodipodi:type="arc" />
316 <path
317 sodipodi:nodetypes="cccscsssscsccsc"
318 id="path3120"
319 d="M 23.152758,1.1801876 C 20.380218,1.2190783 17.86582,1.8908769 15.634281,3.0196314 14.541531,5.1714614 10.9437,7.7293655 9.4689484,8.0015561 6.5691703,11.460832 4.6887193,15.805035 3.9754523,19.98162 c -4.375e-4,0.0026 4.366e-4,0.0052 0,0.0077 -1.1863594,1.549717 -1.6900108,3.396594 -1.3773472,5.53256 1.1211744,7.659314 3.2821678,14.888292 8.1850959,16.556275 7.154429,2.433946 21.871769,1.785847 25.129507,0.458258 7.13903,-2.909286 7.771453,-9.285098 8.891432,-16.780256 0.305554,-2.044832 -0.144835,-3.841202 -1.230601,-5.372942 -0.009,-0.0556 -0.01849,-0.111474 -0.02832,-0.167342 C 42.763966,15.777007 40.697859,11.326849 37.602582,7.8466935 35.508773,7.62926 31.462964,4.270333 30.483158,2.6229925 28.330506,1.7020155 25.961342,1.1801876 23.407632,1.1801876 c -0.08532,0 -0.170037,-0.00119 -0.254874,0 z"
320 style="fill:url(#radialGradient7666);fill-opacity:1;stroke:#c4a000;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
321 inkscape:connector-curvature="0" />
322 <path
323 sodipodi:nodetypes="ccscc"
324 id="path7668"
325 d="M 43.629688,22.792984 C 39.033494,39.233217 10.438199,40.802737 3.7832765,23.04227 3.7410682,39.366403 10.103414,44.083889 28.189955,43.247454 c 3.061977,-0.140689 10.00982,0.04287 14.614484,-9.136776 2.238365,-11.5104 0.825249,-11.317694 0.825249,-11.317694 z"
326 style="opacity:0.66666667;fill:url(#radialGradient8549);fill-opacity:1;fill-rule:evenodd;stroke:none"
327 inkscape:connector-curvature="0" />
328 <path
329 sodipodi:nodetypes="cccc"
330 id="path8553"
331 d="m 34.691565,7.6783057 2.500881,1.1253976 c 0,0 -1.310404,10.1226397 -6.669016,16.4849717 1.771665,-6.455834 4.188975,-17.6103693 4.168135,-17.6103693 z"
332 style="fill:url(#radialGradient9434);fill-opacity:1;fill-rule:evenodd;stroke:none"
333 inkscape:connector-curvature="0" />
334 <path
335 sodipodi:nodetypes="cccc"
336 id="path9436"
337 d="m 15.872437,4.1562328 c 1.50053,9.0656942 6.50229,19.4860282 6.002115,20.0070452 -4.584948,-6.981624 -6.502291,-12.921217 -8.00282,-17.9229779 0,-0.083363 2.000705,-2.0632267 2.000705,-2.0840673 z"
338 style="fill:url(#radialGradient10317);fill-opacity:1;fill-rule:evenodd;stroke:none"
339 inkscape:connector-curvature="0" />
340 <path
341 sodipodi:nodetypes="ccsc"
342 id="path10319"
343 d="M 30.21082,3.8227818 C 26.126047,20.328594 25.959322,23.079563 25.959322,23.079563 c 0,0 6.335566,-16.7559003 6.335566,-17.1727135 0,-8e-7 -1.583891,-1.5005286 -2.084068,-2.0840677 z"
344 style="fill:url(#radialGradient11208);fill-opacity:1;fill-rule:evenodd;stroke:none"
345 inkscape:connector-curvature="0" />
346 <flowRoot
347 id="flowRoot12974"
348 xml:space="preserve"><flowRegion
349 id="flowRegion12976"><rect
350 y="412.80496"
351 x="86.787514"
352 height="16.02231"
353 width="40.055775"
354 id="rect12978" /></flowRegion><flowPara
355 id="flowPara12980" /></flowRoot> <path
356 sodipodi:nodetypes="ccccccc"
357 id="path13014"
358 d="m 16.18209,34.476182 -0.04467,-9.569745 14.493727,0 1.642604,-1.263542 -16.931465,0 0.04467,10.640581 0.795134,0.192706 z"
359 style="fill:url(#radialGradient13895);fill-opacity:1;fill-rule:evenodd;stroke:none"
360 inkscape:connector-curvature="0" />
361 <path
362 sodipodi:nodetypes="ccccc"
363 id="path13897"
364 d="m 31.043495,24.81709 0.08168,9.804611 0.686144,-0.214742 0.01198,-10.85341 -0.779803,1.263541 z"
365 style="fill:#958401;fill-opacity:1;fill-rule:evenodd;stroke:none"
366 inkscape:connector-curvature="0" />
367 <path
368 sodipodi:nodetypes="ccccscc"
369 id="path16526"
370 d="m 4.2551267,24.106065 c 0,0 2.3166503,8.115689 10.2209413,8.766037 1.105608,2.490418 -1.13497,4.124601 -1.13497,4.124601 L 9.7315781,36.745641 c 0,0 -6.2387745,-7.992942 -6.4882087,-9.900882 -0.2494325,-1.907937 0.1632835,-3.407793 0.1632835,-3.407793 l 0.8484738,0.669099 z"
371 style="fill:url(#radialGradient2798);fill-opacity:1;fill-rule:evenodd;stroke:none"
372 inkscape:connector-curvature="0" />
373 <path
374 style="opacity:0.74444442;fill:none;stroke:#ffffff;stroke-width:0.99999976;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
375 d="M 23.184204,2.3889904 C 20.570275,2.4256563 18.199721,3.0590226 16.095844,4.1232033 15.065608,6.1519314 11.673602,8.563503 10.283218,8.8201221 7.5493302,12.0815 5.776456,16.17718 5.1039936,20.11483 c -4.124e-4,0.0024 4.116e-4,0.0049 0,0.0073 -1.1184901,1.46106 -1.8584936,3.246475 -1.5637169,5.260247 1.0570343,7.22114 2.9276025,13.709677 7.3279793,15.639454 5.923141,2.597582 21.539722,1.785935 24.611092,0.534295 6.73062,-2.742852 7.061699,-8.930694 8.117606,-15.997069 0.288074,-1.927851 -0.13655,-3.621454 -1.160201,-5.065566 -0.0084,-0.05242 -0.01743,-0.105097 -0.0267,-0.157769 C 41.673494,16.150755 39.725585,11.955182 36.807382,8.6741189 34.833356,8.4691243 31.019,5.3023548 30.095246,3.7492553 28.065743,2.8809656 25.832115,2.3889904 23.424497,2.3889904 c -0.08044,0 -0.160309,-0.00112 -0.240293,0 z"
376 id="path2703"
377 sodipodi:nodetypes="cccscsssscsccsc"
378 inkscape:connector-curvature="0" />
379 <path
380 sodipodi:nodetypes="cccssccscccssc"
381 id="path2800"
382 d="m 22.59375,2.78125 c -2.329557,0.1165682 -4.440971,0.7250384 -6.34375,1.6875 -1.010725,1.9903059 -4.354698,4.373241 -5.71875,4.625 -2.6821095,3.199611 -4.4027734,7.199424 -5.0625,11.0625 -4.046e-4,0.0024 4.038e-4,0.02888 0,0.03125 -1.0973069,1.43339 -1.4580267,3.591148 -1.4580267,3.591148 4.685267,3.605062 7.6416117,0.213892 14.3188727,-2.01722 12.59928,1.923141 18.748338,-0.995945 22.514154,-5.667678 0.0069,-0.0085 -0.0035,-0.02088 0,-0.03125 C 39.852567,13.479666 38.411479,11.016387 36.5625,8.9375 34.62586,8.7363873 30.875008,5.6486852 29.96875,4.125 27.977684,3.2731547 25.79952,2.78125 23.4375,2.78125 c -0.07892,10e-8 -0.171531,-0.0011 -0.25,0 -0.200346,0.00281 -0.39633,-0.00988 -0.59375,0 z"
383 style="opacity:0.59444424;fill:url(#radialGradient2813);fill-opacity:1;stroke:none"
384 inkscape:connector-curvature="0" />
385 </g>
386 </g>
387 </svg>
0 menu background splash.png
1 menu color title * #FFFFFFFF *
2 menu color border * #00000000 #00000000 none
3 menu color sel * #ffffffff #76a1d0ff *
4 menu color hotsel 1;7;37;40 #ffffffff #76a1d0ff *
5 menu color tabmsg * #ffffffff #00000000 *
6 menu color help 37;40 #ffdddd00 #00000000 none
7 menu vshift 17
8 menu rows 10
9 menu helpmsgrow 15
10 # The command line must be at least one line from the bottom.
11 menu cmdlinerow 16
12 menu timeoutrow 16
13 menu tabmsgrow 18
14 menu tabmsg Press ENTER to boot or TAB to edit a menu entry
0 /usr/lib/syslinux/vesamenu.c32āŽ
0 label installgui
1 menu label ^Graphical install
2 kernel /install/gtk/vmlinuz
3 append video=vesa:ywrap,mtrr vga=788 initrd=/install/gtk/initrd.gz @LB_BOOTAPPEND_INSTALL@ -- quiet
4
5 label install
6 menu label ^Text-mode install
7 kernel /install/vmlinuz
8 append vga=788 initrd=/install/initrd.gz @LB_BOOTAPPEND_INSTALL@ -- quiet
0 /usr/lib/syslinux/isolinux.bināŽ
0 include menu.cfg
1 default vesamenu.c32
2 prompt 0
3 timeout 0
0 label live-@FLAVOUR@
1 menu label ^Live (@FLAVOUR@)
2 menu default
3 linux @LINUX@
4 initrd @INITRD@
5 append @APPEND_LIVE@
6
7 label live-@FLAVOUR@-failsafe
8 menu label ^Live (@FLAVOUR@ failsafe)
9 linux @LINUX@
10 initrd @INITRD@
11 append @APPEND_LIVE_FAILSAFE@
0 menu hshift 0
1 menu width 82
2
3 menu title Boot menu
4 include stdmenu.cfg
5 include live.cfg
6 include install.cfg
7 menu end
8
9 menu clear
0 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
1 <!-- Created with Inkscape (http://www.inkscape.org/) -->
2
3 <svg
4 xmlns:dc="http://purl.org/dc/elements/1.1/"
5 xmlns:cc="http://creativecommons.org/ns#"
6 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
7 xmlns:svg="http://www.w3.org/2000/svg"
8 xmlns="http://www.w3.org/2000/svg"
9 xmlns:xlink="http://www.w3.org/1999/xlink"
10 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12 width="640"
13 height="480"
14 id="svg3320"
15 version="1.1"
16 inkscape:version="0.48.3.1 r9886"
17 sodipodi:docname="splash.svg.in">
18 <defs
19 id="defs3322">
20 <radialGradient
21 gradientUnits="userSpaceOnUse"
22 gradientTransform="matrix(1.402663,0,0,1.115648,-6.237984,0.0533075)"
23 r="18.370251"
24 fy="10.943316"
25 fx="15.491823"
26 cy="10.943316"
27 cx="15.491823"
28 id="radialGradient2813"
29 xlink:href="#linearGradient2807"
30 inkscape:collect="always" />
31 <radialGradient
32 r="35.934704"
33 fy="424.15677"
34 fx="131.23691"
35 cy="424.15677"
36 cx="131.23691"
37 gradientTransform="matrix(0.101953,-0.04272301,0.09621296,0.229599,-48.67227,-64.24148)"
38 gradientUnits="userSpaceOnUse"
39 id="radialGradient2798"
40 xlink:href="#linearGradient8543"
41 inkscape:collect="always" />
42 <radialGradient
43 gradientUnits="userSpaceOnUse"
44 gradientTransform="matrix(1,0,0,0.415385,0,26.70146)"
45 r="30.365856"
46 fy="45.673546"
47 fx="29.898689"
48 cy="45.673546"
49 cx="29.898689"
50 id="radialGradient18290"
51 xlink:href="#linearGradient18284"
52 inkscape:collect="always" />
53 <radialGradient
54 gradientUnits="userSpaceOnUse"
55 gradientTransform="matrix(0.105628,-0.04514018,0.06692574,0.156607,-46.01605,-24.35485)"
56 r="103.26014"
57 fy="409.83737"
58 fx="340.35886"
59 cy="409.83737"
60 cx="340.35886"
61 id="radialGradient13895"
62 xlink:href="#linearGradient8543"
63 inkscape:collect="always" />
64 <radialGradient
65 gradientUnits="userSpaceOnUse"
66 gradientTransform="matrix(0.08174351,0.01024998,-0.04335971,0.345793,6.123413,-84.50421)"
67 r="38.451698"
68 fy="270.67969"
69 fx="424.99243"
70 cy="270.67969"
71 cx="424.99243"
72 id="radialGradient11208"
73 xlink:href="#linearGradient11202"
74 inkscape:collect="always" />
75 <radialGradient
76 gradientUnits="userSpaceOnUse"
77 gradientTransform="matrix(0.272962,-0.071724,0.05616202,0.213737,-78.54657,-24.30491)"
78 r="48.782982"
79 fy="243.06874"
80 fx="293.81989"
81 cy="243.06874"
82 cx="293.81989"
83 id="radialGradient10317"
84 xlink:href="#linearGradient8543"
85 inkscape:collect="always" />
86 <radialGradient
87 gradientUnits="userSpaceOnUse"
88 gradientTransform="matrix(0.224796,0.01017229,-0.00975947,0.215674,-73.87964,-54.89804)"
89 r="40.975471"
90 fy="286.46918"
91 fx="500.97794"
92 cy="286.46918"
93 cx="500.97794"
94 id="radialGradient9434"
95 xlink:href="#linearGradient8543"
96 inkscape:collect="always" />
97 <radialGradient
98 gradientUnits="userSpaceOnUse"
99 gradientTransform="matrix(0.163532,-0.01065754,0.01078108,0.165425,-46.18187,-65.65506)"
100 r="235.88632"
101 fy="685.99139"
102 fx="420.87839"
103 cy="685.99139"
104 cx="420.87839"
105 id="radialGradient8549"
106 xlink:href="#linearGradient8543"
107 inkscape:collect="always" />
108 <radialGradient
109 r="297.21338"
110 fy="-72.420044"
111 fx="336.73767"
112 cy="-72.420044"
113 cx="336.73767"
114 gradientTransform="matrix(0.136507,0,-4.484926e-5,0.07137743,-23.39816,12.31028)"
115 gradientUnits="userSpaceOnUse"
116 id="radialGradient7666"
117 xlink:href="#linearGradient5012"
118 inkscape:collect="always" />
119 <linearGradient
120 id="linearGradient5012">
121 <stop
122 id="stop5014"
123 offset="0"
124 style="stop-color:#fdf188;stop-opacity:1;" />
125 <stop
126 id="stop5016"
127 offset="1"
128 style="stop-color:#d3bc00;stop-opacity:1;" />
129 </linearGradient>
130 <linearGradient
131 id="linearGradient8543">
132 <stop
133 id="stop8545"
134 offset="0"
135 style="stop-color:#fffef5;stop-opacity:0.94117647;" />
136 <stop
137 id="stop8547"
138 offset="1"
139 style="stop-color:#fce94f;stop-opacity:0;" />
140 </linearGradient>
141 <linearGradient
142 id="linearGradient11202">
143 <stop
144 id="stop11204"
145 offset="0"
146 style="stop-color:#c4a000;stop-opacity:1;" />
147 <stop
148 id="stop11206"
149 offset="1"
150 style="stop-color:#c4a000;stop-opacity:0;" />
151 </linearGradient>
152 <linearGradient
153 id="linearGradient18284">
154 <stop
155 id="stop18286"
156 offset="0"
157 style="stop-color:#000000;stop-opacity:1;" />
158 <stop
159 style="stop-color:#000000;stop-opacity:1;"
160 offset="0.5"
161 id="stop20913" />
162 <stop
163 style="stop-color:#000000;stop-opacity:0;"
164 offset="1"
165 id="stop19165" />
166 </linearGradient>
167 <linearGradient
168 id="linearGradient2807"
169 inkscape:collect="always">
170 <stop
171 id="stop2809"
172 offset="0"
173 style="stop-color:#ffffff;stop-opacity:1;" />
174 <stop
175 id="stop2811"
176 offset="1"
177 style="stop-color:#ffffff;stop-opacity:0;" />
178 </linearGradient>
179 <inkscape:perspective
180 id="perspective47"
181 inkscape:persp3d-origin="24 : 16 : 1"
182 inkscape:vp_z="48 : 24 : 1"
183 inkscape:vp_y="0 : 1000 : 0"
184 inkscape:vp_x="0 : 24 : 1"
185 sodipodi:type="inkscape:persp3d" />
186 </defs>
187 <sodipodi:namedview
188 id="base"
189 pagecolor="#ffffff"
190 bordercolor="#666666"
191 borderopacity="1.0"
192 inkscape:pageopacity="0.0"
193 inkscape:pageshadow="2"
194 inkscape:zoom="0.775"
195 inkscape:cx="574.36733"
196 inkscape:cy="250.84337"
197 inkscape:document-units="px"
198 inkscape:current-layer="layer1"
199 showgrid="false"
200 inkscape:window-width="1016"
201 inkscape:window-height="570"
202 inkscape:window-x="0"
203 inkscape:window-y="1"
204 inkscape:window-maximized="0" />
205 <metadata
206 id="metadata3325">
207 <rdf:RDF>
208 <cc:Work
209 rdf:about="">
210 <dc:format>image/svg+xml</dc:format>
211 <dc:type
212 rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
213 <dc:title></dc:title>
214 </cc:Work>
215 </rdf:RDF>
216 </metadata>
217 <g
218 inkscape:label="Layer 1"
219 inkscape:groupmode="layer"
220 id="layer1"
221 transform="translate(0,-572.3622)">
222 <rect
223 style="fill:#000000;fill-opacity:1;stroke:none"
224 id="rect3328"
225 width="640"
226 height="480"
227 x="0"
228 y="572.36218" />
229 <text
230 transform="scale(1.0000015,0.99999849)"
231 sodipodi:linespacing="100%"
232 id="text3002"
233 y="619.20685"
234 x="190.68135"
235 style="font-size:35.65467453px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:100%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans Bold"
236 xml:space="preserve"><tspan
237 y="619.20685"
238 x="190.68135"
239 sodipodi:role="line"
240 style="font-size:19.99996948px;font-style:normal;font-weight:bold;-inkscape-font-specification:DejaVu Sans Bold"
241 id="tspan3045">@PROJECT@ @VERSION@ (@DISTRIBUTION@)</tspan><tspan
242 y="639.20679"
243 x="190.68135"
244 sodipodi:role="line"
245 style="font-size:19.99996948px;font-style:normal;font-weight:bold;-inkscape-font-specification:DejaVu Sans Bold"
246 id="tspan3041">@DESCRIPTION@ @ARCHITECTURE@</tspan><tspan
247 y="659.20679"
248 x="190.68135"
249 sodipodi:role="line"
250 style="font-size:19.99996948px;font-style:normal;font-weight:bold;-inkscape-font-specification:DejaVu Sans Bold"
251 id="tspan3037" /><tspan
252 y="679.20679"
253 x="190.68135"
254 sodipodi:role="line"
255 style="font-size:19.99996948px;font-style:normal;font-weight:bold;-inkscape-font-specification:DejaVu Sans Bold"
256 id="tspan3039">Build: @YEAR@-@MONTH@-@DAY@ @HOUR@:@MINUTE@:@SECOND@</tspan><tspan
257 y="699.20673"
258 x="190.68135"
259 sodipodi:role="line"
260 style="font-size:19.99996948px;font-style:normal;font-weight:bold;-inkscape-font-specification:DejaVu Sans Bold"
261 id="tspan3098" /><tspan
262 y="719.20667"
263 x="190.68135"
264 sodipodi:role="line"
265 style="font-size:19.99996948px;font-style:normal;font-weight:normal;-inkscape-font-specification:DejaVu Sans"
266 id="tspan3102">linux: @LINUX_VERSIONS@</tspan><tspan
267 y="739.20667"
268 x="190.68135"
269 sodipodi:role="line"
270 style="font-size:19.99996948px;font-style:normal;font-weight:normal;-inkscape-font-specification:DejaVu Sans"
271 id="tspan3076">live-build: @LIVE_BUILD_VERSION@</tspan><tspan
272 y="759.20667"
273 x="190.68135"
274 sodipodi:role="line"
275 style="font-size:19.99996948px;font-style:normal;font-weight:normal;-inkscape-font-specification:DejaVu Sans"
276 id="tspan3068">live-boot: @LIVE_BOOT_VERSION@</tspan><tspan
277 y="779.2066"
278 x="190.68135"
279 sodipodi:role="line"
280 style="font-size:19.99996948px;font-style:normal;font-weight:normal;-inkscape-font-specification:DejaVu Sans"
281 id="tspan3070">live-config: @LIVE_CONFIG_VERSION@</tspan><tspan
282 y="799.20654"
283 x="190.68135"
284 sodipodi:role="line"
285 style="font-size:19.99996948px;font-style:normal;font-weight:normal;-inkscape-font-specification:DejaVu Sans"
286 id="tspan3012">live-tools: @LIVE_TOOLS_VERSION@</tspan><tspan
287 y="819.20654"
288 x="190.68135"
289 sodipodi:role="line"
290 style="font-size:19.99996948px;font-style:normal;font-weight:normal;-inkscape-font-specification:DejaVu Sans"
291 id="tspan3066" /></text>
292 <text
293 xml:space="preserve"
294 style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
295 x="200"
296 y="336.7742"
297 id="text3114"
298 sodipodi:linespacing="125%"
299 transform="translate(0,572.3622)"><tspan
300 sodipodi:role="line"
301 id="tspan3116" /></text>
302 <g
303 id="layer1-9"
304 inkscape:label="Layer 1"
305 transform="matrix(2.8369273,0,0,2.8369235,27.782921,602.43406)">
306 <path
307 transform="matrix(0.742527,0,-0.05812964,1.428611,4.500517,-36.68345)"
308 d="m 60.264545,45.673546 c 0,6.966249 -13.595256,12.613509 -30.365856,12.613509 -16.770599,0 -30.3658559,-5.64726 -30.3658559,-12.613509 0,-6.966249 13.5952569,-12.613509 30.3658559,-12.613509 16.7706,0 30.365856,5.64726 30.365856,12.613509 z"
309 sodipodi:ry="12.613509"
310 sodipodi:rx="30.365856"
311 sodipodi:cy="45.673546"
312 sodipodi:cx="29.898689"
313 id="path17409"
314 style="fill:url(#radialGradient18290);fill-opacity:1;stroke:none"
315 sodipodi:type="arc" />
316 <path
317 sodipodi:nodetypes="cccscsssscsccsc"
318 id="path3120"
319 d="M 23.152758,1.1801876 C 20.380218,1.2190783 17.86582,1.8908769 15.634281,3.0196314 14.541531,5.1714614 10.9437,7.7293655 9.4689484,8.0015561 6.5691703,11.460832 4.6887193,15.805035 3.9754523,19.98162 c -4.375e-4,0.0026 4.366e-4,0.0052 0,0.0077 -1.1863594,1.549717 -1.6900108,3.396594 -1.3773472,5.53256 1.1211744,7.659314 3.2821678,14.888292 8.1850959,16.556275 7.154429,2.433946 21.871769,1.785847 25.129507,0.458258 7.13903,-2.909286 7.771453,-9.285098 8.891432,-16.780256 0.305554,-2.044832 -0.144835,-3.841202 -1.230601,-5.372942 -0.009,-0.0556 -0.01849,-0.111474 -0.02832,-0.167342 C 42.763966,15.777007 40.697859,11.326849 37.602582,7.8466935 35.508773,7.62926 31.462964,4.270333 30.483158,2.6229925 28.330506,1.7020155 25.961342,1.1801876 23.407632,1.1801876 c -0.08532,0 -0.170037,-0.00119 -0.254874,0 z"
320 style="fill:url(#radialGradient7666);fill-opacity:1;stroke:#c4a000;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
321 inkscape:connector-curvature="0" />
322 <path
323 sodipodi:nodetypes="ccscc"
324 id="path7668"
325 d="M 43.629688,22.792984 C 39.033494,39.233217 10.438199,40.802737 3.7832765,23.04227 3.7410682,39.366403 10.103414,44.083889 28.189955,43.247454 c 3.061977,-0.140689 10.00982,0.04287 14.614484,-9.136776 2.238365,-11.5104 0.825249,-11.317694 0.825249,-11.317694 z"
326 style="opacity:0.66666667;fill:url(#radialGradient8549);fill-opacity:1;fill-rule:evenodd;stroke:none"
327 inkscape:connector-curvature="0" />
328 <path
329 sodipodi:nodetypes="cccc"
330 id="path8553"
331 d="m 34.691565,7.6783057 2.500881,1.1253976 c 0,0 -1.310404,10.1226397 -6.669016,16.4849717 1.771665,-6.455834 4.188975,-17.6103693 4.168135,-17.6103693 z"
332 style="fill:url(#radialGradient9434);fill-opacity:1;fill-rule:evenodd;stroke:none"
333 inkscape:connector-curvature="0" />
334 <path
335 sodipodi:nodetypes="cccc"
336 id="path9436"
337 d="m 15.872437,4.1562328 c 1.50053,9.0656942 6.50229,19.4860282 6.002115,20.0070452 -4.584948,-6.981624 -6.502291,-12.921217 -8.00282,-17.9229779 0,-0.083363 2.000705,-2.0632267 2.000705,-2.0840673 z"
338 style="fill:url(#radialGradient10317);fill-opacity:1;fill-rule:evenodd;stroke:none"
339 inkscape:connector-curvature="0" />
340 <path
341 sodipodi:nodetypes="ccsc"
342 id="path10319"
343 d="M 30.21082,3.8227818 C 26.126047,20.328594 25.959322,23.079563 25.959322,23.079563 c 0,0 6.335566,-16.7559003 6.335566,-17.1727135 0,-8e-7 -1.583891,-1.5005286 -2.084068,-2.0840677 z"
344 style="fill:url(#radialGradient11208);fill-opacity:1;fill-rule:evenodd;stroke:none"
345 inkscape:connector-curvature="0" />
346 <flowRoot
347 id="flowRoot12974"
348 xml:space="preserve"><flowRegion
349 id="flowRegion12976"><rect
350 y="412.80496"
351 x="86.787514"
352 height="16.02231"
353 width="40.055775"
354 id="rect12978" /></flowRegion><flowPara
355 id="flowPara12980" /></flowRoot> <path
356 sodipodi:nodetypes="ccccccc"
357 id="path13014"
358 d="m 16.18209,34.476182 -0.04467,-9.569745 14.493727,0 1.642604,-1.263542 -16.931465,0 0.04467,10.640581 0.795134,0.192706 z"
359 style="fill:url(#radialGradient13895);fill-opacity:1;fill-rule:evenodd;stroke:none"
360 inkscape:connector-curvature="0" />
361 <path
362 sodipodi:nodetypes="ccccc"
363 id="path13897"
364 d="m 31.043495,24.81709 0.08168,9.804611 0.686144,-0.214742 0.01198,-10.85341 -0.779803,1.263541 z"
365 style="fill:#958401;fill-opacity:1;fill-rule:evenodd;stroke:none"
366 inkscape:connector-curvature="0" />
367 <path
368 sodipodi:nodetypes="ccccscc"
369 id="path16526"
370 d="m 4.2551267,24.106065 c 0,0 2.3166503,8.115689 10.2209413,8.766037 1.105608,2.490418 -1.13497,4.124601 -1.13497,4.124601 L 9.7315781,36.745641 c 0,0 -6.2387745,-7.992942 -6.4882087,-9.900882 -0.2494325,-1.907937 0.1632835,-3.407793 0.1632835,-3.407793 l 0.8484738,0.669099 z"
371 style="fill:url(#radialGradient2798);fill-opacity:1;fill-rule:evenodd;stroke:none"
372 inkscape:connector-curvature="0" />
373 <path
374 style="opacity:0.74444442;fill:none;stroke:#ffffff;stroke-width:0.99999976;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
375 d="M 23.184204,2.3889904 C 20.570275,2.4256563 18.199721,3.0590226 16.095844,4.1232033 15.065608,6.1519314 11.673602,8.563503 10.283218,8.8201221 7.5493302,12.0815 5.776456,16.17718 5.1039936,20.11483 c -4.124e-4,0.0024 4.116e-4,0.0049 0,0.0073 -1.1184901,1.46106 -1.8584936,3.246475 -1.5637169,5.260247 1.0570343,7.22114 2.9276025,13.709677 7.3279793,15.639454 5.923141,2.597582 21.539722,1.785935 24.611092,0.534295 6.73062,-2.742852 7.061699,-8.930694 8.117606,-15.997069 0.288074,-1.927851 -0.13655,-3.621454 -1.160201,-5.065566 -0.0084,-0.05242 -0.01743,-0.105097 -0.0267,-0.157769 C 41.673494,16.150755 39.725585,11.955182 36.807382,8.6741189 34.833356,8.4691243 31.019,5.3023548 30.095246,3.7492553 28.065743,2.8809656 25.832115,2.3889904 23.424497,2.3889904 c -0.08044,0 -0.160309,-0.00112 -0.240293,0 z"
376 id="path2703"
377 sodipodi:nodetypes="cccscsssscsccsc"
378 inkscape:connector-curvature="0" />
379 <path
380 sodipodi:nodetypes="cccssccscccssc"
381 id="path2800"
382 d="m 22.59375,2.78125 c -2.329557,0.1165682 -4.440971,0.7250384 -6.34375,1.6875 -1.010725,1.9903059 -4.354698,4.373241 -5.71875,4.625 -2.6821095,3.199611 -4.4027734,7.199424 -5.0625,11.0625 -4.046e-4,0.0024 4.038e-4,0.02888 0,0.03125 -1.0973069,1.43339 -1.4580267,3.591148 -1.4580267,3.591148 4.685267,3.605062 7.6416117,0.213892 14.3188727,-2.01722 12.59928,1.923141 18.748338,-0.995945 22.514154,-5.667678 0.0069,-0.0085 -0.0035,-0.02088 0,-0.03125 C 39.852567,13.479666 38.411479,11.016387 36.5625,8.9375 34.62586,8.7363873 30.875008,5.6486852 29.96875,4.125 27.977684,3.2731547 25.79952,2.78125 23.4375,2.78125 c -0.07892,10e-8 -0.171531,-0.0011 -0.25,0 -0.200346,0.00281 -0.39633,-0.00988 -0.59375,0 z"
383 style="opacity:0.59444424;fill:url(#radialGradient2813);fill-opacity:1;stroke:none"
384 inkscape:connector-curvature="0" />
385 </g>
386 </g>
387 </svg>
0 menu background splash.png
1 menu color title * #FFFFFFFF *
2 menu color border * #00000000 #00000000 none
3 menu color sel * #ffffffff #76a1d0ff *
4 menu color hotsel 1;7;37;40 #ffffffff #76a1d0ff *
5 menu color tabmsg * #ffffffff #00000000 *
6 menu color help 37;40 #ffdddd00 #00000000 none
7 menu vshift 17
8 menu rows 10
9 menu helpmsgrow 15
10 # The command line must be at least one line from the bottom.
11 menu cmdlinerow 16
12 menu timeoutrow 16
13 menu tabmsgrow 18
14 menu tabmsg Press ENTER to boot or TAB to edit a menu entry
0 /usr/lib/syslinux/vesamenu.c32āŽ
0 label installgui
1 menu label ^Graphical install
2 kernel /install/gtk/vmlinuz
3 append video=vesa:ywrap,mtrr vga=788 initrd=/install/gtk/initrd.gz @LB_BOOTAPPEND_INSTALL@ -- quiet
4
5 label install
6 menu label ^Text-mode install
7 kernel /install/vmlinuz
8 append vga=788 initrd=/install/initrd.gz @LB_BOOTAPPEND_INSTALL@ -- quiet
0 label live-@FLAVOUR@
1 menu label ^Live (@FLAVOUR@)
2 menu default
3 linux @LINUX@
4 initrd @INITRD@
5 append @APPEND_LIVE@
6
7 label live-@FLAVOUR@-failsafe
8 menu label ^Live (@FLAVOUR@ failsafe)
9 linux @LINUX@
10 initrd @INITRD@
11 append @APPEND_LIVE_FAILSAFE@
0 menu hshift 0
1 menu width 82
2
3 menu title Boot menu
4 include stdmenu.cfg
5 include live.cfg
6 include install.cfg
7 menu end
8
9 menu clear
0 /usr/lib/syslinux/pxelinux.0āŽ
0 include menu.cfg
1 default vesamenu.c32
2 prompt 0
3 timeout 0
0 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
1 <!-- Created with Inkscape (http://www.inkscape.org/) -->
2
3 <svg
4 xmlns:dc="http://purl.org/dc/elements/1.1/"
5 xmlns:cc="http://creativecommons.org/ns#"
6 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
7 xmlns:svg="http://www.w3.org/2000/svg"
8 xmlns="http://www.w3.org/2000/svg"
9 xmlns:xlink="http://www.w3.org/1999/xlink"
10 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12 width="640"
13 height="480"
14 id="svg3320"
15 version="1.1"
16 inkscape:version="0.48.3.1 r9886"
17 sodipodi:docname="splash.svg.in">
18 <defs
19 id="defs3322">
20 <radialGradient
21 gradientUnits="userSpaceOnUse"
22 gradientTransform="matrix(1.402663,0,0,1.115648,-6.237984,0.0533075)"
23 r="18.370251"
24 fy="10.943316"
25 fx="15.491823"
26 cy="10.943316"
27 cx="15.491823"
28 id="radialGradient2813"
29 xlink:href="#linearGradient2807"
30 inkscape:collect="always" />
31 <radialGradient
32 r="35.934704"
33 fy="424.15677"
34 fx="131.23691"
35 cy="424.15677"
36 cx="131.23691"
37 gradientTransform="matrix(0.101953,-0.04272301,0.09621296,0.229599,-48.67227,-64.24148)"
38 gradientUnits="userSpaceOnUse"
39 id="radialGradient2798"
40 xlink:href="#linearGradient8543"
41 inkscape:collect="always" />
42 <radialGradient
43 gradientUnits="userSpaceOnUse"
44 gradientTransform="matrix(1,0,0,0.415385,0,26.70146)"
45 r="30.365856"
46 fy="45.673546"
47 fx="29.898689"
48 cy="45.673546"
49 cx="29.898689"
50 id="radialGradient18290"
51 xlink:href="#linearGradient18284"
52 inkscape:collect="always" />
53 <radialGradient
54 gradientUnits="userSpaceOnUse"
55 gradientTransform="matrix(0.105628,-0.04514018,0.06692574,0.156607,-46.01605,-24.35485)"
56 r="103.26014"
57 fy="409.83737"
58 fx="340.35886"
59 cy="409.83737"
60 cx="340.35886"
61 id="radialGradient13895"
62 xlink:href="#linearGradient8543"
63 inkscape:collect="always" />
64 <radialGradient
65 gradientUnits="userSpaceOnUse"
66 gradientTransform="matrix(0.08174351,0.01024998,-0.04335971,0.345793,6.123413,-84.50421)"
67 r="38.451698"
68 fy="270.67969"
69 fx="424.99243"
70 cy="270.67969"
71 cx="424.99243"
72 id="radialGradient11208"
73 xlink:href="#linearGradient11202"
74 inkscape:collect="always" />
75 <radialGradient
76 gradientUnits="userSpaceOnUse"
77 gradientTransform="matrix(0.272962,-0.071724,0.05616202,0.213737,-78.54657,-24.30491)"
78 r="48.782982"
79 fy="243.06874"
80 fx="293.81989"
81 cy="243.06874"
82 cx="293.81989"
83 id="radialGradient10317"
84 xlink:href="#linearGradient8543"
85 inkscape:collect="always" />
86 <radialGradient
87 gradientUnits="userSpaceOnUse"
88 gradientTransform="matrix(0.224796,0.01017229,-0.00975947,0.215674,-73.87964,-54.89804)"
89 r="40.975471"
90 fy="286.46918"
91 fx="500.97794"
92 cy="286.46918"
93 cx="500.97794"
94 id="radialGradient9434"
95 xlink:href="#linearGradient8543"
96 inkscape:collect="always" />
97 <radialGradient
98 gradientUnits="userSpaceOnUse"
99 gradientTransform="matrix(0.163532,-0.01065754,0.01078108,0.165425,-46.18187,-65.65506)"
100 r="235.88632"
101 fy="685.99139"
102 fx="420.87839"
103 cy="685.99139"
104 cx="420.87839"
105 id="radialGradient8549"
106 xlink:href="#linearGradient8543"
107 inkscape:collect="always" />
108 <radialGradient
109 r="297.21338"
110 fy="-72.420044"
111 fx="336.73767"
112 cy="-72.420044"
113 cx="336.73767"
114 gradientTransform="matrix(0.136507,0,-4.484926e-5,0.07137743,-23.39816,12.31028)"
115 gradientUnits="userSpaceOnUse"
116 id="radialGradient7666"
117 xlink:href="#linearGradient5012"
118 inkscape:collect="always" />
119 <linearGradient
120 id="linearGradient5012">
121 <stop
122 id="stop5014"
123 offset="0"
124 style="stop-color:#fdf188;stop-opacity:1;" />
125 <stop
126 id="stop5016"
127 offset="1"
128 style="stop-color:#d3bc00;stop-opacity:1;" />
129 </linearGradient>
130 <linearGradient
131 id="linearGradient8543">
132 <stop
133 id="stop8545"
134 offset="0"
135 style="stop-color:#fffef5;stop-opacity:0.94117647;" />
136 <stop
137 id="stop8547"
138 offset="1"
139 style="stop-color:#fce94f;stop-opacity:0;" />
140 </linearGradient>
141 <linearGradient
142 id="linearGradient11202">
143 <stop
144 id="stop11204"
145 offset="0"
146 style="stop-color:#c4a000;stop-opacity:1;" />
147 <stop
148 id="stop11206"
149 offset="1"
150 style="stop-color:#c4a000;stop-opacity:0;" />
151 </linearGradient>
152 <linearGradient
153 id="linearGradient18284">
154 <stop
155 id="stop18286"
156 offset="0"
157 style="stop-color:#000000;stop-opacity:1;" />
158 <stop
159 style="stop-color:#000000;stop-opacity:1;"
160 offset="0.5"
161 id="stop20913" />
162 <stop
163 style="stop-color:#000000;stop-opacity:0;"
164 offset="1"
165 id="stop19165" />
166 </linearGradient>
167 <linearGradient
168 id="linearGradient2807"
169 inkscape:collect="always">
170 <stop
171 id="stop2809"
172 offset="0"
173 style="stop-color:#ffffff;stop-opacity:1;" />
174 <stop
175 id="stop2811"
176 offset="1"
177 style="stop-color:#ffffff;stop-opacity:0;" />
178 </linearGradient>
179 <inkscape:perspective
180 id="perspective47"
181 inkscape:persp3d-origin="24 : 16 : 1"
182 inkscape:vp_z="48 : 24 : 1"
183 inkscape:vp_y="0 : 1000 : 0"
184 inkscape:vp_x="0 : 24 : 1"
185 sodipodi:type="inkscape:persp3d" />
186 </defs>
187 <sodipodi:namedview
188 id="base"
189 pagecolor="#ffffff"
190 bordercolor="#666666"
191 borderopacity="1.0"
192 inkscape:pageopacity="0.0"
193 inkscape:pageshadow="2"
194 inkscape:zoom="0.775"
195 inkscape:cx="574.36733"
196 inkscape:cy="250.84337"
197 inkscape:document-units="px"
198 inkscape:current-layer="layer1"
199 showgrid="false"
200 inkscape:window-width="1016"
201 inkscape:window-height="570"
202 inkscape:window-x="0"
203 inkscape:window-y="1"
204 inkscape:window-maximized="0" />
205 <metadata
206 id="metadata3325">
207 <rdf:RDF>
208 <cc:Work
209 rdf:about="">
210 <dc:format>image/svg+xml</dc:format>
211 <dc:type
212 rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
213 <dc:title></dc:title>
214 </cc:Work>
215 </rdf:RDF>
216 </metadata>
217 <g
218 inkscape:label="Layer 1"
219 inkscape:groupmode="layer"
220 id="layer1"
221 transform="translate(0,-572.3622)">
222 <rect
223 style="fill:#000000;fill-opacity:1;stroke:none"
224 id="rect3328"
225 width="640"
226 height="480"
227 x="0"
228 y="572.36218" />
229 <text
230 transform="scale(1.0000015,0.99999849)"
231 sodipodi:linespacing="100%"
232 id="text3002"
233 y="619.20685"
234 x="190.68135"
235 style="font-size:35.65467453px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:100%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans Bold"
236 xml:space="preserve"><tspan
237 y="619.20685"
238 x="190.68135"
239 sodipodi:role="line"
240 style="font-size:19.99996948px;font-style:normal;font-weight:bold;-inkscape-font-specification:DejaVu Sans Bold"
241 id="tspan3045">@PROJECT@ @VERSION@ (@DISTRIBUTION@)</tspan><tspan
242 y="639.20679"
243 x="190.68135"
244 sodipodi:role="line"
245 style="font-size:19.99996948px;font-style:normal;font-weight:bold;-inkscape-font-specification:DejaVu Sans Bold"
246 id="tspan3041">@DESCRIPTION@ @ARCHITECTURE@</tspan><tspan
247 y="659.20679"
248 x="190.68135"
249 sodipodi:role="line"
250 style="font-size:19.99996948px;font-style:normal;font-weight:bold;-inkscape-font-specification:DejaVu Sans Bold"
251 id="tspan3037" /><tspan
252 y="679.20679"
253 x="190.68135"
254 sodipodi:role="line"
255 style="font-size:19.99996948px;font-style:normal;font-weight:bold;-inkscape-font-specification:DejaVu Sans Bold"
256 id="tspan3039">Build: @YEAR@-@MONTH@-@DAY@ @HOUR@:@MINUTE@:@SECOND@</tspan><tspan
257 y="699.20673"
258 x="190.68135"
259 sodipodi:role="line"
260 style="font-size:19.99996948px;font-style:normal;font-weight:bold;-inkscape-font-specification:DejaVu Sans Bold"
261 id="tspan3098" /><tspan
262 y="719.20667"
263 x="190.68135"
264 sodipodi:role="line"
265 style="font-size:19.99996948px;font-style:normal;font-weight:normal;-inkscape-font-specification:DejaVu Sans"
266 id="tspan3102">linux: @LINUX_VERSIONS@</tspan><tspan
267 y="739.20667"
268 x="190.68135"
269 sodipodi:role="line"
270 style="font-size:19.99996948px;font-style:normal;font-weight:normal;-inkscape-font-specification:DejaVu Sans"
271 id="tspan3076">live-build: @LIVE_BUILD_VERSION@</tspan><tspan
272 y="759.20667"
273 x="190.68135"
274 sodipodi:role="line"
275 style="font-size:19.99996948px;font-style:normal;font-weight:normal;-inkscape-font-specification:DejaVu Sans"
276 id="tspan3068">live-boot: @LIVE_BOOT_VERSION@</tspan><tspan
277 y="779.2066"
278 x="190.68135"
279 sodipodi:role="line"
280 style="font-size:19.99996948px;font-style:normal;font-weight:normal;-inkscape-font-specification:DejaVu Sans"
281 id="tspan3070">live-config: @LIVE_CONFIG_VERSION@</tspan><tspan
282 y="799.20654"
283 x="190.68135"
284 sodipodi:role="line"
285 style="font-size:19.99996948px;font-style:normal;font-weight:normal;-inkscape-font-specification:DejaVu Sans"
286 id="tspan3012">live-tools: @LIVE_TOOLS_VERSION@</tspan><tspan
287 y="819.20654"
288 x="190.68135"
289 sodipodi:role="line"
290 style="font-size:19.99996948px;font-style:normal;font-weight:normal;-inkscape-font-specification:DejaVu Sans"
291 id="tspan3066" /></text>
292 <text
293 xml:space="preserve"
294 style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
295 x="200"
296 y="336.7742"
297 id="text3114"
298 sodipodi:linespacing="125%"
299 transform="translate(0,572.3622)"><tspan
300 sodipodi:role="line"
301 id="tspan3116" /></text>
302 <g
303 id="layer1-9"
304 inkscape:label="Layer 1"
305 transform="matrix(2.8369273,0,0,2.8369235,27.782921,602.43406)">
306 <path
307 transform="matrix(0.742527,0,-0.05812964,1.428611,4.500517,-36.68345)"
308 d="m 60.264545,45.673546 c 0,6.966249 -13.595256,12.613509 -30.365856,12.613509 -16.770599,0 -30.3658559,-5.64726 -30.3658559,-12.613509 0,-6.966249 13.5952569,-12.613509 30.3658559,-12.613509 16.7706,0 30.365856,5.64726 30.365856,12.613509 z"
309 sodipodi:ry="12.613509"
310 sodipodi:rx="30.365856"
311 sodipodi:cy="45.673546"
312 sodipodi:cx="29.898689"
313 id="path17409"
314 style="fill:url(#radialGradient18290);fill-opacity:1;stroke:none"
315 sodipodi:type="arc" />
316 <path
317 sodipodi:nodetypes="cccscsssscsccsc"
318 id="path3120"
319 d="M 23.152758,1.1801876 C 20.380218,1.2190783 17.86582,1.8908769 15.634281,3.0196314 14.541531,5.1714614 10.9437,7.7293655 9.4689484,8.0015561 6.5691703,11.460832 4.6887193,15.805035 3.9754523,19.98162 c -4.375e-4,0.0026 4.366e-4,0.0052 0,0.0077 -1.1863594,1.549717 -1.6900108,3.396594 -1.3773472,5.53256 1.1211744,7.659314 3.2821678,14.888292 8.1850959,16.556275 7.154429,2.433946 21.871769,1.785847 25.129507,0.458258 7.13903,-2.909286 7.771453,-9.285098 8.891432,-16.780256 0.305554,-2.044832 -0.144835,-3.841202 -1.230601,-5.372942 -0.009,-0.0556 -0.01849,-0.111474 -0.02832,-0.167342 C 42.763966,15.777007 40.697859,11.326849 37.602582,7.8466935 35.508773,7.62926 31.462964,4.270333 30.483158,2.6229925 28.330506,1.7020155 25.961342,1.1801876 23.407632,1.1801876 c -0.08532,0 -0.170037,-0.00119 -0.254874,0 z"
320 style="fill:url(#radialGradient7666);fill-opacity:1;stroke:#c4a000;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
321 inkscape:connector-curvature="0" />
322 <path
323 sodipodi:nodetypes="ccscc"
324 id="path7668"
325 d="M 43.629688,22.792984 C 39.033494,39.233217 10.438199,40.802737 3.7832765,23.04227 3.7410682,39.366403 10.103414,44.083889 28.189955,43.247454 c 3.061977,-0.140689 10.00982,0.04287 14.614484,-9.136776 2.238365,-11.5104 0.825249,-11.317694 0.825249,-11.317694 z"
326 style="opacity:0.66666667;fill:url(#radialGradient8549);fill-opacity:1;fill-rule:evenodd;stroke:none"
327 inkscape:connector-curvature="0" />
328 <path
329 sodipodi:nodetypes="cccc"
330 id="path8553"
331 d="m 34.691565,7.6783057 2.500881,1.1253976 c 0,0 -1.310404,10.1226397 -6.669016,16.4849717 1.771665,-6.455834 4.188975,-17.6103693 4.168135,-17.6103693 z"
332 style="fill:url(#radialGradient9434);fill-opacity:1;fill-rule:evenodd;stroke:none"
333 inkscape:connector-curvature="0" />
334 <path
335 sodipodi:nodetypes="cccc"
336 id="path9436"
337 d="m 15.872437,4.1562328 c 1.50053,9.0656942 6.50229,19.4860282 6.002115,20.0070452 -4.584948,-6.981624 -6.502291,-12.921217 -8.00282,-17.9229779 0,-0.083363 2.000705,-2.0632267 2.000705,-2.0840673 z"
338 style="fill:url(#radialGradient10317);fill-opacity:1;fill-rule:evenodd;stroke:none"
339 inkscape:connector-curvature="0" />
340 <path
341 sodipodi:nodetypes="ccsc"
342 id="path10319"
343 d="M 30.21082,3.8227818 C 26.126047,20.328594 25.959322,23.079563 25.959322,23.079563 c 0,0 6.335566,-16.7559003 6.335566,-17.1727135 0,-8e-7 -1.583891,-1.5005286 -2.084068,-2.0840677 z"
344 style="fill:url(#radialGradient11208);fill-opacity:1;fill-rule:evenodd;stroke:none"
345 inkscape:connector-curvature="0" />
346 <flowRoot
347 id="flowRoot12974"
348 xml:space="preserve"><flowRegion
349 id="flowRegion12976"><rect
350 y="412.80496"
351 x="86.787514"
352 height="16.02231"
353 width="40.055775"
354 id="rect12978" /></flowRegion><flowPara
355 id="flowPara12980" /></flowRoot> <path
356 sodipodi:nodetypes="ccccccc"
357 id="path13014"
358 d="m 16.18209,34.476182 -0.04467,-9.569745 14.493727,0 1.642604,-1.263542 -16.931465,0 0.04467,10.640581 0.795134,0.192706 z"
359 style="fill:url(#radialGradient13895);fill-opacity:1;fill-rule:evenodd;stroke:none"
360 inkscape:connector-curvature="0" />
361 <path
362 sodipodi:nodetypes="ccccc"
363 id="path13897"
364 d="m 31.043495,24.81709 0.08168,9.804611 0.686144,-0.214742 0.01198,-10.85341 -0.779803,1.263541 z"
365 style="fill:#958401;fill-opacity:1;fill-rule:evenodd;stroke:none"
366 inkscape:connector-curvature="0" />
367 <path
368 sodipodi:nodetypes="ccccscc"
369 id="path16526"
370 d="m 4.2551267,24.106065 c 0,0 2.3166503,8.115689 10.2209413,8.766037 1.105608,2.490418 -1.13497,4.124601 -1.13497,4.124601 L 9.7315781,36.745641 c 0,0 -6.2387745,-7.992942 -6.4882087,-9.900882 -0.2494325,-1.907937 0.1632835,-3.407793 0.1632835,-3.407793 l 0.8484738,0.669099 z"
371 style="fill:url(#radialGradient2798);fill-opacity:1;fill-rule:evenodd;stroke:none"
372 inkscape:connector-curvature="0" />
373 <path
374 style="opacity:0.74444442;fill:none;stroke:#ffffff;stroke-width:0.99999976;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
375 d="M 23.184204,2.3889904 C 20.570275,2.4256563 18.199721,3.0590226 16.095844,4.1232033 15.065608,6.1519314 11.673602,8.563503 10.283218,8.8201221 7.5493302,12.0815 5.776456,16.17718 5.1039936,20.11483 c -4.124e-4,0.0024 4.116e-4,0.0049 0,0.0073 -1.1184901,1.46106 -1.8584936,3.246475 -1.5637169,5.260247 1.0570343,7.22114 2.9276025,13.709677 7.3279793,15.639454 5.923141,2.597582 21.539722,1.785935 24.611092,0.534295 6.73062,-2.742852 7.061699,-8.930694 8.117606,-15.997069 0.288074,-1.927851 -0.13655,-3.621454 -1.160201,-5.065566 -0.0084,-0.05242 -0.01743,-0.105097 -0.0267,-0.157769 C 41.673494,16.150755 39.725585,11.955182 36.807382,8.6741189 34.833356,8.4691243 31.019,5.3023548 30.095246,3.7492553 28.065743,2.8809656 25.832115,2.3889904 23.424497,2.3889904 c -0.08044,0 -0.160309,-0.00112 -0.240293,0 z"
376 id="path2703"
377 sodipodi:nodetypes="cccscsssscsccsc"
378 inkscape:connector-curvature="0" />
379 <path
380 sodipodi:nodetypes="cccssccscccssc"
381 id="path2800"
382 d="m 22.59375,2.78125 c -2.329557,0.1165682 -4.440971,0.7250384 -6.34375,1.6875 -1.010725,1.9903059 -4.354698,4.373241 -5.71875,4.625 -2.6821095,3.199611 -4.4027734,7.199424 -5.0625,11.0625 -4.046e-4,0.0024 4.038e-4,0.02888 0,0.03125 -1.0973069,1.43339 -1.4580267,3.591148 -1.4580267,3.591148 4.685267,3.605062 7.6416117,0.213892 14.3188727,-2.01722 12.59928,1.923141 18.748338,-0.995945 22.514154,-5.667678 0.0069,-0.0085 -0.0035,-0.02088 0,-0.03125 C 39.852567,13.479666 38.411479,11.016387 36.5625,8.9375 34.62586,8.7363873 30.875008,5.6486852 29.96875,4.125 27.977684,3.2731547 25.79952,2.78125 23.4375,2.78125 c -0.07892,10e-8 -0.171531,-0.0011 -0.25,0 -0.200346,0.00281 -0.39633,-0.00988 -0.59375,0 z"
383 style="opacity:0.59444424;fill:url(#radialGradient2813);fill-opacity:1;stroke:none"
384 inkscape:connector-curvature="0" />
385 </g>
386 </g>
387 </svg>
0 menu background splash.png
1 menu color title * #FFFFFFFF *
2 menu color border * #00000000 #00000000 none
3 menu color sel * #ffffffff #76a1d0ff *
4 menu color hotsel 1;7;37;40 #ffffffff #76a1d0ff *
5 menu color tabmsg * #ffffffff #00000000 *
6 menu color help 37;40 #ffdddd00 #00000000 none
7 menu vshift 17
8 menu rows 10
9 menu helpmsgrow 15
10 # The command line must be at least one line from the bottom.
11 menu cmdlinerow 16
12 menu timeoutrow 16
13 menu tabmsgrow 18
14 menu tabmsg Press ENTER to boot or TAB to edit a menu entry
0 /usr/lib/syslinux/vesamenu.c32āŽ
0 label installgui
1 menu label ^Graphical install
2 kernel /install/gtk/vmlinuz
3 append video=vesa:ywrap,mtrr vga=788 initrd=/install/gtk/initrd.gz @LB_BOOTAPPEND_INSTALL@ -- quiet
4
5 label install
6 menu label ^Text-mode install
7 kernel /install/vmlinuz
8 append vga=788 initrd=/install/initrd.gz @LB_BOOTAPPEND_INSTALL@ -- quiet
0 label live-@FLAVOUR@
1 menu label ^Live (@FLAVOUR@)
2 menu default
3 linux @LINUX@
4 initrd @INITRD@
5 append @APPEND_LIVE@
6
7 label live-@FLAVOUR@-failsafe
8 menu label ^Live (@FLAVOUR@ failsafe)
9 linux @LINUX@
10 initrd @INITRD@
11 append @APPEND_LIVE_FAILSAFE@
0 menu hshift 0
1 menu width 82
2
3 menu title Boot menu
4 include stdmenu.cfg
5 include live.cfg
6 include install.cfg
7 menu end
8
9 menu clear
0 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
1 <!-- Created with Inkscape (http://www.inkscape.org/) -->
2
3 <svg
4 xmlns:dc="http://purl.org/dc/elements/1.1/"
5 xmlns:cc="http://creativecommons.org/ns#"
6 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
7 xmlns:svg="http://www.w3.org/2000/svg"
8 xmlns="http://www.w3.org/2000/svg"
9 xmlns:xlink="http://www.w3.org/1999/xlink"
10 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12 width="640"
13 height="480"
14 id="svg3320"
15 version="1.1"
16 inkscape:version="0.48.3.1 r9886"
17 sodipodi:docname="splash.svg.in">
18 <defs
19 id="defs3322">
20 <radialGradient
21 gradientUnits="userSpaceOnUse"
22 gradientTransform="matrix(1.402663,0,0,1.115648,-6.237984,0.0533075)"
23 r="18.370251"
24 fy="10.943316"
25 fx="15.491823"
26 cy="10.943316"
27 cx="15.491823"
28 id="radialGradient2813"
29 xlink:href="#linearGradient2807"
30 inkscape:collect="always" />
31 <radialGradient
32 r="35.934704"
33 fy="424.15677"
34 fx="131.23691"
35 cy="424.15677"
36 cx="131.23691"
37 gradientTransform="matrix(0.101953,-0.04272301,0.09621296,0.229599,-48.67227,-64.24148)"
38 gradientUnits="userSpaceOnUse"
39 id="radialGradient2798"
40 xlink:href="#linearGradient8543"
41 inkscape:collect="always" />
42 <radialGradient
43 gradientUnits="userSpaceOnUse"
44 gradientTransform="matrix(1,0,0,0.415385,0,26.70146)"
45 r="30.365856"
46 fy="45.673546"
47 fx="29.898689"
48 cy="45.673546"
49 cx="29.898689"
50 id="radialGradient18290"
51 xlink:href="#linearGradient18284"
52 inkscape:collect="always" />
53 <radialGradient
54 gradientUnits="userSpaceOnUse"
55 gradientTransform="matrix(0.105628,-0.04514018,0.06692574,0.156607,-46.01605,-24.35485)"
56 r="103.26014"
57 fy="409.83737"
58 fx="340.35886"
59 cy="409.83737"
60 cx="340.35886"
61 id="radialGradient13895"
62 xlink:href="#linearGradient8543"
63 inkscape:collect="always" />
64 <radialGradient
65 gradientUnits="userSpaceOnUse"
66 gradientTransform="matrix(0.08174351,0.01024998,-0.04335971,0.345793,6.123413,-84.50421)"
67 r="38.451698"
68 fy="270.67969"
69 fx="424.99243"
70 cy="270.67969"
71 cx="424.99243"
72 id="radialGradient11208"
73 xlink:href="#linearGradient11202"
74 inkscape:collect="always" />
75 <radialGradient
76 gradientUnits="userSpaceOnUse"
77 gradientTransform="matrix(0.272962,-0.071724,0.05616202,0.213737,-78.54657,-24.30491)"
78 r="48.782982"
79 fy="243.06874"
80 fx="293.81989"
81 cy="243.06874"
82 cx="293.81989"
83 id="radialGradient10317"
84 xlink:href="#linearGradient8543"
85 inkscape:collect="always" />
86 <radialGradient
87 gradientUnits="userSpaceOnUse"
88 gradientTransform="matrix(0.224796,0.01017229,-0.00975947,0.215674,-73.87964,-54.89804)"
89 r="40.975471"
90 fy="286.46918"
91 fx="500.97794"
92 cy="286.46918"
93 cx="500.97794"
94 id="radialGradient9434"
95 xlink:href="#linearGradient8543"
96 inkscape:collect="always" />
97 <radialGradient
98 gradientUnits="userSpaceOnUse"
99 gradientTransform="matrix(0.163532,-0.01065754,0.01078108,0.165425,-46.18187,-65.65506)"
100 r="235.88632"
101 fy="685.99139"
102 fx="420.87839"
103 cy="685.99139"
104 cx="420.87839"
105 id="radialGradient8549"
106 xlink:href="#linearGradient8543"
107 inkscape:collect="always" />
108 <radialGradient
109 r="297.21338"
110 fy="-72.420044"
111 fx="336.73767"
112 cy="-72.420044"
113 cx="336.73767"
114 gradientTransform="matrix(0.136507,0,-4.484926e-5,0.07137743,-23.39816,12.31028)"
115 gradientUnits="userSpaceOnUse"
116 id="radialGradient7666"
117 xlink:href="#linearGradient5012"
118 inkscape:collect="always" />
119 <linearGradient
120 id="linearGradient5012">
121 <stop
122 id="stop5014"
123 offset="0"
124 style="stop-color:#fdf188;stop-opacity:1;" />
125 <stop
126 id="stop5016"
127 offset="1"
128 style="stop-color:#d3bc00;stop-opacity:1;" />
129 </linearGradient>
130 <linearGradient
131 id="linearGradient8543">
132 <stop
133 id="stop8545"
134 offset="0"
135 style="stop-color:#fffef5;stop-opacity:0.94117647;" />
136 <stop
137 id="stop8547"
138 offset="1"
139 style="stop-color:#fce94f;stop-opacity:0;" />
140 </linearGradient>
141 <linearGradient
142 id="linearGradient11202">
143 <stop
144 id="stop11204"
145 offset="0"
146 style="stop-color:#c4a000;stop-opacity:1;" />
147 <stop
148 id="stop11206"
149 offset="1"
150 style="stop-color:#c4a000;stop-opacity:0;" />
151 </linearGradient>
152 <linearGradient
153 id="linearGradient18284">
154 <stop
155 id="stop18286"
156 offset="0"
157 style="stop-color:#000000;stop-opacity:1;" />
158 <stop
159 style="stop-color:#000000;stop-opacity:1;"
160 offset="0.5"
161 id="stop20913" />
162 <stop
163 style="stop-color:#000000;stop-opacity:0;"
164 offset="1"
165 id="stop19165" />
166 </linearGradient>
167 <linearGradient
168 id="linearGradient2807"
169 inkscape:collect="always">
170 <stop
171 id="stop2809"
172 offset="0"
173 style="stop-color:#ffffff;stop-opacity:1;" />
174 <stop
175 id="stop2811"
176 offset="1"
177 style="stop-color:#ffffff;stop-opacity:0;" />
178 </linearGradient>
179 <inkscape:perspective
180 id="perspective47"
181 inkscape:persp3d-origin="24 : 16 : 1"
182 inkscape:vp_z="48 : 24 : 1"
183 inkscape:vp_y="0 : 1000 : 0"
184 inkscape:vp_x="0 : 24 : 1"
185 sodipodi:type="inkscape:persp3d" />
186 </defs>
187 <sodipodi:namedview
188 id="base"
189 pagecolor="#ffffff"
190 bordercolor="#666666"
191 borderopacity="1.0"
192 inkscape:pageopacity="0.0"
193 inkscape:pageshadow="2"
194 inkscape:zoom="0.775"
195 inkscape:cx="574.36733"
196 inkscape:cy="250.84337"
197 inkscape:document-units="px"
198 inkscape:current-layer="layer1"
199 showgrid="false"
200 inkscape:window-width="1016"
201 inkscape:window-height="570"
202 inkscape:window-x="0"
203 inkscape:window-y="1"
204 inkscape:window-maximized="0" />
205 <metadata
206 id="metadata3325">
207 <rdf:RDF>
208 <cc:Work
209 rdf:about="">
210 <dc:format>image/svg+xml</dc:format>
211 <dc:type
212 rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
213 <dc:title></dc:title>
214 </cc:Work>
215 </rdf:RDF>
216 </metadata>
217 <g
218 inkscape:label="Layer 1"
219 inkscape:groupmode="layer"
220 id="layer1"
221 transform="translate(0,-572.3622)">
222 <rect
223 style="fill:#000000;fill-opacity:1;stroke:none"
224 id="rect3328"
225 width="640"
226 height="480"
227 x="0"
228 y="572.36218" />
229 <text
230 transform="scale(1.0000015,0.99999849)"
231 sodipodi:linespacing="100%"
232 id="text3002"
233 y="619.20685"
234 x="190.68135"
235 style="font-size:35.65467453px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:100%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans Bold"
236 xml:space="preserve"><tspan
237 y="619.20685"
238 x="190.68135"
239 sodipodi:role="line"
240 style="font-size:19.99996948px;font-style:normal;font-weight:bold;-inkscape-font-specification:DejaVu Sans Bold"
241 id="tspan3045">@PROJECT@ @VERSION@ (@DISTRIBUTION@)</tspan><tspan
242 y="639.20679"
243 x="190.68135"
244 sodipodi:role="line"
245 style="font-size:19.99996948px;font-style:normal;font-weight:bold;-inkscape-font-specification:DejaVu Sans Bold"
246 id="tspan3041">@DESCRIPTION@ @ARCHITECTURE@</tspan><tspan
247 y="659.20679"
248 x="190.68135"
249 sodipodi:role="line"
250 style="font-size:19.99996948px;font-style:normal;font-weight:bold;-inkscape-font-specification:DejaVu Sans Bold"
251 id="tspan3037" /><tspan
252 y="679.20679"
253 x="190.68135"
254 sodipodi:role="line"
255 style="font-size:19.99996948px;font-style:normal;font-weight:bold;-inkscape-font-specification:DejaVu Sans Bold"
256 id="tspan3039">Build: @YEAR@-@MONTH@-@DAY@ @HOUR@:@MINUTE@:@SECOND@</tspan><tspan
257 y="699.20673"
258 x="190.68135"
259 sodipodi:role="line"
260 style="font-size:19.99996948px;font-style:normal;font-weight:bold;-inkscape-font-specification:DejaVu Sans Bold"
261 id="tspan3098" /><tspan
262 y="719.20667"
263 x="190.68135"
264 sodipodi:role="line"
265 style="font-size:19.99996948px;font-style:normal;font-weight:normal;-inkscape-font-specification:DejaVu Sans"
266 id="tspan3102">linux: @LINUX_VERSIONS@</tspan><tspan
267 y="739.20667"
268 x="190.68135"
269 sodipodi:role="line"
270 style="font-size:19.99996948px;font-style:normal;font-weight:normal;-inkscape-font-specification:DejaVu Sans"
271 id="tspan3076">live-build: @LIVE_BUILD_VERSION@</tspan><tspan
272 y="759.20667"
273 x="190.68135"
274 sodipodi:role="line"
275 style="font-size:19.99996948px;font-style:normal;font-weight:normal;-inkscape-font-specification:DejaVu Sans"
276 id="tspan3068">live-boot: @LIVE_BOOT_VERSION@</tspan><tspan
277 y="779.2066"
278 x="190.68135"
279 sodipodi:role="line"
280 style="font-size:19.99996948px;font-style:normal;font-weight:normal;-inkscape-font-specification:DejaVu Sans"
281 id="tspan3070">live-config: @LIVE_CONFIG_VERSION@</tspan><tspan
282 y="799.20654"
283 x="190.68135"
284 sodipodi:role="line"
285 style="font-size:19.99996948px;font-style:normal;font-weight:normal;-inkscape-font-specification:DejaVu Sans"
286 id="tspan3012">live-tools: @LIVE_TOOLS_VERSION@</tspan><tspan
287 y="819.20654"
288 x="190.68135"
289 sodipodi:role="line"
290 style="font-size:19.99996948px;font-style:normal;font-weight:normal;-inkscape-font-specification:DejaVu Sans"
291 id="tspan3066" /></text>
292 <text
293 xml:space="preserve"
294 style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
295 x="200"
296 y="336.7742"
297 id="text3114"
298 sodipodi:linespacing="125%"
299 transform="translate(0,572.3622)"><tspan
300 sodipodi:role="line"
301 id="tspan3116" /></text>
302 <g
303 id="layer1-9"
304 inkscape:label="Layer 1"
305 transform="matrix(2.8369273,0,0,2.8369235,27.782921,602.43406)">
306 <path
307 transform="matrix(0.742527,0,-0.05812964,1.428611,4.500517,-36.68345)"
308 d="m 60.264545,45.673546 c 0,6.966249 -13.595256,12.613509 -30.365856,12.613509 -16.770599,0 -30.3658559,-5.64726 -30.3658559,-12.613509 0,-6.966249 13.5952569,-12.613509 30.3658559,-12.613509 16.7706,0 30.365856,5.64726 30.365856,12.613509 z"
309 sodipodi:ry="12.613509"
310 sodipodi:rx="30.365856"
311 sodipodi:cy="45.673546"
312 sodipodi:cx="29.898689"
313 id="path17409"
314 style="fill:url(#radialGradient18290);fill-opacity:1;stroke:none"
315 sodipodi:type="arc" />
316 <path
317 sodipodi:nodetypes="cccscsssscsccsc"
318 id="path3120"
319 d="M 23.152758,1.1801876 C 20.380218,1.2190783 17.86582,1.8908769 15.634281,3.0196314 14.541531,5.1714614 10.9437,7.7293655 9.4689484,8.0015561 6.5691703,11.460832 4.6887193,15.805035 3.9754523,19.98162 c -4.375e-4,0.0026 4.366e-4,0.0052 0,0.0077 -1.1863594,1.549717 -1.6900108,3.396594 -1.3773472,5.53256 1.1211744,7.659314 3.2821678,14.888292 8.1850959,16.556275 7.154429,2.433946 21.871769,1.785847 25.129507,0.458258 7.13903,-2.909286 7.771453,-9.285098 8.891432,-16.780256 0.305554,-2.044832 -0.144835,-3.841202 -1.230601,-5.372942 -0.009,-0.0556 -0.01849,-0.111474 -0.02832,-0.167342 C 42.763966,15.777007 40.697859,11.326849 37.602582,7.8466935 35.508773,7.62926 31.462964,4.270333 30.483158,2.6229925 28.330506,1.7020155 25.961342,1.1801876 23.407632,1.1801876 c -0.08532,0 -0.170037,-0.00119 -0.254874,0 z"
320 style="fill:url(#radialGradient7666);fill-opacity:1;stroke:#c4a000;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
321 inkscape:connector-curvature="0" />
322 <path
323 sodipodi:nodetypes="ccscc"
324 id="path7668"
325 d="M 43.629688,22.792984 C 39.033494,39.233217 10.438199,40.802737 3.7832765,23.04227 3.7410682,39.366403 10.103414,44.083889 28.189955,43.247454 c 3.061977,-0.140689 10.00982,0.04287 14.614484,-9.136776 2.238365,-11.5104 0.825249,-11.317694 0.825249,-11.317694 z"
326 style="opacity:0.66666667;fill:url(#radialGradient8549);fill-opacity:1;fill-rule:evenodd;stroke:none"
327 inkscape:connector-curvature="0" />
328 <path
329 sodipodi:nodetypes="cccc"
330 id="path8553"
331 d="m 34.691565,7.6783057 2.500881,1.1253976 c 0,0 -1.310404,10.1226397 -6.669016,16.4849717 1.771665,-6.455834 4.188975,-17.6103693 4.168135,-17.6103693 z"
332 style="fill:url(#radialGradient9434);fill-opacity:1;fill-rule:evenodd;stroke:none"
333 inkscape:connector-curvature="0" />
334 <path
335 sodipodi:nodetypes="cccc"
336 id="path9436"
337 d="m 15.872437,4.1562328 c 1.50053,9.0656942 6.50229,19.4860282 6.002115,20.0070452 -4.584948,-6.981624 -6.502291,-12.921217 -8.00282,-17.9229779 0,-0.083363 2.000705,-2.0632267 2.000705,-2.0840673 z"
338 style="fill:url(#radialGradient10317);fill-opacity:1;fill-rule:evenodd;stroke:none"
339 inkscape:connector-curvature="0" />
340 <path
341 sodipodi:nodetypes="ccsc"
342 id="path10319"
343 d="M 30.21082,3.8227818 C 26.126047,20.328594 25.959322,23.079563 25.959322,23.079563 c 0,0 6.335566,-16.7559003 6.335566,-17.1727135 0,-8e-7 -1.583891,-1.5005286 -2.084068,-2.0840677 z"
344 style="fill:url(#radialGradient11208);fill-opacity:1;fill-rule:evenodd;stroke:none"
345 inkscape:connector-curvature="0" />
346 <flowRoot
347 id="flowRoot12974"
348 xml:space="preserve"><flowRegion
349 id="flowRegion12976"><rect
350 y="412.80496"
351 x="86.787514"
352 height="16.02231"
353 width="40.055775"
354 id="rect12978" /></flowRegion><flowPara
355 id="flowPara12980" /></flowRoot> <path
356 sodipodi:nodetypes="ccccccc"
357 id="path13014"
358 d="m 16.18209,34.476182 -0.04467,-9.569745 14.493727,0 1.642604,-1.263542 -16.931465,0 0.04467,10.640581 0.795134,0.192706 z"
359 style="fill:url(#radialGradient13895);fill-opacity:1;fill-rule:evenodd;stroke:none"
360 inkscape:connector-curvature="0" />
361 <path
362 sodipodi:nodetypes="ccccc"
363 id="path13897"
364 d="m 31.043495,24.81709 0.08168,9.804611 0.686144,-0.214742 0.01198,-10.85341 -0.779803,1.263541 z"
365 style="fill:#958401;fill-opacity:1;fill-rule:evenodd;stroke:none"
366 inkscape:connector-curvature="0" />
367 <path
368 sodipodi:nodetypes="ccccscc"
369 id="path16526"
370 d="m 4.2551267,24.106065 c 0,0 2.3166503,8.115689 10.2209413,8.766037 1.105608,2.490418 -1.13497,4.124601 -1.13497,4.124601 L 9.7315781,36.745641 c 0,0 -6.2387745,-7.992942 -6.4882087,-9.900882 -0.2494325,-1.907937 0.1632835,-3.407793 0.1632835,-3.407793 l 0.8484738,0.669099 z"
371 style="fill:url(#radialGradient2798);fill-opacity:1;fill-rule:evenodd;stroke:none"
372 inkscape:connector-curvature="0" />
373 <path
374 style="opacity:0.74444442;fill:none;stroke:#ffffff;stroke-width:0.99999976;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
375 d="M 23.184204,2.3889904 C 20.570275,2.4256563 18.199721,3.0590226 16.095844,4.1232033 15.065608,6.1519314 11.673602,8.563503 10.283218,8.8201221 7.5493302,12.0815 5.776456,16.17718 5.1039936,20.11483 c -4.124e-4,0.0024 4.116e-4,0.0049 0,0.0073 -1.1184901,1.46106 -1.8584936,3.246475 -1.5637169,5.260247 1.0570343,7.22114 2.9276025,13.709677 7.3279793,15.639454 5.923141,2.597582 21.539722,1.785935 24.611092,0.534295 6.73062,-2.742852 7.061699,-8.930694 8.117606,-15.997069 0.288074,-1.927851 -0.13655,-3.621454 -1.160201,-5.065566 -0.0084,-0.05242 -0.01743,-0.105097 -0.0267,-0.157769 C 41.673494,16.150755 39.725585,11.955182 36.807382,8.6741189 34.833356,8.4691243 31.019,5.3023548 30.095246,3.7492553 28.065743,2.8809656 25.832115,2.3889904 23.424497,2.3889904 c -0.08044,0 -0.160309,-0.00112 -0.240293,0 z"
376 id="path2703"
377 sodipodi:nodetypes="cccscsssscsccsc"
378 inkscape:connector-curvature="0" />
379 <path
380 sodipodi:nodetypes="cccssccscccssc"
381 id="path2800"
382 d="m 22.59375,2.78125 c -2.329557,0.1165682 -4.440971,0.7250384 -6.34375,1.6875 -1.010725,1.9903059 -4.354698,4.373241 -5.71875,4.625 -2.6821095,3.199611 -4.4027734,7.199424 -5.0625,11.0625 -4.046e-4,0.0024 4.038e-4,0.02888 0,0.03125 -1.0973069,1.43339 -1.4580267,3.591148 -1.4580267,3.591148 4.685267,3.605062 7.6416117,0.213892 14.3188727,-2.01722 12.59928,1.923141 18.748338,-0.995945 22.514154,-5.667678 0.0069,-0.0085 -0.0035,-0.02088 0,-0.03125 C 39.852567,13.479666 38.411479,11.016387 36.5625,8.9375 34.62586,8.7363873 30.875008,5.6486852 29.96875,4.125 27.977684,3.2731547 25.79952,2.78125 23.4375,2.78125 c -0.07892,10e-8 -0.171531,-0.0011 -0.25,0 -0.200346,0.00281 -0.39633,-0.00988 -0.59375,0 z"
383 style="opacity:0.59444424;fill:url(#radialGradient2813);fill-opacity:1;stroke:none"
384 inkscape:connector-curvature="0" />
385 </g>
386 </g>
387 </svg>
0 menu background splash.png
1 menu color title * #FFFFFFFF *
2 menu color border * #00000000 #00000000 none
3 menu color sel * #ffffffff #76a1d0ff *
4 menu color hotsel 1;7;37;40 #ffffffff #76a1d0ff *
5 menu color tabmsg * #ffffffff #00000000 *
6 menu color help 37;40 #ffdddd00 #00000000 none
7 menu vshift 17
8 menu rows 10
9 menu helpmsgrow 15
10 # The command line must be at least one line from the bottom.
11 menu cmdlinerow 16
12 menu timeoutrow 16
13 menu tabmsgrow 18
14 menu tabmsg Press ENTER to boot or TAB to edit a menu entry
0 include menu.cfg
1 default vesamenu.c32
2 prompt 0
3 timeout 0
0 /usr/lib/syslinux/vesamenu.c32āŽ
0 #!/bin/sh
1
2 set -e
3
4 # Disable kexec-tools
5
6 if [ -e /sbin/kexec ]
7 then
8 echo "kexec-tools kexec-tools/load_kexec boolean false" > /root/preseed
9
10 debconf-set-selections /root/preseed
11
12 rm -f /root/preseed
13
14 dpkg-reconfigure kexec-tools
15 fi
0 #!/bin/sh
1
2 set -e
3
4 # Reset generated file
5
6 if [ -e /run ]
7 then
8 # wheezy
9
10 cat > /etc/adjtime << EOF
11 0.0 0 0.0
12 0
13 UTC
14 EOF
15
16 else
17 # squeeze
18 echo "0.0 0 0.0" > /etc/adjtime
19 fi
0 #!/bin/sh
1
2 set -e
3
4 # Remove backup files
5 rm -f /boot/*.bak
6 rm -f /boot/*.old-dkms
7
8 rm -f /etc/apt/sources.list~
9 rm -f /etc/apt/trusted.gpg~
10
11 rm -f /etc/passwd-
12 rm -f /etc/group-
13 rm -f /etc/shadow-
14 rm -f /etc/gshadow-
15
16 rm -f /var/cache/debconf/*-old
17 rm -f /var/lib/dpkg/*-old
0 #!/bin/sh
1
2 set -e
3
4 # Remove dbus machine id.
5 #
6 # This removes dbus machine id that cache that makes each system unique.
7
8 rm -f /var/lib/dbus/machine-id
0 #!/bin/sh
1
2 set -e
3
4 # Remove GNOME icon cache.
5 #
6 # This saves space some space.
7
8 rm -f /usr/share/icons/*/icon-theme.cache
0 #!/bin/sh
1
2 set -e
3
4 # Truncate log files
5 for _FILE in $(find /var/log/ -type f)
6 do
7 : > ${_FILE}
8 done
0 #!/bin/sh
1
2 set -e
3
4 # Remove generated files
5
6 rm -f /etc/mdadm/mdadm.conf
0 #!/bin/sh
1
2 set -e
3
4 # Remove OpenSSH Host Keys.
5 #
6 # This removes openssh-server host keys, they are regenerated by live-config
7 # on system start.
8
9 rm -f /etc/ssh/ssh_host_*_key /etc/ssh/ssh_host_*_key.pub
0 #!/bin/sh
1
2 set -e
3
4 # Remove Python *.py files.
5 #
6 # This removes byte-compiled Python modules to save some space.
7
8 find /usr -name "*.pyc" -print0 | xargs -0r rm -f
0 #!/bin/sh
1
2 set -e
3
4 # Remove temporary files
5 rm -rf /var/cache/man/*
6
7 for _DIRECTORY in /tmp /var/tmp
8 do
9 rm -rf ${_DIRECTORY}
10
11 mkdir -p ${_DIRECTORY}
12 chmod 1777 ${_DIRECTORY}
13 done
0 #!/bin/sh
1
2 set -e
3
4 # Remove udev persistent rules.
5 #
6 # This removes udev persistent rules that cache the host systems mac address to
7 # remember its device name.
8
9 for _FILE in /etc/udev/rules.d/*persistent-net.rules
10 do
11 if [ -e "${_FILE}" ]
12 then
13 : > ${_FILE}
14 fi
15 done
0 #!/bin/sh
1
2 set -e
3
4 # Update the Apt File cache.
5 #
6 # This allows to use using apt-file out-of-the-box.
7
8 . /root/config/binary
9
10 if [ -x /usr/bin/apt-file ] && [ "${LB_APT_INDICES}" = "true" ]
11 then
12 apt-file update
13 fi
0 #!/bin/sh
1
2 set -e
3
4 # Update the Apt Xapian index.
5 #
6 # The package would do this itself, but (a) it checks policy-rc.d which says it
7 # is not allowed to, and (b) it wants to build the index in the background which
8 # will be racy in the context of live-build.
9
10 if [ -x /usr/sbin/update-apt-xapian-index ]
11 then
12 PYTHONDONTWRITEBYTECODE=1 /usr/sbin/update-apt-xapian-index --force --quiet
13 fi
0 #!/bin/sh
1
2 set -e
3
4 # Use mesa renderer by default
5 if [ -e /etc/alternatives/glx ]
6 then
7 update-alternatives --quiet --set glx /usr/lib/mesa-diverted
8 fi
0 #!/bin/sh
1
2 set -e
3
4 # Update the mlocate database.
5 #
6 # It is convenient for this to be already up to date on the live system, and it
7 # means that if the live system is later installed to a hard disk then less
8 # work will be required after installation.
9
10 if [ -x /usr/bin/updatedb.mlocate ]
11 then
12 updatedb.mlocate
13 fi
0 #!/bin/sh
1
2 set -e
3
4 # Use newest nvidia version by default
5 if [ -e /etc/alternatives/nvidia ] && [ -e /usr/lib/nvidia/current ]
6 then
7 update-alternatives --quiet --set nvidia /usr/lib/nvidia/current
8 fi
0 #!/bin/sh
1
2 set -e
3
4 # Remove apt sources.list files
5
6 rm -f /etc/apt/sources.list
7 rm -f /etc/apt/sources.list.d/*.list
0 <br />
1
2 <h3>Your build 'BUILD' was recorded and will be processed soon. Depending on the options you have selected, a build attempt generally takes between 5 and 20 minutes to complete. Currently there are 'QUEUENUM' pending build(s) to be processed ahead of your request. You will be notified by email when the attempt has completed.</h3>
3
4 <h3>Your build will be available at: <a href="SERVER/BUILD/">SERVER/BUILD/</a>.</h3>
5
6 <fieldset>
7
8 <legend><b>Options</b></legend>
9
10 <b>Standard options</b>
11
12 <table>
13 <tr><td>Email: </td><td>EMAIL</td></tr>
14 <tr><td>--binary-image: </td><td>LB_BINARY_IMAGES</td></tr>
15 <tr><td>--distribution: </td><td>LB_DISTRIBUTION</td></tr>
16 <tr><td>--config: </td><td>_LB_CONFIG</td></tr>
17 <tr><td>cgipackages.list.chroot: </td><td>_LB_CGIPACKAGES</td><tr>
18 </table>
19
20 <b>Advanced bootstrap options</b>
21
22 <table>
23 <tr><td>--architectures: </td><td>LB_ARCHITECTURES</td></tr>
24 <tr><td>--archive-areas: </td><td>LB_ARCHIVE_AREAS</td></tr>
25 </table>
26
27 <b>Advanced chroot options</b>
28
29 <table>
30 <tr><td>--chroot-fileystem: </td><td>LB_CHROOT_FILESYSTEM</td></tr>
31 <tr><td>--linux-flavours: </td><td>LB_LINUX_FLAVOURS</td></tr>
32 <tr><td>--security: </td><td>LB_SECURITY</td></tr>
33 </table>
34
35 <b>Advanced binary options</b>
36
37 <table>
38 <tr><td>--apt-indices: </td><td>LB_APT_INDICES</td></tr>
39 <tr><td>--bootappend-live: </td><td>LB_BOOTAPPEND_LIVE</td></tr>
40 <tr><td>--bootloader: </td><td>LB_BOOTLOADER</td></tr>
41 <tr><td>--debian-installer: </td><td>LB_DEBIAN_INSTALLER</td></tr>
42 <tr><td>--bootappend-install: </td><td>LB_BOOTAPPEND_INSTALL</td></tr>
43 <tr><td>--iso-application: </td><td>LB_ISO_APPLICATION</td></tr>
44 <tr><td>--iso-preparer: </td><td>LB_ISO_PREPARER</td></tr>
45 <tr><td>--iso-publisher: </td><td>LB_ISO_PUBLISHER</td></tr>
46 <tr><td>--iso-volume: </td><td>LB_ISO_VOLUME</td></tr>
47 <tr><td>--memtest: </td><td>LB_MEMTEST</td></tr>
48 <tr><td>--net-path: </td><td>LB_NET_ROOT_PATH</td></tr>
49 <tr><td>--net-server: </td><td>LB_NET_ROOT_SERVER</td></tr>
50 </table>
51
52 <b>Advanced source options</b>
53
54 <table>
55 <tr><td>--source: </td><td>LB_SOURCE</td></tr>
56 <tr><td>--source-images: </td><td>LB_SOURCE_IMAGES</td></tr>
57 </table>
58
59 </fieldset>
60
61 <br />
62
63 <h3>Thank you for your submission.</h3>
0 <div id="footer">
1 <br />
2 <h2 id="subtitle">Debian Live Project <a href="mailto:[email protected]">&lt;[email protected]&gt;</a> &mdash; <a href="http://live.debian.net/devel/live-build">live-build</a>, version VERSION &mdash; <a href="http://live.debian.net/legal.html">Legal information</a></h2>
3 <br />
4 </div>
5
6 </body>
7 </html>
0
1 <h3>Submit your parameters (<b>working</b> email address is required) to generate your very own Debian Live system.</h3>
2
3 <form action="live-build" method="get">
4
5 <fieldset>
6
7 <legend><b>Options</b></legend>
8
9 <table>
10 <tr>
11 <td><label for="Email">Email Address:</label> </td>
12 <td><input id="Email" name="email" maxlength="50" size="50" type="text" /></td>
13 </tr>
14 </table>
15
16 <span id="click_1" onmouseover='javascript:objectOver(this)' onmouseout='javascript:objectOut(this)' onclick='javascript:collapse(1,"<b>Standard options</b>")'>
17 <b>Standard options</b><small>&nbsp;(click to collapse)</small>
18 <br />
19 </span>
20
21 <div id="text_1" style='margin-left:0;display:block'>
22 <table>
23 <tr>
24 <td><label for="Binary_Images">--binary-images:</label> </td>
25 <td>
26 <select id="Binary_Images" name="binary_images" size="1">
27 <option value="iso">iso</option>
28 <option selected value="iso-hybrid">iso-hybrid</option>
29 <option value="netboot">netboot</option>
30 <option value="tar">tar</option>
31 <option value="hdd">hdd</option>
32 </select>
33 </td>
34 </tr>
35 <tr>
36 <td><label for="Distribution">--distribution:</label> </td>
37 <td>
38 <select id="Distribution" name="distribution" size="1">
39 <option selected value="squeeze">squeeze</option>
40 <option value="wheezy">wheezy</option>
41 <option value="sid">sid</option>
42 </select>
43 </td>
44 </tr>
45 <tr>
46 <td><label for="Config">--config:</label> </td>
47 <td>
48 <select id="Config" name="config" size="1" >
49 <option value="gnome-desktop">GNOME Desktop</option>
50 <option value="kde-desktop">KDE Desktop</option>
51 <option value="lxde-desktop">LXDE Desktop</option>
52 <option value="rescue">Rescue</option>
53 <option selected value="standard">Standard</option>
54 <option value="xfce-desktop">Xfce Desktop</option>
55 </select>
56 </td>
57 </tr>
58 <tr>
59 <td><label for="Packages">cgipackages.list.chroot:</label> </td>
60 <td><input id="Packages" name="cgipackages" maxlength="2000" size="50" type="text" /></td>
61 </tr>
62 </table>
63 </div>
64
65 <span id="click_2" onmouseover='javascript:objectOver(this)' onmouseout='javascript:objectOut(this)' onclick='javascript:collapse(2,"<b>Advanced bootstrap options</b>")'>
66 <b>Advanced bootstrap options</b><small>&nbsp;(click to expand)</small>
67 <br />
68 </span>
69
70 <div id="text_2" style='margin-left:0;display:none'>
71 <table>
72 <tr>
73 <td><label for="Architectures">--architectures:</label> </td>
74 <td>
75 <select id="Architectures" name="architectures" size="1">
76 <option value="amd64">amd64</option>
77 <option selected value="i386">i386</option>
78 </select>
79 </td>
80 </tr>
81 <!-- LIVE_DISTRIBUTION -->
82 <!-- LIVE_DISTRIBUTION_CONFIG -->
83 <tr>
84 <td><label for="Archive_Areas">--archive-areas:</label> </td>
85 <td><input id="Archive_Areas" name="archive_areas" maxlength="128" size="50" type="text" value="main" readonly /></td>
86 </tr>
87 </table>
88 </div>
89
90 <span id="click_3" onmouseover='javascript:objectOver(this)' onmouseout='javascript:objectOut(this)' onclick='javascript:collapse(3,"<b>Advanced chroot options</b>")'>
91 <b>Advanced chroot options</b><small>&nbsp;(click to expand)</small>
92 <br />
93 </span>
94
95 <div id="text_3" style='margin-left:0;display:none'>
96 <table>
97 <tr>
98 <td><label for="Chroot_Filesystem">--chroot-filesystem:</label> </td>
99 <td>
100 <select id="Chroot_Filesystem" name="chroot_filesystem" size="1">
101 <option value="ext2">ext2</option>
102 <option value="plain">plain</option>
103 <option selected value="squashfs">squashfs</option>
104 </select>
105 </td>
106 </tr>
107 <!-- LIVE_HOOKS -->
108 <!-- LIVE_INTERACTIVE -->
109 <!-- LIVE_KEYRING_PACKAGES -->
110 <!-- LIVE_LANGUAGE -->
111 <tr>
112 <td><label for="Linux_Flavours">--linux-flavours:</label> </td>
113 <td>
114 <select id="Linux_Flavours" name="linux_flavours" size="1">
115 <option selected value="486">486</option>
116 <option value="686">686</option>
117 <option value="686-pae">686-pae</option>
118 <option value="amd64">amd64</option>
119 <option value="k7">k7</option>
120 <option value="vserver-686">vserver-686</option>
121 <option value="vserver-k7">vserver-k7</option>
122 <option value="xen-686">xen-686</option>
123 </select>
124 </td>
125 </tr>
126 <!-- LIVE_LINUX_PACKAGES -->
127 <tr>
128 <td><label for="Security">--security:</label> </td>
129 <td>
130 <select id="Security" name="security" size="1">
131 <option selected value="true">true</option>
132 <option value="false">false</option>
133 </select>
134 </td>
135 </tr>
136 </table>
137 </div>
138
139 <span id="click_4" onmouseover='javascript:objectOver(this)' onmouseout='javascript:objectOut(this)' onclick='javascript:collapse(4,"<b>Advanced binary options</b>")'>
140 <b>Advanced binary options</b><small>&nbsp;(click to expand)</small>
141 <br />
142 </span>
143
144 <div id="text_4" style='margin-left:0;display:none'>
145 <table>
146 <!-- LIVE_BINARY_IMAGES -->
147 <tr>
148 <td><label for="Apt_Indices">--apt-indices:</label> </td>
149 <td>
150 <select id="Apt_Indices" name="binary_indices" size="1">
151 <option selected value="true">true</option>
152 <option value="false">false</option>
153 </select>
154 </td>
155 </tr>
156 <tr>
157 <td><label for="Bootappend_Live">--bootappend-live:</label> </td>
158 <td><input id="Bootappend_Live" name="bootappend_live" maxlength="256" size="50" type="text" value="" /></td>
159 </tr>
160 <tr>
161 <td><label for="Bootloader">--bootloader:</label> </td>
162 <td>
163 <select id="Bootloader" name="bootloader" size="1">
164 <option value="grub">grub</option>
165 <option selected value="syslinux">syslinux</option>
166 </select>
167 </td>
168 </tr>
169 <tr>
170 <td><label for="Debian_Installer">--debian-installer:</label> </td>
171 <td>
172 <select id="Debian_Installer" name="debian_installer" size="1">
173 <option value="true">true</option>
174 <option selected value="false">false</option>
175 </select>
176 </td>
177 </tr>
178 <tr>
179 <td><label for="Bootappend_Install">--bootappend-install:</label> </td>
180 <td><input id="Bootappend_Install" name="bootappend_install" maxlength="256" size="50" type="text" value="" /></td>
181 </tr>
182 <!-- LIVE_GRUB_SPLASH -->
183 <tr>
184 <td><label for="Iso_Application">--iso-application:</label> </td>
185 <td><input id="Iso_Application" name="iso_application" maxlength="128" size="50" type="text" value="Debian Live" /></td>
186 </tr>
187 <tr>
188 <td><label for="Iso_Preparer">--iso-preparer:</label> </td>
189 <td><input id="Iso_Preparer" name="iso_preparer" maxlength="128" size="50" type="text" value="live-build; http://packages.qa.debian.org/live-build" /></td>
190 </tr>
191 <tr>
192 <td><label for="Iso_Publisher">--iso-publisher:</label> </td>
193 <td><input id="Iso_Publisher" name="iso_publisher" maxlength="128" size="50" type="text" value="Debian Live project; http://live.debian.net/; [email protected]" /></td>
194 </tr>
195 <tr>
196 <td><label for="Iso_Volume">--iso-volume:</label> </td>
197 <td><input id="Iso_Volume" name="iso_volume" maxlength="128" size="50" type="text" value="Debian Live DATE" /></td>
198 </tr>
199 <tr>
200 <td><label for="Memtest">--memtest:</label> </td>
201 <td>
202 <select id="Memtest" name="memtest" size="1">
203 <option value="memtest86">memtest86</option>
204 <option selected value="memtest86+">memtest86+</option>
205 <option value="none">none</option>
206 </select>
207 </td>
208 </tr>
209 <tr>
210 <td><label for="Net_Path">--net-path:</label> </td>
211 <td><input id="Net_Path" name="net_path" maxlength="256" size="50" type="text" value="/srv/debian-live" /></td>
212 </tr>
213 <tr>
214 <td><label for="Net_Server">--net-server:</label> </td>
215 <td><input id="Net_Server" name="net_server" maxlength="15" size="50" type="text" value="192.168.1.1" /></td>
216 </tr>
217 <!-- LIVE_SYSLINUX_SPLASH -->
218 </table>
219 </div>
220
221 <span id="click_5" onmouseover='javascript:objectOver(this)' onmouseout='javascript:objectOut(this)' onclick='javascript:collapse(5,"<b>Advanced source options</b>")'>
222 <b>Advanced source options</b><small>&nbsp;(click to expand)</small>
223 <br />
224 </span>
225
226 <div id="text_5" style='margin-left:0;display:none'>
227 <table>
228 <tr>
229 <td><label for="Source">--source:</label> </td>
230 <td>
231 <select id="Source" name="source" size="1">
232 <option value="true">true</option>
233 <option selected value="false">false</option>
234 </select>
235 </td>
236 </tr>
237 <tr>
238 <td><label for="Source_Images">--source-images:</label> </td>
239 <td>
240 <select id="Source_Images" name="source_images" size="1">
241 <option value="iso">iso</option>
242 <option value="net">net</option>
243 <option selected value="tar">tar</option>
244 <option value="hdd">hdd</option>
245 </select>
246 </td>
247 </tr>
248 </table>
249 </div>
250
251 </fieldset>
252
253 <br />
254
255 <input type="reset" value="Reset" />
256 &nbsp;
257 <input type="submit" value="Submit" />
258 &nbsp;
259
260 </form>
0 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
1 <html>
2 <head>
3 <title>Debian Live Build</title>
4 <link rel="icon" href="http://live.debian.net/favicon.ico" type="image/ico">
5 <link rel="stylesheet" type="text/css" href="http://live.debian.net/stylesheet.css" />
6 <meta http-equiv="content-type" content="text/html; charset=iso-8859-15">
7 <meta name="keywords" content="Debian, Live, Project">
8 <meta name="description" content="The Debian Live Project">
9
10 <style type="text/css">
11 label { cursor:pointer; }
12 </style>
13
14 <script type="text/javascript" language="JavaScript">
15 function collapse(x, txt)
16 {
17 var oTemp=document.getElementById("text_"+x);
18 var oClick=document.getElementById("click_"+x);
19 if (oTemp.style.display=="block")
20 {
21 oTemp.style.display="none";
22 oClick.innerHTML=txt+"&nbsp<small>(click to expand)<\/small><br \/>";
23 }
24 else
25 {
26 oTemp.style.display="block";
27 oClick.innerHTML=txt+"&nbsp<small>(click to collapse)<\/small><br \/>";
28 }
29 }
30 </script>
31 </head>
32 <body>
33
34 <div id="maincontent" style="margin: 0 0 0 0;">
35 <h1 id="title">live-build web-frontend of the <a href="http://live.debian.net/">Debian Live Project</a></h1>
36 <h2 id="subtitle"><a href="http://live.debian.net/">Live Debian systems!</a></h2>
37 </div>
0 Subject: Debian Live, live-build web-frontend - Build BUILD
1 From: Debian Live live-build web-frontend <[email protected]>
2 To: EMAIL
3
4 Hi,
5
6 This is live-build web-frontend <http://live-build.debian.net/> of the Debian Live project <http://live.debian.net/>.
7
8 Your build BUILD was started DATE_START and ended DATE_END with status 'STATUS'.
9
10 You can see the log file and download the image from <SERVER/BUILD/>.
11
12 Note that builds are removed after 24 hours.
13
14 Feedback about all Debian Live matters can be sent to our mailinglist at [email protected] (no subscription required).
15
16 Have fun,
17 The Debian Live Team
0 default 0
1 color cyan/blue white/blue
2 splashimage /boot/grub/splash.xpm.gz
3
4 LINUX_LIVE
5
6 LINUX_INSTALL
7
8 MEMTEST
0 set default=0
1
2 insmod tga
3 background_image ($root)/boot/grub/xbmc.tga
4 set color_normal=cyan/blue
5 set color_highlight=white/blue
6
7 LINUX_LIVE
8
9 LINUX_INSTALL
10
11 MEMTEST
Binary diff not shown
0
1 Welcome to Debian GNU/Linux!
2
3 This is a Debian LB_DISTRIBUTION live image.
4 It was built on LB_DATE by live-build LB_VERSION.
5
6 You must have at least 64 megabytes of RAM to run this Debian Live system.
7
8 See the Live Manual or the FAQ for more information; both documents are
9 available at the Debian Live web site, http://live.debian.net/
10
11 Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted
12 by applicable law.
13
14 [ Press ENTER to boot the live system ]
15
16 Or:
17
18 "live-failsafe"
19 Start the live system in fail-safe mode.
20
0
1 Welcome to Debian GNU/Linux!
2
3 This is a Debian LB_DISTRIBUTION combined live and installation image.
4 It was built on LB_DATE by live-build LB_VERSION.
5
6 You must have at least 64 megabytes of RAM to run this Debian Live system.
7
8 See the Live Manual or the FAQ for more information; both documents are
9 available at the Debian Live web site, http://live.debian.net/
10
11 You must have at least 32 megabytes of RAM to use the Debian installer.
12
13 You should have space on your hard disk to create a new disk partition
14 of at least 256 megabytes to install the base system. You'll need more
15 disk space to install additional packages, depending on what you wish
16 to do with your new Debian system.
17
18 See the Installation Manual or the FAQ for more information; both
19 documents are available at the Debian web site, http://www.debian.org/
20
21 Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted
22 by applicable law.
23
24 [ Press ENTER to boot the live system ]
25
26 Or:
27
28 "live-failsafe"
29 Start the live system in fail-safe mode.
30 "install"
31 Start the installation using the normal installer.
32 "expert"
33 Boot into expert install mode, for maximum control.
34 "rescue"
35 Boot into the installer rescue mode.
36
0 partition=1
1 timeout=600
2 message=/boot/debian.txt
3 default=live
4 read-write
5
6 LINUX_LIVE
7
8 LINUX_INSTALL
0 Welcome to Debian GNU/Linux!
1
2 This is a Debian Live CDROM,
3 built on LB_DATE.
4
5 The default option is 'live'.
6
7 If the system fails to boot at all (the typical
8 symptom is a white screen which doesn't go away),
9 append 'video=ofonly' or use 'live-failsafe'.
10
11 The plain options are for the powerpc family of
12 processors (from 601 to G4). The *64 options are for
13 64bit powerpc processors, which include the IBM
14 Power3, Power4, Power5, ... boxes, as well as the
15 Apple G5 boxes. Press the tab key for a list of
16 options, or type 'help' for help.
17
18 ************************************
19 If in doubt, just press enter, and if that
20 doesn't work, try 'live video=ofonly'.
21 ************************************
0 # ext. xlate creator type comment
1 .hqx Ascii 'BnHx' 'TEXT' "BinHex file"
2 .sit Raw 'SIT!' 'SITD' "StuffIT Expander"
3 .mov Raw 'TVOD' 'MooV' "QuickTime Movie"
4 .deb Raw 'Debn' 'bina' "Debian package"
5 .bin Raw 'ddsk' 'DDim' "Floppy or ramdisk image"
6 .img Raw 'ddsk' 'DDim' "Floppy or ramdisk image"
7 .b Raw 'UNIX' 'tbxi' "bootstrap"
8 yaboot Raw 'UNIX' 'boot' "bootstrap"
9 vmlinux Raw 'UNIX' 'boot' "bootstrap"
10 .conf Raw 'UNIX' 'conf' "bootstrap"
11 * Ascii '????' '????' "Text file"
0 <CHRP-BOOT>
1 <COMPATIBLE>
2 MacRISC MacRISC3 MacRISC4
3 </COMPATIBLE>
4 <DESCRIPTION>
5 GNU/Linux PPC bootloader
6 </DESCRIPTION>
7 <BOOT-SCRIPT>
8 " screen" output
9 load-base release-load-area
10 boot cd:,\yaboot\yaboot
11 </BOOT-SCRIPT>
12 <OS-BADGE-ICONS>
13 1010
14 000000000000F8FEACF6000000000000
15 0000000000F5FFFFFEFEF50000000000
16 00000000002BFAFEFAFCF70000000000
17 0000000000F65D5857812B0000000000
18 0000000000F5350B2F88560000000000
19 0000000000F6335708F8FE0000000000
20 00000000005600F600F5FD8100000000
21 00000000F9F8000000F5FAFFF8000000
22 000000008100F5F50000F6FEFE000000
23 000000F8F700F500F50000FCFFF70000
24 00000088F70000F50000F5FCFF2B0000
25 0000002F582A00F5000008ADE02C0000
26 00090B0A35A62B0000002D3B350A0000
27 000A0A0B0B3BF60000505E0B0A0B0A00
28 002E350B0B2F87FAFCF45F0B2E090000
29 00000007335FF82BF72B575907000000
30 000000000000ACFFFF81000000000000
31 000000000081FFFFFFFF810000000000
32 0000000000FBFFFFFFFFAC0000000000
33 000000000081DFDFDFFFFB0000000000
34 000000000081DD5F83FFFD0000000000
35 000000000081DDDF5EACFF0000000000
36 0000000000FDF981F981FFFF00000000
37 00000000FFACF9F9F981FFFFAC000000
38 00000000FFF98181F9F981FFFF000000
39 000000ACACF981F981F9F9FFFFAC0000
40 000000FFACF9F981F9F981FFFFFB0000
41 00000083DFFBF981F9F95EFFFFFC0000
42 005F5F5FDDFFFBF9F9F983DDDD5F0000
43 005F5F5F5FDD81F9F9E7DF5F5F5F5F00
44 0083DD5F5F83FFFFFFFFDF5F835F0000
45 000000FBDDDFACFBACFBDFDFFB000000
46 000000000000FFFFFFFF000000000000
47 0000000000FFFFFFFFFFFF0000000000
48 0000000000FFFFFFFFFFFF0000000000
49 0000000000FFFFFFFFFFFF0000000000
50 0000000000FFFFFFFFFFFF0000000000
51 0000000000FFFFFFFFFFFF0000000000
52 0000000000FFFFFFFFFFFFFF00000000
53 00000000FFFFFFFFFFFFFFFFFF000000
54 00000000FFFFFFFFFFFFFFFFFF000000
55 000000FFFFFFFFFFFFFFFFFFFFFF0000
56 000000FFFFFFFFFFFFFFFFFFFFFF0000
57 000000FFFFFFFFFFFFFFFFFFFFFF0000
58 00FFFFFFFFFFFFFFFFFFFFFFFFFF0000
59 00FFFFFFFFFFFFFFFFFFFFFFFFFFFF00
60 00FFFFFFFFFFFFFFFFFFFFFFFFFF0000
61 000000FFFFFFFFFFFFFFFFFFFF000000
62 </OS-BADGE-ICONS>
63 </CHRP-BOOT>
0 \ FORTH is identifed by a forth comment at first line
1 \
2 \ terminal control stuff
3 \
4 : TTY.CSI d# 27 EMIT ASCII [ EMIT ;
5 : TTY.HOME TTY.CSI ASCII H EMIT ;
6 : TTY.CLR_EOS TTY.CSI ASCII J EMIT ;
7 : TTY.HOME_CLR TTY.HOME TTY.CLR_EOS ;
8 \
9 \ boot menu stuff
10 \
11 : my-max-boot-num 4 ;
12 : my-boot-default 1 ;
13 : my-boot-delay d# 300 ; \ unit = 100 ms
14 : my-print-menu ( -- )
15 TTY.HOME_CLR
16 ." " cr
17 ." Welcome to Debian GNU/Linux!" cr
18 ." " cr
19 ." This is a Debian Live CDROM," cr
20 ." built on LB_DATE." cr
21 ." " cr
22 ." The default option is 'live'." cr
23 ." " cr
24 ." ************************************" cr
25 ." If in doubt, just choose (1) 'live'" cr
26 ." ************************************" cr
27 ." " cr
28 ." 1: install" cr
29 ." 2: install" cr
30 ." 3: expert" cr
31 ." 4: rescue" cr
32 ." 5: return to OF prompt" cr
33 ." " cr
34 ;
35 : my-boot-case ( num -- )
36 ." " cr
37 case
38 1 of " cd live/vmlinuz-chrp.initrd --" endof
39 2 of " cd install/powerpc/vmlinuz-chrp.initrd --" endof
40 3 of " cd install/powerpc/vmlinuz-chrp.initrd DEBCONF_PRIORITY=low --" endof
41 4 of " cd install/powerpc/vmlinuz-chrp.initrd rescue/enable=true --" endof
42 5 of " none" endof
43 endcase
44 $boot
45 ;
46 : my-input-num ( wait-period max-boot-num default-num -- boot-num )
47 1 \ loop-inc = 1
48 3 pick 0 do
49 0d emit
50 ." press 1-"
51 ( wait-period max-boot-num default-num loop-inc )
52 2 pick ascii 0 + emit
53 dup 1 = if
54 ." within "
55 3 pick i - d# 10 / .d
56 ." seconds"
57 then
58 ." (default: "
59 over ascii 0 + emit
60 ." ) : "
61 d# 100 ms
62 key? if
63 key
64 ( wait-period max-boot-num default-num loop-inc key )
65 dup 0d = if \ return pressed
66 drop leave
67 then
68
69 ascii 0 -
70 ( wait-period max-boot-num default-num loop-inc num )
71 dup 1 5 pick
72 ( wait-period max-boot-num default-num loop-inc num num 1 max-boot-num )
73 between if
74 rot drop swap leave
75 then
76
77 ( wait-period max-boot-num default-num loop-inc num )
78 2drop 0 \ loop-inc = 0
79 then
80 dup +loop
81 drop
82 ( wait-period max-boot-num boot-num )
83 nip nip
84 ;
85
86
87 my-print-menu
88 my-boot-delay my-max-boot-num my-boot-default my-input-num
89 my-boot-case
0 default=live
1 message=/yaboot/boot.msg
2
3 LINUX_LIVE
4
5 LINUX_INSTALL