diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..94a9ed0 --- /dev/null +++ b/COPYING @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7ac672d --- /dev/null +++ b/Makefile @@ -0,0 +1,104 @@ +# Makefile + +SHELL := sh -e + +LANGUAGES = $(shell cd manpages/po && ls) + +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/* + +all: build + +test: + @echo -n "Checking for syntax errors" + + @for SCRIPT in $(SCRIPTS); \ + do \ + sh -n $${SCRIPT}; \ + echo -n "."; \ + done + + @echo " done." + + @echo -n "Checking for bashisms" + + @if [ -x /usr/bin/checkbashisms ]; \ + then \ + for SCRIPT in $(SCRIPTS); \ + do \ + checkbashisms -f -x $${SCRIPT}; \ + echo -n "."; \ + done; \ + else \ + echo "WARNING: skipping bashism test - you need to install devscripts."; \ + fi + + @echo " done." + +build: + @echo "Nothing to build." + +install: + # Installing shared data + mkdir -p $(DESTDIR)/usr/share/live/build + cp -r frontends/cgi data functions templates VERSION $(DESTDIR)/usr/share/live/build + cp -r share/* $(DESTDIR)/usr/share/live/build + + # Installing executables + mkdir -p $(DESTDIR)/usr/bin + cp -a bin/* $(DESTDIR)/usr/bin + + mkdir -p $(DESTDIR)/usr/lib/live + cp -a scripts/* $(DESTDIR)/usr/lib/live + + # Installing documentation + mkdir -p $(DESTDIR)/usr/share/doc/live-build + cp -r COPYING docs/* examples $(DESTDIR)/usr/share/doc/live-build + + # Installing manpages + for MANPAGE in manpages/en/*; \ + do \ + SECTION="$$(basename $${MANPAGE} | awk -F. '{ print $$2 }')"; \ + install -D -m 0644 $${MANPAGE} $(DESTDIR)/usr/share/man/man$${SECTION}/$$(basename $${MANPAGE}); \ + done + + for LANGUAGE in $(LANGUAGES); \ + do \ + for MANPAGE in manpages/$${LANGUAGE}/*; \ + do \ + SECTION="$$(basename $${MANPAGE} | awk -F. '{ print $$3 }')"; \ + install -D -m 0644 $${MANPAGE} $(DESTDIR)/usr/share/man/$${LANGUAGE}/man$${SECTION}/$$(basename $${MANPAGE} .$${LANGUAGE}.$${SECTION}).$${SECTION}; \ + done; \ + done + +uninstall: + # Uninstalling shared data + rm -rf $(DESTDIR)/usr/share/live/build + rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/live > /dev/null 2>&1 || true + + # Uninstalling executables + rm -f $(DESTDIR)/usr/bin/lb $(DESTDIR)/usr/bin/live-build + + # Uninstalling documentation + rm -rf $(DESTDIR)/usr/share/doc/live-build + + # Uninstalling manpages + for MANPAGE in manpages/en/*; \ + do \ + SECTION="$$(basename $${MANPAGE} | awk -F. '{ print $$2 }')"; \ + rm -f $(DESTDIR)/usr/share/man/man$${SECTION}/$$(basename $${MANPAGE} .en.$${SECTION}).$${SECTION}; \ + done + + for LANGUAGE in $(LANGUAGES); \ + do \ + for MANPAGE in manpages/$${LANGUAGE}/*; \ + do \ + SECTION="$$(basename $${MANPAGE} | awk -F. '{ print $$3 }')"; \ + rm -f $(DESTDIR)/usr/share/man/$${LANGUAGE}/man$${SECTION}/$$(basename $${MANPAGE} .$${LANGUAGE}.$${SECTION}).$${SECTION}; \ + done; \ + done + +clean: + +distclean: + +reinstall: uninstall install diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..fcdc2fc --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +3.0~b4-1 diff --git a/bin/lb b/bin/lb new file mode 100755 index 0000000..00868b5 --- /dev/null +++ b/bin/lb @@ -0,0 +1,80 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +set -e + +# Including common functions +[ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh + +# Setting static variables +DESCRIPTION="$(Echo 'utility to build Debian Live systems')" +HELP="FIXME" +USAGE="FIXME" + +case "${1}" in + -h|--help) + if [ -x "$(which man 2>/dev/null)" ] + then + man lb + exit 0 + else + ${0} --usage + exit 0 + fi + ;; + + ""|-u|--usage) + Usage + ;; + + -v|--version) + echo "${VERSION}" + exit 0 + ;; + + *) + COMMAND="${1}" + shift + + ENV="" + + for _FILE in config/environment config/environment.binary + do + if [ -e "${_FILE}" ] + then + ENV="${ENV} $(grep -v '^#' ${_FILE})" + fi + done + + if [ -x "${LIVE_BUILD}/scripts/build/${COMMAND}" ] + then + # User has live-build copied locally in the system + SCRIPT="${LIVE_BUILD}/scripts/build/${COMMAND}" + elif [ -x "local/live-build/scripts/build/${COMMAND}" ] + then + # User has live-build embedded in the config + SCRIPT="local/live-build/scripts/build/${COMMAND}" + elif [ -x /usr/lib/live/build/${COMMAND} ] + then + # User has live-build installed in the system + SCRIPT=/usr/lib/live/build/"${COMMAND}" + elif [ -x "$(which ${COMMAND} 2>/dev/null)" ] + then + # User has live-build commands in path + SCRIPT="${COMMAND}" + else + Echo_error "no such script: ${COMMAND}" + exit 1 + fi + + Echo "[%s] %s" "$(date +'%F %T')" "lb ${COMMAND} $(echo ${@})" + ${ENV} exec "${SCRIPT}" "${@}" + ;; +esac diff --git a/bin/live-build b/bin/live-build new file mode 100755 index 0000000..d7eb28f --- /dev/null +++ b/bin/live-build @@ -0,0 +1,39 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program. If not, see . +## +## The complete text of the GNU General Public License +## can be found in /usr/share/common-licenses/GPL-3 file. + + +set -e + +# Including common functions +[ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh + +if [ -x "$(which man 2>/dev/null)" ] +then + man live-build + exit 0 +else + Echo "live-build is a set of scripts to build Debian Live system images." + echo + 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." + echo + Echo "An introduction to live-build can be found in the live-build(7) manpage." + exit 0 +fi diff --git a/contrib/grub-splash/lenny/COPYING b/contrib/grub-splash/lenny/COPYING new file mode 100644 index 0000000..f06b0e6 --- /dev/null +++ b/contrib/grub-splash/lenny/COPYING @@ -0,0 +1,26 @@ +The grub splash for Debian Live was made by Daniel Baumann +based on the original work of Mark Riedesel. + +The contribution of Daniel is hereby placed in the public domain (no rights +reserved). + +--------------- +http://dugnet.com/klown/pics/klowner_debboot.png +by Mark Riedesel, license same as open use logo + +To create klowner.rle: + + 1. convert klowner.png klowner.bmp + 2. bmptoppm < klowner.bmp | ppmtolss16 #FBFDFA=7 > klowner.rle + + (FBFDFA is the color used for the inside of the "n" in Debian.) +--------------- + +Debian Open Use Logo License + +Copyright (c) 1999 Software in the Public Interest +This logo or a modified version may be used by anyone to refer to the Debian +project, but does not indicate endorsement by the project. + +Note: we would appreciate that you make the image a link to +http://www.debian.org/ if you use it on a web page. diff --git a/contrib/grub-splash/lenny/klowner.rle b/contrib/grub-splash/lenny/klowner.rle new file mode 100644 index 0000000..126b6b2 Binary files /dev/null and b/contrib/grub-splash/lenny/klowner.rle differ diff --git a/contrib/grub-splash/lenny/klowner_debboot.png b/contrib/grub-splash/lenny/klowner_debboot.png new file mode 100644 index 0000000..5ca51d8 Binary files /dev/null and b/contrib/grub-splash/lenny/klowner_debboot.png differ diff --git a/contrib/grub-splash/lenny/live.xpm.gz b/contrib/grub-splash/lenny/live.xpm.gz new file mode 100644 index 0000000..ea1623b Binary files /dev/null and b/contrib/grub-splash/lenny/live.xpm.gz differ diff --git a/contrib/grub-splash/lenny/live_debboot.png b/contrib/grub-splash/lenny/live_debboot.png new file mode 100644 index 0000000..a246cfb Binary files /dev/null and b/contrib/grub-splash/lenny/live_debboot.png differ diff --git a/data/debian-cd/hardy b/data/debian-cd/hardy new file mode 120000 index 0000000..5cb6e60 --- /dev/null +++ b/data/debian-cd/hardy @@ -0,0 +1 @@ +maverick \ No newline at end of file diff --git a/data/debian-cd/lucid b/data/debian-cd/lucid new file mode 120000 index 0000000..5cb6e60 --- /dev/null +++ b/data/debian-cd/lucid @@ -0,0 +1 @@ +maverick \ No newline at end of file diff --git a/data/debian-cd/maverick/amd64_netinst_udeb_include b/data/debian-cd/maverick/amd64_netinst_udeb_include new file mode 100644 index 0000000..275197a --- /dev/null +++ b/data/debian-cd/maverick/amd64_netinst_udeb_include @@ -0,0 +1,4 @@ +netcfg +ethdetect +pcmcia-cs-udeb +wireless-tools-udeb diff --git a/data/debian-cd/maverick/amd64_udeb_include b/data/debian-cd/maverick/amd64_udeb_include new file mode 100644 index 0000000..275197a --- /dev/null +++ b/data/debian-cd/maverick/amd64_udeb_include @@ -0,0 +1,4 @@ +netcfg +ethdetect +pcmcia-cs-udeb +wireless-tools-udeb diff --git a/data/debian-cd/maverick/armel_netinst_udeb_include b/data/debian-cd/maverick/armel_netinst_udeb_include new file mode 100644 index 0000000..275197a --- /dev/null +++ b/data/debian-cd/maverick/armel_netinst_udeb_include @@ -0,0 +1,4 @@ +netcfg +ethdetect +pcmcia-cs-udeb +wireless-tools-udeb diff --git a/data/debian-cd/maverick/armel_udeb_include b/data/debian-cd/maverick/armel_udeb_include new file mode 100644 index 0000000..275197a --- /dev/null +++ b/data/debian-cd/maverick/armel_udeb_include @@ -0,0 +1,4 @@ +netcfg +ethdetect +pcmcia-cs-udeb +wireless-tools-udeb diff --git a/data/debian-cd/maverick/exclude-udebs b/data/debian-cd/maverick/exclude-udebs new file mode 100644 index 0000000..252dba2 --- /dev/null +++ b/data/debian-cd/maverick/exclude-udebs @@ -0,0 +1 @@ +kernel-image-* diff --git a/data/debian-cd/maverick/i386_businesscard_udeb_include b/data/debian-cd/maverick/i386_businesscard_udeb_include new file mode 100644 index 0000000..c8849a9 --- /dev/null +++ b/data/debian-cd/maverick/i386_businesscard_udeb_include @@ -0,0 +1,5 @@ +choose-mirror +netcfg +ethdetect +pcmcia-cs-udeb +wireless-tools-udeb diff --git a/data/debian-cd/maverick/i386_netinst_udeb_include b/data/debian-cd/maverick/i386_netinst_udeb_include new file mode 100644 index 0000000..275197a --- /dev/null +++ b/data/debian-cd/maverick/i386_netinst_udeb_include @@ -0,0 +1,4 @@ +netcfg +ethdetect +pcmcia-cs-udeb +wireless-tools-udeb diff --git a/data/debian-cd/maverick/i386_udeb_include b/data/debian-cd/maverick/i386_udeb_include new file mode 100644 index 0000000..275197a --- /dev/null +++ b/data/debian-cd/maverick/i386_udeb_include @@ -0,0 +1,4 @@ +netcfg +ethdetect +pcmcia-cs-udeb +wireless-tools-udeb diff --git a/data/debian-cd/maverick/ia64_netinst_udeb_include b/data/debian-cd/maverick/ia64_netinst_udeb_include new file mode 100644 index 0000000..275197a --- /dev/null +++ b/data/debian-cd/maverick/ia64_netinst_udeb_include @@ -0,0 +1,4 @@ +netcfg +ethdetect +pcmcia-cs-udeb +wireless-tools-udeb diff --git a/data/debian-cd/maverick/ia64_udeb_include b/data/debian-cd/maverick/ia64_udeb_include new file mode 100644 index 0000000..275197a --- /dev/null +++ b/data/debian-cd/maverick/ia64_udeb_include @@ -0,0 +1,4 @@ +netcfg +ethdetect +pcmcia-cs-udeb +wireless-tools-udeb diff --git a/data/debian-cd/maverick/powerpc_businesscard_udeb_include b/data/debian-cd/maverick/powerpc_businesscard_udeb_include new file mode 100644 index 0000000..b5c5e7e --- /dev/null +++ b/data/debian-cd/maverick/powerpc_businesscard_udeb_include @@ -0,0 +1,4 @@ +choose-mirror +netcfg +ethdetect +wireless-tools-udeb diff --git a/data/debian-cd/maverick/powerpc_netinst_udeb_include b/data/debian-cd/maverick/powerpc_netinst_udeb_include new file mode 100644 index 0000000..4a83dd2 --- /dev/null +++ b/data/debian-cd/maverick/powerpc_netinst_udeb_include @@ -0,0 +1,3 @@ +netcfg +ethdetect +wireless-tools-udeb diff --git a/data/debian-cd/maverick/powerpc_udeb_include b/data/debian-cd/maverick/powerpc_udeb_include new file mode 100644 index 0000000..275197a --- /dev/null +++ b/data/debian-cd/maverick/powerpc_udeb_include @@ -0,0 +1,4 @@ +netcfg +ethdetect +pcmcia-cs-udeb +wireless-tools-udeb diff --git a/data/debian-cd/maverick/udeb_include b/data/debian-cd/maverick/udeb_include new file mode 100644 index 0000000..275197a --- /dev/null +++ b/data/debian-cd/maverick/udeb_include @@ -0,0 +1,4 @@ +netcfg +ethdetect +pcmcia-cs-udeb +wireless-tools-udeb diff --git a/data/debian-cd/oneiric b/data/debian-cd/oneiric new file mode 120000 index 0000000..5cb6e60 --- /dev/null +++ b/data/debian-cd/oneiric @@ -0,0 +1 @@ +maverick \ No newline at end of file diff --git a/data/debian-cd/sid b/data/debian-cd/sid new file mode 120000 index 0000000..20f08b4 --- /dev/null +++ b/data/debian-cd/sid @@ -0,0 +1 @@ +squeeze \ No newline at end of file diff --git a/data/debian-cd/squeeze/amd64_businesscard_udeb_include b/data/debian-cd/squeeze/amd64_businesscard_udeb_include new file mode 100644 index 0000000..0089df0 --- /dev/null +++ b/data/debian-cd/squeeze/amd64_businesscard_udeb_include @@ -0,0 +1,4 @@ +choose-mirror +netcfg +ethdetect +pcmciautils-udeb diff --git a/data/debian-cd/squeeze/amd64_netinst_udeb_include b/data/debian-cd/squeeze/amd64_netinst_udeb_include new file mode 100644 index 0000000..1553277 --- /dev/null +++ b/data/debian-cd/squeeze/amd64_netinst_udeb_include @@ -0,0 +1,3 @@ +netcfg +ethdetect +pcmciautils-udeb diff --git a/data/debian-cd/squeeze/amd64_udeb_include b/data/debian-cd/squeeze/amd64_udeb_include new file mode 100644 index 0000000..1553277 --- /dev/null +++ b/data/debian-cd/squeeze/amd64_udeb_include @@ -0,0 +1,3 @@ +netcfg +ethdetect +pcmciautils-udeb diff --git a/data/debian-cd/squeeze/arm_businesscard_udeb_include b/data/debian-cd/squeeze/arm_businesscard_udeb_include new file mode 100644 index 0000000..6326d6c --- /dev/null +++ b/data/debian-cd/squeeze/arm_businesscard_udeb_include @@ -0,0 +1,3 @@ +choose-mirror +netcfg +ethdetect diff --git a/data/debian-cd/squeeze/arm_netinst_udeb_include b/data/debian-cd/squeeze/arm_netinst_udeb_include new file mode 100644 index 0000000..6f1c801 --- /dev/null +++ b/data/debian-cd/squeeze/arm_netinst_udeb_include @@ -0,0 +1,2 @@ +netcfg +ethdetect diff --git a/data/debian-cd/squeeze/arm_udeb_include b/data/debian-cd/squeeze/arm_udeb_include new file mode 100644 index 0000000..6f1c801 --- /dev/null +++ b/data/debian-cd/squeeze/arm_udeb_include @@ -0,0 +1,2 @@ +netcfg +ethdetect diff --git a/data/debian-cd/squeeze/exclude-udebs b/data/debian-cd/squeeze/exclude-udebs new file mode 100644 index 0000000..ba3ed4f --- /dev/null +++ b/data/debian-cd/squeeze/exclude-udebs @@ -0,0 +1,139 @@ +# These udebs build the d-i cdrom initrd. As such, there is no reason +# to keep another copy of them on the CD in udeb form. +# +# This duplicates data found in the file build/pkg-lists/kernel, in d-i svn +kernel-image-* +# build/pkg-lists/base in d-i svn +archdetect +rootskel +main-menu +cdebconf-udeb +udpkg +anna +di-utils +di-utils-shell +di-utils-reboot +lowmemcheck +# build/pkg-lists/cdrom/common, in d-i svn (also included in the +# root+cd-drivers floppies) +busybox-udeb +installation-locale +localechooser +iso-3166-udeb +hw-detect +cdrom-detect +cdrom-retriever +load-cdrom +cdrom-checker +bogl-bterm-udeb +di-utils-terminfo +cdebconf-priority +cdebconf-newt-udeb +usb-discover +preseed-common +initrd-preseed +file-preseed +nano-udeb +floppy-retriever +libfribidi0-udeb +# Already on the initrd as dependencies +libdebconfclient0-udeb +libdebian-installer4-udeb +libdebian-installer-extra4-udeb +# These udebs are only useful in building the boot floppy image +busybox-floppy-udeb +rootskel-bootfloppy +# Graphical installer: common udebs included in initrd +rootskel-gtk +cdebconf-gtk-udeb +fontconfig-udeb +gtk2-engines-udeb +libatk1.0-udeb +libexpat1-udeb +libfreetype6-udeb +libglib2.0-udeb +libgtk2-engines-udeb +libpango1.0-udeb +libpcre3-udeb +libpixman-1-0-udeb +libpng12-0-udeb +libsdl1.2debian-udeb +mouse-modules-* +ttf-* +fbset-udeb +# Graphical installer: udebs for directfb +libdirectfb-*-udeb +libcairo-directfb2-udeb +libgtk-directfb-2.0-0-udeb +# Graphical installer: udebs for X.Org +xserver-xorg-core-udeb +xserver-xorg-input-evdev-udeb +xserver-xorg-video-fbdev-udeb +x11-xkb-utils-udeb +xkb-data-udeb +libcairo2-udeb +libdrm2-udeb +libfontenc1-udeb +libgtk-x11-udeb +libpciaccess0-udeb +libx11-6-udeb +libxau6-udeb +libxcb1-udeb +libxcursor1-udeb +libxdmcp6-udeb +libxext6-udeb +libxfixes3-udeb +libxfont1-udeb +libxft2-udeb +libxi6-udeb +libxinerama1-udeb +libxkbfile1-udeb +libxrender1-udeb +# Graphical installer: terminal support is included in initrd +cdebconf-gtk-terminal +libvte9-udeb +# Not currently used +cdebootstrap-udeb +hdparm-udeb +dhcp-client-udeb +# This package is only useful in the d-i-demo +di-utils-exit-installer +# No need for these loaders. +download-installer +load-floppy +# Only useful in the hd-media initrd +iso-scan +load-iso +# Nothing currently depends on this, and it seems not useful on its own +reiserfsprogs-udeb +# These are not really needed, the regular netcfg subsumes them +netcfg-static +# skolelinux stuff, not for the stock CDs +debian-edu-install-udeb +debian-edu-profile-udeb +debian-edu-archive-keyring-udeb +ltsp-client-builder +autopartkit +# live CD stuff +live-installer +simple-cdd-profiles +# If needed, will be on the initrd already +module-init-tools-udeb +env-preseed +rescue-check +cdebconf-text-udeb +brltty-udeb +klibc-utils-udeb +libklibc-udeb +udev-udeb +udev-gtk-udeb +ai-choosers +auto-install +libslang2-udeb +kbd-chooser +kbd-udeb +# Currently unused +nbd-client-udeb +pwgen-udeb +# Eh? +gnumach-udeb diff --git a/data/debian-cd/squeeze/exclude-udebs-amd64 b/data/debian-cd/squeeze/exclude-udebs-amd64 new file mode 100644 index 0000000..8f81f6e --- /dev/null +++ b/data/debian-cd/squeeze/exclude-udebs-amd64 @@ -0,0 +1,43 @@ +# These udebs are in the d-i cdrom initrd and the hd-media initrd. +# As such, there is no reason to keep another copy of them on the CD +# in udeb form. +console-keymaps-at +console-keymaps-usb +kbd-chooser +acpi-modules-* +ata-modules-* +cdrom-core-modules-* +core-modules-* +fat-modules-* +fb-modules-* +ide-core-modules-* +ide-modules-* +input-modules-* +isofs-modules-* +mmc-modules-* +nls-core-modules-* +parport-modules-* +pcmcia-modules-* +sata-modules-* +scsi-common-modules-* +scsi-core-modules-* +scsi-modules-* +serial-modules-* +speakup-modules-* +usb-modules-* +usb-serial-modules-* +usb-storage-modules-* +zlib-modules-* +# Not used on amd64 +console-keymaps-acorn +console-keymaps-amiga +console-keymaps-atari +console-keymaps-dec +console-keymaps-sun +# Not needed with the 2.6 kernel on amd64. +userdevfs +# Only needed on arches that use partconf or autopartkit. +partconf-mkfstab +# Not needed on arches that use partman +mdcfg +lvmcfg diff --git a/data/debian-cd/squeeze/exclude-udebs-i386 b/data/debian-cd/squeeze/exclude-udebs-i386 new file mode 100644 index 0000000..b3af1c9 --- /dev/null +++ b/data/debian-cd/squeeze/exclude-udebs-i386 @@ -0,0 +1,45 @@ +# These udebs are in the d-i cdrom initrd and the cd-drivers+root floppies. +# As such, there is no reason to keep another copy of them on the CD +# in udeb form. +console-keymaps-at +console-keymaps-usb +kbd-chooser +acpi-modules-* +ata-modules-* +cdrom-core-modules-* +core-modules-* +fat-modules-* +fb-modules-* +ide-core-modules-* +ide-modules-* +input-modules-* +isofs-modules-* +mmc-modules-* +nls-core-modules-* +parport-modules-* +pcmcia-modules-* +sata-modules-* +scsi-common-modules-* +scsi-core-modules-* +scsi-modules-* +serial-modules-* +speakup-modules-* +usb-modules-* +usb-serial-modules-* +usb-storage-modules-* +zlib-modules-* +# 686-bigmem kernel udebs are only used for the Xen netboot image +*-686-bigmem-di !xen +# Not used on i386 +console-keymaps-acorn +console-keymaps-amiga +console-keymaps-atari +console-keymaps-dec +console-keymaps-sun +# Not needed with the 2.4 kernel on i386. +userdevfs +# Only needed on arches that use partconf or autopartkit. +partconf-mkfstab +# Not needed on arches that use partman +mdcfg +lvmcfg diff --git a/data/debian-cd/squeeze/exclude-udebs-powerpc b/data/debian-cd/squeeze/exclude-udebs-powerpc new file mode 100644 index 0000000..5a7df81 --- /dev/null +++ b/data/debian-cd/squeeze/exclude-udebs-powerpc @@ -0,0 +1,28 @@ +# These udebs build the d-i cdrom initrd. As such, there is no reason +# to keep another copy of them on the CD in udeb form. +# +# This duplicates data found in the file build/pkg-lists/cdrom/powerpc, +# in d-i Subversion. + +cdrom-core-modules-* +console-keymaps-at +console-keymaps-usb +eject-udeb +firewire-core-modules-* +fs-common-modules-* +ide-modules-* +input-modules-* +kbd-chooser +scsi-common-modules-* +scsi-core-modules-* +scsi-modules-* +socket-modules-* +usb-modules-* +usb-storage-modules-* +# Not needed with the 2.4 kernel on powerpc. +userdevfs +# Only needed on arches that use partconf or autopartkit. +partconf-mkfstab +# Not needed on arches that use partman +mdcfg +lvmcfg diff --git a/data/debian-cd/squeeze/exclude-udebs-s390 b/data/debian-cd/squeeze/exclude-udebs-s390 new file mode 100644 index 0000000..e075e4b --- /dev/null +++ b/data/debian-cd/squeeze/exclude-udebs-s390 @@ -0,0 +1,3 @@ +# S/390 does not support loading udebs off the CD image, +# so we can exclude all udebs from it +* diff --git a/data/debian-cd/squeeze/exclude-udebs-sparc b/data/debian-cd/squeeze/exclude-udebs-sparc new file mode 100644 index 0000000..d11a81b --- /dev/null +++ b/data/debian-cd/squeeze/exclude-udebs-sparc @@ -0,0 +1,5 @@ +# Only needed on arches that use partconf or autopartkit. +partconf-mkfstab +# Not needed on arches that use partman +mdcfg +lvmcfg diff --git a/data/debian-cd/squeeze/i386_businesscard_udeb_include b/data/debian-cd/squeeze/i386_businesscard_udeb_include new file mode 100644 index 0000000..0089df0 --- /dev/null +++ b/data/debian-cd/squeeze/i386_businesscard_udeb_include @@ -0,0 +1,4 @@ +choose-mirror +netcfg +ethdetect +pcmciautils-udeb diff --git a/data/debian-cd/squeeze/i386_netinst_udeb_include b/data/debian-cd/squeeze/i386_netinst_udeb_include new file mode 100644 index 0000000..1553277 --- /dev/null +++ b/data/debian-cd/squeeze/i386_netinst_udeb_include @@ -0,0 +1,3 @@ +netcfg +ethdetect +pcmciautils-udeb diff --git a/data/debian-cd/squeeze/i386_udeb_include b/data/debian-cd/squeeze/i386_udeb_include new file mode 100644 index 0000000..1553277 --- /dev/null +++ b/data/debian-cd/squeeze/i386_udeb_include @@ -0,0 +1,3 @@ +netcfg +ethdetect +pcmciautils-udeb diff --git a/data/debian-cd/squeeze/ia64_businesscard_udeb_include b/data/debian-cd/squeeze/ia64_businesscard_udeb_include new file mode 100644 index 0000000..6326d6c --- /dev/null +++ b/data/debian-cd/squeeze/ia64_businesscard_udeb_include @@ -0,0 +1,3 @@ +choose-mirror +netcfg +ethdetect diff --git a/data/debian-cd/squeeze/ia64_netinst_udeb_include b/data/debian-cd/squeeze/ia64_netinst_udeb_include new file mode 100644 index 0000000..6f1c801 --- /dev/null +++ b/data/debian-cd/squeeze/ia64_netinst_udeb_include @@ -0,0 +1,2 @@ +netcfg +ethdetect diff --git a/data/debian-cd/squeeze/ia64_udeb_include b/data/debian-cd/squeeze/ia64_udeb_include new file mode 100644 index 0000000..6f1c801 --- /dev/null +++ b/data/debian-cd/squeeze/ia64_udeb_include @@ -0,0 +1,2 @@ +netcfg +ethdetect diff --git a/data/debian-cd/squeeze/m68k_businesscard_udeb_include b/data/debian-cd/squeeze/m68k_businesscard_udeb_include new file mode 100644 index 0000000..6326d6c --- /dev/null +++ b/data/debian-cd/squeeze/m68k_businesscard_udeb_include @@ -0,0 +1,3 @@ +choose-mirror +netcfg +ethdetect diff --git a/data/debian-cd/squeeze/m68k_netinst_udeb_include b/data/debian-cd/squeeze/m68k_netinst_udeb_include new file mode 100644 index 0000000..6f1c801 --- /dev/null +++ b/data/debian-cd/squeeze/m68k_netinst_udeb_include @@ -0,0 +1,2 @@ +netcfg +ethdetect diff --git a/data/debian-cd/squeeze/m68k_udeb_include b/data/debian-cd/squeeze/m68k_udeb_include new file mode 100644 index 0000000..6f1c801 --- /dev/null +++ b/data/debian-cd/squeeze/m68k_udeb_include @@ -0,0 +1,2 @@ +netcfg +ethdetect diff --git a/data/debian-cd/squeeze/mips_businesscard_udeb_include b/data/debian-cd/squeeze/mips_businesscard_udeb_include new file mode 100644 index 0000000..6326d6c --- /dev/null +++ b/data/debian-cd/squeeze/mips_businesscard_udeb_include @@ -0,0 +1,3 @@ +choose-mirror +netcfg +ethdetect diff --git a/data/debian-cd/squeeze/mips_netinst_udeb_include b/data/debian-cd/squeeze/mips_netinst_udeb_include new file mode 100644 index 0000000..6f1c801 --- /dev/null +++ b/data/debian-cd/squeeze/mips_netinst_udeb_include @@ -0,0 +1,2 @@ +netcfg +ethdetect diff --git a/data/debian-cd/squeeze/mips_udeb_include b/data/debian-cd/squeeze/mips_udeb_include new file mode 100644 index 0000000..6f1c801 --- /dev/null +++ b/data/debian-cd/squeeze/mips_udeb_include @@ -0,0 +1,2 @@ +netcfg +ethdetect diff --git a/data/debian-cd/squeeze/mipsel_businesscard_udeb_include b/data/debian-cd/squeeze/mipsel_businesscard_udeb_include new file mode 100644 index 0000000..6326d6c --- /dev/null +++ b/data/debian-cd/squeeze/mipsel_businesscard_udeb_include @@ -0,0 +1,3 @@ +choose-mirror +netcfg +ethdetect diff --git a/data/debian-cd/squeeze/mipsel_netinst_udeb_include b/data/debian-cd/squeeze/mipsel_netinst_udeb_include new file mode 100644 index 0000000..6f1c801 --- /dev/null +++ b/data/debian-cd/squeeze/mipsel_netinst_udeb_include @@ -0,0 +1,2 @@ +netcfg +ethdetect diff --git a/data/debian-cd/squeeze/mipsel_udeb_include b/data/debian-cd/squeeze/mipsel_udeb_include new file mode 100644 index 0000000..6f1c801 --- /dev/null +++ b/data/debian-cd/squeeze/mipsel_udeb_include @@ -0,0 +1,2 @@ +netcfg +ethdetect diff --git a/data/debian-cd/squeeze/powerpc_businesscard_udeb_include b/data/debian-cd/squeeze/powerpc_businesscard_udeb_include new file mode 100644 index 0000000..6326d6c --- /dev/null +++ b/data/debian-cd/squeeze/powerpc_businesscard_udeb_include @@ -0,0 +1,3 @@ +choose-mirror +netcfg +ethdetect diff --git a/data/debian-cd/squeeze/powerpc_netinst_udeb_include b/data/debian-cd/squeeze/powerpc_netinst_udeb_include new file mode 100644 index 0000000..6f1c801 --- /dev/null +++ b/data/debian-cd/squeeze/powerpc_netinst_udeb_include @@ -0,0 +1,2 @@ +netcfg +ethdetect diff --git a/data/debian-cd/squeeze/powerpc_udeb_include b/data/debian-cd/squeeze/powerpc_udeb_include new file mode 100644 index 0000000..1553277 --- /dev/null +++ b/data/debian-cd/squeeze/powerpc_udeb_include @@ -0,0 +1,3 @@ +netcfg +ethdetect +pcmciautils-udeb diff --git a/data/debian-cd/squeeze/s390_businesscard_udeb_include b/data/debian-cd/squeeze/s390_businesscard_udeb_include new file mode 100644 index 0000000..6326d6c --- /dev/null +++ b/data/debian-cd/squeeze/s390_businesscard_udeb_include @@ -0,0 +1,3 @@ +choose-mirror +netcfg +ethdetect diff --git a/data/debian-cd/squeeze/s390_netinst_udeb_include b/data/debian-cd/squeeze/s390_netinst_udeb_include new file mode 100644 index 0000000..6f1c801 --- /dev/null +++ b/data/debian-cd/squeeze/s390_netinst_udeb_include @@ -0,0 +1,2 @@ +netcfg +ethdetect diff --git a/data/debian-cd/squeeze/s390_udeb_include b/data/debian-cd/squeeze/s390_udeb_include new file mode 100644 index 0000000..6f1c801 --- /dev/null +++ b/data/debian-cd/squeeze/s390_udeb_include @@ -0,0 +1,2 @@ +netcfg +ethdetect diff --git a/data/debian-cd/squeeze/sparc_businesscard_udeb_include b/data/debian-cd/squeeze/sparc_businesscard_udeb_include new file mode 100644 index 0000000..6326d6c --- /dev/null +++ b/data/debian-cd/squeeze/sparc_businesscard_udeb_include @@ -0,0 +1,3 @@ +choose-mirror +netcfg +ethdetect diff --git a/data/debian-cd/squeeze/sparc_netinst_udeb_include b/data/debian-cd/squeeze/sparc_netinst_udeb_include new file mode 100644 index 0000000..6f1c801 --- /dev/null +++ b/data/debian-cd/squeeze/sparc_netinst_udeb_include @@ -0,0 +1,2 @@ +netcfg +ethdetect diff --git a/data/debian-cd/squeeze/sparc_udeb_include b/data/debian-cd/squeeze/sparc_udeb_include new file mode 100644 index 0000000..6f1c801 --- /dev/null +++ b/data/debian-cd/squeeze/sparc_udeb_include @@ -0,0 +1,2 @@ +netcfg +ethdetect diff --git a/data/debian-cd/squeeze/udeb_exclude b/data/debian-cd/squeeze/udeb_exclude new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/data/debian-cd/squeeze/udeb_exclude @@ -0,0 +1 @@ + diff --git a/data/debian-cd/wheezy b/data/debian-cd/wheezy new file mode 120000 index 0000000..20f08b4 --- /dev/null +++ b/data/debian-cd/wheezy @@ -0,0 +1 @@ +squeeze \ No newline at end of file diff --git a/docs/AUTHORS b/docs/AUTHORS new file mode 100644 index 0000000..1d63e47 --- /dev/null +++ b/docs/AUTHORS @@ -0,0 +1,9 @@ +Main Author: + + * Daniel Baumann + +Main Contributors: + + * Chris Lamb + * Otavio Salvador + * Richard Nelson diff --git a/docs/CREDITS b/docs/CREDITS new file mode 100644 index 0000000..e38e2ee --- /dev/null +++ b/docs/CREDITS @@ -0,0 +1,64 @@ +Patches (alphabetical order): + + * Alex Owen + * An-Cheng Huang + * Antonio Amorim + * Antonio Terceiro + * Bas Wijnen + * Ben Armstrong + * Cedric Lucantis + * Chris Lamb + * Cody A.W. Somerville + * Cyril Brulebois + * David Madore + * Erwan Le Gall + * Fathi Boudra + * Franklin Piat + * Frederic Daniel Luc Lehobey + * Guerkan Senguen + * Hadar Weiss + * Inigo Tejedor Arrondo + * Jason D. Clinton + * Jean Pierre LeJacq + * Jesse Hathaway + * Justin Pryzby + * Kai Hendry + * Kel Modderman + * Maarten ter Huurne + * Marcelo D. Re + * Marco Amadori + * Markus Bauer + * Mathieu Geli + * Otavio Salvador + * Peter Holik + * Peter Skogstroem + * Rene Merou + * Richard Nelson + * Scott Edwards + * Sebastian Raveau + * Thomas Lange + * Tiago Bortoletto Vaz + * Trent Buck + * Tzafrir Cohen + * Vladimir Stavrinov + +Donations (alphabetical order): + + * Gracie + +Special thanks (alphabetical order): + + * Ben Armstrong for his IRC support and tremendous work on + documentation. + * Jason D. Clinton for his work on netboot type. + * Otavio Salvador for his QA patches. + * Richard Nelson for live-webhelper. + * Sebastian Raveau for his work on encryption + support. + * Scott Edwards for his work on d-i/g-i integration. + * Michael Dorrington for distracting Luk Claes on DebConf 7, + so that Luk couldn't disturb me all the time and I could finally do some + work. + +...and countless other people showed up on the #debian-live IRC channel since +February 2006: thanks for all your help, ideas, and wishes. diff --git a/docs/ChangeLog b/docs/ChangeLog new file mode 100644 index 0000000..0b7f087 --- /dev/null +++ b/docs/ChangeLog @@ -0,0 +1,1560 @@ +commit 4217cf64597aa81b82a8c8e6a79fee1381e06aa3 +Author: Daniel Baumann + + Re-enabling live-initscripts and live-webhelper. + + examples/cron/snapshots.sh | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit c4bb536877d822570176d462a45d3497de05a01b +Author: Daniel Baumann + + Respecting LH_QUIET for genisoimage/mkisofs calls, thanks to Justin Pryzby . + + helpers/lh_binary_iso | 5 +++++ + helpers/lh_source_iso | 5 +++++ + 2 files changed, 10 insertions(+), 0 deletions(-) + +commit a019b98615f9edd154f48337f45656fbc86cd181 +Author: Daniel Baumann + + Respecting LH_QUIET for wget calls, thanks to Justin Pryzby . + + helpers/lh_binary_debian-installer | 19 ++++++++++++------- + 1 files changed, 12 insertions(+), 7 deletions(-) + +commit 09faf3f24b1d24394071fc651685436a269c37a4 +Author: Daniel Baumann + + Handling case when memtest is disabled. + + helpers/lh_source_debian | 5 ++++- + 1 files changed, 4 insertions(+), 1 deletions(-) + +commit f3706cd7f2fa293fed28523c760715967a7ae2e1 +Author: Daniel Baumann + + Adding check for 'none', not just 'disabled'. + + helpers/lh_binary_memtest | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 793f620b2dd2687f1c1cbb2db6b2eb65ed63275b +Author: Daniel Baumann + + Restoring file permissions. + + 0 files changed, 0 insertions(+), 0 deletions(-) + +commit 4b52adb6f77b855ac9e6f63de187ae6ecba3602e +Author: Daniel Baumann + + Adding local udeb_exclude file functionality. + + helpers/lh_binary_debian-installer | 6 ++++++ + helpers/lh_config | 1 + + 2 files changed, 7 insertions(+), 0 deletions(-) + +commit fbae06c4262ee01d22af51b9720470a87a1e571b +Author: Daniel Baumann + + Fixing typing error in lh_binary_syslinux, thanks to Jean Pierre LeJacq (Closes: #443099). + + debian/changelog | 2 ++ + helpers/lh_binary_syslinux | 2 +- + 2 files changed, 3 insertions(+), 1 deletions(-) + +commit 9ceced95c4a101b632d2b40cb0716338b223faeb +Author: Daniel Baumann + + Adding preinst to take care about package upgrades with respect to directories that are symlinks now (Closes: #442408, #442922). + + debian/changelog | 4 +++- + debian/preinst | 40 ++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 43 insertions(+), 1 deletions(-) + +commit 4d06f0aa2b3a3f8a300b8a45310e1b7b5748c4a3 +Author: Daniel Baumann + + Adding contrib/graph-helpers/*. + + contrib/graph-helpers.py | 74 -------------------------------- + contrib/graph-helpers/graph-helpers.py | 74 ++++++++++++++++++++++++++++++++ + debian/copyright | 23 +++++++++- + 3 files changed, 95 insertions(+), 76 deletions(-) + +commit 39d4c50fc75166d6d8f43126a079e5497e7ff089 +Author: Daniel Baumann + + Added graph-helpers.py from Chris Lamb . + + contrib/graph-helpers.py | 74 ++++++++++++++++++++++++++++++++++++++++++++++ + 1 files changed, 74 insertions(+), 0 deletions(-) + +commit 5e759644a47983d74338d46904106b552153c446 +Author: Daniel Baumann + + Passing live bootappends to debian-installer. + + functions/defaults.sh | 2 +- + helpers/lh_config | 16 ++++++++-------- + 2 files changed, 9 insertions(+), 9 deletions(-) + +commit f64d4d2c3124043b9039a38d9c1f037e923c3297 +Author: Daniel Baumann + + Preparing live-helper 1.0~a29-1. + + Makefile | 6 +++--- + debian/changelog | 6 ++++++ + functions/common.sh | 2 +- + manpages/lh_binary.de.1 | 2 +- + manpages/lh_binary.en.1 | 2 +- + manpages/lh_bootstrap.de.1 | 2 +- + manpages/lh_bootstrap.en.1 | 2 +- + manpages/lh_bootstrap_cdebootstrap.de.1 | 2 +- + manpages/lh_bootstrap_cdebootstrap.en.1 | 2 +- + manpages/lh_bootstrap_debootstrap.de.1 | 2 +- + manpages/lh_bootstrap_debootstrap.en.1 | 2 +- + manpages/lh_build.de.1 | 2 +- + manpages/lh_build.en.1 | 2 +- + manpages/lh_chroot.de.1 | 2 +- + manpages/lh_chroot.en.1 | 2 +- + manpages/lh_clean.de.1 | 2 +- + manpages/lh_clean.en.1 | 2 +- + manpages/lh_config.de.1 | 2 +- + manpages/lh_config.en.1 | 2 +- + manpages/lh_source.de.1 | 2 +- + manpages/lh_source.en.1 | 2 +- + manpages/lh_testroot.de.1 | 2 +- + manpages/lh_testroot.en.1 | 2 +- + manpages/live-helper.de.7 | 2 +- + manpages/live-helper.en.7 | 2 +- + 25 files changed, 32 insertions(+), 26 deletions(-) + +commit 7d5c33610881beee30fea2dc162d21f9e7436039 +Author: Daniel Baumann + + Releasing live-helper 1.0~a28-1. + + debian/changelog | 2 +- + docs/ChangeLog | 286 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 287 insertions(+), 1 deletions(-) + +commit f6d46179dfb64ace95c6cdec6a5b910d9106a7e7 +Author: Daniel Baumann + + Making binary hooks executable in case the are not. + + helpers/lh_binary_local-hooks | 6 ++++++ + 1 files changed, 6 insertions(+), 0 deletions(-) + +commit f36f7d499ad7ba96a66977ae5e8955fb6b74128e +Author: Daniel Baumann + + Do not remove pkgsel anymore. + + helpers/lh_binary_debian-installer | 2 -- + 1 files changed, 0 insertions(+), 2 deletions(-) + +commit 2b817e2b897f6db20e81fcd52e40f90bcda16237 +Author: Daniel Baumann + + Fixed wrong sed call. + + helpers/lh_binary_syslinux | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +commit 1db91d83b0d0311c07d8f96023e850efdb44f7eb +Author: Daniel Baumann + + Do not create symlinks on usb-hdd images. + + helpers/lh_binary_debian-installer | 5 ++++- + 1 files changed, 4 insertions(+), 1 deletions(-) + +commit ed5bb2e1870d68a8d6318933d9fe6ca2f1d9069c +Author: Daniel Baumann + + Adding LH_BOOTAPPEND_INSTALL. + + functions/defaults.sh | 1 + + helpers/lh_binary_grub | 4 ++-- + helpers/lh_binary_syslinux | 8 ++++---- + helpers/lh_binary_yaboot | 4 ++-- + helpers/lh_config | 12 +++++++++++- + 5 files changed, 20 insertions(+), 9 deletions(-) + +commit 851d21e47455408a300ce8c527e3805f2e039e64 +Author: Daniel Baumann + + Renaming LH_BOOTAPPEND to LH_BOOTAPPEND_LIVE. + + functions/defaults.sh | 2 +- + helpers/lh_binary_grub | 18 +++++++++--------- + helpers/lh_binary_syslinux | 28 ++++++++++++++-------------- + helpers/lh_binary_yaboot | 20 ++++++++++---------- + helpers/lh_config | 12 ++++++------ + 5 files changed, 40 insertions(+), 40 deletions(-) + +commit 26961cb572225683e29e03176698447b58b19bc4 +Author: Daniel Baumann + + Making local udebs/local debs architecture aware. + + helpers/lh_binary_debian-installer | 8 ++++---- + 1 files changed, 4 insertions(+), 4 deletions(-) + +commit caeb8b9d72f691833691f193102537fe6c146422 +Author: Daniel Baumann + + Setting default distribution to lenny. + + functions/defaults.sh | 6 +++++- + 1 files changed, 5 insertions(+), 1 deletions(-) + +commit 20aad4c211bb423d714a38728ffccea5757840a2 +Author: Daniel Baumann + + Removing both required local and d-i udebs when using live-installer. + + helpers/lh_binary_debian-installer | 6 ++++++ + 1 files changed, 6 insertions(+), 0 deletions(-) + +commit c338316ee23fbf687fc4554765c24887cee2fd1a +Author: Daniel Baumann + + Added forgotten path to bootstrap-base removal. + + helpers/lh_binary_debian-installer | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit 789677ab838dc589ef954ff4745609e22d9d6d6e +Author: Daniel Baumann + + Simplifying debian-installer download. + + helpers/lh_binary_debian-installer | 22 ++++------------------ + 1 files changed, 4 insertions(+), 18 deletions(-) + +commit 0e4a03132a9cb16779d41022ff9f518694295ab6 +Author: Daniel Baumann + + Adding support for live-installer. + + helpers/lh_binary_debian-installer | 8 +++++++- + helpers/lh_binary_disk | 12 ++++++------ + 2 files changed, 13 insertions(+), 7 deletions(-) + +commit 117d1ef02c09404d595a27023e86765841909398 +Author: Daniel Baumann + + Polishing and updating with recent news. + + docs/NEWS | 28 +++++++++++++++++----------- + 1 files changed, 17 insertions(+), 11 deletions(-) + +commit 173bd27953afd4020f2ac5700b147e41af727735 +Author: Daniel Baumann + + Temporarily disabling extended options, they seem to make problems and need testing. + + templates/syslinux/common/syslinux.cfg | 16 ++++++++-------- + 1 files changed, 8 insertions(+), 8 deletions(-) + +commit 508cf68252a5253ba40fcaa0dc46a3ffffc3dbfa +Author: Daniel Baumann + + Adding Rene Merou . + + docs/CREDITS | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +commit 7c25acdfc10c851bc30ccafc273a71113758f175 +Author: Daniel Baumann + + Added Spanish syslinux templates translation from Rene Merou . + + templates/syslinux/es/boot.txt | 3 +++ + templates/syslinux/es/f1.txt.install | 25 +++++++++++++++++++++++++ + templates/syslinux/es/f1.txt.live | 25 +++++++++++++++++++++++++ + templates/syslinux/es/f10.txt | 23 +++++++++++++++++++++++ + templates/syslinux/es/f2.txt.install | 23 +++++++++++++++++++++++ + templates/syslinux/es/f2.txt.live | 23 +++++++++++++++++++++++ + templates/syslinux/es/f3.txt.install | 23 +++++++++++++++++++++++ + templates/syslinux/es/f3.txt.install.g-i | 23 +++++++++++++++++++++++ + templates/syslinux/es/f3.txt.live | 23 +++++++++++++++++++++++ + templates/syslinux/es/f4.txt.install | 23 +++++++++++++++++++++++ + templates/syslinux/es/f4.txt.install.g-i | 23 +++++++++++++++++++++++ + templates/syslinux/es/f4.txt.live | 23 +++++++++++++++++++++++ + templates/syslinux/es/f5.txt | 23 +++++++++++++++++++++++ + templates/syslinux/es/f6.txt | 23 +++++++++++++++++++++++ + templates/syslinux/es/f7.txt | 23 +++++++++++++++++++++++ + templates/syslinux/es/f8.txt.install | 23 +++++++++++++++++++++++ + templates/syslinux/es/f8.txt.live | 23 +++++++++++++++++++++++ + templates/syslinux/es/f9.txt.install | 23 +++++++++++++++++++++++ + templates/syslinux/es/f9.txt.live | 23 +++++++++++++++++++++++ + 19 files changed, 421 insertions(+), 0 deletions(-) + +commit 8407eb17e393c18ce76afe3fc3d48a5128c22344 +Author: Daniel Baumann + + Added Catalan syslinux templates translation from Rene Merou . + + templates/syslinux/ca/boot.txt | 3 +++ + templates/syslinux/ca/f1.txt.install | 25 +++++++++++++++++++++++++ + templates/syslinux/ca/f1.txt.live | 25 +++++++++++++++++++++++++ + templates/syslinux/ca/f10.txt | 23 +++++++++++++++++++++++ + templates/syslinux/ca/f2.txt.install | 23 +++++++++++++++++++++++ + templates/syslinux/ca/f2.txt.live | 23 +++++++++++++++++++++++ + templates/syslinux/ca/f3.txt.install | 23 +++++++++++++++++++++++ + templates/syslinux/ca/f3.txt.install.g-i | 23 +++++++++++++++++++++++ + templates/syslinux/ca/f3.txt.live | 23 +++++++++++++++++++++++ + templates/syslinux/ca/f4.txt.install | 23 +++++++++++++++++++++++ + templates/syslinux/ca/f4.txt.install.g-i | 25 +++++++++++++++++++++++++ + templates/syslinux/ca/f4.txt.live | 23 +++++++++++++++++++++++ + templates/syslinux/ca/f5.txt | 23 +++++++++++++++++++++++ + templates/syslinux/ca/f6.txt | 23 +++++++++++++++++++++++ + templates/syslinux/ca/f7.txt | 23 +++++++++++++++++++++++ + templates/syslinux/ca/f8.txt.install | 23 +++++++++++++++++++++++ + templates/syslinux/ca/f8.txt.live | 23 +++++++++++++++++++++++ + templates/syslinux/ca/f9.txt.install | 23 +++++++++++++++++++++++ + templates/syslinux/ca/f9.txt.live | 23 +++++++++++++++++++++++ + 19 files changed, 423 insertions(+), 0 deletions(-) + +commit 78450950715061a76a7f3bc02bb5bc4b6d21545e +Author: Daniel Baumann + + Setting default language to 'en'. + + functions/defaults.sh | 2 +- + templates/syslinux/common/syslinux.cfg | 36 ++++++++++++++++++++++++++++++ + templates/syslinux/en/boot.txt | 3 ++ + templates/syslinux/en/f1.txt.install | 25 ++++++++++++++++++++ + templates/syslinux/en/f1.txt.live | 25 ++++++++++++++++++++ + templates/syslinux/en/f10.txt | 23 +++++++++++++++++++ + templates/syslinux/en/f2.txt.install | 23 +++++++++++++++++++ + templates/syslinux/en/f2.txt.live | 23 +++++++++++++++++++ + templates/syslinux/en/f3.txt.install | 23 +++++++++++++++++++ + templates/syslinux/en/f3.txt.install.g-i | 23 +++++++++++++++++++ + templates/syslinux/en/f3.txt.live | 23 +++++++++++++++++++ + templates/syslinux/en/f4.txt.install | 23 +++++++++++++++++++ + templates/syslinux/en/f4.txt.install.g-i | 23 +++++++++++++++++++ + templates/syslinux/en/f4.txt.live | 23 +++++++++++++++++++ + templates/syslinux/en/f5.txt | 23 +++++++++++++++++++ + templates/syslinux/en/f6.txt | 23 +++++++++++++++++++ + templates/syslinux/en/f7.txt | 23 +++++++++++++++++++ + templates/syslinux/en/f8.txt.install | 23 +++++++++++++++++++ + templates/syslinux/en/f8.txt.live | 23 +++++++++++++++++++ + templates/syslinux/en/f9.txt.install | 23 +++++++++++++++++++ + templates/syslinux/en/f9.txt.live | 23 +++++++++++++++++++ + 21 files changed, 458 insertions(+), 1 deletions(-) + +commit 3fddecbe0eab7d49fb67800bec436d9caa72dfa5 +Author: Daniel Baumann + + Supporting localized syslinux templates based on LH_LANGUAGE. + + helpers/lh_binary_syslinux | 9 +++++-- + templates/syslinux/boot.txt | 3 -- + templates/syslinux/common/splash.rle | Bin 0 -> 10489 bytes + templates/syslinux/f1.txt.install | 25 ---------------------- + templates/syslinux/f1.txt.live | 25 ---------------------- + templates/syslinux/f10.txt | 23 --------------------- + templates/syslinux/f2.txt.install | 23 --------------------- + templates/syslinux/f2.txt.live | 23 --------------------- + templates/syslinux/f3.txt.install | 23 --------------------- + templates/syslinux/f3.txt.install.g-i | 23 --------------------- + templates/syslinux/f3.txt.live | 23 --------------------- + templates/syslinux/f4.txt.install | 23 --------------------- + templates/syslinux/f4.txt.install.g-i | 23 --------------------- + templates/syslinux/f4.txt.live | 23 --------------------- + templates/syslinux/f5.txt | 23 --------------------- + templates/syslinux/f6.txt | 23 --------------------- + templates/syslinux/f7.txt | 23 --------------------- + templates/syslinux/f8.txt.install | 23 --------------------- + templates/syslinux/f8.txt.live | 23 --------------------- + templates/syslinux/f9.txt.install | 23 --------------------- + templates/syslinux/f9.txt.live | 23 --------------------- + templates/syslinux/splash.rle | Bin 10489 -> 0 bytes + templates/syslinux/syslinux.cfg | 36 --------------------------------- + 23 files changed, 6 insertions(+), 460 deletions(-) + +commit 1956c132a8bac04cd3a025f60acdadb8fa9dd668 +Author: Daniel Baumann + + Adding forgotten cp call. + + helpers/lh_binary_disk | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +commit f4af8492a6738f873237802e5dd2005e3ca5bab2 +Author: Daniel Baumann + + Removing cruft from debian-cd templates. + + templates/syslinux/f7.txt | 2 +- + templates/syslinux/f8.txt.install | 2 +- + templates/syslinux/f8.txt.live | 2 +- + templates/syslinux/f9.txt.install | 2 +- + templates/syslinux/f9.txt.live | 2 +- + 5 files changed, 5 insertions(+), 5 deletions(-) + +commit 9ec9d931e7809058a4d35991c07af1057d7db875 +Author: Daniel Baumann + + Using new Homepage field now. + + debian/control | 3 +-- + 1 files changed, 1 insertions(+), 2 deletions(-) + +commit 9da34f5a3bbd3eaa4ea9f1f91d8a8748ce94f068 +Author: Daniel Baumann + + Adding Marco Amadori . + + docs/CREDITS | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +commit 83fc7ca480fb36e40e21dad7c892ec92cf8c3679 +Author: Daniel Baumann + + Downgrading Ubuntu minimal requirements from gutsy to feisty. + + functions/defaults.sh | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +commit 23c269f3afba1449f2ff6352bf9504fbdba582f8 +Author: Daniel Baumann + + Simplyfing LH_BASE calls. + + helpers/lh_binary_debian-installer | 6 +++--- + 1 files changed, 3 insertions(+), 3 deletions(-) + +commit 16b85ffe14a24a693cfdafa2d100f96d5d65cf0a +Author: Daniel Baumann + + Using udeb_include files from debian-cd. + + helpers/lh_binary_disk | 28 +++------------------------- + 1 files changed, 3 insertions(+), 25 deletions(-) + +commit e9ed48833fee3e9232917282f0af88d39bca673e +Author: Daniel Baumann + + Using Debian terminology for images of unreleased suites. + + functions/releases.sh | 4 ++-- + helpers/lh_binary_disk | 5 +++++ + 2 files changed, 7 insertions(+), 2 deletions(-) + +commit 6c45ff08704bd84fd7c45b294e843c642cc17a16 +Author: Daniel Baumann + + Setting debian-installer default flavour to netinst. + + helpers/lh_binary_debian-installer | 2 +- + helpers/lh_binary_disk | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +commit 04f8e669b49da796863e2f548620ee5f15494b2d +Author: Daniel Baumann + + Adding forgotten handling of default case. + + helpers/lh_clean | 11 +++++++++-- + 1 files changed, 9 insertions(+), 2 deletions(-) + +commit 9f59f16c7c1da6cd227fa47897dc76bf8004cb8e +Author: Daniel Baumann + + Only removing old packages if they exist. + + examples/cron/snapshots.sh | 11 +++++++---- + 1 files changed, 7 insertions(+), 4 deletions(-) + +commit 471b32c6821eea5d1a73c62c16eb31defe9c0895 +Author: Daniel Baumann + + Fixing typing error. + + debian/control | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +commit fbd4861b2347b024caa54af443b18ca1c6646a31 +Author: Daniel Baumann + + Preparing live-helper 1.0~a28-1. + + Makefile | 6 +++--- + debian/changelog | 6 ++++++ + functions/common.sh | 2 +- + manpages/lh_binary.de.1 | 2 +- + manpages/lh_binary.en.1 | 2 +- + manpages/lh_bootstrap.de.1 | 2 +- + manpages/lh_bootstrap.en.1 | 2 +- + manpages/lh_bootstrap_cdebootstrap.de.1 | 2 +- + manpages/lh_bootstrap_cdebootstrap.en.1 | 2 +- + manpages/lh_bootstrap_debootstrap.de.1 | 2 +- + manpages/lh_bootstrap_debootstrap.en.1 | 2 +- + manpages/lh_build.de.1 | 2 +- + manpages/lh_build.en.1 | 2 +- + manpages/lh_chroot.de.1 | 2 +- + manpages/lh_chroot.en.1 | 2 +- + manpages/lh_clean.de.1 | 2 +- + manpages/lh_clean.en.1 | 2 +- + manpages/lh_config.de.1 | 2 +- + manpages/lh_config.en.1 | 2 +- + manpages/lh_source.de.1 | 2 +- + manpages/lh_source.en.1 | 2 +- + manpages/lh_testroot.de.1 | 2 +- + manpages/lh_testroot.en.1 | 2 +- + manpages/live-helper.de.7 | 2 +- + manpages/live-helper.en.7 | 2 +- + 25 files changed, 32 insertions(+), 26 deletions(-) +2007-09-09 Daniel Baumann + + * functions/defaults.sh: + - Fixing typing error. + * data/debian-cd: + - Merging debian-cd 3.0.3 data files. + * functions/defaults.sh, helpers/lh_config: + - Adding debian-installer daily images option. + * helpers/lh_binary_debian-installer: + - Reworking debian-installer flavours and urls. + - Failing when no bootstrap package cache. + * helpers/lh_binary_disk: + - Reworking disk information. + * helpers/lh_bootstrap_cache: + - Creating bootstrap stagefile when restoring cache. + * helpers/lh_bootstrap_cache, lh_chroot_cache: + - Refactoring stage caching. + * helpers/lh_clean: + - Removing cache/stages_bootstrap restore. + * lists/devel-live: + - Moving from svn to git. + * Uploading 1.0~a27-1. + +2007-09-04 Daniel Baumann + + * helpers/lh_chroot_cache: + - Added forgotten creation of the stagefile as mentioned by + Peter Holik . + +2007-09-04 Daniel Baumann + + * helpers/lh_binary_syslinux, lh_config: + - Applied fixes from Peter Holik . + * helpers/lh_chroot_local-packages: + - Added check for actual packages as mentioned by Peter Holik + . + * helpers/lh_bootstrap_cache: + - Added forgotten creation of the stagefile as mentioned by + Peter Holik . + * Uploading 1.0~a26-1. + +2007-08-28 Daniel Baumann + + * functions/defaults.sh: + - Prefering debootstrap over cdebootstrap. + * helpers/lh_chroot_local-packages: + - Only copy packages matching the build-architecture. This way, you + can store local packages for different architectures in the very + same config directory. + * Uploading 1.0~a25-1. + +2007-08-28 Daniel Baumann + + * helpers/lh_clean: + - Accepting more than one parameter at the same time. + * Uploading 1.0~a24-1. + +2007-08-14 Daniel Baumann + + * helpers/*: + - Added --conffile to all helpers. + * manpages/lh_config.de.1, lh_config.en.1: + - Added. + * Uploading 1.0~a23-1. + +2007-08-13 Daniel Baumann + + * helpers/lh_binary_memtest: + - Improved grub workaround. + +2007-08-12 Daniel Baumann + + * helpers/lh_chroot_dpkg: + - Added. + +2007-08-12 Daniel Baumann + + * Uploaded 1.0~a22-1. + +2007-08-08 Daniel Baumann + + * functions/lh_chroot_hacks: + - Remove resume partition configuration in initramfs on etch. + +2007-08-07 Daniel Baumann + + * functions/defaults.sh: + - Added auto mode for LH_INITRAMFS. + +2007-08-05 Daniel Baumann + + * functions/defaults.sh: + - Added debian-edu mode. + * lists/knoppix, knoppix-dvd: + - Added. + +2007-08-05 Mathieu Geli + + * lists/studio, studio-gnome, studio-kde, studio-xfce: + - Added. + +2007-08-04 Daniel Baumann + + * functions/*, helpers/*: + - Renaming LIVE_* variables to LH_*. + * excamples/cron/*: + - Updated to make-live removal. + * helpers/lh_binary_chroot: + - Exit earlier when rootfs was cached. + * helpers/lh_binary_debian-installer, lh_binary_includes: + - Fixed some bashisms. + * helpers/lh_binary_grub, lh_binary_syslinux, lh_binary_yaboot: + - Workaround from matth over /bin/echo to avoid wrong expansion + of entries when using dash (Closes: #431748). + * helpers/lh_chroot_hostname: + - Installing fake hostname, less intrusive approach for the build + system (Closes: #435699). + * helpers/lh_config: + - Added argument handling. + * helpers/lh_losetup: + - Simplified and corrected to make it actually work. + * helpers/lh_source: + - Not using 'echo -e' anymore. + * helpers/make-live: + - Replaced with a dummy: make-live is deprecated now, use lh_config + and lh_build instead. + +2007-08-03 Daniel Baumann + + * helpers/lh_chroot_apt: + - Updated configuration of recommends handling for apt. + +2007-07-29 Daniel Baumann + + * functions/packages.sh: + - Using dpkg-query to check for packages when building in chroot, + and on systems where dpkg-query is available. + * functions/stagefile.sh: + - Added missing NAME. + * Uploaded 1.0~a21-1. + +2007-07-28 Daniel Baumann + + * functions/chroot.sh: + - Added XORG_CONFIG="custom" to chroot call in order to disable + xserver-xorg.postinst (Closes: #430566). + * helpers/lh_binary_usb-hdd: + - Fixes for binary non-chroot build. + +2007-07-27 Daniel Baumann + + * Makefile, debian/postinst, prerm: + - Added alternatives handling for includes and templates. + * examples/hooks/*: + - Cleaned up. + * helpers/lh_chroot_preseed: + - Process flavour specific preseeds, if available, dropping + LIVE_PRESEED. + * helpers/lh_chroot_local-preseed: + - Added. + * templates/syslinux: + - Added installer specific templates. + - Renamebled additional boot targets (localboot). + * Uploaded 1.0~a20-1. + +2007-07-24 Mathieu Geli + + * helpers/make-live: + - synced usage message and getopts parsing (Closes and extends + #434481). + +2007-07-19 Daniel Baumann + + * functions/defaults.sh, package.sh, helpers/lh_config, lh_binary_*: + - Added support for non-chrooted build. + - Added caching of deb packages on this stage too. + * helpers/lh_binary_grub: + - Added forgotten destdir for default entries. + * helpers/lh_binary_memtest: + - Added workaround for grub inside chroot when installing memtest as + suggested by Vladimir Stavrinov . + * helpers/lh_binary_rootfs: + - Updated squashfs-tools package check. + * helpers/lh_binary_syslinux: + - Using etch workaround for long filenames in syslinux on all + distributions. + * Uploaded 1.0~a19-1. + +2007-07-15 Daniel Baumann + + * examples/cron/manpages.sh, examples/hooks/win32-loader.sh: + - Added. + +2007-07-15 Otavio Salvador + + * functions/templates.sh: + - Changed whole code to export TEMPLATES for the item beeing + checked. + * helpers/lh_binary_grub, helpers/lh_binary_syslinux, + helpers/lh_binary_yaboot: + - Changed code to use the new TEMPLATES variable and avoid + hardcoding the path. + +2007-07-14 Daniel Baumann + + * helpers/lh_binary_debian-installer: + - Addded 'live' mode. + - Fixed a minor typo. + * helpers/lh_binary_includes: + - Moved copying of parameters.txt to lh_binary_linux-image. + - Moved parameters.txt.* to live-initramfs and data/casper. + +2007-07-12 Daniel Baumann + + * helpers/lh_binary_grub, lh_binary_syslinux: + - Also respect local menu.lst and syslinux.cfg. + * helpers/lh_binary_syslinux: + - Cleaned up netboot specific parts as suggested by + Vladimir Stavrinov . + * helpers/lh_binary_linux-image: + - Skip vmlinuz/initrd symlinks. + * helpers/lh_chroot_hacks: + - Setting correct permissions user home directory in case of includes. + * helpers/make-live: + - Fixed typo in variable name. + * lists/rescue: + - Added aide and tripwire. + * Uploaded 1.0~a18-1. + +2007-07-09 Chris Lamb + + * functions/chroot.sh, functions/defaults.sh: + - Altered LH_DEBCONF_NOWARNINGS so that it accepts "enabled/disabled" + as well as "yes/no" for consistency. + +2007-07-09 Daniel Baumann + + * functions/architecture.sh, helpers/lh_binary_debian-installer, + lh_binary_grub, lh_binary_linux-image, lh_binary_memtest, + lh_binary_syslinux, lh_binary_yaboot: + - Simplified multi-arch checks/overrides. + * helpers/lh_binary_grub, lh_binary_syslinux, lh_binary_yaboot: + - Added priority=critical for auto/autogui boot labels. + +2007-07-07 Daniel Baumann + + * helpers/lh_binary_chroot: + - Going back to full copy instead of hardlinks. + * helpers/lh_binary_debian-installer: + - Added architectures for daily images. + * helpers/lh_binary_grub: + - Refactored. + * helpers/lh_binary_grub, lh_binary_syslinux, lh_binary_yaboot: + - Added 'quiet' for everything newer than etch. + * helpers/lh_binary_hacks: + - Merged into lh_binary_includes. + * helpers/lh_chroot_hacks: + - Added removal of some build-system influenced files. + - Cleaned up a bit. + * helpers/lh_chroot_localization: + - Fixed typo. + - Added k3b and gwenview. + * helpers/lh_chroot_sysvrc: + - Renamed to lh_chroot_sysv-rc. + * hooks/mini, minimal: + - Using apt-get autoremove. + * lists/devel-live: + - Added. + +2007-07-06 Otavio Salvador + + * helpers/lh_binary_rootfs: + - Fix parameters to allow the removal of kernels inside of + squashfs. + +2007-07-05 Otavio Salvador + + * helpers/lh_binary_rootfs: + - Fix inverted logic error to detect when exclude the kernel + from the squashfs image. + +2007-07-04 Otavio Salvador + + * helpers/lh_binary_hacks: + - Do not fail if binary/parameters.txt.${LH_INITRAMFS} doesn't + exists. + * hooks/mini, hooks/minimal: + - Do not fail if the package isn't installed. + +2007-07-04 Daniel Baumann + + * functions/defaults.sh: + - Added architecture handling to mirror defaults. + * helpers/lh_binary_hacks, + includes/includes/sid/live/parameters.txt.casper, + parameters.txt.live-initramfs: + - Added. + +2007-07-02 Otavio Salvador + + * helpers/lh_binary_syslinux: + - Fix paths for kernel and initrd image loading. + +2007-07-02 Daniel Baumann + + * helpers/lh_binary_grub: + - Also respect splash.xpm and not just splash.xpm.gz as local grub + splash images. + +2007-07-01 Daniel Baumann + + * helpers/lh_binary_debian-installer: + - Added caching of udebs. + * functions/defaults.sh, helpers/lh_binary_grub, lh_binary_syslinux, + lh_binary_grub, lh_config: + - Added support for aufs. + * Uploaded 1.0~a17-1. + +2007-06-30 Daniel Baumann + + * functions/releases.sh, helpers/lh_binary_disk, lh_source_disk, + lh_chroot_hostname: + - Added. + +2007-06-29 Daniel Baumann + + * helpers/lh_binary_syslinux: + - Fixed damaged memtest entry. + - Corrected code style. + - Added NUMBER initaliazation to fixed wrong numbering when in compat + mode. + - Fixed bug with isolinux.cfg fuckup if flavours are in this order: + 686 686-bigmem. + * helpers/lh_binary_grub, lh_binary_linux-image, lh_binary_memtest, + lh_binary_syslinux: + - Added compat mode for casper/live directories. + * helpers/lh_binary_manifest, lh_binary_md5sum, lh_source_mdsum: + - Added introductional text to the generated file. + * helpers/lh_binary_manifest: + - Only create the correct manifest file for the respective initramfs. + * helpers/lh_binary_disk, lh_source_disk: + - Added. + +2007-06-27 Otavio Salvador + + * helpers/lh_binary_syslinux: + - Added new methods (syslinux_live_entry and syslinux_di_entry) and + change whole code to use them making it much easier to read and + modify. + * functions/arch.sh: + - Added. + * helpers/lh_binary_grub, lh_binary_syslinux, lh_binary_yaboot: + - Use the new Check_architecture method to avoid duplicated code. + * functions/templates.sh: + - Added. + * helpers/lh_binary_grub, helpers/lh_binary_syslinux, + helpers/lh_binary_yaboot: + - Use the new Check_templates method to avoid duplicated code. + +2007-06-25 Daniel Baumann + + * helpers/lh_binary_local-hooks: + - Added. + * helpers/lh_chroot_linux-image: + - Caching downloaded packages. + * examples/hooks/qemu-launcher.sh: + - Added. + * Uploaded 1.0~a16-1. + +2007-06-18 Chris Lamb + + * helpers/lh_chroot_packageslists, lh_chroot_local-packageslists: + - Added support for '#' pragma to include other list files. + * functions/packagelists.sh: + - Added. + * lists/*: + - Translated existing lists to be include-based, added a few missing + lists. + +2007-06-18 Daniel Baumann + + * helpers/*: + - All cache operations use hardlinks now. + +2007-06-16 Daniel Baumann + + * helpers/lh_bootstrap_clone, lh_bootstrap_copy: + - Added. + * helpers/lh_binary_live-installer: + - Added. + * Uploaded 1.0~a15-1. + +2007-06-10 Daniel Baumann + + * helpers/*: + - Excluding lenny from the syslinux workarounds as syslinux 3.36 did + migrate into testing. + * helpers/lh_bootstrap_cache, lh_chroot_cache: + - Fixed typos which made caching fail on rebuilds. + * helpers/lh_clean: + - Added unmount of binfmt on clean. + * helpers/lh_binary_usb-hdd: + - Including script to write grub to the loop device from Thomas Lange + . + +2007-06-10 Daniel Baumann + + * helpers/lh_binary_grub, lh_binary_rootfs, lh_binary_yaboot, + lh_binary_syslinux: + - Fixed some typos as found by Peter Holik . + * manpages/live-helper.en.7: + - Fixed typo. + * helpers/lh_bootstrap_cache, lh_chroot_cache: + - Added. + * Uploaded 1.0~a14-1. + +2007-06-08 Daniel Baumann + + * helpers/make-live: + - Adjusted reading of configuration to match the previously renamed + files. + +2007-06-04 Daniel Baumann + + * helpers/lh_binary_hdd, lh_source_hdd: + - Renamed to lh_binary_tar and lh_source_tar. + * helpers/lh_source_generic: + - Removed. + +2007-06-03 Daniel Baumann + + * Uploaded 1.0~a13-1. + +2007-06-02 Otavio Salvador + + * helpers/lh_chroot_preseed: + - Use {Check,Install,Remove}_package to handle debconf dependency. + * Add support to specify the apt/aptitude pipeline depth. + +2007-06-02 Daniel Baumann + + * Applied patches from Otavio Salvador : + - Add support to override helpers base directory + - Use LIVE_BOOTSTRAP_CONFIG instead of LIVE_DISTRIBUTION_CONFIG. + - Add support to specify the keyring to be used while bootstraping. + - Add lh_chroot_preseed helper. + +2007-05-28 Daniel Baumann + + * helpers/*: + - Added initial P: messages. + - Removed some bashisms. + - Added some of the proposed cleanups from Trent Buck + . + * lists/mini, minimal: + - Removed, already pulled in with live-initramfs depends. + +2007-05-27 Daniel Baumann + + * helpers/lh_binary_rootfs: + - Added check for config/binary_rootfs/squashfs.sort for passing a + sorting list to mksquashfs. + +2007-05-26 Daniel Baumann + + * lists/rescue: + - Updated with suggestions from Inigo Tejedor Arrondo + + * Uploaded 1.0~a12-1. + +2007-05-25 Daniel Baumann + + * functions/defaults.sh: + - Updated check for LH_BOOTSTRAP on ubuntu. + * helpers/lh_binary_iso, lh_source_iso: + - Added configuration support for ISO application, preparer and + publisher field. + +2007-05-24 Daniel Baumann + + * helpers/lh_binary_syslinux: + - Added dedicated directory handling for syslinux (>= 3.36) on usb. + * helpers/lh_binary_debian-installer, lh_binary_linux-image, + lh_binary_memtest, lh_binary_syslinux: + - Added legacy support for syslinux (<< 3.36). + * Uploaded 1.0~a11-1. + +2007-05-18 Daniel Baumann + + * helpers/*: + - Renamed LIVE_KERNEL_FLAVOUR to LIVE_LINUX_FLAVOURS. + - Renamed LIVE_KERNEL_PACKAGES to LIVE_LINUX_PACKAGES. + - Renamed LIVE_BINARY_IMAGE to LIVE_BINARY_IMAGES. + - Renamed LIVE_SOURCE_IMAGE to LIVE_SOURCE_IMAGES. + - Renamed LIVE_FILESYSTEM to LIVE_CHROOT_FILESYSTEM. + - Renamed LIVE_SERVER_ADDRESS to LIVE_NET_SERVER. + - Renamed LIVE_SERVER_PATH to LIVE_NET_PATH. + * Uploaded 1.0~a10-1. + +2007-05-18 Mathieu Geli + + * examples/hooks/* + - Added new hooks for non-free/contrib drivers + Intel : ipw3945, ipw2100, ipw2200 + Nvidia : nvidia-legacy + Ralink : rt2x00, rt2570 + - Changed behavior of beryl hook: autostart beryl + if video driver allows it (minimal detection based on glxinfo) + +2007-05-17 Daniel Baumann + + * helpers/lh_binary_md5sum, lh_source,md5sum: + - Fixed accidentally inclusion of md5sum.txt itself into + binary/md5sum.txt. + +2007-05-16 Daniel Baumann + + * helpers/*: + - Added check for local includes and templates. + - Renamed LH_APT_GENERIC to LIVE_BINARY_INDICES. + - Renamed lh_binary_localincludes to lh_binary_local-includes. + - Renamed lh_chroot_localhooks to lh_chroot_local-hooks. + - Renamed lh_chroot_localincludes to lh_chroot_local-includes. + - Renamed lh_chroot_localpackages to lh_chroot_local-packages. + - Renamed lh_chroot_localpackageslists to + lh_chroot_local-packageslists. + - Renamed lh_source_download to lh_source_debian. + - Renamed lh_source_config to lh_source_debian-live. + +2007-05-09 Daniel Baumann + + * helpers/*: + - Renamed LH_MIRROR*_BUILD to LH_MIRROR*_BOOTSTRAP. + - Renamed LH_MIRROR*_IMAGE to LH_MIRROR*_BINARY. + * helpers/lh_chroot_sources: + - Added aptitude overwrite for untrusted sources. + - Changed checks for *.build/*.image to *.bootstrap/*.binary. + +2007-05-08 Daniel Baumann + + * helpers/*: + - Renamed lh_binary_linuximage to lh_binary_linux-image. + - Renamed lh_chroot_linuximage to lh_chroot_linux-image. + * helpers/lh_bootstrap_cdebootstrap, lh_bootstrap_debootstrap: + - Added missing cache directory when only caching stages. + * helpers/lh_binary_debian-installer, lh_binary_linux-image, + lh_binary_memtest: + - Changed kernel installation directories. + +2007-05-07 Daniel Baumann + + * examples/snapshot-build.sh, live-snapshot.sources.list: + - Added. + * helpers/lh_binary_rootfs: + - Fixed wrong order of squashfs options. + +2007-05-06 Daniel Baumann + + * templates/syslinux: + - Updated again. + * helpers/lh_config: + - Fixed overwriting of LH_* options. + * helpers/lh_binary_includes: + - Fixed a quoting typo. + - Working arround symlinks on usb-hdd binary images. + * Uploaded 1.0~a9-1. + +2007-04-31 Daniel Baumann + + * helpers/*: + - Added LH_INITRAMFS. + - Splitted config/image into config/binary and config/source. + * Uploaded 1.0~a8-1. + +2007-04-26 Daniel Baumann + + * helpers/*: + - Implemented paranoid caching with LIVE_CACHE_INDICES, + LIVE_CACHE_PACKAGES and LIVE_CACHE_STAGES. This allows to build + images offline from the cache. + +2007-04-25 Daniel Baumann + + * helpers/lh_binary_usb, lh_source_usb: + - In preparation of adding support for usb-zip images, the usb binary + type is renamed to usb-hdd. + +2007-04-24 Daniel Baumann + + * functions/stagefile.sh: + - Requite_stagefile can require more than one stage. + * helpers/lh_binary_debian-installer: + - Added. + +2007-04-23 Daniel Baumann + + * helpers/lh_binary_includes, lh_binary_usb, lh_source_usb: + - Added workaround for vfat limitations. + +2007-04-23 Daniel Baumann + + * Makefile: + - Added simple test rule. + * functions/*, helpers/*: + - Added LH_ROOT_COMMAND to support sudo. + * functions/package.sh: + - Added. Helper dependencies in-chroot can now be handled by + functions. + * helpers/make-live: + - Added trap to unmount proc and sys on exit and failure. + * Uploaded 1.0~a7-1. + +2007-04-22 Daniel Baumann + + * functions/defaults.sh: + - In ubuntu mode, setting default sections to main restricted. + * helpers/lh_binary_grub: + - Making copy call of grub arch independent. + * helpers/lh_chroot_sources: + - In debian mode, checking for non-sid rather than if-etch. + - Fixed wrong Ubuntu security URL. + +2007-04-20 Daniel Baumann + + * helpers/lh_binary_rootfs, lh_binary_iso: + - Added mksquashfs/genisoimage quiet/verbose options. + +2007-04-19 Daniel Baumann + + * helpers/lh_binary_grub, lh_binary_syslinux: + - Added check for splash in config directory. + +2007-04-18 Daniel Baumann + + * debian/cron.daily, default: + - Added. + * doc/BUGS, DOWNLOAD: + - Added. + * examples/edu.sources.list, fai.sources.list: + - Added. + * manpages/*: + - Added language suffix. + - Added German translations. + +2007-04-17 Daniel Baumann + + * helpers/lh_chroot_hooks: + - Also check for tasks specific hooks, not just for package lists. + * helpers/lh_chroot_tasks: + - Allowing to use either aptitude or tasksel. + * hooks/kde-desktop: + - Added. + * manpages/lh_build.1, lh_source.1: + - Added. + +2007-04-16 Daniel Baumann + + * functions/defaults.sh: + - Using lsb_release, if existing, to set default mode to ubuntu on + ubuntu systems. + - Moved desktop task to the end, so that gdm doesn't take + gnome-session as default. + * helpers/lh_chroot_hooks: + - Added simple --hooks for easy testing. + * Uploaded 1.0~a6-1. + +2007-04-15 Daniel Baumann + + * functions/defaults.sh: + - Set LH_APT to apt-get when using mini or minimal. + * helpers/lh_chroot_sources: + - Excluding comments from local sources lists. + * helpers/lh_bootstrap_cdebootstrap: + - Removing imported configuration files by cdebootstrap. + +2007-04-13 Daniel Baumann + + * Moved examples from /usr/share/doc to /usr/share/live-helper. + * examples/bpo.sources.list: + - Added. + * functions/defaults.sh: + - Setting LH_GENISOIMAGE on ubuntu to legacy mkisofs. + * helpers/lh_clean: + - Added missing removal of generic source. + +2007-04-12 Daniel Baumann + + * helpers/lh_config, make-live: + - Adding --config. + * helpers/lh_binary_memtester86: + - Renamed to lh_binary_memtest, made more generic. + * functions/defaults.sh: + - Setting default distribution to etch until 2.6.20 has setteled in + unstable. + +2007-04-11 Daniel Baumann + + * Merging from sidux fllbuilder 1.0.4: + - functions/chroot: Added LH_DEBCONF_NOWARNINGS. + - helpers/lh_chroot_linuximage: Added additional options to + kernel-img.conf. + - helpers/lh_chroot_proc: Made binfmt umount conditional. + * contrib/grub-splash/*, templates/grub/splash.xpm.gz: + - Added. + * helpers/lh_binary_grub, lh_binary_syslinux: + - Added failsafe kernel entries. + * helpers/lh_chroot_apt: + - Using apt.conf.d also for apt, not just for aptitude. + - Minor code cleanup. + * helpers/lh_source_*: + - Minor code cleanup. + * helpers/lh_source_download: + - Added LIVE_BOOTLOADER to the list of source packages. + * contrib/grub-splash/*, templates/grub/splash.xpm.gz: + - Added. + +2007-04-10 Daniel Baumann + + * helpers/lh_binary_includes, includes/*: + - Redone. + +2007-04-09 Daniel Baumann + + * helpers/lh_binary_yaboot, templates/yaboot: + - Added. + +2007-04-09 Daniel Baumann + + * helpers/lh_config, make-live, functions/defaults.sh: + - Added mode to distinguish between Debian and Ubuntu. + * helpers/lh_chroot_sources: + - Added check for LIVE_MIRROR_BUILD* to be equal to + LIVE_MIRROR_IMAGE*. + * Uploaded 1.0~a5-1. + +2007-04-08 Daniel Baumann + + * helpers/lh_binary_net: + - Added check for namespace collision with LIVE_SERVER_PATH. + * helpers/lh_binary_grub: + - Added functionality for usb|hdd images. + +2007-04-07 Daniel Baumann + + * helpers/lh_chroot_sources: + - Moved check for local source lists from + config/sources.lists.{build,image} to + config/chroot_sources/*.{build,image}. + - Added check for local gpg keys in + config/chroot_sources/*.{build,image}.gpg. + - Added check for local keyring packages in + config/chroot_sources/*.deb. + - Added LIVE_KEYRING_PACKAGES. + +2007-04-06 Daniel Baumann + + * functions/breakpoints.sh, helpers/*: + - Added initial breakpoints. + * functions/chroot.sh: + - Adding /usr/local to path. + * functions/lockfile.sh: + - Added additional signals to the trap. + * helpers/lh_binary_includes: + - Respect LIVE_INCLUDES=none. + * manpages/*: + - Updated. + +2007-04-05 Daniel Baumann + + * helpers/lh_binary_grub, templates/grub/menu.lst: + - Added splash functionality. + * Uploaded 1.0~a4-1. + +2007-04-03 Daniel Baumann + + * helpers/lh_binary_grub, lh_binary_grub: + - Added check for LIVE_TEMPLATES to be existing. + * helpers/lh_binary_includes: + - Added check for LIVE_INCLUDES to be existing. + +2007-04-02 Daniel Baumann + + * functions/*, helpers/*: + - Merged LIVE_SYSLINUX and LIVE_GRUB into LIVE_BOOTLOADER. + * helpers/lh_binary_iso: + - Added exclude for the bootloader from the iso image content. + +2007-04-01 Daniel Baumann + + * helper/lh_binary_grub: + - Added. + +2007-03-30 Daniel Baumann + + * helper/lh_chroot_localincludes: + - Fixed wrong path for hook removal. + +2007-03-29 Daniel Baumann + + * functions/common.sh, echo.sh: + - Added. + * doc/README, helpers/lh_source, manpages/lh_binary.1, live-helper.7: + - Added forgotten helpers. + * doc/FAQ: + - Added. + * lists/mini, minimal: + - Added --yes to apt call to make them non-interactive. + * manpages/lh_chroot.1: + - Added. + +2007-03-28 Daniel Baumann + + * helpers/lh_bootstrap_cdebootstrap, lh_bootstrap_debootstrap: + - Added --debug, --quiet, and --verbose. + +2007-03-27 Daniel Baumann + + * helpers/lh_binary_linuximage, lh_binary_memtest86: + - Added missing Read_conffiles to fix foreign architecture builds. + +2007-03-26 Daniel Baumann + + * helpers/lh_bootstrap_cdebootstrap, lh_bootstrap_debootstrap, + lh_clean: + - Added routine to cache bootstrapped chroot as suggested by Kai + Hendry . + * helpers/lh_chroot_rootfs: + - Fixed typo in net type. + * lists/gnome*, kde*, standard-x11, xfce*: + - Added menu. + +2007-03-26 Daniel Baumann + + * functions/defaults.sh: + - Fixed handling of desktop list variable loop. + * Uploaded 1.0~a3-1. + +2007-03-25 Daniel Baumann + + * functions/*, helpers/*: + - Renamed LIVE_FLAVOUR to LIVE_BOOTSTRAP_FLAVOUR. + - Renamed LIVE_PACKAGES_LIST to LIVE_PACKAGES_LISTS. + * functions/cache.sh: + - Added. + * helpers/lh_bootstrap_cdebootstrap: + - Added removal of cdebootstrap-helper-diverts. + * helpers/lh_binary_chroot: + - Added. + * helpers/lh_binary_rootfs: + - Moved filesystem routines into chroot. + * helpers/lh_chroot_localization, lh_chroot_localpackages, + lh_chroot_localpackageslists, lh_chroot_packages, + lh_chroot_packageslists, lh_chroot_tasks: + - Added check for LH_CACHE. + * helpers/lh_chroot_apt: + - Removing old apt.conf if existing as suggested by Ben Armstrong + . + * helpers/lh_chroot_hacks: + - Added check for already installed smbfs. + - Added check for already configured initramfs.conf as suggested by + Ben Armstrong . + * helpers/lh_chroot_interactive: + - Added. + * helpers/lh_chroot_tasks: + - Added routine for LH_APT=apt. + * lists/minimal-net: + - Minimized. + +2007-03-24 Daniel Baumann + + * functions/*, helpers/*, hooks/*: + - Added GPL blurb. + * functions/arguments.sh, helpers/*: + - Added common arguments. + * functions/arguments.sh, stagefile.sh, helpers/*, + manpages/live-helper.7: + - Added --force option. + * functions/defaults.sh, helpers/lh_binary_syslinux, lh_config, + make-live: + - Added LIVE_USERNAME and LIVE_HOSTNAME. + * helpers/lh_binary_linuximage, lh_binary_memtest86, + lh_binary_syslinux: + - Moved kernel directory to live. + * helpers/lh_clean: + - Added purge. + +2007-03-23 Daniel Baumann + + * helpers/make-live: + - Calling Arguments twice to catch case with non-default root. + +2007-03-22 Daniel Baumann + + * functions/default.sh, helpers/*: + - Renamed lh_chroot_packageslist to lh_chroot_packageslists and + lh_chroot_localpackageslist to lh_chroot_localpackageslists + * helpers/lh_binary_includes: + - Using LIVE_INCLUDES now. + * helpers/lh_chroot_apt: + - Added LH_APT_SECURE. + * helpers/lh_chroot_linuximage: + - Added check for LIVE_KERNEL_PACKGES=none to allow kernel packages as + local packages. + +2007-03-21 Daniel Baumann + + * helpers/lh_binary_hdd, lh_binary_iso, lh_binary_net, lh_binary_usb: + - Checking earlier if there is something todo. + * helpers/lh_binary_linuximage, lh_binary_syslinux, + lh_chroot_linuximage, templates/syslinux/isolinux.cfg: + - Extended to support multiple kernels at once. + * helpers/lh_binary_includes, lh_binary_localincludes, + lh_chroot_localincludes: + - Replaced path with variable as suggested Kai Hendry . + * helpers/lh_source_md5sum: + - Added. + * helpers/make-live: + - Added short options in ARGUMENTS. + * functions/defaults.sh, helpers/*: + - Renamed LIVE_KERNEL to LIVE_KERNEL_FLAVOUR. + - Renamed LIVE_MIRROR_LOCAL to LIVE_MIRROR_BUILD and + LIVE_MIRROR_GENERIC to LIVE_MIRROR_IMAGE. + +2007-03-20 Daniel Baumann + + * helpers/make-live: + - Fixed typo in ARGUMENTS. + +2007-03-19 Daniel Baumann + + * lists/gnome*, kde*, standard-x11, xfce*: + - Added alsa-base, alsa-oss, alsa-utils, and discover. + +2007-03-19 Daniel Baumann + + * Uploaded 1.0~a2-1. + +2007-03-18 Daniel Baumann + + * functions/defaults.sh: + - Quoted date call in LIVE_ISO_VOLUME. + * manpages/lh_clean.1: + - Added. + +2007-03-17 Daniel Baumann + + * functions/defaults.sh, helpers/*: + - Renamed LIVE_MIRROR to LIVE_MIRROR_LOCAL and LIVE_MIRROR_SECURITY + to LIVE_MIRROR_LOCAL_SECURITY. + * doc/examples/beryl-hook.sh: + - Added, submitted by Inigo Tejedor Arrondo . + * helpers/lh_config, make-live: + - Added check for newconfig to prevent overwriting of non-specified + options to default values. + * helpers/lh_chroot_localhooks: + - Added basename where needed. + * helpers/lh_chroot_sources: + - Added check for local sources.list in config for custom + repositories. + - Replaced security check for etch with check for not-unstable. + * manpages/lh_binary.1, lh_bootstrap.1, lh_bootstrap_cdebootstrap.1, + lh_bootstrap_debootstrap.1, lh_testroot.1: + - Added. + * templates/syslinux/pxlinux.cfg: + - Fixed path. + +2007-03-16 Daniel Baumann + + * helpers/lh_binary_usb: Corrected stagefile creation. + +2007-03-15 Daniel Baumann + + * Makefile: + - Replaced helper uninstall routine with a less intrusive one. + * doc/NEWS: + - Updated. + * functions/conffile.sh: + - Beautified. + * functions/defaults.sh: + - Added LH_LOSETUP. + * functions/lockfile.sh: + - Beautified. + * helpers/*: + - Allowing apt-get, not just apt in LH_APT. + * helpers/lh_config: + - Added check for existing configuration. + * helpers/lh_binary_md5sum: + - Removed legacy code. + * helpers/lh_binary_manifest: + - Added creation of packages.txt. + * helpers/lh_binary_usb, lh_source_usb: + - Replaced loop device node workaround with a better one. + * helpers/lh_chroot_hooks, lh_chroot_localhooks: + - Fixed executable check. + * helpers/lh_source_config: + - Added. + * helpers/lh_source_download: + - Separeted debian sources and debian-live configuration into + different directories. + - Added live-helper to the sources. + * helpers/lh_source_generic, lh_source_iso, lh_source_usb, + lh_source_net: + - Removed annyoing warning when sources are disabled. + * helpers/lh_source_net: + - Beautified. + * helpers/make-live: + - Fixed typo in ARGUMENTS. + - Moved help, usage, version into functions. + - Removed build pre-option. + * manpages/live-helper.7: + - Added. + * templates/syslinux/f10.txt: + - Added note about Debian Live project. + +2007-03-14 Daniel Baumann + + * functions/defaults.sh, helpers/*: + - Converted LIVE_ROOT to directory, not full path. + * functions/*, helpers/*: + - Replaced LIVE_CHROOT with directory name. + * functions/conffile.sh: + - Added warning if CONFFILE is not readable. + * helpers/lh_chroot_localization: + - Completed check for koffice. + * helpers/lh_source_download: + - Fixed typo in old source removal. + +2007-03-14 Daniel Baumann + + * helpers/lh_chroot_hacks: + - Added removal of udev persistent-net rule. + * Uploaded 1.0~a1-3. + +2007-03-14 Daniel Baumann + + * functions/defaults.sh: + - Fixed setting of LIVE_SYSVINIT. + * helpers/lh_chroot_sysvinit: + - Changed check for LIVE_SYSVINIT from disabled to enabled. + * Uploaded 1.0~a1-2. + +2007-03-12 Daniel Baumann + + * Rewritten live-package. + * Uploaded 1.0~a1-1. diff --git a/docs/ChangeLog.live-package b/docs/ChangeLog.live-package new file mode 100644 index 0000000..03dba64 --- /dev/null +++ b/docs/ChangeLog.live-package @@ -0,0 +1,474 @@ +2007-03-10 Daniel Baumann + + * Added knoppix and knoppix-dvd package lists. + +2007-03-09 Daniel Baumann + + * Getting free loopdevice from inside the chroot, not outside. + +2007-03-09 Daniel Baumann + + * Added kbd to all !minimal lists. + * Uploaded 0.99.25. + +2007-03-08 Otavio Salvador + + * helpers/lh_configapt: Fix aptitude configuration to really avoid + recommended packages to get installed. + * src/scripts/02defaults.sh: Export LIVE_ISOLINUX_SPLASH. + +2007-03-04 Daniel Baumann + + * Replaced removal of kernel on minimal flavours with excludes on the + mksquashfs call. + * Added LIVE_INCLUDE_CHROOT to the manual exported variables as reported + by Mathieu Geli . + * Exported CODENAME_* manually as reported by Cédric Lucantis + . + * Fixed typo s/aptiude/aptitude/ as reported by Kai Hendry + . + * Uploaded 0.99.24. + +2007-02-22 Daniel Baumann + + * Added xresprobe to all x11 lists. + +2007-02-22 Daniel Baumann + + * Applied patches from Otavio Salvador : + - add and cleanup variable exporting in defaults. + - add LIVE_BOOTSTRAP_CONFIG to lh_debootstrap. + * Uploaded 0.99.23. + +2007-02-21 Daniel Baumann + + * Added gnome-junior, kde-junior and xfce-junior lists. + * Uploaded 0.99.22. + +2007-02-19 Daniel Baumann + + * Fixed manifest. + +2007-02-15 Daniel Baumann + + * Applied patch from Sebastian Raveau to + add support for filesystem images encrypted with loop-aes. + +2007-02-13 Daniel Baumann + + * Broken out scripts into modularized lh_* subscripts. + +2007-02-12 Daniel Baumann + + * Added some code as suggested by Alex Owen to + check if the depends (syslinux, memtest etc.) are intentionally + installed in the chroot, and hence, don't remove them. + * Moved some depends into the chroot. + * Uploaded 0.99.21. + +2007-02-11 Daniel Baumann + + * Added mini flavour. + +2007-02-10 Daniel Baumann + + * Added legacy code for genisoimage. + * Uploaded 0.99.20. + +2007-02-09 Daniel Baumann + + * Added usb type. + +2007-02-08 Daniel Baumann + + * Added desktop task to the *-desktop flavours. + +2007-02-07 Daniel Baumann + + * Extended cron job a bit. + * Fixed manual pruning in minimal flavour as suggested by Bas Wijnen + + +2007-02-02 Daniel Baumann + + * Added "--without-daemons". + +2007-02-01 Daniel Baumann + + * Added "--tasks". + * Added desktop-base to all desktop package lists. + +2007-01-31 Daniel Baumann + + * Changed vars in autobuilding script to be able to source + make-live.conf. + * Uploaded 0.99.19. + +2007-01-30 Daniel Baumann + + * Added cron job for autobuilding images. + +2007-01-25 Daniel Baumann + + * Added additional pruning to minimal flavour. + * Using interactive frontend while processing --hook. + * Uploaded 0.99.18. + +2007-01-24 Daniel Baumann + + * Applied patches from Otavio Salvador : + - adding "--keyring" flag. + - adding LIVE_DISK_VOLUME. + - adding start-stop-daemon wrapper to avoid daemons to be started. + - adding workaround to prevent binfmt locking /proc. + - adding LIVE_ISOLINUX_SPLASH. + * Uploaded 0.99.17. + +2007-01-19 Daniel Baumann + + * Replacing mkisofs with genisoimage. + +2007-01-18 Daniel Baumann + + * Cleanups. + * Uploaded 0.99.16. + +2007-01-16 Daniel Baumann + + * Switched default distribution back to unstable, as unstable is usable + again from the kernel point of view. + * Added file to the minimal package list. + * Uploaded 0.99.15. + +2007-01-04 Daniel Baumann + + * Added workaround for new xorg packages by including + xserver-xorg-input-all and xserver-xorg-video-all in all X11 package + lists. See #405639 for more information. + * Added xdebconfigurator to all X11 package lists. + * Adding workaround for initrd backup files. + +2006-11-06 Daniel Baumann + + * Uploaded 0.99.14. + +2006-11-05 Daniel Baumann + + * Applied patch from Markus Bauer : + - fixing script sourcing to exclude files in .svn + +2006-11-03 Daniel Baumann + + * Fixed typo in the policy-rc.d hack. + +2006-11-02 Daniel Baumann + + * Using aptitude instead of apt-get. + * Added '--with-recommends' and '--without-recommends'. + +2006-11-01 Daniel Baumann + + * Fixed regression when using -d ${CODENAME} wrt/ kernel packages. + +2006-10-30 Daniel Baumann + + * Uploaded 0.99.13. + +2006-10-29 Daniel Baumann + + * Added minimal-net flavour. + +2006-10-28 Daniel Baumann + + * Added console-common to standard selection. + +2006-10-27 Daniel Baumann + + * Added patch from Otavio Salvador : + - fixing preseeding error-handling. + +2006-10-26 Daniel Baumann + + * Added gnustep package selection based on the suggestion of + Guerkan Senguen . + +2006-10-25 Daniel Baumann + + * Applied patch from Marcelo D. Re : + - skip deb-src source-list entries when building images with + --without-source. + * Applied patches from Otavio Salvador : + - adding '--bootstrap-config' to support cdebootstraps + '--suite-config'. + - allowing override of ${BASE}. + - adjust sourcing of scripts, so that only the real scripts are + sourced and not other (backup) files. + - allowing override of kernel-packages. + * Reverted mangling of LIVE_DISTRIBUTION for sources.list generation. + +2006-10-23 Daniel Baumann + + * Uploaded 0.99.12. + +2006-10-18 Daniel Baumann + + * Autodetecting proxy now. + +2006-10-16 Daniel Baumann + + * Readded and slightly changed --clone and --preseed. + * Uploaded 0.99.11. + +2006-10-09 Daniel Baumann + + * Cleanups. + * Uploaded 0.99.10. + +2006-10-02 Daniel Baumann + + * Uploaded 0.99.9. + +2006-10-01 Daniel Baumann + + * Added multiple repositories. + * Using LIVE_PROXY_* also for bootstraping. + +2006-09-27 Daniel Baumann + + * Changing manpage section. + +2006-09-26 Daniel Baumann + + * Added default flavour hooks. + * minimal flavour does not install debian-archive-keyring to save space. + * Adjusted network patch. + +2006-09-25 Daniel Baumann + + * Removed now unused initramfs-tools hack. + * Simplified xorg check based on distribution rather than version. + * Added fix from Bas Wijnen for space handling in + arguments. + * Fixed package list handling similar to the fix suggested by Alex Owen + . + * Uploaded 0.99.8. + +2006-09-24 Marco Amadori + + * 13hack.sh: initramfs-tools hack, check added for xorg. + +2006-09-18 Daniel Baumann + + * Uploaded 0.99.7. + +2006-09-15 Daniel Baumann + + * Added eject to minimal package selection. + +2006-09-14 Daniel Baumann + + * Adjustements for linux 2.6.17 testing propagation. + +2006-09-11 Daniel Baumann + + * Uploaded 0.99.6. + +2006-09-08 Marco Amadori + + * 23net.sh: Fixed binary missing directory creation. + * templates/iso: Moved common files to templates/common. + +2006-09-07 Daniel Baumann + + * Minor cleanups. + * Fixed dist target. + +2006-09-06 Marco Amadori + + * 14chroot.sh, main.sh: Added manifest support. + * 23net.sh: Added 2 variables for basenames to ease readability. + * main.sh, 02default.sh: Modified Usage() uses. + +2006-09-04 Daniel Baumann + + * Uploaded 0.99.5. + +2006-09-03 Daniel Baumann + + * Added dist parameter to easily pull images for live.debian.net. + * Added "--output" to specify the image name prefix. + * Exclude iso templates for minimal flavour. + +2006-09-02 Daniel Baumann + + * Added experimental as distribution. + * Added source image generation. + * Using dpkg instead of dpkg-architecture, removed dpkg-dev dependency. + +2006-08-31 Daniel Baumann + + * Added "--disable-generic-indices" and "--enable-generic-indices". + * Fixed i18n lists. + * Rewritten all lists, comments are now possible. + * Lists must be now explicitly given with --package-list, no longer as + last argument of the make-live call. + * Setting default sources.list while the image generation, restoring + customized ones afterwards. + +2006-08-30 Daniel Baumann + + * Cleanups: + - moved 14patch_packages.sh to 13hack.sh. + - simplified 13hack.sh. + +2006-08-29 Marco Amadori + + * pxelinux.cfg: Updated to right defaults, first cifs then nfs or + select your favorite way. Rationale: /dev/nfs is for kernel + discovering, not for initramfs discover, casper will be just fine + with "netboot". + * 13chroot.sh, 14patch_packages.sh: Added a simple system for patching + packages, mainly for xserver-xorg so far. + +2006-08-28 Daniel Baumann + + * Updated documentation. + * Added patch from Alex Owen to update + pxelinux.cfg for NFS root in casper. + * Uploaded 0.99.4. + +2006-08-27 Daniel Baumann + + * Cleanups. + +2006-08-27 Marco Amadori + + * Added sysv init blocking policy. + +2006-08-22 Daniel Baumann + + * Reorganised sources. + * Added staging support. + * Cleaned up parameter names. + * testing is now supported. + +2006-08-21 Daniel Baumann + + * Uploaded 0.99.3. + +2006-08-02 Marco Amadori + + * Rewrote netboot support. + * Added support for pure directory rootfs images. + +2006-07-31 Daniel Baumann + + * Uploaded 0.99.2. + +2006-07-28 Daniel Baumann + + * Added DEBIAN_FRONTEND to chroots(), now completely non-interactive. + * Fixed wrong chroot patch. + +2006-07-27 Marco Amadori + + * Changed amd64 kernel naming scheme. + +2006-07-24 Daniel Baumann + + * Uploaded 0.99.1. + +2006-07-19 Daniel Baumann + + * Bugfixes. + +2006-07-18 Daniel Baumann + + * Added iso templates. + +2006-07-17 Daniel Baumann + + * Added chroot to 01-patch.sh. + * Added "--logfile". + * Uploaded 0.99. + +2006-07-01 Daniel Baumann + + * Added "--flavour". + +2006-06-28 Daniel Baumann + + * Added "--debug" and "--verbose". + +2006-06-23 Daniel Baumann + + * Rewritten manpages. + +2006-06-19 Marco Amadori + + * Added "--templates" options. + * Fixed some typos. + +2006-06-15 Daniel Baumann + + * General fixes. + +2006-06-18 Marco Amadori + + * Added "-a|--architecture" and "-p|--package-list" options. + * Reworked how lists works. + +2006-06-15 Daniel Baumann + + * General cleanup. + +2006-06-14 Marco Amadori + + * Re-added "-f|--filesystem". + +2006-06-12 Marco Amadori + + * Added "--conffile", "--preseed", "--clone", and "--rootfs" options. + +2006-06-12 Daniel Baumann + + * Added new splash.rle. + * Added memtest86+. + * Added "--distribution", and "--section" options. + * Moved /etc/default/make-live to /etc/make-live.conf. + +2006-06-11 Marco Amadori + + * Added handling of md5sums. + +2006-06-09 Marco Amadori + + * Added splashy support. + * Added ext2 rootfs support. + * Added external hook and path support. + * Swiched to getopt. + +2006-06-02 Daniel Baumann + + * Added patch from Jason D. Clinton : + - Added netboot flavour. + - Thanks to SafeDesk Solutions . + +2006-06-01 Daniel Baumann + + * Moved syslinux inside the chroot. + +2006-05-31 Daniel Baumann + + * Added kde-*i18n and standard-i18n lists. + +2006-05-28 Daniel Baumann + + * Added patch from Frederic Lehobey : + - Added locales to LIVE_PACKAGES. + - Added LIVE_MIRROR_KEY, LIVE_REPOSITORY, LIVE_REPOSITORY_KEY, and + LIVE_BOOTAPPEND. + +2006-05-27 Daniel Baumann + + * Initial release. diff --git a/docs/ChangeLog.live-webhelper b/docs/ChangeLog.live-webhelper new file mode 100644 index 0000000..b6e3df7 --- /dev/null +++ b/docs/ChangeLog.live-webhelper @@ -0,0 +1,182 @@ +commit 1f4cf146edbd72a2d61ac2e60324d392569c9f24 +Author: Daniel Baumann +Date: Wed Oct 14 13:35:25 2009 +0200 + + Updating vcs fields. + +commit d1ab019de29691407e3bde1af2ff5efe9a284380 +Author: Richard Nelson +Date: Wed May 27 09:42:55 2009 -0500 + + Update quoting on variables for safety. + +commit 601b25634d291706fc477342b712554a54c42016 +Author: Richard Nelson +Date: Sat Mar 14 22:19:41 2009 -0500 + + update copyright years + +commit fed4e5adfd49b339bec16b0338b73f9f90ca40ce +Author: Richard Nelson +Date: Sat Mar 14 21:47:27 2009 -0500 + + Set lenny as defualt build + +commit 083a14f46cc1298b33908991dea145cf4ec7415d +Author: Richard Nelson +Date: Sun Nov 30 16:41:15 2008 -0600 + + Bug fix on usb-hdd builds. + +commit 7742576d3a9b84807c6456007ad3bc0147ca3024 +Author: Richard Nelson +Date: Thu Nov 27 22:44:51 2008 -0600 + + Remove -x flag left on cron during debug operations. + +commit 6817dca69fd0c53578c1e14c9c5333d5be94419d +Author: Richard Nelson +Date: Thu Nov 27 22:42:58 2008 -0600 + + Update to start using more live-helper functions. + +commit 649fc3a0fac8eae1b8a239a9ba250e89f4b89dfd +Author: Richard Nelson +Date: Wed Nov 26 22:13:57 2008 -0600 + + Update Copyright (C) to 2007-2008 + +commit 5449c921111b2f300006cc41d7b6582270959a82 +Author: Daniel Baumann +Date: Fri Nov 7 18:08:01 2008 +0100 + + Replacing obsolete dh_clean -k with dh_prep. + +commit cd7a4a353ae652a45057da5726467e23401be52d +Author: Richard Nelson +Date: Tue Nov 4 18:40:06 2008 -0600 + + Bug fix on custom bootstrap and custom binary. + +commit fc227fc32f06ba8e5af8c9ebdcd147f98790b6ea +Author: Richard Nelson +Date: Thu Oct 2 17:24:37 2008 -0500 + + Bug fix in netboot server and path. + +commit 446a99439bfee38c89615e1e24bb4729b2223e9e +Author: Richard Nelson +Date: Mon Sep 8 21:39:37 2008 -0500 + + Include common functions from live-helper for code reuse. + +commit 359e51591318966e97128b00bff38c62d07c6827 +Author: Richard Nelson +Date: Mon Sep 8 21:35:52 2008 -0500 + + Added test for unmounting devpts-live. + +commit 3fdcc59654986d57f014b6c6721b2a3abde2f722 +Author: Richard Nelson +Date: Mon Sep 8 21:29:41 2008 -0500 + + Local variable prefix with _ on VAR i.e. _VAR + +commit 4bbf10e31754f290d3aa0e158a45d09316487544 +Author: Richard Nelson +Date: Mon Sep 8 16:12:22 2008 -0500 + + Local variable LH_ removal/cleanup. + +commit 472a6a0825656fbc16f4df6cb19bb16e1df8605f +Author: Richard Nelson +Date: Mon Sep 8 16:02:36 2008 -0500 + + Minor local variable confusion for LH_ prefix cleanup. + +commit df23442fca1c727dd43ca1ea464b277e3617cb0f +Author: Richard Nelson +Date: Mon Sep 8 15:59:08 2008 -0500 + + Upgrade variables to have the LH_ prefix for LH_* variable, to work with the current live-helper version. + +commit f00e0cb212e0c84268e099ca35ca386982e4d82b +Author: Daniel Baumann +Date: Sun Sep 7 21:57:51 2008 +0200 + + Removing currently unused Upstream-Depends field in control. + +commit 4c85494fa2907a54dd99eaf17816a4d403ddb5bc +Author: Daniel Baumann +Date: Sun Sep 7 21:57:41 2008 +0200 + + Updating vcs fields in control file. + +commit eaf87ebd9f828740430cc60d3e9f201d88c67c25 +Author: Daniel Baumann +Date: Thu Aug 28 23:40:35 2008 +0200 + + Setting project email address to the new debian-live@lists.debian.org. + +commit 6fbca8e14be271dc62988d5555bba9f453ddbaa7 +Author: Daniel Baumann +Date: Wed Apr 23 18:50:17 2008 +0200 + + Updating Richards email address. + +commit 25e1e7bc4f6a095aaf248a80aeaa3795f4a3e3a9 +Author: Daniel Baumann +Date: Tue Oct 30 11:04:42 2007 +0100 + + Correcting vcs fields. + +commit c49d9ff77bd5be73d5367fd567a9e39fccf78410 +Author: Daniel Baumann +Date: Wed Oct 3 09:11:29 2007 +0200 + + Fixing wrong homepage field. + +commit 8e01ba16a737d04a0367ecf1d4f3d7f80437fe97 +Author: Daniel Baumann +Date: Sun Sep 23 16:04:04 2007 +0200 + + Using new Homepage field now. + +commit 49ca83a4d57051b2b4b4b950178063c6df25e222 +Author: Daniel Baumann +Date: Sun Sep 23 16:04:04 2007 +0200 + + Adding Upstream-Depends field. + +commit 39a9d3e82c71451734f0d4ddb630b67c9d55541a +Author: Daniel Baumann +Date: Sun Sep 23 16:04:04 2007 +0200 + + Moving from svn to git. + +commit 7e823babbe815bdf520becbfd6f4ccec814aa7e2 +Author: Daniel Baumann +Date: Sun Sep 23 16:04:03 2007 +0200 + + Removing not uploaded versions. + +commit 46e8777246485a15fc6d5a202a361662f4e724b5 +Author: Daniel Baumann +Date: Sun Sep 23 16:03:52 2007 +0200 + + Adding live-webhelper trunk 20070911. + +2007-07-19 Daniel Baumann + + * Introducing build modes. + +2007-07-14 Daniel Baumann + + * scripts/cgi: + - Quick fix in EMAIL. + +2007-06-04 Daniel Baumann + + * templates/form.html: + - Set default source image to 'generic'. + * Starting live-webhelper. diff --git a/examples/auto/build b/examples/auto/build new file mode 100755 index 0000000..6d559e8 --- /dev/null +++ b/examples/auto/build @@ -0,0 +1,3 @@ +#!/bin/sh + +lb build noauto "${@}" 2>&1 | tee build.log diff --git a/examples/auto/clean b/examples/auto/clean new file mode 100755 index 0000000..3e24032 --- /dev/null +++ b/examples/auto/clean @@ -0,0 +1,6 @@ +#!/bin/sh + +lb clean noauto "${@}" + +rm -f config/binary config/bootstrap config/chroot config/common config/source +rm -f build.log diff --git a/examples/auto/config b/examples/auto/config new file mode 100755 index 0000000..f64db29 --- /dev/null +++ b/examples/auto/config @@ -0,0 +1,4 @@ +#!/bin/sh + +lb config noauto \ + "${@}" diff --git a/examples/hooks/minimal.chroot b/examples/hooks/minimal.chroot new file mode 100755 index 0000000..70af0dd --- /dev/null +++ b/examples/hooks/minimal.chroot @@ -0,0 +1,33 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +set -e + +# Removing unused packages +for PACKAGE in apt-utils aptitude man-db manpages info wget +do + if ! apt-get remove --purge --yes "${PACKAGE}" + then + echo "WARNING: ${PACKAGE} isn't installed" + fi +done + +apt-get autoremove --yes || true + +# Removing unused files +find . -name *~ -print0 | xargs -0 rm -f + +rm -rf /var/cache/man/* + +# Truncating logs +for FILE in $(find /var/log/ -type f) +do + : > ${FILE} +done diff --git a/examples/hooks/stripped.chroot b/examples/hooks/stripped.chroot new file mode 100755 index 0000000..fe3f6ca --- /dev/null +++ b/examples/hooks/stripped.chroot @@ -0,0 +1,52 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +set -e + +# WARNING: Using this hook will result in a stripped system, means, +# it may very well be possible that other packages are depending +# on certain files that get removed here. +# Therefore, this hooks is merely an inspiration for what could be +# removed and not a generic nor recommendet solution to get the +# image filesize down. In any event, using this hook can lead to +# unforseen bugs and breakages in other packages and you should +# be prepared to find and fix it for your own images. + +# Removing unused packages +for PACKAGE in apt-utils aptitude man-db manpages info wget dselect +do + if ! apt-get remove --purge --yes "${PACKAGE}" + then + echo "WARNING: ${PACKAGE} isn't installed" + fi +done + +apt-get autoremove --yes || true + +# Removing unused files +find . -name *~ | xargs rm -f + +rm -rf /usr/include/* +#rm -rf /usr/share/groff/* +rm -rf /usr/share/doc/* +rm -rf /usr/share/locale/* +rm -rf /usr/share/man/* +rm -rf /usr/share/i18n/* +rm -rf /usr/share/info/* +rm -rf /usr/share/lintian/* +rm -rf /usr/share/linda/* +rm -rf /usr/share/zoneinfo/* +rm -rf /var/cache/man/* + +# Truncating logs +for FILE in $(find /var/log/ -type f) +do + : > ${FILE} +done diff --git a/frontends/cgi/Makefile b/frontends/cgi/Makefile new file mode 100644 index 0000000..8ac08dd --- /dev/null +++ b/frontends/cgi/Makefile @@ -0,0 +1,21 @@ +# Makefile + +install: + install -D -m 0755 live-build-cgi $(DESTDIR)/usr/lib/cgi-bin/live-build + install -D -m 0755 live-build-cgi.cron $(DESTDIR)/etc/cron.hourly/live-build-cgi + install -D -m 0644 live-build-cgi.crontab $(DESTDIR)/etc/cron.d/live-build-cgi + install -D -m 0644 live-build-cgi.default $(DESTDIR)/etc/default/live-build-cgi + install -D -m 0644 live-build-cgi.logrotate $(DESTDIR)/etc/logrotate.d/live-build-cgi + + install -d -m 0755 $(DESTDIR)/var/log + touch $(DESTDIR)/var/log/live + chown www-data:www-data $(DESTDIR)/var/log/live + +uninstall: + rm -f $(DESTDIR)/usr/lib/cgi-bin/live-build + rm -f $(DESTDIR)/etc/cron.d/live-build-cgi + rm -f $(DESTDIR)/etc/cron.hourly/live-build-cgi + rm -f $(DESTDIR)/etc/default/live-build-cgi + rm -f $(DESTDIR)/etc/logrotate.d/live-build-cgi + +reinstall: uninstall install diff --git a/frontends/cgi/live-build-cgi b/frontends/cgi/live-build-cgi new file mode 100755 index 0000000..f2750fb --- /dev/null +++ b/frontends/cgi/live-build-cgi @@ -0,0 +1,208 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +# Including common functions +. /usr/lib/live/build.sh + +# Reading defaults +if [ -r /etc/default/live-build-cgi ] +then + . /etc/default/live-build-cgi +else + echo "E: /etc/default/live-build-cgi missing" + exit 1 +fi + +_HOSTNAME="$(hostname -f)" + +# Turn on debug if true +if [ "${_DEBUG}" = "true" ] +then + set -x +fi + +# Sending http header +echo "Content-type: text/html" +echo + +# Sending html header +cat "${_TEMPLATES}"/header.html + +# CGI +if [ -z "${QUERY_STRING}" ] +then + # Sending html form + sed -e "s/VERSION/${VERSION}/" \ + -e "s/DATE/`date +%Y%m%d-%H:%M`/" \ + "${_TEMPLATES}"/form.html +else + # Converting spaces: sed 's/+/ /g' + # Converting '@': sed 's/%40/@/g' + # Converting ':': sed 's/%3A/:/g' + # Converting ';': sed 's/%3B/\;/g' + # Converting '/': sed 's/%2F/\//g' + # Converting '~': sed 's/%7E/\~/g' + # Converting '=': sed 's/%3D/=/g' + # Converting '+': sed 's/%2B/+/g' + + # Translate parameters + 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') + # Debug the filtering string + # echo ${QUERY_STRING} + + # Email + _EMAIL=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])email=[-0-9a-zA-Z._@]+' | cut -f 2 -d '=' | head -n1) + + # CGI Packages List + _LB_CGIPACKAGES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])cgipackages=[-0-9a-zA-Z. _+]+' | cut -f 2 -d '=' | head -n1) + + # CGI Config for git + _LB_CONFIG=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])config=[-a-z]+' | cut -f 2 -d '=' | head -n1) + + # Standard options + LB_BINARY_IMAGES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])binary_images=[-a-z]+' | cut -f 2 -d '=' | head -n1) + LB_DISTRIBUTION=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])distribution=[a-z]+' | cut -f 2 -d '=' | head -n1) + + # Advanced bootstrap options + LB_ARCHITECTURES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])architectures=[0-9a-z]+' | cut -f 2 -d '=' | head -n1) + LB_ARCHIVE_AREAS=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])archive_areas=[a-z]+' | cut -f 2 -d '=' | head -n1) + + # Advanced chroot options + LB_CHROOT_FILESYSTEM=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])chroot_filesystem=[0-9a-z]+' | cut -f 2 -d '=' | head -n1) + LB_LINUX_FLAVOURS=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])linux_flavours=[-0-9a-z]+' | cut -f 2 -d '=' | head -n1) + LB_SECURITY=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])security=[a-z]+' | cut -f 2 -d '=' | head -n1) + + # Advanced binary options + LB_APT_INDICES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])apt_indices=[a-z]+' | cut -f 2 -d '=' | head -n1) + LB_BOOTAPPEND_INSTALL=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])bootappend_install=[-0-9a-zA-Z. _+=:/]+' | cut -f2- -d '=' | head -n1) + LB_BOOTAPPEND_LIVE=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])bootappend_live=[-0-9a-zA-Z. _+=:/]+' | cut -f2- -d '=' | head -n1) + LB_BOOTLOADER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])bootloader=[a-z]+' | cut -f 2 -d '=' | head -n1) + LB_DEBIAN_INSTALLER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])debian_installer=[a-z]+' | cut -f 2 -d '=' | head -n1) + LB_ISO_APPLICATION=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])iso_application=[-0-9a-zA-Z. ~;:/_]+' | cut -f 2 -d '=' | head -n1) + LB_ISO_PREPARER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])iso_preparer=[-0-9a-zA-Z. ~;:/_]+' | cut -f 2 -d '=' | head -n1) + LB_ISO_PUBLISHER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])iso_publisher=[-0-9a-zA-Z. ~;:/_@]+' | cut -f 2 -d '=' | head -n1) + LB_ISO_VOLUME=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])iso_volume=[-0-9a-zA-Z. ~;:/_]+' | cut -f 2 -d '=' | head -n1) + LB_MEMTEST=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])memtest=[0-9a-z+]+' | cut -f 2 -d '=' | head -n1) + LB_NET_ROOT_PATH=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])net_path=[-0-9a-zA-Z._/]+' | cut -f 2 -d '=' | head -n1) + LB_NET_ROOT_SERVER=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])net_server=[0-9.]+' | cut -f 2 -d '=' | head -n1) + + # Advanced source options + LB_SOURCE=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])source=[a-z]+' | cut -f 2 -d '=' | head -n1) + LB_SOURCE_IMAGES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])source_images=[a-z]+' | cut -f 2 -d '=' | head -n1) + + # FIXME: filter invalid options + unset QUERY_STRING + + if [ -z "${_EMAIL}" ] + then + echo "

Error: No email address specified.

" + + sed -e "s/VERSION/${VERSION}/" \ + -e "s/DATE/`date +%Y%m%d-%H:%M`/" \ + "${_TEMPLATES}"/form.html + + exit + fi + + # Getting build identifier + _BUILD=$(date +%Y%m%d.%H%M%S.%N) + + # Getting number of builds pending. + _QUEUENUM=$(ls "${_TEMPDIR}"/*.build | wc -l) + + #echo "${QUERY_STRING}" + # Sending html confirmation + # Note: On each string remember to use a delimeter that is not in the string. + sed -e "s/BUILD/${_BUILD}/g" \ + -e "s/EMAIL/${_EMAIL}/" \ + -e "s/QUEUENUM/${_QUEUENUM}/" \ + -e "s/LB_BINARY_IMAGES/${LB_BINARY_IMAGES}/" \ + -e "s/LB_DISTRIBUTION/${LB_DISTRIBUTION}/" \ + -e "s#_LB_CONFIG#${_LB_CONFIG}#" \ + -e "s/_LB_CGIPACKAGES/${_LB_CGIPACKAGES}/" \ + -e "s/LB_ARCHITECTURES/${LB_ARCHITECTURES}/" \ + -e "s/LB_ARCHIVE_AREAS/${LB_ARCHIVE_AREAS}/" \ + -e "s/LB_CHROOT_FILESYSTEM/${LB_CHROOT_FILESYSTEM}/" \ + -e "s/LB_LINUX_FLAVOURS/${LB_LINUX_FLAVOURS}/" \ + -e "s/LB_SECURITY/${LB_SECURITY}/" \ + -e "s/LB_APT_INDICES/${LB_APT_INDICES}/" \ + -e "s#LB_BOOTAPPEND_INSTALL#${LB_BOOTAPPEND_INSTALL}#" \ + -e "s#LB_BOOTAPPEND_LIVE#${LB_BOOTAPPEND_LIVE}#" \ + -e "s/LB_BOOTLOADER/${LB_BOOTLOADER}/" \ + -e "s/LB_DEBIAN_INSTALLER/${LB_DEBIAN_INSTALLER}/" \ + -e "s#LB_ISO_APPLICATION#${LB_ISO_APPLICATION}#" \ + -e "s#LB_ISO_PREPARER#${LB_ISO_PREPARER}#" \ + -e "s#LB_ISO_PUBLISHER#${LB_ISO_PUBLISHER}#" \ + -e "s#LB_ISO_VOLUME#${LB_ISO_VOLUME}#" \ + -e "s/LB_MEMTEST/${LB_MEMTEST}/" \ + -e "s#LB_NET_ROOT_PATH#${LB_NET_ROOT_PATH}#" \ + -e "s/LB_NET_ROOT_SERVER/${LB_NET_ROOT_SERVER}/" \ + -e "s#SERVER#${_SERVER}#g" \ + -e "s/LB_SOURCE_IMAGES/${LB_SOURCE_IMAGES}/" \ + -e "s/LB_SOURCE/${LB_SOURCE}/" \ + "${_TEMPLATES}"/build.html + + # Creating temporary directory + mkdir -p "${_TEMPDIR}" + +# Writing build file +cat > "${_TEMPDIR}"/"${_BUILD}".build << EOF +# live-build-cgi "${VERSION}" build file +# `date -R` + +_BUILD="${_BUILD}" +_EMAIL="${_EMAIL}" + +REMOTE_ADDR="${REMOTE_ADDR}" + +# CGI Packages List +_LB_CGIPACKAGES="${_LB_CGIPACKAGES}" + +# CGI Config for git +_LB_CONFIG="${_LB_CONFIG}" + +# Standard options +LB_BINARY_IMAGES="${LB_BINARY_IMAGES}" +LB_DISTRIBUTION="${LB_DISTRIBUTION}" + +# Advanced bootstrap options +LB_ARCHITECTURES="${LB_ARCHITECTURES}" +LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS}" + +# Advanced chroot options +LB_CHROOT_FILESYSTEM="${LB_CHROOT_FILESYSTEM}" +LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS}" +LB_SECURITY="${LB_SECURITY}" + +# Advanced binary options +LB_APT_INDICES="${LB_APT_INDICES}" +LB_BOOTAPPEND_INSTALL="${LB_BOOTAPPEND_INSTALL}" +LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE}" +LB_BOOTLOADER="${LB_BOOTLOADER}" +LB_DEBIAN_INSTALLER="${LB_DEBIAN_INSTALLER}" +LB_ISO_APPLICATION="${LB_ISO_APPLICATION}" +LB_ISO_PREPARER="${LB_ISO_PREPARER}" +LB_ISO_PUBLISHER="${LB_ISO_PUBLISHER}" +LB_ISO_VOLUME="${LB_ISO_VOLUME}" +LB_MEMTEST="${LB_MEMTEST}" +LB_NET_ROOT_PATH="${LB_NET_ROOT_PATH}" +LB_NET_ROOT_SERVER="${LB_NET_ROOT_SERVER}" + +# Advanced source options +LB_SOURCE_IMAGES="${LB_SOURCE_IMAGES}" +LB_SOURCE="${LB_SOURCE}" + +EOF + + echo "$(date +%b\ %d\ %H:%M:%S) ${_HOSTNAME} live-build-cgi: add web build (${_BUILD}) from ${REMOTE_ADDR}." >> /var/log/live + 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 +fi + +sed -e "s/VERSION/${VERSION}/" "${_TEMPLATES}"/footer.html diff --git a/frontends/cgi/live-build-cgi.cron b/frontends/cgi/live-build-cgi.cron new file mode 100755 index 0000000..1d21f8f --- /dev/null +++ b/frontends/cgi/live-build-cgi.cron @@ -0,0 +1,195 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + +# Including common functions +. /usr/lib/live/build.sh + +# Reading defaults +if [ -r /etc/default/live-build-cgi ] +then + . /etc/default/live-build-cgi +else + echo "E: /etc/default/live-build-cgi missing" + exit 1 +fi + +# Exit if disabled +if [ "${_WEBBUILD}" != "true" ] +then + exit 0 +fi + +_HOSTNAME="$(hostname -f)" + +# Turn on debug if true +if [ "${_DEBUG}" = "true" ] +then + set -x +fi + +# Checking lock file +if [ -f /var/lock/live-build-cgi.lock ] +then + echo "E: live-build-cgi already/still running." + exit 1 +fi + +# Creating lock trap +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 + +# Creating lock file +touch /var/lock/live-build-cgi.lock + +# Cleanup old builds: cron should be run at least once per hour to take effect +if ls "${_DESTDIR}"/`date -d yesterday +%Y%m%d.%H`* > /dev/null 2>&1 +then + rm -rf "${_DESTDIR}"/`date -d yesterday +%Y%m%d.%H`* + + echo "`date +%b\ %d\ %H:%M:%S` ${_HOSTNAME} live-build-cgi: remove web build (`date -d yesterday +%Y%m%d.%H`*)." >> /var/log/live +fi + +# Ok from here spin through the live-build-cgi files we have waiting to build +#if ls "${_TEMPDIR}"/*.build > /dev/null 2>&1 +if Find_files ${_TEMPDIR}/*.build +then + for _FILE in "${_TEMPDIR}"/*.build + do + # Pull in variables from the build file. + . "${_FILE}" + + # Clone the git config to target build directory + git clone ${_LB_GIT} "${_TEMPDIR}"/"${_BUILD}" >> /var/log/live + _ERRORGIT="${?}" + + # Now set a variable for the correct build path + _BUILD_PATH="${_TEMPDIR}/${_BUILD}/images/${_LB_CONFIG}" + + # Drop out some build data for information if something goes wrong. + echo "`date +%b\ %d\ %H:%M:%S` ${_HOSTNAME} live-build-cgi: begin web build (${_BUILD})." >> /var/log/live + + # Creating directory for the config/package-lists + mkdir -p "${_BUILD_PATH}"/config/package-lists + + # Add cgipackages.list.chroot + if [ -n "${_LB_CGIPACKAGES}" ] + then + echo "${_LB_CGIPACKAGES}" > "${_BUILD_PATH}"/config/package-lists/cgipackages.list.chroot + fi + + _DATE_START="`date -R`" + echo "Begin: ${_DATE_START}" > "${_BUILD_PATH}"/log + + # Generating config here + if [ "${_ERRORGIT}" -eq "0" ] + then + cd "${_BUILD_PATH}" + # Do config with git and stack on config file params to build + 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}" + _ERRORCONFIG="${?}" + else + echo "Config stage skipped. The git clone produced an error: ${_ERRORGIT}" > "${_BUILD_PATH}"/log + fi + + # Run build if config went ok + if [ "${_ERRORCONFIG}" -eq "0" ] + then + lb build >> "${_BUILD_PATH}"/log 2>&1 + _ERRORBUILD="${?}" + else + echo "Build stage skipped. Config produced an error: ${_ERRORCONFIG}" > "${_BUILD_PATH}"/log + fi + + _DATE_END="`date -R`" + echo "End: ${_DATE_END}" >> "${_BUILD_PATH}"/log + + # Creating image directory + mkdir -p "${_DESTDIR}"/"${_BUILD}" + + # Creating mail and logging. + if [ "${_ERRORGIT}" -eq "0" ] && [ "${_ERRORCONFIG}" -eq "0" ] && [ "${_ERRORBUILD}" -eq "0" ] + then + _STATUS="maybe-successful" + echo "${REMOTE_ADDR} - - `date +[%d/%b/%Y:%H:%m:%S\ %z]` \"${_BUILD} ${LB_ARCHITECTURES}/${LB_DISTRIBUTION}/${_LB_CGIPACKAGES}\" 200 - \"-\" \"\"">>/var/log/live-cgi.builds + else + _STATUS="maybe-failed" + echo "${REMOTE_ADDR} - - `date +[%d/%b/%Y:%H:%m:%S\ %z]` \"${_BUILD} ${LB_ARCHITECTURES}/${LB_DISTRIBUTION}/${_LB_CGIPACKAGES}\" 404 - \"-\" \"\"">>/var/log/live-cgi.builds + fi + + sed -e "s/BUILD/${_BUILD}/g" \ + -e "s/EMAIL/${_EMAIL}/" \ + -e "s/VERSION/${VERSION}/" \ + -e "s/DATE_START/${_DATE_START}/" \ + -e "s/DATE_END/${_DATE_END}/" \ + -e "s/STATUS/${_STATUS}/" \ + -e "s#SERVER#${_SERVER}#" \ + "${_TEMPLATES}"/mail.txt > "${_DESTDIR}"/"${_BUILD}"/mail + +cat >> "${_DESTDIR}"/"${_BUILD}"/mail << EOF + +--- + +Here's a list of all build-options that were used to build your image: + +EOF + + cat "${_TEMPDIR}"/"${_BUILD}".build >> "${_DESTDIR}"/"${_BUILD}"/mail + + # Moving binary image + #if ls "${_TEMPDIR}"/"${_BUILD}"/binary*.* > /dev/null 2>&1 + if Find_files ${_BUILD_PATH}/binary*.* + then + mv "${_BUILD_PATH}"/binary*.* "${_DESTDIR}"/"${_BUILD}" + fi + + # Moving source image + #if ls "${_TEMPDIR}"/"${_BUILD}"/source.* > /dev/null 2>&1 + if Find_files ${_BUILD_PATH}/source.* + then + mv "${_BUILD_PATH}"/source.* "${_DESTDIR}"/"${_BUILD}" + fi + + # Moving build + mv "${_TEMPDIR}"/"${_BUILD}".build "${_DESTDIR}"/"${_BUILD}"/build + + # Moving log + mv "${_BUILD_PATH}"/log "${_DESTDIR}"/"${_BUILD}" + + # Generating md5sum + cd "${_DESTDIR}"/"${_BUILD}" + md5sum * > md5sum + cd "${OLDPWD}" + + # Sending mail + cat "${_DESTDIR}"/"${_BUILD}"/mail | /usr/sbin/sendmail -t + + # Unmounting devpts-live + #if ls "${_TEMPDIR}"/"${_BUILD}"/chroot/dev/pts/* > /dev/null 2>&1 + if Find_files ${_BUILD_PATH}/chroot/dev/pts/* + then + umount "${_BUILD_PATH}"/chroot/dev/pts + fi + + # Unmounting proc + if [ -f "${_BUILD_PATH}"/chroot/proc/version ] + then + umount "${_BUILD_PATH}"/chroot/proc + fi + + # Unmounting sysfs + if [ -d "${_BUILD_PATH}"/chroot/sys/kernel ] + then + umount "${_BUILD_PATH}"/chroot/sys + fi + + # Removing build directory + rm -rf "${_TEMPDIR}"/"${_BUILD}" + + echo "`date +%b\ %d\ %H:%M:%S` ${_HOSTNAME} live-build-cgi: end web build (${_BUILD}: ${_STATUS})." >> /var/log/live + done +fi diff --git a/frontends/cgi/live-build-cgi.crontab b/frontends/cgi/live-build-cgi.crontab new file mode 100644 index 0000000..1bf7a81 --- /dev/null +++ b/frontends/cgi/live-build-cgi.crontab @@ -0,0 +1,7 @@ +# /etc/crontab - system-wide crontab + +SHELL=/bin/sh +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin + +# m h dom mon dow user command +*/1 * * * * root /etc/cron.hourly/live-build-cgi > /dev/null 2>&1 diff --git a/frontends/cgi/live-build-cgi.default b/frontends/cgi/live-build-cgi.default new file mode 100644 index 0000000..41aa58d --- /dev/null +++ b/frontends/cgi/live-build-cgi.default @@ -0,0 +1,15 @@ +# Defaults for /etc/cron.daily/live-build-cgi + +_WEBBUILD="false" + +_MODE="debian" + +_DEBUG="false" + +_DESTDIR="/srv/debian-live/build/www" +_TEMPLATES="/usr/share/live/build/templates/cgi/${_MODE}" +_TEMPDIR="/srv/debian-live/build/tmp" + +_SERVER="http://live.debian.net/build" + +_LB_GIT="git://live-systems.org/git/live-images.git" diff --git a/frontends/cgi/live-build-cgi.logrotate b/frontends/cgi/live-build-cgi.logrotate new file mode 100644 index 0000000..75d89a9 --- /dev/null +++ b/frontends/cgi/live-build-cgi.logrotate @@ -0,0 +1,11 @@ +# /etc/logrotate.d/live-build + +/var/log/live +{ + compress + copytruncate + missingok + monthly + notifempty + rotate 24 +} diff --git a/functions/aliases.sh b/functions/aliases.sh new file mode 100755 index 0000000..c2bd147 --- /dev/null +++ b/functions/aliases.sh @@ -0,0 +1,41 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +Find_files () +{ + (ls "${@}" | grep -qs .) > /dev/null 2>&1 +} + +In_list () +{ + NEEDLES="${1}" + shift + + for ITEM in ${@} + do + for NEEDLE in ${NEEDLES} + do + if [ "${NEEDLE}" = "${ITEM}" ] + then + return 0 + fi + done + done + + return 1 +} + +Truncate () +{ + for FILE in ${@} + do + : > ${FILE} + done +} diff --git a/functions/architectures.sh b/functions/architectures.sh new file mode 100755 index 0000000..76eb88e --- /dev/null +++ b/functions/architectures.sh @@ -0,0 +1,124 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +Check_architectures () +{ + ARCHITECTURES="${@}" + VALID="false" + + for ARCHITECTURE in ${ARCHITECTURES} + do + if [ "$(echo ${LB_ARCHITECTURES} | grep ${ARCHITECTURE})" ] + then + VALID="true" + break + fi + done + + if [ "${ARCHITECTURES}" = "${LB_BOOTSTRAP_QEMU_ARCHITECTURES}" ] + then + VALID="true" + + if [ ! -e "${LB_BOOTSTRAP_QEMU_STATIC}" ] + then + Echo_warning "skipping %s, qemu-static binary ${LB_BOOTSTRAP_QEMU_ARCHITECTURES} was not found" + VALID="false" + fi + + if [ ! -x "${LB_BOOTSTRAP_QEMU_STATIC}" ] + then + Echo_warning "skipping %s, qemu-static binary ${LB_BOOTSTRAP_QEMU_STATIC} is not executable" + VALID="false" + fi + + fi + + if [ "${VALID}" = "false" ] + then + Echo_warning "skipping %s, foreign architecture(s)." "${0}" + exit 0 + fi +} + +Check_crossarchitectures () +{ + if [ -x /usr/bin/dpkg ] + then + HOST="$(dpkg --print-architecture)" + else + HOST="$(uname -m)" + fi + + case "${HOST}" in + amd64|i386|x86_64) + CROSS="amd64 i386" + ;; + + powerpc|ppc64) + CROSS="powerpc ppc64" + ;; + + *) + CROSS="${HOST}" + ;; + esac + + if [ "${LB_ARCHITECTURES}" = "${LB_BOOTSTRAP_QEMU_ARCHITECTURES}" ] + then + + if [ ! -e "${LB_BOOTSTRAP_QEMU_STATIC}" ] + then + Echo_warning "skipping %s, qemu-static binary ${LB_BOOTSTRAP_QEMU_ARCHITECTURES} was not found" + exit 0 + fi + + if [ ! -x "${LB_BOOTSTRAP_QEMU_STATIC}" ] + then + Echo_warning "skipping %s, qemu-static binary ${LB_BOOTSTRAP_QEMU_STATIC} is not executable" + exit 0 + fi + return + fi + + + Check_architectures "${CROSS}" +} + +Check_multiarchitectures () +{ + if [ "$(echo ${LB_ARCHITECTURES} | wc -w)" -gt "1" ] + then + # First, only support multiarch on iso + case "${LB_BINARY_IMAGES}" in + iso*) + # Assemble multi-arch + case "${LB_CURRENT_ARCHITECTURE}" in + amd64) + DESTDIR="${DESTDIR}.amd" + DESTDIR_LIVE="${DESTDIR_LIVE}.amd" + DESTDIR_INSTALL="${DESTDIR_INSTALL}.amd" + ;; + + i386) + DESTDIR="${DESTDIR}.386" + DESTDIR_LIVE="${DESTDIR_LIVE}.386" + DESTDIR_INSTALL="${DESTDIR_INSTALL}.386" + ;; + + powerpc) + DESTDIR="${DESTDIR}.ppc" + DESTDIR_LIVE="${DESTDIR_LIVE}.ppc" + DESTDIR_INSTALL="${DESTDIR_INSTALL}.ppc" + ;; + esac + ;; + esac + fi +} diff --git a/functions/arguments.sh b/functions/arguments.sh new file mode 100755 index 0000000..4da88b8 --- /dev/null +++ b/functions/arguments.sh @@ -0,0 +1,82 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +Arguments () +{ + ARGUMENTS="$(getopt --longoptions breakpoints,conffile:,debug,force,help,quiet,usage,verbose,version --name=${PROGRAM} --options c:huv --shell sh -- "${@}")" + + if [ "${?}" != "0" ] + then + Echo_error "terminating" >&2 + exit 1 + fi + + eval set -- "${ARGUMENTS}" + + while true + do + case "${1}" in + --breakpoints) + _BREAKPOINTS="true" + shift + ;; + + -c|--conffile) + _CONFFILE="${2}" + shift 2 + ;; + + --debug) + _DEBUG="true" + shift + ;; + + --force) + _FORCE="true" + shift + ;; + + -h|--help) + Man + shift + ;; + + --quiet) + _QUIET="true" + shift + ;; + + -u|--usage) + Usage + shift + ;; + + --verbose) + _VERBOSE="true" + shift + ;; + + -v|--version) + echo "${VERSION}" + exit 0 + ;; + + --) + shift + break + ;; + + *) + Echo_error "internal error %s" "${0}" + exit 1 + ;; + esac + done +} diff --git a/functions/breakpoints.sh b/functions/breakpoints.sh new file mode 100755 index 0000000..28ad581 --- /dev/null +++ b/functions/breakpoints.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +Breakpoint () +{ + NAME="${1}" + + if [ "${_BREAKPOINTS}" = "true" ] + then + Echo_message "Waiting at %s" "${NAME}" + read WAIT + fi +} diff --git a/functions/cache.sh b/functions/cache.sh new file mode 100755 index 0000000..ecad720 --- /dev/null +++ b/functions/cache.sh @@ -0,0 +1,63 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +Restore_cache () +{ + DIRECTORY="${1}" + + if [ "${LB_CACHE}" = "true" ] && [ "${LB_CACHE_PACKAGES}" = "true" ] + then + if [ -d "${DIRECTORY}" ] + then + # Restore old cache + if [ "$(stat --printf %d ${DIRECTORY})" = "$(stat --printf %d chroot/var/cache/apt/archives)" ] + then + # with hardlinks + find "${DIRECTORY}" -name "*.deb" | xargs cp -fl -t chroot/var/cache/apt/archives + else + # without hardlinks + find "${DIRECTORY}" -name "*.deb" | xargs cp -t chroot/var/cache/apt/archives + fi + fi + fi +} + +Save_cache () +{ + DIRECTORY="${1}" + + if [ "${LB_CACHE}" = "true" ] && [ "${LB_CACHE_PACKAGES}" = "true" ] + then + # Cleaning current cache + # In case of interrupted or incomplete builds, this may return an error, + # but we still do want to save the cache. + Chroot chroot "apt-get autoclean" || true + + if ls chroot/var/cache/apt/archives/*.deb > /dev/null 2>&1 + then + # Creating cache directory + mkdir -p "${DIRECTORY}" + + # Saving new cache + for PACKAGE in chroot/var/cache/apt/archives/*.deb + do + if [ -e "${DIRECTORY}"/"$(basename ${PACKAGE})" ] + then + rm -f "${PACKAGE}" + else + mv "${PACKAGE}" "${DIRECTORY}" + fi + done + fi + else + # Purging current cache + rm -f chroot/var/cache/apt/archives/*.deb + fi +} diff --git a/functions/chroot.sh b/functions/chroot.sh new file mode 100755 index 0000000..d8cd175 --- /dev/null +++ b/functions/chroot.sh @@ -0,0 +1,38 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +Chroot () +{ + CHROOT="${1}"; shift + COMMANDS="${@}" + + # Executing commands in chroot + Echo_debug "Executing: %s" "${COMMANDS}" + + ENV="" + + for _FILE in config/environment config/environment.chroot + do + if [ -e "${_FILE}" ] + then + ENV="${ENV} $(grep -v '^#' ${_FILE})" + fi + done + + if [ "${LB_USE_FAKEROOT}" != "true" ] + then + ${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} + else + # Building with fakeroot/fakechroot + ${LB_ROOT_COMMAND} ${_LINUX32} chroot "${CHROOT}" ${ENV} ${COMMANDS} + fi + + return "${?}" +} diff --git a/functions/color.sh b/functions/color.sh new file mode 100755 index 0000000..2020c4a --- /dev/null +++ b/functions/color.sh @@ -0,0 +1,38 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +NO_COLOR="\033[0m" + +UNDERSCORE="\033[4m" +BLINK="\033[5m" + +BLACK="\033[0;30m" +DARK_GRAY="\033[1;30m" + +RED="\033[0;31m" +LIGHT_RED="\033[1;31m" + +GREEN="\033[0;32m" +LIGHT_GREEN="\033[1;32m" + +BROWN="\033[0;33m" +YELLOW="\033[1;33m" + +BLUE="\033[0;34m" +LIGHT_BLUE="\033[1;34m" + +PURPLE="\033[0;35m" +LIGHT_PURPLE="\033[1;35m" + +CYAN="\033[0;36m" +LIGHT_CYAN="\033[1;36m" + +GRAY="\033[0;37m" +WHITE="\033[1;37m" diff --git a/functions/common.sh b/functions/common.sh new file mode 100755 index 0000000..9284ec5 --- /dev/null +++ b/functions/common.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +PROGRAM="live-build" +VERSION="$(if [ -e ${LIVE_BUILD}/VERSION ]; then cat ${LIVE_BUILD}/VERSION; else cat /usr/share/live/build/VERSION; fi)" +CONFIG_VERSION="$(echo ${VERSION} | awk -F- '{ print $1 }')" + +PATH="${PWD}/local/bin:${PATH}" diff --git a/functions/conffile.sh b/functions/conffile.sh new file mode 100755 index 0000000..4674006 --- /dev/null +++ b/functions/conffile.sh @@ -0,0 +1,55 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +Get_conffiles () +{ + if [ -n "${LB_CONFIG}" ] + then + FILES="${LB_CONFIG}" + else + for FILE in ${@} + do + FILES="${FILES} ${FILE} ${FILE}.${LB_ARCHITECTURES} ${FILE}.${DISTRIBUTION}" + FILES="${FILES} config/$(echo ${PROGRAM} | sed -e 's|^lb_||')" + FILES="${FILES} config/$(echo ${PROGRAM} | sed -e 's|^lb_||').${ARCHITECTURE}" + FILES="${FILES} config/$(echo ${PROGRAM} | sed -e 's|^lb_||').${DISTRIBUTION}" + done + fi + + echo ${FILES} +} + +Read_conffiles () +{ + for CONFFILE in Get_conffiles "${@}" + do + if [ -f "${CONFFILE}" ] + then + if [ -r "${CONFFILE}" ] + then + Echo_debug "Reading configuration file %s" "${CONFFILE}" + . "${CONFFILE}" + else + Echo_warning "Failed to read configuration file %s" "${CONFFILE}" + fi + fi + done +} + +Print_conffiles () +{ + for CONFFILE in Get_conffiles "${@}" + do + if [ -f "${CONFFILE}" ] + then + Echo_file "${CONFFILE}" + fi + done +} diff --git a/functions/cursor.sh b/functions/cursor.sh new file mode 100755 index 0000000..5a17a50 --- /dev/null +++ b/functions/cursor.sh @@ -0,0 +1,74 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +Cursor_goto_position () +{ + __LINE="${1}" + __COLUMN="${2}" + + #echo -e "[${__LINE};${__COLUMN};H\c" + printf "[${__LINE};${__COLUMN};H" +} + +Cursor_save_position () +{ + #echo -e "\c" + printf "" +} + +Cursor_restore_position () +{ + #echo -e "\c" + printf "" +} + +Cursor_line_up () +{ + __LINES="${1}" + + #echo -e "[${__LINES}A\c" + printf "[${__LINES}A" +} + +Cursor_line_down () +{ + __LINES="${1}" + + #echo -e "[${__LINES}B\c" + printf "[${__LINES}B" +} + +Cursor_columns_forward () +{ + __COLUMNS="${1}" + + #echo -e "[${__COLUMNS}C\c" + printf "[${__COLUMNS}C" +} + +Cursor_columns_backward () +{ + __COLUMNS="${1}" + + #echo -e "[${__COLUMNS}D\c" + printf "[${__COLUMNS}D" +} + +Cursor_clear_screen () +{ + #echo -e "\c" + printf "" +} + +Cursor_erase_EOL () +{ + #echo -e "\c" + printf "" +} diff --git a/functions/defaults.sh b/functions/defaults.sh new file mode 100755 index 0000000..479dfb1 --- /dev/null +++ b/functions/defaults.sh @@ -0,0 +1,1280 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +Set_defaults () +{ + ## config/common + + if [ -e local/live-build ] + then + LIVE_BUILD="${LIVE_BUILD:-${PWD}/local/live-build}" + export LIVE_BUILD + fi + + # Setting system type + LB_SYSTEM="${LB_SYSTEM:-live}" + + # Setting mode (currently: debian, emdebian, progress-linux, and ubuntu) + if [ -x /usr/bin/lsb_release ] + then + _DISTRIBUTOR="$(lsb_release -is | tr [A-Z] [a-z])" + + case "${_DISTRIBUTOR}" in + debian|progress-linux|ubuntu) + LB_MODE="${LB_MODE:-${_DISTRIBUTOR}}" + ;; + + *) + LB_MODE="${LB_MODE:-debian}" + ;; + esac + else + if [ -e /etc/progress-linux_version ] + then + LB_MODE="${LB_MODE:-progress-linux}" + elif [ -e /etc/ubuntu_version ] + then + LB_MODE="${LB_MODE:-ubuntu}" + else + LB_MODE="${LB_MODE:-debian}" + fi + fi + + # Setting distribution name + case "${LB_MODE}" in + progress-linux) + LB_DISTRIBUTION="${LB_DISTRIBUTION:-baureo}" + LB_DERIVATIVE="true" + ;; + + ubuntu) + LB_DISTRIBUTION="${LB_DISTRIBUTION:-precise}" + LB_DERIVATIVE="false" + ;; + + *) + LB_DISTRIBUTION="${LB_DISTRIBUTION:-wheezy}" + LB_DERIVATIVE="false" + ;; + esac + + case "${LB_MODE}" in + progress-linux) + case "${LB_DISTRIBUTION}" in + artax|artax-backports) + LB_PARENT_DISTRIBUTION="${LB_PARENT_DISTRIBUTION:-squeeze}" + LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION:-${LB_PARENT_DISTRIBUTION}}" + ;; + + baureo|baureo-backports) + LB_PARENT_DISTRIBUTION="${LB_PARENT_DISTRIBUTION:-wheezy}" + LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION:-${LB_PARENT_DISTRIBUTION}}" + ;; + + charon|charon-backports) + LB_PARENT_DISTRIBUTION="${LB_PARENT_DISTRIBUTION:-sid}" + LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION:-${LB_PARENT_DISTRIBUTION}}" + ;; + esac + + LB_BACKPORTS="${LB_BACKPORTS:-true}" + ;; + + *) + LB_PARENT_DISTRIBUTION="${LB_PARENT_DISTRIBUTION:-${LB_DISTRIBUTION}}" + LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION="${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION:-${LB_PARENT_DISTRIBUTION}}" + + LB_BACKPORTS="${LB_BACKPORTS:-false}" + ;; + esac + + # Setting package manager + LB_APT="${LB_APT:-apt}" + + # Setting apt ftp proxy + LB_APT_FTP_PROXY="${LB_APT_FTP_PROXY}" + + # Setting apt http proxy + LB_APT_HTTP_PROXY="${LB_APT_HTTP_PROXY}" + + # Setting apt pipeline + # LB_APT_PIPELINE + + APT_OPTIONS="${APT_OPTIONS:---yes}" + APTITUDE_OPTIONS="${APTITUDE_OPTIONS:---assume-yes}" + + BZIP2_OPTIONS="${BZIP2_OPTIONS:--6}" + + GZIP_OPTIONS="${GZIP_OPTIONS:--6}" + + if gzip --help | grep -qs "\-\-rsyncable" + then + GZIP_OPTIONS="$(echo ${GZIP_OPTIONS} | sed -e 's|--rsyncable||') --rsyncable" + fi + + LZIP_OPTIONS="${LZIP_OPTIONS:--6}" + + LZMA_OPTIONS="${LZMA_OPTIONS:--6}" + + XZ_OPTIONS="${XZ_OPTIONS:--6}" + + # Setting apt recommends + case "${LB_MODE}" in + emdebian|progress-linux) + LB_APT_RECOMMENDS="${LB_APT_RECOMMENDS:-false}" + ;; + + *) + LB_APT_RECOMMENDS="${LB_APT_RECOMMENDS:-true}" + ;; + esac + + # Setting apt secure + LB_APT_SECURE="${LB_APT_SECURE:-true}" + + # Setting apt source + case "${LB_MODE}" in + progress-linux) + LB_APT_SOURCE_ARCHIVES="${LB_APT_SOURCE_ARCHIVES:-false}" + ;; + + *) + LB_APT_SOURCE_ARCHIVES="${LB_APT_SOURCE_ARCHIVES:-true}" + ;; + esac + + # Setting bootstrap program + if [ -z "${LB_BOOTSTRAP}" ] || ( [ ! -x "$(which ${LB_BOOTSTRAP} 2>/dev/null)" ] && [ "${LB_BOOTSTRAP}" != "copy" ] ) + then + if [ -x "/usr/sbin/debootstrap" ] + then + LB_BOOTSTRAP="debootstrap" + elif [ -x "/usr/bin/cdebootstrap" ] + then + LB_BOOTSTRAP="cdebootstrap" + fi + fi + + # Setting cache option + LB_CACHE="${LB_CACHE:-true}" + LB_CACHE_INDICES="${LB_CACHE_INDICES:-false}" + LB_CACHE_PACKAGES="${LB_CACHE_PACKAGES:-true}" + LB_CACHE_STAGES="${LB_CACHE_STAGES:-bootstrap}" + + # Setting debconf frontend + LB_DEBCONF_FRONTEND="${LB_DEBCONF_FRONTEND:-noninteractive}" + LB_DEBCONF_PRIORITY="${LB_DEBCONF_PRIORITY:-critical}" + + # Setting initramfs hook + case "${LB_SYSTEM}" in + live) + case "${LB_MODE}" in + ubuntu) + LB_INITRAMFS="${LB_INITRAMFS:-casper}" + ;; + + *) + LB_INITRAMFS="${LB_INITRAMFS:-live-boot}" + ;; + esac + ;; + + normal) + LB_INITRAMFS="${LB_INITRAMFS:-none}" + ;; + esac + + LB_INITRAMFS_COMPRESSION="${LB_INITRAMFS_COMPRESSION:-gzip}" + + # Setting initsystem + case "${LB_MODE}" in + ubuntu) + case "${LB_INITRAMFS}" in + live-boot) + LB_INITSYSTEM="${LB_INITSYSTEM:-upstart}" + ;; + esac + ;; + + progress-linux) + case "${LB_DISTRIBUTION}" in + artax|artax-backports) + LB_INITSYSTEM="${LB_INITSYSTEM:-sysvinit}" + ;; + + *) + LB_INITSYSTEM="${LB_INITSYSTEM:-systemd}" + ;; + esac + ;; + + *) + case "${LB_SYSTEM}" in + live) + LB_INITSYSTEM="${LB_INITSYSTEM:-sysvinit}" + ;; + + normal) + LB_INITSYSTEM="${LB_INITSYSTEM:-none}" + ;; + esac + ;; + esac + + # Setting fdisk + if [ -z "${LB_FDISK}" ] || [ ! -x "${LB_FDISK}" ] + then + # Workaround for gnu-fdisk divertion + # (gnu-fdisk is buggy, #445304). + if [ -x /sbin/fdisk.distrib ] + then + LB_FDISK="fdisk.distrib" + elif [ -x /sbin/fdisk ] + then + LB_FDISK="fdisk" + else + Echo_error "Can't process file /sbin/fdisk" + fi + fi + + # Setting losetup + if [ -z "${LB_LOSETUP}" ] || [ "${LB_LOSETUP}" != "/sbin/losetup.orig" ] + then + # Workaround for loop-aes-utils divertion + # (loop-aes-utils' losetup lacks features). + if [ -x /sbin/losetup.orig ] + then + LB_LOSETUP="losetup.orig" + elif [ -x /sbin/losetup ] + then + LB_LOSETUP="losetup" + else + Echo_error "Can't process file /sbin/losetup" + fi + fi + + if [ "$(id -u)" = "0" ] + then + # If we are root, disable root command + LB_ROOT_COMMAND="" + else + if [ -x /usr/bin/sudo ] + then + # FIXME: this is false until considered safe + #LB_ROOT_COMMAND="sudo" + LB_ROOT_COMMAND="" + fi + fi + + if [ "${LB_ARCHITECTURE}" = "i386" ] && [ "$(uname -m)" = "x86_64" ] + then + _LINUX32="linux32" + else + _LINUX32="" + fi + + # Setting tasksel + case "${LB_PARENT_DISTRIBUTION}" in + squeeze) + LB_TASKSEL="${LB_TASKSEL:-tasksel}" + ;; + + *) + LB_TASKSEL="${LB_TASKSEL:-apt}" + ;; + esac + + # Setting root directory + case "${LB_MODE}" in + progress-linux) + LB_ROOT="${LB_ROOT:-progress-linux}" + ;; + + *) + LB_ROOT="${LB_ROOT:-${LB_MODE}-live}" + ;; + esac + + # Setting templates + if [ -n "${LIVE_BUID}" ] + then + LB_TEMPLATES="${LB_TEMPLATES:-${LIVE_BUILD}/templates}" + else + LB_TEMPLATES="${LB_TEMPLATES:-/usr/share/live/build/templates}" + fi + + # Setting live build options + _BREAKPOINTS="${_BREAKPOINTS:-false}" + _COLOR="${_COLOR:-false}" + _DEBUG="${_DEBUG:-false}" + _FORCE="${_FORCE:-false}" + _QUIET="${_QUIET:-false}" + _VERBOSE="${_VERBOSE:-false}" + + ## config/bootstrap + + # Setting architecture value + if [ -z "${LB_ARCHITECTURES}" ] + then + if [ -x "/usr/bin/dpkg" ] + then + LB_ARCHITECTURES="$(dpkg --print-architecture)" + else + case "$(uname -m)" in + sparc|powerpc) + LB_ARCHITECTURES="$(uname -m)" + ;; + x86_64) + LB_ARCHITECTURES="amd64" + ;; + *) + if [ -e /lib64 ] + then + LB_ARCHITECTURES="amd64" + else + LB_ARCHITECTURES="i386" + fi + + Echo_warning "Can't determine architecture, assuming ${LB_ARCHITECTURES}" + ;; + esac + fi + fi + + # Setting mirror to fetch packages from + case "${LB_MODE}" in + debian) + LB_MIRROR_BOOTSTRAP="${LB_MIRROR_BOOTSTRAP:-http://ftp.debian.org/debian/}" + LB_PARENT_MIRROR_BOOTSTRAP="${LB_PARENT_MIRROR_BOOTSTRAP:-${LB_MIRROR_BOOTSTRAP}}" + ;; + + emdebian) + LB_MIRROR_BOOTSTRAP="${LB_MIRROR_BOOTSTRAP:-http://www.emdebian.org/grip/}" + LB_PARENT_MIRROR_BOOTSTRAP="${LB_PARENT_MIRROR_BOOTSTRAP:-${LB_MIRROR_BOOTSTRAP}}" + ;; + + progress-linux) + LB_PARENT_MIRROR_BOOTSTRAP="${LB_PARENT_MIRROR_BOOTSTRAP:-http://ftp.debian.org/debian/}" + LB_MIRROR_BOOTSTRAP="${LB_MIRROR_BOOTSTRAP:-http://cdn.archive.progress-linux.org/progress/}" + ;; + + ubuntu) + case "${LB_ARCHITECTURES}" in + amd64|i386) + LB_MIRROR_BOOTSTRAP="${LB_MIRROR_BOOTSTRAP:-http://archive.ubuntu.com/ubuntu/}" + ;; + + *) + LB_MIRROR_BOOTSTRAP="${LB_MIRROR_BOOTSTRAP:-http://ports.ubuntu.com/ubuntu-ports/}" + ;; + esac + + LB_PARENT_MIRROR_BOOTSTRAP="${LB_PARENT_MIRROR_BOOTSTRAP:-${LB_MIRROR_BOOTSTRAP}}" + ;; + esac + + LB_PARENT_MIRROR_CHROOT="${LB_PARENT_MIRROR_CHROOT:-${LB_PARENT_MIRROR_BOOTSTRAP}}" + LB_MIRROR_CHROOT="${LB_MIRROR_CHROOT:-${LB_MIRROR_BOOTSTRAP}}" + + # Setting security mirror to fetch packages from + case "${LB_MODE}" in + debian) + LB_MIRROR_CHROOT_SECURITY="${LB_MIRROR_CHROOT_SECURITY:-http://security.debian.org/}" + LB_PARENT_MIRROR_CHROOT_SECURITY="${LB_PARENT_MIRROR_CHROOT_SECURITY:-${LB_MIRROR_CHROOT_SECURITY}}" + ;; + + emdebian) + LB_MIRROR_CHROOT_SECURITY="${LB_MIRROR_CHROOT_SECURITY:-none}" + LB_PARENT_MIRROR_CHROOT_SECURITY="${LB_PARENT_MIRROR_CHROOT_SECURITY:-${LB_MIRROR_CHROOT_SECURITY}}" + ;; + + progress-linux) + LB_PARENT_MIRROR_CHROOT_SECURITY="${LB_PARENT_MIRROR_CHROOT_SECURITY:-http://security.debian.org/}" + LB_MIRROR_CHROOT_SECURITY="${LB_MIRROR_CHROOT_SECURITY:-${LB_MIRROR_CHROOT}}" + ;; + + ubuntu) + case "${LB_ARCHITECTURES}" in + amd64|i386) + LB_MIRROR_CHROOT_SECURITY="${LB_MIRROR_CHROOT_SECURITY:-http://security.ubuntu.com/ubuntu/}" + ;; + + *) + LB_MIRROR_CHROOT_SECURITY="${LB_MIRROR_CHROOT_SECURITY:-http://ports.ubuntu.com/ubuntu-ports/}" + ;; + esac + + LB_PARENT_MIRROR_CHROOT_SECURITY="${LB_PARENT_MIRROR_CHROOT_SECURITY:-${LB_MIRROR_CHROOT_SECURITY}}" + ;; + esac + + # Setting updates mirror to fetch packages from + case "${LB_MODE}" in + debian|progress-linux) + LB_PARENT_MIRROR_CHROOT_UPDATES="${LB_PARENT_MIRROR_CHROOT_UPDATES:-${LB_PARENT_MIRROR_CHROOT}}" + LB_MIRROR_CHROOT_UPDATES="${LB_MIRROR_CHROOT_UPDATES:-${LB_MIRROR_CHROOT}}" + ;; + + ubuntu) + case "${LB_ARCHITECTURES}" in + amd64|i386) + LB_MIRROR_CHROOT_UPDATES="${LB_MIRROR_CHROOT_UPDATES:-http://archive.ubuntu.com/ubuntu/}" + ;; + + *) + LB_MIRROR_CHROOT_UPDATES="${LB_MIRROR_CHROOT_UPDATES:-http://ports.ubuntu.com/ubuntu-ports/}" + ;; + esac + + LB_PARENT_MIRROR_CHROOT_UPDATES="${LB_PARENT_MIRROR_CHROOT_UPDATES:-${LB_PARENT_MIRROR_CHROOT}}" + ;; + + *) + LB_PARENT_MIRROR_CHROOT_UPDATES="${LB_PARENT_MIRROR_CHROOT_UPDATES:-none}" + LB_MIRROR_CHROOT_UPDATES="${LB_MIRROR_CHROOT_UPDATES:-none}" + ;; + esac + + # Setting backports mirror to fetch packages from + case "${LB_MODE}" in + debian) + LB_MIRROR_CHROOT_BACKPORTS="${LB_MIRROR_CHROOT_BACKPORTS:-http://backports.debian.org/debian-backports/}" + LB_PARENT_MIRROR_CHROOT_BACKPORTS="${LB_PARENT_MIRROR_CHROOT_BACKPORTS:-${LB_MIRROR_CHROOT_BACKPORTS}}" + ;; + + progress-linux) + LB_MIRROR_CHROOT_BACKPORTS="${LB_MIRROR_CHROOT_BACKPORTS:-${LB_MIRROR_CHROOT}}" + ;; + + *) + LB_PARENT_MIRROR_CHROOT_BACKPORTS="${LB_PARENT_MIRROR_CHROOT_BACKPORTS:-none}" + LB_MIRROR_CHROOT_BACKPORTS="${LB_MIRROR_CHROOT_BACKPORTS:-none}" + ;; + esac + + # Setting mirror which ends up in the image + case "${LB_MODE}" in + debian) + LB_MIRROR_BINARY="${LB_MIRROR_BINARY:-http://http.debian.net/debian/}" + LB_PARENT_MIRROR_BINARY="${LB_PARENT_MIRROR_BINARY:-${LB_MIRROR_BINARY}}" + ;; + + progress-linux) + LB_PARENT_MIRROR_BINARY="${LB_PARENT_MIRROR_BINARY:-http://ftp.debian.org/debian/}" + LB_MIRROR_BINARY="${LB_MIRROR_BINARY:-${LB_MIRROR_CHROOT}}" + ;; + + emdebian) + LB_MIRROR_BINARY="${LB_MIRROR_BINARY:-http://www.emdebian.org/grip/}" + LB_PARENT_MIRROR_BINARY="${LB_PARENT_MIRROR_BINARY:-${LB_MIRROR_BINARY}}" + ;; + + ubuntu) + case "${LB_ARCHITECTURES}" in + amd64|i386) + LB_MIRROR_BINARY="${LB_MIRROR_BINARY:-http://archive.ubuntu.com/ubuntu/}" + ;; + + *) + LB_MIRROR_BINARY="${LB_MIRROR_BINARY:-http://ports.ubuntu.com/ubuntu-ports/}" + ;; + esac + + LB_PARENT_MIRROR_BINARY="${LB_PARENT_MIRROR_BINARY:-${LB_MIRROR_BINARY}}" + ;; + esac + + # Setting security mirror which ends up in the image + case "${LB_MODE}" in + debian) + LB_MIRROR_BINARY_SECURITY="${LB_MIRROR_BINARY_SECURITY:-http://security.debian.org/}" + LB_PARENT_MIRROR_BINARY_SECURITY="${LB_PARENT_MIRROR_BINARY_SECURITY:-${LB_MIRROR_BINARY_SECURITY}}" + ;; + + emdebian) + LB_MIRROR_BINARY_SECURITY="${LB_MIRROR_BINARY_SECURITY:-none}" + LB_PARENT_MIRROR_BINARY_SECURITY="${LB_PARENT_MIRROR_BINARY_SECURITY:-${LB_MIRROR_BINARY_SECURITY}}" + ;; + + progress-linux) + LB_PARENT_MIRROR_BINARY_SECURITY="${LB_PARENT_MIRROR_BINARY_SECURITY:-http://security.debian.org/}" + LB_MIRROR_BINARY_SECURITY="${LB_MIRROR_BINARY_SECURITY:-${LB_MIRROR_CHROOT}}" + ;; + + ubuntu) + case "${LB_ARCHITECTURES}" in + amd64|i386) + LB_MIRROR_BINARY_SECURITY="${LB_MIRROR_BINARY_SECURITY:-http://security.ubuntu.com/ubuntu/}" + ;; + + *) + LB_MIRROR_BINARY_SECURITY="${LB_MIRROR_BINARY_SECURITY:-http://ports.ubuntu.com/ubuntu-ports/}" + ;; + esac + + LB_PARENT_MIRROR_BINARY_SECURITY="${LB_PARENT_MIRROR_BINARY_SECURITY:-${LB_MIRROR_BINARY_SECURITY}}" + ;; + esac + + # Setting updates mirror which ends up in the image + case "${LB_MODE}" in + debian) + LB_MIRROR_BINARY_UPDATES="${LB_MIRROR_BINARY_UPDATES:-${LB_MIRROR_BINARY}}" + LB_PARENT_MIRROR_BINARY_UPDATES="${LB_PARENT_MIRROR_BINARY_UPDATES:-${LB_PARENT_MIRROR_BINARY}}" + ;; + + progress-linux) + LB_PARENT_MIRROR_BINARY_UPDATES="${LB_PARENT_MIRROR_BINARY_UPDATES:-${LB_PARENT_MIRROR_BINARY}}" + LB_MIRROR_BINARY_UPDATES="${LB_MIRROR_BINARY_UPDATES:-${LB_MIRROR_BINARY}}" + ;; + + ubuntu) + case "${LB_ARCHITECTURES}" in + amd64|i386) + LB_MIRROR_BINARY_UPDATES="${LB_MIRROR_BINARY_UPDATES:-http://archive.ubuntu.com/ubuntu/}" + ;; + + *) + LB_MIRROR_BINARY_UPDATES="${LB_MIRROR_BINARY_UPDATES:-http://ports.ubuntu.com/ubuntu-ports/}" + ;; + esac + + LB_PARENT_MIRROR_BINARY_UPDATES="${LB_PARENT_MIRROR_BINARY_UPDATES:-${LB_PARENT_MIRROR_BINARY}}" + ;; + + *) + LB_PARENT_MIRROR_BINARY_UPDATES="${LB_PARENT_MIRROR_BINARY_UPDATES:-none}" + ;; + esac + + # Setting backports mirror which ends up in the image + case "${LB_MODE}" in + debian) + LB_MIRROR_BINARY_BACKPORTS="${LB_MIRROR_BINARY_BACKPORTS:-http://http.debian.net/debian-backports/}" + LB_PARENT_MIRROR_BINARY_BACKPORTS="${LB_PARENT_MIRROR_BINARY_BACKPORTS:-${LB_MIRROR_BINARY_BACKPORTS}}" + ;; + + progress-linux) + LB_MIRROR_BINARY_BACKPORTS="${LB_MIRROR_BINARY_BACKPORTS:-${LB_MIRROR_BINARY}}" + ;; + + *) + LB_PARENT_MIRROR_BINARY_BACKPORTS="${LB_PARENT_MIRROR_BINARY_BACKPORTS:-none}" + LB_MIRROR_BINARY_BACKPORTS="${LB_MIRROR_BINARY_BACKPORTS:-none}" + ;; + esac + + case "${LB_MODE}" in + progress-linux) + LB_PARENT_MIRROR_DEBIAN_INSTALLER="${LB_PARENT_MIRROR_DEBIAN_INSTALLER:-${LB_MIRROR_CHROOT}}" + LB_MIRROR_DEBIAN_INSTALLER="${LB_MIRROR_DEBIAN_INSTALLER:-${LB_MIRROR_CHROOT}}" + ;; + + *) + LB_MIRROR_DEBIAN_INSTALLER="${LB_MIRROR_DEBIAN_INSTALLER:-${LB_MIRROR_CHROOT}}" + LB_PARENT_MIRROR_DEBIAN_INSTALLER="${LB_PARENT_MIRROR_DEBIAN_INSTALLER:-${LB_PARENT_MIRROR_CHROOT}}" + ;; + esac + + # Setting archive areas value + case "${LB_MODE}" in + progress-linux) + LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS:-main contrib non-free}" + LB_PARENT_ARCHIVE_AREAS="${LB_PARENT_ARCHIVE_AREAS:-${LB_ARCHIVE_AREAS}}" + ;; + + ubuntu) + LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS:-main restricted}" + LB_PARENT_ARCHIVE_AREAS="${LB_PARENT_ARCHIVE_AREAS:-${LB_ARCHIVE_AREAS}}" + ;; + + *) + LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS:-main}" + LB_PARENT_ARCHIVE_AREAS="${LB_PARENT_ARCHIVE_AREAS:-${LB_ARCHIVE_AREAS}}" + ;; + esac + + ## config/chroot + + # Setting chroot filesystem + LB_CHROOT_FILESYSTEM="${LB_CHROOT_FILESYSTEM:-squashfs}" + + # Setting whether to expose root filesystem as read only + LB_EXPOSED_ROOT="${LB_EXPOSED_ROOT:-false}" + + # Setting union filesystem + LB_UNION_FILESYSTEM="${LB_UNION_FILESYSTEM:-aufs}" + + # Setting distribution hooks + LB_CHROOT_HOOKS="${LB_CHROOT_HOOKS:-disable-kexec-tools \ + remove-adjtime-configuration \ + remove-backup-files \ + remove-dbus-machine-id \ + remove-gnome-icon-cache \ + remove-log-files \ + remove-mdadm-configuration \ + remove-openssh-server-host-keys \ + remove-python-py \ + remove-temporary-files \ + remove-udev-persistent-rules \ + update-apt-file-cache \ + update-apt-xapian-index \ + update-glx-alternative \ + update-mlocate-database \ + update-nvidia-alternative}" + #remove-apt-sources-lists + + # Setting interactive shell/X11/Xnest + LB_INTERACTIVE="${LB_INTERACTIVE:-false}" + + # Setting keyring packages + case "${LB_MODE}" in + ubuntu) + LB_KEYRING_PACKAGES="${LB_KEYRING_PACKAGES:-ubuntu-keyring}" + ;; + + *) + LB_KEYRING_PACKAGES="${LB_KEYRING_PACKAGES:-debian-archive-keyring}" + ;; + esac + + # Setting linux flavour string + case "${LB_ARCHITECTURES}" in + armel) + case "${LB_MODE}" in + ubuntu) + LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-omap}" + ;; + *) + # armel will have special images: one rootfs image and many additional kernel images. + # therefore we default to all available armel flavours + LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-iop32x ixp4xx kirkwood orion5x versatile}" + ;; + esac + ;; + + armhf) + # armhf will have special images: one rootfs image and many additional kernel images. + # therefore we default to all available armel flavours + LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-mx5 omap}" + ;; + + amd64) + case "${LB_MODE}" in + ubuntu) + LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-generic}" + ;; + + *) + LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-amd64}" + ;; + esac + ;; + + i386) + case "${LB_MODE}" in + progress-linux) + case "${LB_DISTRIBUTION}" in + artax) + LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-686}" + ;; + + *) + LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-686-pae}" + ;; + esac + ;; + + ubuntu) + case "${LB_DISTRIBUTION}" in + precise) + LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-generic-pae}" + ;; + + *) + LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-generic}" + ;; + esac + ;; + + *) + case "${LB_PARENT_DISTRIBUTION}" in + squeeze) + LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-486 686}" + ;; + + *) + LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-486 686-pae}" + ;; + esac + ;; + esac + ;; + + ia64) + case "${LB_MODE}" in + progress-linux) + Echo_error "Architecture ${LB_ARCHITECTURES} not supported in the ${LB_MODE} mode." + exit 1 + ;; + + *) + LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-itanium}" + ;; + esac + ;; + + powerpc) + case "${LB_MODE}" in + progress-linux) + Echo_error "Architecture ${LB_ARCHITECTURES} not supported in the ${LB_MODE} mode." + exit 1 + ;; + + ubuntu) + LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-powerpc-smp powerpc64-smp e500 powerpc-e500mc}" + ;; + + *) + LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-powerpc powerpc64}" + ;; + esac + ;; + + s390) + case "${LB_MODE}" in + progress-linux|ubuntu) + Echo_error "Architecture ${LB_ARCHITECTURES} not supported in the ${LB_MODE} mode." + exit 1 + ;; + + *) + LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-s390}" + ;; + esac + ;; + + sparc) + case "${LB_MODE}" in + progress-linux) + Echo_error "Architecture ${LB_ARCHITECTURES} not supported in the ${LB_MODE} mode." + exit 1 + ;; + + *) + LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-sparc64}" + ;; + esac + ;; + + *) + Echo_error "Architecture(s) ${LB_ARCHITECTURES} not yet supported (FIXME)" + exit 1 + ;; + esac + + # Set linux packages + case "${LB_MODE}" in + ubuntu) + LB_LINUX_PACKAGES="${LB_LINUX_PACKAGES:-linux}" + ;; + + *) + case "${LB_PARENT_DISTRIBUTION}" in + squeeze) + LB_LINUX_PACKAGES="${LB_LINUX_PACKAGES:-linux-image-2.6}" + ;; + + *) + LB_LINUX_PACKAGES="${LB_LINUX_PACKAGES:-linux-image}" + ;; + esac + ;; + esac + + # Setting security updates option + case "${LB_PARENT_DISTRIBUTION}" in + jessie|sid) + LB_SECURITY="${LB_SECURITY:-false}" + ;; + + *) + LB_SECURITY="${LB_SECURITY:-true}" + ;; + esac + + # Setting updates updates option + case "${LB_PARENT_DISTRIBUTION}" in + wheezy|jessie|sid) + LB_UPDATES="${LB_UPDATES:-false}" + ;; + + *) + LB_UPDATES="${LB_UPDATES:-true}" + ;; + esac + + ## config/binary + + # Setting image filesystem + case "${LB_ARCHITECTURES}" in + sparc) + LB_BINARY_FILESYSTEM="${LB_BINARY_FILESYSTEM:-ext4}" + ;; + + *) + LB_BINARY_FILESYSTEM="${LB_BINARY_FILESYSTEM:-fat16}" + ;; + esac + + # Setting image type + case "${LB_ARCHITECTURES}" in + amd64|i386) + LB_BINARY_IMAGES="${LB_BINARY_IMAGES:-iso-hybrid}" + ;; + + *) + LB_BINARY_IMAGES="${LB_BINARY_IMAGES:-iso}" + ;; + esac + + # Setting apt indices + case "${LB_MODE}" in + progress-linux) + LB_APT_INDICES="${LB_APT_INDICES:-none}" + ;; + + *) + LB_APT_INDICES="${LB_APT_INDICES:-true}" + ;; + esac + + # Setting bootloader + if [ -z "${LB_BOOTLOADER}" ] + then + case "${LB_ARCHITECTURES}" in + amd64|i386) + LB_BOOTLOADER="syslinux" + ;; + + powerpc) + LB_BOOTLOADER="yaboot" + ;; + + sparc) + LB_BOOTLOADER="silo" + ;; + esac + fi + + # Setting checksums + LB_CHECKSUMS="${LB_CHECKSUMS:-sha256}" + + # Setting compression + LB_COMPRESSION="${LB_COMPRESSION:-none}" + + # Setting zsync + LB_ZSYNC="${LB_ZSYNC:-true}" + + # Setting chroot option + LB_BUILD_WITH_CHROOT="${LB_BUILD_WITH_CHROOT:-true}" + + LB_BUILD_WITH_TMPFS="${LB_BUILD_WITH_TMPFS:-false}" + + # Setting debian-installer option + case "${LB_MODE}" in + progress-linux) + LB_DEBIAN_INSTALLER="${LB_DEBIAN_INSTALLER:-live}" + ;; + + *) + LB_DEBIAN_INSTALLER="${LB_DEBIAN_INSTALLER:-false}" + ;; + esac + + LB_DEBIAN_INSTALLER_DISTRIBUTION="${LB_DEBIAN_INSTALLER_DISTRIBUTION:-${LB_DISTRIBUTION}}" + + # Setting debian-installer-gui + case "${LB_MODE}" in + debian|progress-linux) + LB_DEBIAN_INSTALLER_GUI="${LB_DEBIAN_INSTALLER_GUI:-true}" + ;; + + *) + LB_DEBIAN_INSTALLER_GUI="${LB_DEBIAN_INSTALLER_GUI:-false}" + ;; + esac + + # Setting debian-installer preseed filename + if [ -z "${LB_DEBIAN_INSTALLER_PRESEEDFILE}" ] + then + if Find_files config/debian-installer/preseed.cfg + then + LB_DEBIAN_INSTALLER_PRESEEDFILE="/preseed.cfg" + fi + + if Find_files config/debian-installer/*.cfg && [ ! -e config/debian-installer/preseed.cfg ] + then + 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." + fi + fi + + # Setting boot parameters + case "${LB_INITRAMFS}" in + live-boot) + LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE:-boot=live config quiet splash}" + LB_BOOTAPPEND_LIVE_FAILSAFE="${LB_BOOTAPPEND_LIVE_FAILSAFE:-boot=live config memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal}" + ;; + + casper) + LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE:-boot=casper quiet splash}" + LB_BOOTAPPEND_LIVE_FAILSAFE="${LB_BOOTAPPEND_LIVE_FAILSAFE:-boot=casper memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal}" + ;; + + none) + LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE:-quiet splash}" + LB_BOOTAPPEND_LIVE_FAILSAFE="${LB_BOOTAPPEND_LIVE_FAILSAFE:-memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal}" + ;; + esac + + if [ -n "${LB_DEBIAN_INSTALLER_PRESEEDFILE}" ] + then + case "${LB_BINARY_IMAGES}" in + iso*) + _LB_BOOTAPPEND_PRESEED="file=/cdrom/install/${LB_DEBIAN_INSTALLER_PRESEEDFILE}" + ;; + + hdd*) + case "${LB_MODE}" in + ubuntu) + if [ "${LB_DEBIAN_INSTALLER}" = "live" ] + then + _LB_BOOTAPPEND_PRESEED="file=/cdrom/install/${LB_DEBIAN_INSTALLER_PRESEEDFILE}" + else + _LB_BOOTAPPEND_PRESEED="file=/hd-media/install/${LB_DEBIAN_INSTALLER_PRESEEDFILE}" + fi + ;; + + *) + _LB_BOOTAPPEND_PRESEED="file=/hd-media/install/${LB_DEBIAN_INSTALLER_PRESEEDFILE}" + ;; + esac + ;; + + netboot) + case "${LB_DEBIAN_INSTALLER_PRESEEDFILE}" in + *://*) + _LB_BOOTAPPEND_PRESEED="file=${LB_DEBIAN_INSTALLER_PRESEEDFILE}" + ;; + + *) + _LB_BOOTAPPEND_PRESEED="file=/${LB_DEBIAN_INSTALLER_PRESEEDFILE}" + ;; + esac + ;; + esac + fi + + if [ -n ${_LB_BOOTAPPEND_PRESEED} ] + then + LB_BOOTAPPEND_INSTALL="${LB_BOOTAPPEND_INSTALL} ${_LB_BOOTAPPEND_PRESEED}" + fi + + LB_BOOTAPPEND_INSTALL="$(echo ${LB_BOOTAPPEND_INSTALL} | sed -e 's/[ \t]*$//')" + + # Setting grub splash + # LB_GRUB_SPLASH + + # Setting iso author + case "${LB_MODE}" in + debian) + LB_ISO_APPLICATION="${LB_ISO_APPLICATION:-Debian Live}" + ;; + + emdebian) + LB_ISO_APPLICATION="${LB_ISO_APPLICATION:-Emdebian Live}" + ;; + + progress-linux) + LB_ISO_APPLICATION="${LB_ISO_APPLICATION:-Progress Linux}" + ;; + + ubuntu) + LB_ISO_APPLICATION="${LB_ISO_APPLICATION:-Ubuntu Live}" + ;; + esac + + # Set iso preparer + LB_ISO_PREPARER="${LB_ISO_PREPARER:-live-build \$VERSION; http://packages.qa.debian.org/live-build}" + + # Set iso publisher + case "${LB_MODE}" in + progress-linux) + LB_ISO_PUBLISHER="${LB_ISO_PUBLISHER:-Progress Linux; http://www.progress-linux.org/; progress-project@lists.progress-linux.org}" + ;; + + *) + LB_ISO_PUBLISHER="${LB_ISO_PUBLISHER:-Debian Live project; http://live.debian.net/; debian-live@lists.debian.org}" + ;; + esac + + # Setting hdd options + case "${LB_MODE}" in + debian) + LB_HDD_LABEL="${LB_HDD_LABEL:-DEBIAN_LIVE}" + ;; + + emdebian) + LB_HDD_LABEL="${LB_HDD_LABEL:-EMDEBIAN_LIVE}" + ;; + + progress-linux) + LB_HDD_LABEL="${LB_HDD_LABEL:-PROGRESS_$(echo ${LB_DISTRIBUTION} | tr [a-z] [A-Z])}" + ;; + + ubuntu) + LB_HDD_LABEL="${LB_HDD_LABEL:-UBUNTU}" + ;; + esac + + # Setting hdd size + LB_HDD_SIZE="${LB_HDD_SIZE:-10000}" + + # Setting iso volume + case "${LB_MODE}" in + debian) + LB_ISO_VOLUME="${LB_ISO_VOLUME:-Debian ${LB_DISTRIBUTION} \$(date +%Y%m%d-%H:%M)}" + ;; + + emdebian) + LB_ISO_VOLUME="${LB_ISO_VOLUME:-Emdebian ${LB_DISTRIBUTION} \$(date +%Y%m%d-%H:%M)}" + ;; + + progress-linux) + LB_ISO_VOLUME="${LB_ISO_VOLUME:-Progress ${LB_DISTRIBUTION}}" + ;; + + ubuntu) + LB_ISO_VOLUME="${LB_ISO_VOLUME:-Ubuntu ${LB_DISTRIBUTION} \$(date +%Y%m%d-%H:%M)}" + ;; + esac + + # Setting memtest option + LB_MEMTEST="${LB_MEMTEST:-memtest86+}" + + # Setting loadlin option + case "${LB_MODE}" in + progress-linux|ubuntu) + + ;; + + *) + case "${LB_ARCHITECTURES}" in + amd64|i386) + if [ "${LB_DEBIAN_INSTALLER}" != "false" ] + then + LB_LOADLIN="${LB_LOADLIN:-true}" + else + LB_LOADLIN="${LB_LOADLIN:-false}" + fi + ;; + + *) + LB_LOADLIN="${LB_LOADLIN:-false}" + ;; + esac + ;; + esac + + # Setting win32-loader option + case "${LB_MODE}" in + progress-linux|ubuntu) + + ;; + + *) + case "${LB_ARCHITECTURES}" in + amd64|i386) + if [ "${LB_DEBIAN_INSTALLER}" != "false" ] + then + LB_WIN32_LOADER="${LB_WIN32_LOADER:-true}" + else + LB_WIN32_LOADER="${LB_WIN32_LOADER:-false}" + fi + ;; + + *) + LB_WIN32_LOADER="${LB_WIN32_LOADER:-false}" + ;; + esac + ;; + esac + + # Setting netboot filesystem + LB_NET_ROOT_FILESYSTEM="${LB_NET_ROOT_FILESYSTEM:-nfs}" + + # Setting netboot server path + case "${LB_MODE}" in + progress-linux) + LB_NET_ROOT_PATH="${LB_NET_ROOT_PATH:-/srv/progress-linux}" + ;; + + *) + LB_NET_ROOT_PATH="${LB_NET_ROOT_PATH:-/srv/${LB_MODE}-live}" + ;; + esac + + # Setting netboot server address + LB_NET_ROOT_SERVER="${LB_NET_ROOT_SERVER:-192.168.1.1}" + + # Setting net cow filesystem + LB_NET_COW_FILESYSTEM="${LB_NET_COW_FILESYSTEM:-nfs}" + + # Setting net tarball + LB_NET_TARBALL="${LB_NET_TARBALL:-true}" + + # Setting syslinux theme package + case "${LB_MODE}" in + progress-linux) + LB_SYSLINUX_THEME="${LB_SYSLINUX_THEME:-progress-standard}" + ;; + + ubuntu) + LB_SYSLINUX_THEME="${LB_SYSLINUX_THEME:-ubuntu-oneiric}" + ;; + + *) + LB_SYSLINUX_THEME="${LB_SYSLINUX_THEME:-live-build}" + ;; + esac + + # Setting firmware option + case "${LB_MODE}" in + ubuntu) + LB_FIRMWARE_CHROOT="${LB_FIRMWARE_CHROOT:-false}" + LB_FIRMWARE_BINARY="${LB_FIRMWARE_BINARY:-false}" + ;; + + *) + LB_FIRMWARE_CHROOT="${LB_FIRMWARE_CHROOT:-true}" + LB_FIRMWARE_BINARY="${LB_FIRMWARE_BINARY:-true}" + ;; + esac + + # Setting swap file + LB_SWAP_FILE_SIZE="${LB_SWAP_FILE_SIZE:-512}" + + ## config/source + + # Setting source option + LB_SOURCE="${LB_SOURCE:-false}" + + # Setting image type + LB_SOURCE_IMAGES="${LB_SOURCE_IMAGES:-tar}" + + # Setting fakeroot/fakechroot + LB_USE_FAKEROOT="${LB_USE_FAKEROOT:-false}" +} + +Check_defaults () +{ + if [ "${LB_CONFIG_VERSION}" ] + then + # We're only checking when we're actually running the checks + # that's why the check for emptyness of the version; + # however, as live-build always declares LB_CONFIG_VERSION + # internally, this is safe assumption (no cases where it's unset, + # except when bootstrapping the functions/defaults etc.). + CURRENT_CONFIG_VERSION="$(echo ${LB_CONFIG_VERSION} | awk -F. '{ print $1 }')" + + if [ ${CURRENT_CONFIG_VERSION} -ne 3 ] + then + if [ ${CURRENT_CONFIG_VERSION} -ge 4 ] + then + Echo_error "This config tree is too new for this version of live-build (${VERSION})." + Echo_error "Aborting build, please get a new version of live-build." + + exit 1 + elif [ ${CURRENT_CONFIG_VERSION} -le 2 ] + then + Echo_error "This config tree is too old for this version of live-build (${VERSION})." + Echo_error "Aborting build, please regenerate the config tree." + + exit 1 + else + Echo_warning "This config tree does not specify a format version or has an unknown version number." + Echo_warning "Continuing build, but it could lead to errors or different results. Please regenerate the config tree." + fi + fi + fi + + if [ "${LB_DEBIAN_INSTALLER}" != "false" ] + then + # d-i true, no caching + if ! echo ${LB_CACHE_STAGES} | grep -qs "bootstrap\b" || [ "${LB_CACHE}" != "true" ] || [ "${LB_CACHE_PACKAGES}" != "true" ] + then + 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." + fi + fi + + if [ "${LB_BOOTLOADER}" = "syslinux" ] + then + # syslinux + fat + case "${LB_BINARY_FILESYSTEM}" in + fat*|ntfs) + ;; + *) + Echo_warning "You have selected values of LB_BOOTLOADER and LB_BINARY_FILESYSTEM which are incompatible - syslinux only supports FAT and NTFS filesystems." + ;; + esac + fi + + case "${LB_BINARY_IMAGES}" in + hdd*) + # grub or yaboot + hdd + case "${LB_BOOTLOADER}" in + grub|yaboot) + 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." + exit 1 + ;; + esac + ;; + esac + + if [ "$(echo \"${LB_ISO_APPLICATION}\" | wc -c)" -gt 128 ] + then + Echo_warning "You have specified a value of LB_ISO_APPLICATION that is too long; the maximum length is 128 characters." + fi + + if [ "$(echo \"${LB_ISO_PREPARER}\" | wc -c)" -gt 128 ] + then + Echo_warning "You have specified a value of LB_ISO_PREPARER that is too long; the maximum length is 128 characters." + fi + + if [ "$(echo \"${LB_ISO_PUBLISHER}\" | wc -c)" -gt 128 ] + then + Echo_warning "You have specified a value of LB_ISO_PUBLISHER that is too long; the maximum length is 128 characters." + fi + + if [ "$(eval "echo \"${LB_ISO_VOLUME}\"" | wc -c)" -gt 32 ] + then + Echo_warning "You have specified a value of LB_ISO_VOLUME that is too long; the maximum length is 32 characters." + fi + + # Architectures to use foreign bootstrap for + LB_BOOTSTRAP_QEMU_ARCHITECTURES="${LB_BOOTSTRAP_QEMU_ARCHITECTURES:-}" + + # Packages to exclude for the foreign/ports bootstrapping + LB_BOOTSTRAP_QEMU_EXCLUDE="${LB_BOOTSTRAP_QEMU_EXCLUDE:-}" + + # Ports using foreign bootstrap need a working qemu-*-system. This is the location it + LB_BOOTSTRAP_QEMU_STATIC="${LB_BOOTSTRAP_QEMU_STATIC:-}" + +} diff --git a/functions/echo.sh b/functions/echo.sh new file mode 100755 index 0000000..8ce5d71 --- /dev/null +++ b/functions/echo.sh @@ -0,0 +1,206 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +Echo () +{ + STRING="${1}" + shift + + printf "${STRING}\n" "${@}" +} + +Echo_debug () +{ + if [ "${_DEBUG}" = "true" ] + then + STRING="${1}" + shift + + printf "D: ${STRING}\n" "${@}" + fi +} + +Echo_debug_running () +{ + if [ "${_DEBUG}" = "true" ] + then + STRING="${1}" + shift + + printf "D: ${STRING}" "${@}" + + if [ "${_COLOR}" = "false" ] + then + printf "..." + else + printf "... ${YELLOW}${BLINK}running${NO_COLOR}" + fi + fi +} + +Echo_error () +{ + STRING="${1}" + shift + + if [ "${_COLOR}" = "false" ] + then + printf "E:" + else + printf "${RED}E${NO_COLOR}:" + fi + + printf " ${STRING}\n" "${@}" >&2 +} + +Echo_message () +{ + if [ "${_QUIET}" != "true" ] + then + STRING="${1}" + shift + + if [ "${_COLOR}" = "false" ] + then + printf "P:" + else + printf "${WHITE}P${NO_COLOR}:" + fi + + printf " ${STRING}\n" "${@}" + fi +} + +Echo_message_running () +{ + if [ "${_QUIET}" != "true" ] + then + STRING="${1}" + shift + + if [ "${_COLOR}" = "false" ] + then + printf "P:" + else + printf "${WHITE}P${NO_COLOR}:" + fi + + printf " ${STRING}" "${@}" + + if [ "${_COLOR}" = "true" ] + then + printf "... ${YELLOW}${BLINK}running${NO_COLOR}" + else + printf "..." + fi + fi +} + +Echo_verbose () +{ + if [ "${_VERBOSE}" = "true" ] + then + STRING="${1}" + shift + + printf "I: ${STRING}\n" "${@}" + fi +} + +Echo_verbose_running () +{ + if [ "${_VERBOSE}" != "true" ] + then + STRING="${1}" + shift + + printf "I: ${STRING}" "${@}" + + if [ "${_COLOR}" = "true" ] + then + printf "... ${YELLOW}${BLINK}running${NO_COLOR}" + else + printf "..." + fi + fi +} + +Echo_warning () +{ + STRING="${1}" + shift + + if [ "${_COLOR}" = "false" ] + then + printf "W:" + else + printf "${YELLOW}W${NO_COLOR}:" + fi + + printf " ${STRING}\n" "${@}" +} + +Echo_status () +{ + __RETURN="${?}" + + if [ "${_COLOR}" = "false" ] + then + if [ "${__RETURN}" = "0" ] + then + printf " done.\n" + else + printf " failed.\n" + fi + else + Cursor_columns_backward 8 + + if [ "${__RETURN}" = "0" ] + then + printf " ${GREEN}done${NO_COLOR}. \n" + else + printf " ${RED}failed${NO_COLOR}.\n" + fi + fi +} + +Echo_done () +{ + if [ "${_COLOR}" = "false" ] + then + printf " already done.\n" + else + Cursor_columns_backward 8 + + printf " ${GREEN}already done${NO_COLOR}.\n" + fi +} + +Echo_file () +{ + while read LINE + do + echo "${1}: ${LINE}" + done < "${1}" +} + +Echo_breakage () +{ + case "${LB_PARENT_DISTRIBUTION}" in + sid) + 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." + ;; + *) + Echo_message "If the following stage fails, the most likely cause of the problem is with your mirror configuration or a caching proxy." + ;; + esac + + Echo_message "${@}" +} diff --git a/functions/exit.sh b/functions/exit.sh new file mode 100755 index 0000000..a8e99bb --- /dev/null +++ b/functions/exit.sh @@ -0,0 +1,63 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +Exit () +{ + VALUE="${?}" + + if [ "${_DEBUG}" = "true" ] + then + # Dump variables + set | grep -e ^LB + fi + + # Always exit true in case we are not able to unmount + # (e.g. due to running processes in chroot from user customizations) + Echo_message "Begin unmounting filesystems..." + + if [ -e /proc/mounts ] + then + for DIRECTORY in $(awk -v dir="${PWD}/chroot/" '$2 ~ dir { print $2 }' /proc/mounts | sort -r) + do + umount ${DIRECTORY} > /dev/null 2>&1 || true + done + else + for DIRECTORY in /dev/shm /dev/pts /dev /proc /selinux /sys /root/config + do + umount -f chroot/${DIRECTORY} > /dev/null 2>&1 || true + done + fi + + rm -f .build/chroot_devpts + rm -f .build/chroot_proc + rm -f .build/chroot_selinuxfs + rm -f .build/chroot_sysfs + + Echo_message "Saving caches..." + + # We can't really know at which part we're failing, + # but let's assume that if there's any binary stage file arround + # we are in binary stage. + + if ls .build/binary* > /dev/null 2>&1 + then + Save_cache cache/packages.binary + else + Save_cache cache/packages.chroot + fi + + return ${VALUE} +} + +Setup_cleanup () +{ + Echo_message "Setting up cleanup function" + trap 'Exit' EXIT HUP INT QUIT TERM +} diff --git a/functions/help.sh b/functions/help.sh new file mode 100755 index 0000000..bae08b3 --- /dev/null +++ b/functions/help.sh @@ -0,0 +1,36 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +Help () +{ + Echo "%s - %s" "${PROGRAM}" "${DESCRIPTION}" + echo + Echo "Usage:" + echo + + if [ -n "${USAGE}" ] + then + Echo "${USAGE}" + echo + fi + Echo " %s [-h|--help]" "${PROGRAM}" + Echo " %s [-u|--usage]" "${PROGRAM}" + Echo " %s [-v|--version]" "${PROGRAM}" + echo + + if [ -n "${HELP}" ] + then + Echo "${HELP}" + echo + fi + + Echo "Report bugs to Debian Live project ." + exit 0 +} diff --git a/functions/lockfile.sh b/functions/lockfile.sh new file mode 100755 index 0000000..fa29baa --- /dev/null +++ b/functions/lockfile.sh @@ -0,0 +1,47 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +Check_lockfile () +{ + FILE="${1}" + + if [ -z "${FILE}" ] + then + FILE="/var/lock/${PROGRAM}.lock" + fi + + # Checking lock file + if [ -f "${FILE}" ] + then + Echo_error "${PROGRAM} locked" + exit 1 + fi +} + +Create_lockfile () +{ + FILE="${1}" + + if [ -z "${FILE}" ] + then + FILE="/var/lock/${PROGRAM}.lock" + fi + + DIRECTORY="$(dirname ${FILE})" + + # Creating lock directory + mkdir -p "${DIRECTORY}" + + # Creating lock trap + trap 'ret=${?}; '"rm -f \"${FILE}\";"' exit ${ret}' EXIT HUP INT QUIT TERM + + # Creating lock file + touch "${FILE}" +} diff --git a/functions/losetup.sh b/functions/losetup.sh new file mode 100755 index 0000000..b62cc16 --- /dev/null +++ b/functions/losetup.sh @@ -0,0 +1,79 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + +Lodetach () +{ + DEVICE="${1}" + ATTEMPT="${2:-1}" + + if [ "${ATTEMPT}" -gt 3 ] + then + Echo_error "Failed to detach loop device '${DEVICE}'." + exit 1 + fi + + # Changes to block devices result in uevents which trigger rules which in + # turn access the loop device (ex. udisks-part-id, blkid) which can cause + # a race condition. We call 'udevadm settle' to help avoid this. + if [ -x "$(which udevadm 2>/dev/null)" ] + then + ${LB_ROOT_COMMAND} udevadm settle + fi + + # Loop back devices aren't the most reliable when it comes to writes. + # We sleep and sync for good measure - better than build failure. + sync + sleep 1 + + ${LB_ROOT_COMMAND} ${LB_LOSETUP} -d "${DEVICE}" || Lodetach "${DEVICE}" "$(expr ${ATTEMPT} + 1)" +} + +Losetup () +{ + DEVICE="${1}" + FILE="${2}" + PARTITION="${3:-1}" + + ${LB_ROOT_COMMAND} ${LB_LOSETUP} --read-only "${DEVICE}" "${FILE}" + FDISK_OUT="$(${LB_FDISK} -l -u ${DEVICE} 2>&1)" + Lodetach "${DEVICE}" + + LOOPDEVICE="$(echo ${DEVICE}p${PARTITION})" + + if [ "${PARTITION}" = "0" ] + then + Echo_message "Mounting %s with offset 0" "${DEVICE}" + + ${LB_ROOT_COMMAND} ${LB_LOSETUP} "${DEVICE}" "${FILE}" + else + SECTORS="$(echo "$FDISK_OUT" | sed -ne "s|^$LOOPDEVICE[ *]*\([0-9]*\).*|\1|p")" + OFFSET="$(expr ${SECTORS} '*' 512)" + + Echo_message "Mounting %s with offset %s" "${DEVICE}" "${OFFSET}" + + ${LB_ROOT_COMMAND} ${LB_LOSETUP} -o "${OFFSET}" "${DEVICE}" "${FILE}" + fi +} + +Calculate_partition_size () +{ + ORIGINAL_SIZE="${1}" + FILESYSTEM="${2}" + + case "${FILESYSTEM}" in + ext2|ext3|ext4) + PERCENT="5" + ;; + *) + PERCENT="3" + ;; + esac + + echo $(expr ${ORIGINAL_SIZE} + ${ORIGINAL_SIZE} \* ${PERCENT} / 100 + 1) +} diff --git a/functions/man.sh b/functions/man.sh new file mode 100755 index 0000000..03f2052 --- /dev/null +++ b/functions/man.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +Man () +{ + if [ -x "$(which man 2>/dev/null)" ] + then + man $(basename ${0}) + exit 0 + fi +} diff --git a/functions/packagelists.sh b/functions/packagelists.sh new file mode 100755 index 0000000..aad1ea2 --- /dev/null +++ b/functions/packagelists.sh @@ -0,0 +1,136 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +Expand_packagelist () +{ + _LB_EXPAND_QUEUE="$(basename "${1}")" + + shift + + while [ -n "${_LB_EXPAND_QUEUE}" ] + do + _LB_LIST_NAME="$(echo ${_LB_EXPAND_QUEUE} | cut -d" " -f1)" + _LB_EXPAND_QUEUE="$(echo ${_LB_EXPAND_QUEUE} | cut -s -d" " -f2-)" + _LB_LIST_LOCATION="" + _LB_NESTED=0 + _LB_ENABLED=1 + + for _LB_SEARCH_PATH in ${@} + do + if [ -e "${_LB_SEARCH_PATH}/${_LB_LIST_NAME}" ] + then + _LB_LIST_LOCATION="${_LB_SEARCH_PATH}/${_LB_LIST_NAME}" + break + fi + done + + if [ -z "${_LB_LIST_LOCATION}" ] + then + echo "W: Unknown package list '${_LB_LIST_NAME}'" >&2 + continue + fi + + while read _LB_LINE + do + case "${_LB_LINE}" in + \!*) + _EXEC="$(echo ${_LB_LINE} | sed -e 's|^!||')" + + case "${LB_BUILD_WITH_CHROOT}" in + true) + chroot chroot sh -c "${_EXEC}" + ;; + + false) + eval ${_EXEC} + ;; + esac + ;; + + \#if\ *) + if [ ${_LB_NESTED} -eq 1 ] + then + echo "E: Nesting conditionals is not supported" >&2 + exit 1 + fi + _LB_NESTED=1 + + _LB_NEEDLE="$(echo "${_LB_LINE}" | cut -d' ' -f3-)" + _LB_HAYSTACK="$(eval "echo \$LB_$(echo "${_LB_LINE}" | cut -d' ' -f2)")" + + _LB_ENABLED=0 + for _LB_NEEDLE_PART in ${_LB_NEEDLE} + do + for _LB_HAYSTACK_PART in ${_LB_HAYSTACK} + do + if [ "${_LB_NEEDLE_PART}" = "${_LB_HAYSTACK_PART}" ] + then + _LB_ENABLED=1 + fi + done + done + ;; + + \#nif\ *) + if [ ${_LB_NESTED} -eq 1 ] + then + echo "E: Nesting conditionals is not supported" >&2 + exit 1 + fi + _LB_NESTED=1 + + _LB_NEEDLE="$(echo "${_LB_LINE}" | cut -d' ' -f3-)" + _LB_HAYSTACK="$(eval "echo \$LB_$(echo "${_LB_LINE}" | cut -d' ' -f2)")" + + _LB_ENABLED=0 + for _LB_NEEDLE_PART in ${_LB_NEEDLE} + do + for _LB_HAYSTACK_PART in ${_LB_HAYSTACK} + do + if [ "${_LB_NEEDLE_PART}" != "${_LB_HAYSTACK_PART}" ] + then + _LB_ENABLED=1 + fi + done + done + ;; + + \#endif*) + _LB_NESTED=0 + _LB_ENABLED=1 + ;; + + \#*) + if [ ${_LB_ENABLED} -ne 1 ] + then + continue + fi + + # Find includes + _LB_INCLUDES="$(echo "${_LB_LINE}" | sed -n \ + -e 's|^# \([^ ]*\)|\1|gp' \ + -e 's|^#include <\([^ ]*\)>|\1|gp')" + + # Add to queue + _LB_EXPAND_QUEUE="$(echo ${_LB_EXPAND_QUEUE} ${_LB_INCLUDES} | + sed -e 's|[ ]*$||' -e 's|^[ ]*||')" + ;; + + *) + if [ ${_LB_ENABLED} -eq 1 ] + then + echo "${_LB_LINE}" + fi + ;; + + esac + done < "${_LB_LIST_LOCATION}" + done +} diff --git a/functions/packages.sh b/functions/packages.sh new file mode 100755 index 0000000..4e562b8 --- /dev/null +++ b/functions/packages.sh @@ -0,0 +1,103 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +Check_package () +{ + FILE="${1}" + PACKAGE="${2}" + + Check_installed "${FILE}" "${PACKAGE}" + + case "${INSTALL_STATUS}" in + 1) + _LB_PACKAGES="${_LB_PACKAGES} ${PACKAGE}" + ;; + + 2) + Echo_error "You need to install %s on your host system." "${PACKAGE}" + exit 1 + ;; + esac +} + +Install_package () +{ + if [ -n "${_LB_PACKAGES}" ] && [ "${LB_BUILD_WITH_CHROOT}" != "false" ] + then + case "${LB_APT}" in + apt|apt-get) + Chroot chroot "apt-get install -o APT::Install-Recommends=false ${APT_OPTIONS} ${_LB_PACKAGES}" + ;; + + aptitude) + Chroot chroot "aptitude install --without-recommends ${APTITUDE_OPTIONS} ${_LB_PACKAGES}" + ;; + esac + fi +} + +Remove_package () +{ + if [ -n "${_LB_PACKAGES}" ] && [ "${LB_BUILD_WITH_CHROOT}" != "false" ] + then + case "${LB_APT}" in + apt|apt-get) + Chroot chroot "apt-get remove --purge ${APT_OPTIONS} ${_LB_PACKAGES}" + ;; + + aptitude) + Chroot chroot "aptitude purge ${APTITUDE_OPTIONS} ${_LB_PACKAGES}" + ;; + esac + fi +} + +# Check_installed +# uses as return value global var INSTALL_STATUS +# INSTALL_STATUS : 0 if package is installed +# 1 if package isn't installed and we're in an apt managed system +# 2 if package isn't installed and we aren't in an apt managed system +Check_installed () +{ + FILE="${1}" + PACKAGE="${2}" + + case "${LB_BUILD_WITH_CHROOT}" in + true) + if Chroot chroot "dpkg-query -s ${PACKAGE}" 2> /dev/null | grep -qs "Status: install" + then + INSTALL_STATUS=0 + else + INSTALL_STATUS=1 + fi + ;; + false) + if which dpkg-query > /dev/null 2>&1 + then + if Chroot chroot "dpkg-query -s ${PACKAGE}" 2> /dev/null | grep -qs "Status: install" + then + INSTALL_STATUS=0 + else + INSTALL_STATUS=1 + fi + else + FILE="$(echo ${FILE} | sed -e 's|chroot||')" + + if [ ! -e "${FILE}" ] + then + INSTALL_STATUS=2 + else + INSTALL_STATUS=0 + fi + fi + ;; + esac +} + diff --git a/functions/releases.sh b/functions/releases.sh new file mode 100755 index 0000000..195353c --- /dev/null +++ b/functions/releases.sh @@ -0,0 +1,27 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +# Debian releases +RELEASE_squeeze="6.0.6" +RELEASE_wheezy="7.0~b2" +RELEASE_jessie="8" +RELEASE_sid="unstable" + +# Progress Linux releases +RELEASE_artax="1.0" +RELEASE_baureo="2.0" +RELEASE_charon="unstable" + +# Ubuntu releases +RELEASE_hardy="8.04" # LTS: 2013-04-01 +RELEASE_lucid="10.04" # LTS: 2015-04-01 +RELEASE_oneiric="11.10" # 2013-04-01 +RELEASE_precise="12.04" # LTS: 2017-04-01 +RELEASE_quantal="12.10" # 2014-04-01 diff --git a/functions/stagefile.sh b/functions/stagefile.sh new file mode 100755 index 0000000..7d6aa6b --- /dev/null +++ b/functions/stagefile.sh @@ -0,0 +1,71 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +Check_stagefile () +{ + FILE="${1}" + NAME="$(basename ${1})" + + # Checking stage file + if [ -f "${FILE}" ] + then + if [ "${_FORCE}" != "true" ] + then + # Skipping execution + Echo_warning "skipping %s, already done" "${NAME}" + exit 0 + else + # Forcing execution + Echo_message "forcing %s" "${NAME}" + rm -f "${FILE}" + fi + fi +} + +Create_stagefile () +{ + FILE="${1}" + DIRECTORY="$(dirname ${1})" + + # Creating stage directory + mkdir -p "${DIRECTORY}" + + # Creating stage file + touch "${FILE}" +} + +Require_stagefile () +{ + NAME="$(basename ${0})" + FILES="${@}" + NUMBER="$(echo ${@} | wc -w)" + + for FILE in ${FILES} + do + # Find at least one of the required stages + if [ -f ${FILE} ] + then + CONTINUE="true" + NAME="${NAME} $(basename ${FILE})" + fi + done + + if [ "${CONTINUE}" != "true" ] + then + if [ "${NUMBER}" -eq 1 ] + then + Echo_error "%s: %s missing" "${NAME}" "${FILE}" + else + Echo_error "%s: one of %s is missing" "${NAME}" "${FILES}" + fi + + exit 1 + fi +} diff --git a/functions/templates.sh b/functions/templates.sh new file mode 100755 index 0000000..d6a54d0 --- /dev/null +++ b/functions/templates.sh @@ -0,0 +1,25 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +Check_templates () +{ + PACKAGE="${1}" + + if [ -d "config/templates/${PACKAGE}" ] + then + TEMPLATES="config/templates/${PACKAGE}" + elif [ -d "${LB_TEMPLATES}/${PACKAGE}" ] + then + TEMPLATES="${LB_TEMPLATES}/${PACKAGE}" + else + Echo_error "%s templates not accessible in %s nor config/templates" "${PACKAGE}" "${LB_TEMPLATES}" + exit 1 + fi +} diff --git a/functions/usage.sh b/functions/usage.sh new file mode 100755 index 0000000..789e795 --- /dev/null +++ b/functions/usage.sh @@ -0,0 +1,31 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +Usage () +{ + printf "%s - %s\n" "${PROGRAM}" "${DESCRIPTION}" + echo + Echo "Usage:" + echo + + if [ -n "${USAGE}" ] + then + Echo " ${USAGE}" + echo + fi + + printf " %s [-h|--help]\n" "${PROGRAM}" + printf " %s [-u|--usage]\n" "${PROGRAM}" + printf " %s [-v|--version]\n" "${PROGRAM}" + echo + Echo "Try \"%s --help\" for more information." "${PROGRAM}" + + exit 1 +} diff --git a/functions/wrapper.sh b/functions/wrapper.sh new file mode 100755 index 0000000..e760dcd --- /dev/null +++ b/functions/wrapper.sh @@ -0,0 +1,25 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +Apt () +{ + CHROOT="${1}" + shift + + case "${LB_APT}" in + apt|apt-get) + Chroot ${CHROOT} apt-get ${APT_OPTIONS} ${@} + ;; + + aptitude) + Chroot ${CHROOT} aptitude ${APTITUDE_OPTIONS} ${@} + ;; + esac +} diff --git a/manpages/Makefile b/manpages/Makefile new file mode 100644 index 0000000..35128f1 --- /dev/null +++ b/manpages/Makefile @@ -0,0 +1,40 @@ +# Makefile + +SHELL := sh -e + +LANGUAGES = $(shell cd po && ls) + +all: build + +po4a.cfg: + echo "[po4a_langs] $(LANGUAGES)" > po4a.cfg + echo "[po4a_paths] pot/\$$master.pot \$$lang:po/\$$lang/\$$master.po" >> po4a.cfg + + for MANPAGE in en/*; \ + do \ + SECTION="$$(basename $${MANPAGE} | sed -e 's|\.|\n|g' | tail -n1)"; \ + echo "[type: man] $${MANPAGE} \$$lang:\$$lang/$$(basename $${MANPAGE} .$${SECTION}).\$$lang.$${SECTION}" >> po4a.cfg; \ + done + +update: + ./bin/update-version.sh + +build: po4a.cfg + @if [ ! -x "$$(which po4a 2>/dev/null)" ]; \ + then \ + echo "E: po4a - command not found"; \ + echo "I: po4a can be optained from http://po4a.alioth.debian.org/"; \ + echo "I: On Debian based systems, po4a can be installed with 'apt-get install po4a'."; \ + exit 1; \ + fi + + po4a --keep 0 --no-backups --package-name live-build po4a.cfg + +clean: + rm -f po/*/*.po~ + +distclean: clean + rm -f po4a.cfg + rm -rf $(LANGUAGES) + +rebuild: distclean update build diff --git a/manpages/bin/update-version.sh b/manpages/bin/update-version.sh new file mode 100755 index 0000000..b996d7c --- /dev/null +++ b/manpages/bin/update-version.sh @@ -0,0 +1,50 @@ +#!/bin/sh + +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2012 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +set -e + +PROGRAM="LIVE\\\-BUILD" +VERSION="$(cat ../VERSION)" + +DATE="$(LC_ALL=C date +%Y\\\\-%m\\\\-%d)" + +DAY="$(LC_ALL=C date +%d)" +MONTH="$(LC_ALL=C date +%m)" +YEAR="$(LC_ALL=C date +%Y)" + +echo "Updating version headers..." + +for MANPAGE in en/* +do + SECTION="$(basename ${MANPAGE} | awk -F. '{ print $2 }')" + + sed -i -e "s|^.TH.*$|.TH ${PROGRAM} ${SECTION} ${DATE} ${VERSION} \"Debian Live Project\"|" ${MANPAGE} +done + +# European date format +for _LANGUAGE in de es fr it +do + if ls po/${_LANGUAGE}/*.po > /dev/null 2>&1 + then + for _FILE in po/${_LANGUAGE}/*.po + do + sed -i -e "s|^msgstr .*.2012\"$|msgstr \"${DAY}.${MONTH}.${YEAR}\"|g" "${_FILE}" + done + fi +done + +# Brazilian date format +if ls po/pt_BR/*.po > /dev/null 2>&1 +then + for _FILE in po/pt_BR/*.po + do + sed -i -e "s|^msgstr .*-2012\"$|msgstr \"${DAY}-${MONTH}-${YEAR}\"|g" "${_FILE}" + done +fi diff --git a/manpages/de/lb.de.1 b/manpages/de/lb.de.1 new file mode 100644 index 0000000..65751b4 --- /dev/null +++ b/manpages/de/lb.de.1 @@ -0,0 +1,48 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4\-1 "Debian Live Project" + +.SH NAME +\fBlb\fP \- wrapper for live\-build programs + +.SH SYNOPSIS +\fBlb\fP COMMAND [COMMAND_OPTIONS] +.PP +\fBlb\fP [\fIlive\-build\ options\fP] + +.SH DESCRIPTION +\fBlb\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the Debian +Live tool suite. +.PP + +.\" FIXME +.SH OPTIONS +\fBlb\fP has no specific options but understands all generic live\-build +options. See \fIlive\-build\fP(7) for a complete list of all generic live\-build +options. + +.SH FILES +.IP \fBnone\fP 4 + +.SH "SEE ALSO" +\fIlive\-build\fP(7) +.PP +This program is a part of live\-build. + +.SH HOMEPAGE +More information about live\-build and the Debian Live project can be found +on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at +<\fIhttp://live.debian.net/manual/\fP>. + +.SH BUGS +Bugs can be reported by submitting a bugreport for the live\-build package in +the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by +writing a mail to the Debian Live mailing list at +<\fIdebian\-live@lists.debian.org\fP>. + +.SH AUTHOR +live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fP> for +the Debian project. diff --git a/manpages/de/lb_binary.de.1 b/manpages/de/lb_binary.de.1 new file mode 100644 index 0000000..8cdd063 --- /dev/null +++ b/manpages/de/lb_binary.de.1 @@ -0,0 +1,47 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4\-1 "Debian Live Project" + +.SH NAME +\fBlb binary\fP \- Complete the binary stage + +.SH SYNOPSIS +\fBlb binary\fP [\fIlive\-build options\fP] + +.SH DESCRIPTION +\fBlb binary\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the +Debian Live tool suite. +.PP +\fBlb binary\fP calls all necessary live\-build programs in the correct order to +complete the binary stage. + +.SH OPTIONS +\fBlb binary\fP has no specific options but understands all generic live\-build +options. See \fIlive\-build\fP(7) for a complete list of all generic live\-build +options. + +.SH FILES +.IP \fBnone\fP 4 + +.SH "SEE ALSO" +\fIlive\-build\fP(7) +.PP +This program is a part of live\-build. + +.SH HOMEPAGE +More information about live\-build and the Debian Live project can be found +on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at +<\fIhttp://live.debian.net/manual/\fP>. + +.SH BUGS +Bugs can be reported by submitting a bugreport for the live\-build package in +the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by +writing a mail to the Debian Live mailing list at +<\fIdebian\-live@lists.debian.org\fP>. + +.SH AUTHOR +live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fP> for +the Debian project. diff --git a/manpages/de/lb_bootstrap.de.1 b/manpages/de/lb_bootstrap.de.1 new file mode 100644 index 0000000..019af2b --- /dev/null +++ b/manpages/de/lb_bootstrap.de.1 @@ -0,0 +1,47 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4\-1 "Debian Live Project" + +.SH NAME +\fBlb bootstrap\fP \- Complete the bootstrap stage + +.SH SYNOPSIS +\fBlb bootstrap\fP [\fIlive\-build options\fP] + +.SH DESCRIPTION +\fBlb bootstrap\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the +Debian Live tool suite. +.PP +\fBlb bootstrap\fP calls all necessary live\-build programs in the correct order +to complete the bootstrap stage. + +.SH OPTIONS +\fBlb bootstrap\fP has no specific options but understands all generic +live\-build options. See \fIlive\-build\fP(7) for a complete list of all generic +live\-build options. + +.SH FILES +.IP \fBnone\fP 4 + +.SH "SEE ALSO" +\fIlive\-build\fP(7) +.PP +This program is a part of live\-build. + +.SH HOMEPAGE +More information about live\-build and the Debian Live project can be found +on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at +<\fIhttp://live.debian.net/manual/\fP>. + +.SH BUGS +Bugs can be reported by submitting a bugreport for the live\-build package in +the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by +writing a mail to the Debian Live mailing list at +<\fIdebian\-live@lists.debian.org\fP>. + +.SH AUTHOR +live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fP> for +the Debian project. diff --git a/manpages/de/lb_build.de.1 b/manpages/de/lb_build.de.1 new file mode 100644 index 0000000..e173842 --- /dev/null +++ b/manpages/de/lb_build.de.1 @@ -0,0 +1,49 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4\-1 "Debian Live Project" + +.SH NAME +\fBlb build\fP \- Complete the bootstrap, chroot, binary, and source stages + +.SH SYNOPSIS +\fBlb build\fP [\fIlive\-build options\fP] + +.SH DESCRIPTION +\fBlb build\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the +Debian Live tool suite. +.PP +\fBlb build\fP calls all necessary live\-build programs in the correct order to +complete the bootstrap, chroot, binary, and source stages. + +.SH OPTIONS +\fBlb build\fP has no specific options but understands all generic live\-build +options. See \fIlive\-build\fP(7) for a complete list of all generic live\-build +options. + +.SH FILES +.\" FIXME +.IP \fBauto/build\fP 4 + +.\" FIXME +.SH "SEE ALSO" +\fIlive\-build\fP(7) +.PP +This program is a part of live\-build. + +.SH HOMEPAGE +More information about live\-build and the Debian Live project can be found +on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at +<\fIhttp://live.debian.net/manual/\fP>. + +.SH BUGS +Bugs can be reported by submitting a bugreport for the live\-build package in +the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by +writing a mail to the Debian Live mailing list at +<\fIdebian\-live@lists.debian.org\fP>. + +.SH AUTHOR +live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fP> for +the Debian project. diff --git a/manpages/de/lb_chroot.de.1 b/manpages/de/lb_chroot.de.1 new file mode 100644 index 0000000..04122d9 --- /dev/null +++ b/manpages/de/lb_chroot.de.1 @@ -0,0 +1,47 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4\-1 "Debian Live Project" + +.SH NAME +\fBlb chroot\fP \- Complete the chroot stage + +.SH SYNOPSIS +\fBlb chroot\fP [\fIlive\-build options\fP] + +.SH DESCRIPTION +\fBlb chroot\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the +Debian Live tool suite. +.PP +\fBlb chroot\fP calls all necessary live\-build programs in the correct order to +complete the chroot stage. + +.SH OPTIONS +\fBlb chroot\fP has no specific options but understands all generic live\-build +options. See \fIlive\-build\fP(7) for a complete list of all generic live\-build +options. + +.SH FILES +.IP \fBnone\fP 4 + +.SH "SEE ALSO" +\fIlive\-build\fP(7) +.PP +This program is a part of live\-build. + +.SH HOMEPAGE +More information about live\-build and the Debian Live project can be found +on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at +<\fIhttp://live.debian.net/manual/\fP>. + +.SH BUGS +Bugs can be reported by submitting a bugreport for the live\-build package in +the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by +writing a mail to the Debian Live mailing list at +<\fIdebian\-live@lists.debian.org\fP>. + +.SH AUTHOR +live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fP> for +the Debian project. diff --git a/manpages/de/lb_clean.de.1 b/manpages/de/lb_clean.de.1 new file mode 100644 index 0000000..6827706 --- /dev/null +++ b/manpages/de/lb_clean.de.1 @@ -0,0 +1,73 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4\-1 "Debian Live Project" + +.SH NAME +\fBlb clean\fP \- Clean build directory + +.SH SYNOPSIS +\fBlb clean\fP [\fIlive\-build options\fP] + +.SH DESCRIPTION +\fBlb clean\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the +Debian Live tool suite. +.PP +.\" FIXME +.\" FIXME +\fBlb clean\fP 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. + +.SH OPTIONS +In addition to its specific options \fBlb clean\fP understands all generic +live\-build options. See \fIlive\-build\fP(7) for a complete list of all generic +live\-build options. +.PP +.\" FIXME +.IP \fB\-\-all\fP 4 +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. +.IP \fB\-\-cache\fP 4 +removes the cache directories. +.IP \fB\-\-chroot\fP 4 +unmounts and removes the chroot directory. +.IP \fB\-\-binary\fP 4 +removes all binary related caches, files, directories, and stages files. +.IP \fB\-\-purge\fP 4 +removes everything, including all caches. The config directory is kept. +.IP \fB\-\-remove\fP 4 +removes everything, including package cache but not stage cache. The config +directory is kept. +.IP \fB\-\-stage\fP 4 +removes all stage files. +.IP \fB\-\-source\fP 4 +.\" FIXME +removes all source related caches, files, directories, and stage files. + +.SH FILES +.\" FIXME +.IP \fBauto/clean\fP 4 + +.\" FIXME +.SH "SEE ALSO" +\fIlive\-build\fP(7) +.PP +This program is a part of live\-build. + +.SH HOMEPAGE +More information about live\-build and the Debian Live project can be found +on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at +<\fIhttp://live.debian.net/manual/\fP>. + +.SH BUGS +Bugs can be reported by submitting a bugreport for the live\-build package in +the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by +writing a mail to the Debian Live mailing list at +<\fIdebian\-live@lists.debian.org\fP>. + +.SH AUTHOR +live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fP> for +the Debian project. diff --git a/manpages/de/lb_config.de.1 b/manpages/de/lb_config.de.1 new file mode 100644 index 0000000..66f017b --- /dev/null +++ b/manpages/de/lb_config.de.1 @@ -0,0 +1,807 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4\-1 "Debian Live Project" + +.SH NAME +\fBlb config\fP \- Create config directory + +.SH SYNOPSIS +\fBlb config\fP [\fIlive\-build options\fP] +.PP +.\" FIXME +\fBlb config\fP +.br + [\fB\-\-apt\fP apt|aptitude] +.br + [\fB\-\-apt\-ftp\-proxy\fP \fIURL\fP] +.br + [\fB\-\-apt\-http\-proxy\fP \fIURL\fP] +.br + [\fB\-\-apt\-indices\fP true|false|none] +.br + [\fB\-\-apt\-options\fP \fIOPTION\fP|"\fIOPTIONS\fP"] +.br + [\fB\-\-aptitude\-options\fP \fIOPTION\fP|"\fIOPTIONS\fP"] +.br + [\fB\-\-apt\-pipeline\fP \fIDEPTH\fP] +.br + [\fB\-\-apt\-recommends\fP true|false] +.br + [\fB\-\-apt\-secure\fP true|false] +.br + [\fB\-\-apt\-source\-archives\fP true|false] +.br + [\-a|\fB\-\-architectures\fP \fIARCHITECTURE\fP] +.br + [\-b|\fB\-\-binary\-images\fP iso|iso\-hybrid|netboot|tar|hdd] +.br + [\fB\-\-binary\-filesystem\fP fat16|fat32|ext2|ext3|ext4] +.br + [\fB\-\-bootappend\-install\fP \fIPARAMETER\fP|\fI"PARAMETERS"\fP] +.br + [\fB\-\-bootappend\-live\fP \fIPARAMETER\fP|\fI"PARAMETERS"\fP] +.br + [\fB\-\-bootloader\fP grub|syslinux|yaboot] +.br + [\fB\-\-bootstrap\fP cdebootstrap|cdebootstrap\-static|debootstrap] +.br + [\fB\-\-cache\fP true|false] +.br + [\fB\-\-cache\-indices\fP true|false] +.br + [\fB\-\-cache\-packages\fP true|false] +.br + [\fB\-\-cache\-stages\fP \fISTAGE\fP|\fI"STAGES"\fP] +.br + [\fB\-\-checksums\fP md5|sha1|sha256|none] +.br + [\fB\-\-compression\fP bzip2|gzip|lzip|none] +.br + [\fB\-\-config\fP \fIGIT_URL::GIT_ID\fP] +.br + [\fB\-\-build\-with\-chroot\fP true|false] +.br + [\fB\-\-chroot\-filesystem\fP ext2|ext3|ext4|squashfs|jffs2|none] +.br + [\fB\-\-clean\fP] +.br + [\-c|\fB\-\-conffile\fP \fIFILE\fP] +.br + [\fB\-\-debconf\-frontend\fP dialog|editor|noninteractive|readline] +.br + [\fB\-\-debconf\-priority\fP low|medium|high|critical] +.br + [\fB\-\-debian\-installer\fP true|cdrom|netinst|netboot|businesscard|live|false] +.br + [\fB\-\-debian\-installer\-distribution\fP daily|\fICODENAME\fP] +.br + [\fB\-\-debian\-installer\-preseedfile\fP \fIFILE\fP|\fIURL\fP] +.br + [\fB\-\-debian\-installer\-gui\fP true|false] +.br + [\fB\-\-debug\fP] +.br + [\-d|\fB\-\-distribution\fP \fICODENAME\fP] +.br + [\fB\-\-parent\-distribution\fP \fICODENAME\fP] +.br + [\fB\-\-parent\-debian\-installer\-distribution\fP \fICODENAME\fP] +.br + [\fB\-\-dump\fP] +.br + [\fB\-\-fdisk\fP fdisk|fdisk.dist] +.br + [\fB\-\-firmware\-binary true|false\fP] +.br + [\fB\-\-firmware\-chroot true|false\fP] +.br + [\fB\-\-force\fP] +.br + [\fB\-\-grub\-splash\fP \fIFILE\fP] +.br + [\fB\-\-gzip\-options\fP \fIOPTION\fP|"\fIOPTIONS\fP"] +.br + [\fB\-\-hooks\fP \fIFILE\fP] +.br + [\fB\-\-ignore\-system\-defaults\fP] +.br + [\fB\-\-initramfs\fP auto|none|live\-boot|casper] +.br + [\fB\-\-initramfs\-compression\fP bzip2|gzip|lzma] +.br + [\fB\-\-initsystem\fP sysvinit|runit|systemd|upstart|none] +.br + [\fB\-\-interactive\fP shell] +.br + [\fB\-\-isohybrid\-options\fP \fIOPTION\fP|"\fIOPTIONS\fP"] +.br + [\fB\-\-iso\-application\fP \fINAME\fP] +.br + [\fB\-\-iso\-preparer\fP \fINAME\fP] +.br + [\fB\-\-iso\-publisher\fP \fINAME\fP] +.br + [\fB\-\-iso\-volume\fP \fINAME\fP] +.br + [\fB\-\-jffs2\-eraseblock\fP \fISIZE\fP] +.br + [\fB\-\-keyring\-packages\fP \fIPACKAGE|"PACKAGES"\fP] +.br + [\-k|\fB\-\-linux\-flavours\fP \fIFLAVOUR\fP|\fI"FLAVOURS"\fP] +.br + [\fB\-\-linux\-packages\fP \fI"PACKAGES"\fP] +.br + [\fB\-\-losetup\fP losetup|losetup.orig] +.br + [\fB\-\-memtest\fP memtest86+|memtest86|none] +.br + [\-m|\fB\-\-parent\-mirror\-bootstrap\fP \fIURL\fP] +.br + [\fB\-\-parent\-mirror\-chroot\fP \fIURL\fP] +.br + [\fB\-\-parent\-mirror\-chroot\-security\fP \fIURL\fP] +.br + [\fB\-\-parent\-mirror\-chroot\-updates\fP \fIURL\fP] +.br + [\fB\-\-parent\-mirror\-chroot\-backports\fP \fIURL\fP] +.br + [\fB\-\-parent\-mirror\-binary\fP \fIURL\fP] +.br + [\fB\-\-parent\-mirror\-binary\-security\fP \fIURL\fP] +.br + [\fB\-\-parent\-mirror\-binary\-updates\fP \fIURL\fP] +.br + [\fB\-\-parent\-mirror\-binary\-backports\fP \fIURL\fP] +.br + [\fB\-\-parent\-mirror\-debian\-installer\fP \fIURL\fP] +.br + [\fB\-\-mirror\-bootstrap\fP \fIURL\fP] +.br + [\fB\-\-mirror\-chroot\fP \fIURL\fP] +.br + [\fB\-\-mirror\-chroot\-security\fP \fIURL\fP] +.br + [\fB\-\-mirror\-chroot\-updates\fP \fIURL\fP] +.br + [\fB\-\-mirror\-chroot\-backports\fP \fIURL\fP] +.br + [\fB\-\-mirror\-binary\fP \fIURL\fP] +.br + [\fB\-\-mirror\-binary\-security\fP \fIURL\fP] +.br + [\fB\-\-mirror\-binary\-updates\fP \fIURL\fP] +.br + [\fB\-\-mirror\-binary\-backports\fP \fIURL\fP] +.br + [\fB\-\-mirror\-debian\-installer\fP \fIURL\fP] +.br + [\fB\-\-mode\fP debian|emdebian|progress\-linux|ubuntu] +.br + [\fB\-\-system\fP live|normal] +.br + [\fB\-\-net\-root\-filesystem\fP nfs|cfs] +.br + [\fB\-\-net\-root\-mountoptions\fP \fIOPTIONS\fP] +.br + [\fB\-\-net\-root\-path\fP \fIPATH\fP] +.br + [\fB\-\-net\-root\-server\fP \fIIP\fP|\fIHOSTNAME\fP] +.br + [\fB\-\-net\-cow\-filesystem\fP nfs|cfs] +.br + [\fB\-\-net\-cow\-mountoptions\fP \fIOPTIONS\fP] +.br + [\fB\-\-net\-cow\-path\fP \fIPATH\fP] +.br + [\fB\-\-net\-cow\-server\fP \fIIP\fP|\fIHOSTNAME\fP] +.br + [\fB\-\-net\-tarball\fP true|false] +.br + [\-p|\fB\-\-package\-lists\fP \fILIST\fP|\fI"LISTS"\fP] +.br + [\fB\-\-quiet\fP] +.br + [\fB\-\-root\-command\fP sudo] +.br + [\fB\-\-use\-fakeroot\fP true|false] +.br + [\fB\-\-archives\fP \fIARCHIVE\fP|\fI"ARCHIVES"\fP] +.br + [\fB\-\-archive\-areas\fP \fIARCHIVE_AREA\fP|\fI"ARCHIVE_AREAS"\fP] +.br + [\fB\-\-parent\-archive\-areas\fP +\fIPARENT_ARCHIVE_AREA\fP|\fI"PARENT_ARCHIVE_AREAS"\fP] +.br + [\fB\-\-security\fP true|false] +.br + [\fB\-\-source\fP true|false] +.br + [\-s|\fB\-\-source\-images\fP iso|netboot|tar|hdd] +.br + [\fB\-\-syslinux\-theme\fP \fITHEME_SUFFIX\fP] +.br + [\fB\-\-tasksel\fP apt|aptitude|tasksel] +.br + [\fB\-\-templates\fP \fIPATH\fP] +.br + [\fB\-\-hdd\-size \fP\fIMB\fP] +.br + [\fB\-\-updates\fP true|false] +.br + [\fB\-\-backports\fP true|false] +.br + [\fB\-\-exposed\-root\fP true|false] +.br + [\fB\-\-verbose\fP] +.br +.\" FIXME + [\fB\-\-win32\-loader true|false]\fP + +.SH DESCRIPTION +\fBlb config\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the +Debian Live tool suite. +.PP +.\" FIXME +\fBlb config\fP populates the configuration directory for live\-build. By +default, this directory is named 'config' and is created in the current +directory where \fBlb config\fP was executed. +.PP +.\" FIXME +Note: Currently \fBlb config\fP 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\fP 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\fP called with one option only changes +that option, and leaves everything else as is unless its not +defined. However, \fBlb config\fP 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\fP again. + +.SH OPTIONS +In addition to its specific options \fBlb config\fP understands all generic +live\-build options. See \fIlive\-build\fP(7) for a complete list of all generic +live\-build options. +.PP +.\" FIXME +.IP "\fB\-\-apt\fP apt|aptitude" 4 +defines if apt\-get or aptitude is used to install packages when building the +image. The default is apt. +.IP "\fB\-\-apt\-ftp\-proxy\fP \fIURL\fP" 4 +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. +.IP "\fB\-\-apt\-http\-proxy\fP \fIURL\fP" 4 +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. +.IP "\fB\-\-apt\-indices\fP true|false|none" 4 +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. +.IP "\fB\-\-apt\-options\fP \fIOPTION\fP|\(dq\fIOPTIONS\fP\(dq" 4 +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. +.IP "\fB\-\-aptitude\-options\fP \fIOPTION\fP|\(dq\fIOPTIONS\fP\(dq" 4 +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. +.IP "\fB\-\-apt\-pipeline\fP \fIDEPTH\fP" 4 +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. +.IP "\fB\-\-apt\-recommends\fP true|false" 4 +defines if apt should install recommended packages automatically. By +default, this is true except in emdebian mode. +.IP "\fB\-\-apt\-secure\fP true|false" 4 +defines if apt should check repository signatures. This is true by default. +.IP "\fB\-\-apt\-source\-archives\fP true|false" 4 +defines if deb\-src entries should be included in the resulting live image or +not, defaults to on. +.IP "\-a|\fB\-\-architectures\fP \fIARCHITECTURE\fP" 4 +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. +.IP "\-b|\fB\-\-binary\-images\fP iso|iso\-hybrid|netboot|tar|hdd" 4 +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. +.IP "\fB\-\-binary\-filesystem\fP fat16|fat32|ext2|ext3|ext4" 4 +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. +.IP "\fB\-\-bootappend\-install\fP \fIPARAMETER\fP|\(dq\fIPARAMETERS\fP\(dq" 4 +sets boot parameters specific to debian\-installer, if included. +.IP "\fB\-\-bootappend\-live\fP \fIPARAMETER\fP|\(dq\fIPARAMETERS\fP\(dq" 4 +sets boot parameters specific to debian\-live. A complete list of boot +parameters can be found in the \fIlive\-boot\fP(7) and \fIlive\-config\fP(7) manual +pages. +.IP "\fB\-\-bootloader\fP grub|syslinux|yaboot" 4 +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\fP 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. +.IP "\fB\-\-bootstrap\fP cdebootstrap|cdebootstrap\-static|debootstrap" 4 +defines which program is used to bootstrap the debian chroot, default is +debootstrap. +.IP "\fB\-\-cache\fP true|false" 4 +defines globally if any cache should be used at all. Different caches can be +controled through the their own options. +.IP "\fB\-\-cache\-indices\fP true|false" 4 +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. +.IP "\fB\-\-cache\-packages\fP true|false" 4 +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. +.IP "\fB\-\-cache\-stages\fP true|false|\fISTAGE\fP|\(dq\fISTAGES\fP\(dq" 4 +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. +.IP "\fB\-\-checksums\fP md5|sha1|sha256|none" 4 +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. +.IP "\fB\-\-compression\fP bzip2|gzip|lzip|none" 4 +defines the compression program to be used to compress tarballs. Defaults to +gzip. +.IP "\fB\-\-config\fP \fIGIT_URL\fP::\fIGIT_ID\fP" 4 +allows to bootstrap a config tree from a git repositories, optionally +appended by a Git Id (branch, commit, tag, etc.). +.IP "\fB\-\-build\-with\-chroot\fP true|false" 4 +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\fP match what is present at +build\-time in the target distribution. Never do disable this option unless +you are \fBexactely\fP sure what you are doing and have \fBcompletely\fP\fI +understood its consequences.\fP +.IP "\fB\-\-chroot\-filesystem\fP ext2|ext3|ext4|squashfs|jffs2|none" 4 +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. +.IP \fB\-\-clean\fP 4 +minimizes config directory by automatically removing unused and thus empty +subdirectories. +.IP "\-c|\fB\-\-conffile\fP \fIFILE\fP" 4 +using a user specified alternative configuration file in addition to the +normally used one in the config directory. +.IP "\fB\-\-debconf\-frontend\fP dialog|editor|noninteractive|readline" 4 +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. +.IP "\fB\-\-debconf\-priority\fP low|medium|high|critical" 4 +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. +.IP "\fB\-\-debian\-installer\fP true|cdrom|netinst|netboot|businesscard|live|false" 4 +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. +.IP "\fB\-\-debian\-installer\-distribution\fP daily|\fICODENAME\fP" 4 +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. +.IP "\fB\-\-debian\-installer\-preseedfile\fP \fIFILE\fP|\fIURL\fP" 4 +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. +.IP "\fB\-\-debian\-installer\-gui\fP true|false" 4 +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. +.IP \fB\-\-debug\fP 4 +turn on debugging informational messages. +.IP "\-d|\fB\-\-distribution\fP \fICODENAME\fP" 4 +defines the distribution of the resulting live system. +.IP "\-d|\fB\-\-parent\-distribution\fP \fICODENAME\fP" 4 +defines the parent distribution for derivatives of the resulting live +system. +.IP "\-d|\fB\-\-parent\-debian\-installer\-distribution\fP \fICODENAME\fP" 4 +defines the parent debian\-installer distribution for derivatives of the +resulting live system. +.IP \fB\-\-dump\fP 4 +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. +.IP "\fB\-\-fdisk\fP fdisk|fdisk.dist" 4 +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. +.IP \fB\-\-force\fP 4 +forces re\-execution of already run stages. Use only if you know what you are +doing. It is generally safer to use \fBlb clean\fP to clean up before +re\-executing \fBlb build\fP. +.IP "\fB\-\-grub\-splash\fP \fIFILE\fP" 4 +defines the name of an optional to be included splash screen graphic for the +grub bootloader. +.IP "\fB\-\-gzip\-options\fP \fIOPTION\fP|\(dq\fIOPTIONS\fP\(dq" 4 +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. +.IP "\fB\-\-hooks\fP \fIFILE\fP" 4 +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. +.IP \fB\-\-ignore\-system\-defaults\fP 4 +\fBlb config\fP by default reads system defaults from \fI/etc/live/build.conf\fP +and \fI/etc/live/build/*\fP 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. +.IP "\fB\-\-initramfs\fP auto|none|live\-boot|casper" 4 +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). +.IP "\fB\-\-initramfs\-compression\fP bzip2|gzip|lzma]" +defines the compression program to be used to compress the +initramfs. Defaults to gzip. +.IP "\fB\-\-interactive\fP shell" 4 +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. +.IP "\fB\-\-isohybrid\-options\fP \fIOPTION\fP|\(dq\fIOPTIONS\fP\(dq" 4 +defines options to pass to isohybrid. +.IP "\fB\-\-iso\-application\fP \fINAME\fP" 4 +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. +.IP "\fB\-\-iso\-preparer\fP \fINAME\fP" 4 +sets the PREPARER field in the header of a resulting CD/DVD image. By +default this is set to "live\-build \fIVERSION\fP; +http://packages.qa.debian.org/live\-build", whereas VERSION is expanded to +the version of live\-build that was used to build the image. +.IP "\fB\-\-iso\-publisher\fP \fINAME\fP" 4 +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\-live@lists.debian.org'. Remember to change this to the appropriate +values at latest when you distributing custom and unofficial images. +.IP "\fB\-\-iso\-volume\fP \fINAME\fP" 4 +sets the VOLUME field in the header of a resulting CD/DVD and defaults to +\&'(\fIMODE\fP) (\fIDISTRIBUTION\fP) (\fIDATE\fP)' 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. +.IP "\fB\-\-jffs2\-eraseblock\fP \fISIZE\fP" 4 +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. +.IP "\fB\-\-keyring\-packages\fP \fIPACKAGE|\(dqPACKAGES\fP\(dq" 4 +sets the keyring package or additional keyring packages. By default this is +set to debian\-archive\-keyring. +.IP "\-k|\fB\-\-linux\-flavours\fP \fIFLAVOUR\fP|\(dq\fIFLAVOURS\fP\(dq" 4 +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. +.IP "\fB\-\-linux\-packages\fP \(dq\fIPACKAGES\fP\(dq" 4 +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\fP\-\fIFLAVOUR\fP 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. +.IP "\fB\-\-losetup\fP losetup|losetup.orig" 4 +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. +.IP "\fB\-\-memtest\fP memtest86+|memtest86|none" 4 +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+. +.IP "\-m|\fB\-\-parent\-mirror\-bootstrap\fP \fIURL\fP" 4 +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. +.IP "\fB\-\-parent\-mirror\-chroot\fP \fIURL\fP" 4 +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. +.IP "\fB\-\-parent\-mirror\-chroot\-security\fP \fIURL\fP" 4 +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/. +.IP "\fB\-\-parent\-mirror\-chroot\-updates\fP \fIURL\fP" 4 +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. +.IP "\fB\-\-parent\-mirror\-chroot\-backports\fP \fIURL\fP" 4 +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/. +.IP "\fB\-\-parent\-mirror\-binary\fP \fIURL\fP" 4 +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. +.IP "\fB\-\-parent\-mirror\-binary\-security\fP \fIURL\fP" 4 +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. +.IP "\fB\-\-parent\-mirror\-binary\-updates\fP \fIURL\fP" 4 +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. +.IP "\fB\-\-parent\-mirror\-binary\-backports\fP \fIURL\fP" 4 +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. +.IP "\fB\-\-parent\-mirror\-debian\-installer\fP \fIURL\fP" 4 +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. +.IP "\fB\-\-mirror\-bootstrap\fP \fIURL\fP" 4 +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. +.IP "\fB\-\-mirror\-chroot\fP \fIURL\fP" 4 +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. +.IP "\fB\-\-mirror\-chroot\-security\fP \fIURL\fP" 4 +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/. +.IP "\fB\-\-mirror\-chroot\-updates\fP \fIURL\fP" 4 +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. +.IP "\fB\-\-mirror\-chroot\-backports\fP \fIURL\fP" 4 +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/. +.IP "\fB\-\-mirror\-binary\fP \fIURL\fP" 4 +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. +.IP "\fB\-\-mirror\-binary\-security\fP \fIURL\fP" 4 +sets the location of the derivatives security package mirror that should end +up configured in the final image. +.IP "\fB\-\-mirror\-binary\-updates\fP \fIURL\fP" 4 +sets the location of the derivatives updates package mirror that should end +up configured in the final image. +.IP "\fB\-\-mirror\-binary\-backports\fP \fIURL\fP" 4 +sets the location of the derivatives backports package mirror that should +end up configured in the final image. +.IP "\fB\-\-mirror\-debian\-installer\fP \fIURL\fP" 4 +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. +.IP "\fB\-\-mode\fP debian|emdebian|progress|ubuntu" 4 +defines a global mode to load project specific defaults. By default this is +set to debian. +.IP "\fB\-\-system\fP live|normal" 4 +defines if the resulting system image should a live system or a normal, +non\-live system. +.IP "\fB\-\-net\-root\-filesystem\fP nfs|cfs" 4 +defines the filesystem that will be configured in the bootloader +configuration for your netboot image. This defaults to nfs. +.IP "\fB\-\-net\-root\-mountoptions\fP \fIOPTIONS\fP" 4 +sets additional options for mounting the root filesystem in netboot images +and is by default empty. +.IP "\fB\-\-net\-root\-path\fP \fIPATH\fP" 4 +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. +.IP "\fB\-\-net\-root\-server\fP \fIIP\fP|\fIHOSTNAME\fP" 4 +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. +.IP "\fB\-\-net\-cow\-filesystem\fP nfs|cfs" 4 +defines the filesystem type for the copy\-on\-write layer and defaults to nfs. +.IP "\fB\-\-net\-cow\-mountoptions\fP \fIOPTIONS\fP" 4 +sets additional options for mounting the copy\-on\-write layer in netboot +images and is by default empty. +.IP "\fB\-\-net\-cow\-path\fP \fIPATH\fP" 4 +defines the path to client writable filesystem. Anywhere that +\fIclient_mac_address\fP is specified in the path live\-boot will substitute the +MAC address of the client delimited with hyphens. +.PP +.IP "" 4 +Example: +.br +/export/hosts/client_mac_address +.br +/export/hosts/00\-16\-D3\-33\-92\-E8 +.IP "\fB\-\-net\-cow\-server\fP \fIIP\fP|\fIHOSTNAME\fP" 4 +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. +.IP "\fB\-\-net\-tarball\fP true|false" 4 +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. +.IP "\-p|\fB\-\-package\-lists\fP \fILIST\fP|\(dq\fILISTS\fP\(dq" 4 +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). +.IP \fB\-\-quiet\fP 4 +reduces the verbosity of messages output by \fBlb build\fP. +.IP "\fB\-\-archives\fP \fIARCHIVE\fP|\(dq\fIARCHIVES\fP\(dq" 4 +enables one of available third\-party archive configurations in +/usr/share/live/build/archives. +.IP "\fB\-\-root\-command\fP sudo" 4 +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. +.IP "\fB\-\-use\-fakeroot\fP true|false" 4 +controls if live\-build should utilize fakeroot and fakechroot to try and +avoid requiring root privillages where possible. By default, this option is +false. +.IP "\fB\-\-archive\-areas\fP \fIARCHIVE_AREA\fP|\(dq\fIARCHIVE_AREAS\fP\(dq" 4 +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. +.IP "\fB\-\-parent\-archive\-areas\fP \fIPARENT_ARCHIVE_AREA\fP|\(dq\fIPARENT_ARCHIVE_AREAS\fP\(dq" 4 +defines the archive areas for derivatives of the resulting live system. +.IP "\fB\-\-security\fP true|false" 4 +defines if the security repositories specified in the security mirror +options should be used or not. +.IP "\fB\-\-source\fP true|false" 4 +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. +.IP "\-s|\fB\-\-source\-images\fP iso|netboot|tar|hdd" 4 +defines the image type for the source image. Default is tar. +.IP "\fB\-\-firmware\-binary\fP true|false" 4 +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. +.IP "\fB\-\-firmware\-chroot\fP true|false" 4 +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. +.IP "\fB\-\-swap\-file\-path\fP \fIPATH\fP" 4 +defines the path to a swap file to create in the binary image. Default is +not to create a swap file. +.IP "\fB\-\-swap\-file\-size\fP \fIMB\fP" 4 +defines what size in megabytes the swap file should be, if one is to be +created. Default is 512MB. +.IP "\fB\-\-syslinux\-theme\fP \fITHEME_SUFFIX\fP" 4 +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. +.IP "\fB\-\-tasksel\fP apt|aptitude|tasksel" 4 +selects which program is used to install tasks. By default, this is set to +tasksel. +.IP "\fB\-\-templates\fP \fIPATH\fP" 4 +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/. +.IP "\fB\-\-hdd\-size\fP MB" 4 +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. +.IP "\fB\-\-updates\fP true|false" 4 +defines if debian updates package archives should be included in the image +or not. +.IP "\fB\-\-backports\fP true|false" 4 +defines if debian backports package archives should be included in the image +or not. +.IP "\fB\-\-exposed\-root\fP true|false" 4 +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. +.IP \fB\-\-verbose\fP 4 +increases the verbosity of messages output by \fBlb build\fP. +.IP "\fB\-\-win32\-loader true|false\fP" 4 +.\" FIXME +defines if win32\-loader should be included in the binary image or not. + +.SH ENVIRONMENT +.\" FIXME +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\fP becomes +LB_APT_FTP_PROXY (the exception being internal options such as +\fB\-\-debug\fP). For options passed to another program, as in APT_OPTIONS or +GZIP_OPTIONS, no LB_ prefix is used. + + +.\" FIXME +.SH FILES +.\" FIXME +.IP \fBauto/config\fP 4 +.IP "\fB/etc/live/build.conf, /etc/live/build/*\fP" 4 +.\" FIXME +An optional, global configuration file for \fBlb config\fP 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\fP option. + +.SH "SEE ALSO" +\fIlive\-build\fP(7) +.PP +\fIlive\-boot\fP(7) +.PP +\fIlive\-config\fP(7) +.PP +This program is a part of live\-build. + +.SH HOMEPAGE +More information about live\-build and the Debian Live project can be found +on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at +<\fIhttp://live.debian.net/manual/\fP>. + +.SH BUGS +Bugs can be reported by submitting a bugreport for the live\-build package in +the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by +writing a mail to the Debian Live mailing list at +<\fIdebian\-live@lists.debian.org\fP>. + +.SH AUTHOR +live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fP> for +the Debian project. diff --git a/manpages/de/lb_source.de.1 b/manpages/de/lb_source.de.1 new file mode 100644 index 0000000..e573b72 --- /dev/null +++ b/manpages/de/lb_source.de.1 @@ -0,0 +1,47 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4\-1 "Debian Live Project" + +.SH NAME +\fBlb source\fP \- Complete the source stage + +.SH SYNOPSIS +\fBlb source\fP [\fIlive\-build options\fP] + +.SH DESCRIPTION +\fBlb source\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the +Debian Live tool suite. +.PP +\fBlb source\fP calls all necessary live\-build programs in the correct order to +complete the source stage. + +.SH OPTIONS +\fBlb source\fP has no specific options but understands all generic live\-build +options. See \fIlive\-build\fP(7) for a complete list of all generic live\-build +options. + +.SH FILES +.IP \fBnone\fP 4 + +.SH "SEE ALSO" +\fIlive\-build\fP(7) +.PP +This program is a part of live\-build. + +.SH HOMEPAGE +More information about live\-build and the Debian Live project can be found +on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at +<\fIhttp://live.debian.net/manual/\fP>. + +.SH BUGS +Bugs can be reported by submitting a bugreport for the live\-build package in +the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by +writing a mail to the Debian Live mailing list at +<\fIdebian\-live@lists.debian.org\fP>. + +.SH AUTHOR +live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fP> for +the Debian project. diff --git a/manpages/de/lb_testroot.de.1 b/manpages/de/lb_testroot.de.1 new file mode 100644 index 0000000..daafb6e --- /dev/null +++ b/manpages/de/lb_testroot.de.1 @@ -0,0 +1,53 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4\-1 "Debian Live Project" + +.SH NAME +\fBlb testroot\fP \- Ensure that a system is built as root + +.SH SYNOPSIS +\fBlb testroot\fP [\fIlive\-build options\fP] + +.SH DESCRIPTION +\fBlb testroot\fP is a high\-level command (porcelain) of \fIlive\-build\fP(7), the +Debian Live tool suite. +.PP +.\" FIXME +\fBlb testroot\fP 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. +.PP +.\" FIXME +Note: Support for using \fIfakeroot\fP(1) and \fIsudo\fP(8) internally in +live\-build itself is still experimental, however, calling a helper yourself +with sudo is safe. + +.SH OPTIONS +\fBlb testroot\fP has no specific options but understands all generic +live\-build options. See \fIlive\-build\fP(7) for a complete list of all generic +live\-build options. + +.SH FILES +.IP \fBnone\fP 4 + +.SH "SEE ALSO" +\fIlive\-build\fP(7) +.PP +This program is a part of live\-build. + +.SH HOMEPAGE +More information about live\-build and the Debian Live project can be found +on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at +<\fIhttp://live.debian.net/manual/\fP>. + +.SH BUGS +Bugs can be reported by submitting a bugreport for the live\-build package in +the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by +writing a mail to the Debian Live mailing list at +<\fIdebian\-live@lists.debian.org\fP>. + +.SH AUTHOR +live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fP> for +the Debian project. diff --git a/manpages/de/live-build.de.7 b/manpages/de/live-build.de.7 new file mode 100644 index 0000000..a2a8e71 --- /dev/null +++ b/manpages/de/live-build.de.7 @@ -0,0 +1,290 @@ +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH LIVE\-BUILD 7 2012\-12\-23 3.0~b4\-1 "Debian Live Project" + +.SH NAME +\fBlive\-build\fP \- the Debian Live tool suite + +.SH SYNOPSIS +.\" FIXME +.\" FIXME +\fBlb \fP\fICOMMAND\fP [\fB\-h|\-\-help\fP] [\fB\-u|\-\-usage\fP] [\fB\-v|\-\-version\fP] +[\fB\-\-breakpoints\fP] [\fB\-\-conffile\fP] [\fB\-\-debug\fP] [\fB\-\-force\fP] [\fB\-\-quiet\fP] +[\fB\-\-verbose\fP] + +.SH DESCRIPTION +.\" FIXME +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. +.PP +The \fICOMMAND\fP is a name of a live\-build command (see below). +.PP +.\" FIXME +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/\fP>. + +.SH OPTIONS +.\" FIXME +.SS "Shared live\-build options" +The following command line options are supported by all live\-build programs. +.IP "\fB\-h, \-\-help\fP" 4 +display help and exit. +.IP "\fB\-u, \-\-usage\fP" 4 +show usage and exit. +.IP "\fB\-v, \-\-version\fP" 4 +output version information and exit. +.SS "Common live\-build options" +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. +.IP \fB\-\-breakpoints\fP 4 +run with breakpoints. +.IP \fB\-\-conffile\fP 4 +use custom configuration file. +.IP \fB\-\-debug\fP 4 +show debug information. +.IP \fB\-\-force\fP 4 +force helper execution, even if stage file exists. +.IP \fB\-\-quiet\fP 4 +be quiet. +.IP \fB\-\-verbose\fP 4 +.\" FIXME +be verbose. + +.SH "LIVE\-BUILD COMMANDS" +.\" FIXME +We divide live\-build into high level ("porcelain") commands and low level +("plumbing") commands. +.PP +.\" FIXME +Here is the complete list of all available live\-build commands. See their +man pages for additional documentation. + +.SH "HIGH\-LEVEL COMMANDS (PORCELAIN)" +.\" FIXME +We separate the porcelain commands into the main commands and some ancillary +user utilities. +.SS "Main porcelain commands" +.IP \fBlb_config\fP(1) 4 +create configuration for live\-build +.IP \fBlb_bootstrap\fP(1) 4 +create the first stage by bootstrapping a basic debian system +.IP \fBlb_chroot\fP(1) 4 +create the second stage by customizing the chroot +.IP \fBlb_binary\fP(1) 4 +create the third stage by generating a binary image +.IP \fBlb_source\fP(1) 4 +create the optional fourth stage by generating a source image +.IP \fBlb_clean\fP(1) 4 +clean up system build directories +.SS "Ancillary Commands" +.IP \fBlb\fP(1) 4 +generic live\-build wrapper +.IP \fBlb_build\fP(1) 4 +alias for all stages +.IP \fBlb_local\fP(1) 4 +helper for using a local live\-build +.IP \fBlb_testroot\fP(1) 4 +.\" FIXME +ensure that a system is built as root + +.SH "LOW\-LEVEL COMMANDS (PLUMBING)" +.\" FIXME +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. +.PP +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. +.SS "Bootstrap commands" +.IP \fBlb_bootstrap_cache\fP(1) 4 +cache bootstrap stage +.IP \fBlb_bootstrap_cdebootstrap\fP(1) 4 +bootstrap a Debian system with cdebootstrap(1) +.IP \fBlb_bootstrap_debootstrap\fP(1) 4 +bootstrap a Debian system with debootstrap(8) +.SS "Chroot commands" +.IP \fBlb_chroot_apt\fP(1) 4 +manage /etc/apt/apt.conf +.IP \fBlb_chroot_cache\fP(1) 4 +cache chroot stage +.IP \fBlb_chroot_debianchroot\fP(1) 4 +manage /etc/debian_chroot +.IP \fBlb_chroot_devpts\fP(1) 4 +mount /dev/pts +.IP \fBlb_chroot_dpkg\fP(1) 4 +manage /sbin/dpkg +.IP \fBlb_chroot_hacks\fP(1) 4 +execute hacks in chroot +.IP \fBlb_chroot_hostname\fP(1) 4 +manage /bin/hostname +.IP \fBlb_chroot_hosts\fP(1) 4 +manage /etc/hosts +.IP \fBlb_chroot_install\-packages\fP(1) 4 +install queued packages into chroot +.IP \fBlb_chroot_interactive\fP(1) 4 +make build interactive +.IP \fBlb_chroot_linux\-image\fP(1) 4 +manage /etc/kernel\-img.conf +.IP \fBlb_chroot_hooks\fP(1) 4 +execute local hooks in chroot +.IP \fBlb_chroot_local\-includes\fP(1) 4 +copy local files into chroot +.IP \fBlb_chroot_packages\fP(1) 4 +queue install of packages into chroot +.IP \fBlb_chroot_local\-patches\fP(1) 4 +apply local patches against chroot +.IP \fBlb_chroot_local\-preseed\fP(1) 4 +use debconf local preseeding file +.IP \fBlb_chroot_packagelists\fP(1) 4 +queue install of package lists into chroot +.IP \fBlb_chroot_proc\fP(1) 4 +mount /proc +.IP \fBlb_chroot_resolv\fP(1) 4 +manage /etc/resolv.conf +.IP \fBlb_chroot_selinuxfs\fP(1) 4 +mount /selinux +.IP \fBlb_chroot_archives\fP(1) 4 +manage /etc/apt/sources.list +.IP \fBlb_chroot_sysfs\fP(1) 4 +mount /sys +.IP \fBlb_chroot_sysv\-rc\fP(1) 4 +manage /usr/sbin/policy\-rc.d +.IP \fBlb_chroot_task\-lists\fP(1) 4 +install task lists into chroot +.SS "Binary commands" +.IP \fBlb_binary_chroot\fP(1) 4 +copy chroot into chroot +.IP \fBlb_binary_debian\-installer\fP(1) 4 +install debian\-installer into binary +.IP \fBlb_binary_disk\fP(1) 4 +install disk information into binary +.IP \fBlb_binary_grub\fP(1) 4 +installs grub into binary +.IP \fBlb_binary_grub2\fP(1) 4 +installs grub2 into binary +.IP \fBlb_binary_includes\fP(1) 4 +copy files into binary +.IP \fBlb_binary_iso\fP(1) 4 +build iso binary image +.IP \fBlb_binary_linux\-image\fP(1) 4 +install linux\-image into binary +.IP \fBlb_binary_local\-hooks\fP(1) 4 +execute local hooks in binary +.IP \fBlb_binary_local\-includes\fP(1) 4 +copy files into binary +.IP \fBlb_binary_local\-packagelists\fP(1) 4 +install local package lists into binary +.IP \fBlb_binary_manifest\fP(1) 4 +create manifest +.IP \fBlb_binary_checksums\fP(1) 4 +create binary checksums (md5, sha1, and/or sha256) +.IP \fBlb_binary_memtest\fP(1) 4 +installs a memtest into binary +.IP \fBlb_binary_net\fP(1) 4 +build netboot binary image +.IP \fBlb_binary_rootfs\fP(1) 4 +build rootfs image +.IP \fBlb_binary_silo\fP(1) 4 +installs silo into binary +.IP \fBlb_binary_syslinux\fP(1) 4 +installs syslinux into binary +.IP \fBlb_binary_tar\fP(1) 4 +build harddisk binary image +.IP \fBlb_binary_hdd\fP(1) 4 +build binary hdd image +.IP \fBlb_binary_win32\-loader\fP(1) 4 +installs win32\-loader into binary +.IP \fBlb_binary_yaboot\fP(1) 4 +installs yaboot into binary +.SS "Source commands" +.IP \fBlb_source_debian\fP(1) 4 +download sources +.IP \fBlb_source_debian\-live\fP(1) 4 +copy debian\-live config into source +.IP \fBlb_source_disk\fP(1) 4 +install disk information into source +.IP \fBlb_source_iso\fP(1) 4 +build iso source image +.IP \fBlb_source_checksums\fP(1) 4 +create source checksums (md5, sha1, and/or sha256) +.IP \fBlb_source_net\fP(1) 4 +build source net image +.IP \fBlb_source_tar\fP(1) 4 +build source tarball +.IP \fBlb_source_hdd\fP(1) 4 +.\" FIXME +build source hdd image + +.SH "CONFIG FILES" +.\" FIXME +Many live\-build commands make use of files in the \fIconfig/\fP directory to +control what they do. Besides the common \fIconfig/common\fP, 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). +.PP +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. +.PP +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. +.PP +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. +.PP +.\" FIXME +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. + +.SH FILES +.IP \fB/etc/live/build.conf\fP 4 +.IP \fB/etc/live/build/*\fP 4 + +.SH "SEE ALSO" +\fIlive\-boot\fP(7) +.PP +\fIlive\-config\fP(7) +.PP +This program is a part of live\-build. + +.SH HOMEPAGE +More information about live\-build and the Debian Live project can be found +on the homepage at <\fIhttp://live.debian.net/\fP> and in the manual at +<\fIhttp://live.debian.net/manual/\fP>. + +.SH BUGS +Bugs can be reported by submitting a bugreport for the live\-build package in +the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fP> or by +writing a mail to the Debian Live mailing list at +<\fIdebian\-live@lists.debian.org\fP>. + +.SH AUTHOR +live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fP> for +the Debian project. diff --git a/manpages/en/lb.1 b/manpages/en/lb.1 new file mode 100644 index 0000000..e8ae8ba --- /dev/null +++ b/manpages/en/lb.1 @@ -0,0 +1,34 @@ +.TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4-1 "Debian Live Project" + +.SH NAME +\fBlb\fR \- wrapper for live\-build programs + +.SH SYNOPSIS +\fBlb\fR COMMAND [COMMAND_OPTIONS] +.PP +\fBlb\fR [\fIlive\-build\ options\fR] + +.SH DESCRIPTION +\fBlb\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite. +.PP +.\" FIXME + +.SH OPTIONS +\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. + +.SH FILES +.IP "\fBnone\fR" 4 + +.SH SEE ALSO +\fIlive\-build\fR(7) +.PP +This program is a part of live\-build. + +.SH HOMEPAGE +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>. + +.SH BUGS +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-live@lists.debian.org\fR>. + +.SH AUTHOR +live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fR> for the Debian project. diff --git a/manpages/en/lb_binary.1 b/manpages/en/lb_binary.1 new file mode 100644 index 0000000..21017f0 --- /dev/null +++ b/manpages/en/lb_binary.1 @@ -0,0 +1,32 @@ +.TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4-1 "Debian Live Project" + +.SH NAME +\fBlb binary\fR \- Complete the binary stage + +.SH SYNOPSIS +\fBlb binary\fR [\fIlive\-build options\fR] + +.SH DESCRIPTION +\fBlb binary\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite. +.PP +\fBlb binary\fR calls all necessary live\-build programs in the correct order to complete the binary stage. + +.SH OPTIONS +\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. + +.SH FILES +.IP "\fBnone\fR" 4 + +.SH SEE ALSO +\fIlive\-build\fR(7) +.PP +This program is a part of live\-build. + +.SH HOMEPAGE +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>. + +.SH BUGS +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-live@lists.debian.org\fR>. + +.SH AUTHOR +live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fR> for the Debian project. diff --git a/manpages/en/lb_bootstrap.1 b/manpages/en/lb_bootstrap.1 new file mode 100644 index 0000000..0413ed4 --- /dev/null +++ b/manpages/en/lb_bootstrap.1 @@ -0,0 +1,32 @@ +.TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4-1 "Debian Live Project" + +.SH NAME +\fBlb bootstrap\fR \- Complete the bootstrap stage + +.SH SYNOPSIS +\fBlb bootstrap\fR [\fIlive\-build options\fR] + +.SH DESCRIPTION +\fBlb bootstrap\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite. +.PP +\fBlb bootstrap\fR calls all necessary live\-build programs in the correct order to complete the bootstrap stage. + +.SH OPTIONS +\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. + +.SH FILES +.IP "\fBnone\fR" 4 + +.SH SEE ALSO +\fIlive\-build\fR(7) +.PP +This program is a part of live\-build. + +.SH HOMEPAGE +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>. + +.SH BUGS +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-live@lists.debian.org\fR>. + +.SH AUTHOR +live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fR> for the Debian project. diff --git a/manpages/en/lb_build.1 b/manpages/en/lb_build.1 new file mode 100644 index 0000000..08405b1 --- /dev/null +++ b/manpages/en/lb_build.1 @@ -0,0 +1,34 @@ +.TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4-1 "Debian Live Project" + +.SH NAME +\fBlb build\fR \- Complete the bootstrap, chroot, binary, and source stages + +.SH SYNOPSIS +\fBlb build\fR [\fIlive\-build options\fR] + +.SH DESCRIPTION +\fBlb build\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite. +.PP +\fBlb build\fR calls all necessary live\-build programs in the correct order to complete the bootstrap, chroot, binary, and source stages. + +.SH OPTIONS +\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. + +.SH FILES +.\" FIXME +.IP "\fBauto/build\fR" 4 +.\" FIXME + +.SH SEE ALSO +\fIlive\-build\fR(7) +.PP +This program is a part of live\-build. + +.SH HOMEPAGE +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>. + +.SH BUGS +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-live@lists.debian.org\fR>. + +.SH AUTHOR +live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fR> for the Debian project. diff --git a/manpages/en/lb_chroot.1 b/manpages/en/lb_chroot.1 new file mode 100644 index 0000000..2a105dd --- /dev/null +++ b/manpages/en/lb_chroot.1 @@ -0,0 +1,32 @@ +.TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4-1 "Debian Live Project" + +.SH NAME +\fBlb chroot\fR \- Complete the chroot stage + +.SH SYNOPSIS +\fBlb chroot\fR [\fIlive\-build options\fR] + +.SH DESCRIPTION +\fBlb chroot\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite. +.PP +\fBlb chroot\fR calls all necessary live\-build programs in the correct order to complete the chroot stage. + +.SH OPTIONS +\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. + +.SH FILES +.IP "\fBnone\fR" 4 + +.SH SEE ALSO +\fIlive\-build\fR(7) +.PP +This program is a part of live\-build. + +.SH HOMEPAGE +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>. + +.SH BUGS +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-live@lists.debian.org\fR>. + +.SH AUTHOR +live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fR> for the Debian project. diff --git a/manpages/en/lb_clean.1 b/manpages/en/lb_clean.1 new file mode 100644 index 0000000..bbeb4da --- /dev/null +++ b/manpages/en/lb_clean.1 @@ -0,0 +1,55 @@ +.TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4-1 "Debian Live Project" + +.SH NAME +\fBlb clean\fR \- Clean build directory + +.SH SYNOPSIS +\fBlb clean\fR [\fIlive\-build options\fR] + +.SH DESCRIPTION +\fBlb clean\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite. +.PP +.\" FIXME +\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. +.\" FIXME + +.SH OPTIONS +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. +.PP +.\" FIXME +.IP "\fB\-\-all\fR" 4 +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. +.IP "\fB\-\-cache\fR" 4 +removes the cache directories. +.IP "\fB\-\-chroot\fR" 4 +unmounts and removes the chroot directory. +.IP "\fB\-\-binary\fR" 4 +removes all binary related caches, files, directories, and stages files. +.IP "\fB\-\-purge\fR" 4 +removes everything, including all caches. The config directory is kept. +.IP "\fB\-\-remove\fR" 4 +removes everything, including package cache but not stage cache. The config directory is kept. +.IP "\fB\-\-stage\fR" 4 +removes all stage files. +.IP "\fB\-\-source\fR" 4 +removes all source related caches, files, directories, and stage files. +.\" FIXME + +.SH FILES +.\" FIXME +.IP "\fBauto/clean\fR" 4 +.\" FIXME + +.SH SEE ALSO +\fIlive\-build\fR(7) +.PP +This program is a part of live\-build. + +.SH HOMEPAGE +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>. + +.SH BUGS +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-live@lists.debian.org\fR>. + +.SH AUTHOR +live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fR> for the Debian project. diff --git a/manpages/en/lb_config.1 b/manpages/en/lb_config.1 new file mode 100644 index 0000000..fab6b16 --- /dev/null +++ b/manpages/en/lb_config.1 @@ -0,0 +1,513 @@ +.TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4-1 "Debian Live Project" + +.SH NAME +\fBlb config\fR \- Create config directory + +.SH SYNOPSIS +\fBlb config\fR [\fIlive\-build options\fR] +.PP +.\" FIXME +\fBlb config\fR +.br + [\fB\-\-apt\fR apt|aptitude] +.br + [\fB\-\-apt\-ftp\-proxy\fR \fIURL\fR] +.br + [\fB\-\-apt\-http\-proxy\fR \fIURL\fR] +.br + [\fB\-\-apt\-indices\fR true|false|none] +.br + [\fB\-\-apt\-options\fR \fIOPTION\fR|"\fIOPTIONS\fR"] +.br + [\fB\-\-aptitude\-options\fR \fIOPTION\fR|"\fIOPTIONS\fR"] +.br + [\fB\-\-apt\-pipeline\fR \fIDEPTH\fR] +.br + [\fB\-\-apt\-recommends\fR true|false] +.br + [\fB\-\-apt\-secure\fR true|false] +.br + [\fB\-\-apt\-source\-archives\fR true|false] +.br + [\-a|\fB\-\-architectures\fR \fIARCHITECTURE\fR] +.br + [\-b|\fB\-\-binary\-images\fR iso|iso\-hybrid|netboot|tar|hdd] +.br + [\fB\-\-binary\-filesystem\fR fat16|fat32|ext2|ext3|ext4] +.br + [\fB\-\-bootappend\-install\fR \fIPARAMETER\fR|\fI"PARAMETERS"\fR] +.br + [\fB\-\-bootappend\-live\fR \fIPARAMETER\fR|\fI"PARAMETERS"\fR] +.br + [\fB\-\-bootloader\fR grub|syslinux|yaboot] +.br + [\fB\-\-bootstrap\fR cdebootstrap|cdebootstrap-static|debootstrap] +.br + [\fB\-\-cache\fR true|false] +.br + [\fB\-\-cache\-indices\fR true|false] +.br + [\fB\-\-cache\-packages\fR true|false] +.br + [\fB\-\-cache\-stages\fR \fISTAGE\fR|\fI"STAGES"\fR] +.br + [\fB\-\-checksums\fR md5|sha1|sha256|none] +.br + [\fB\-\-compression\fR bzip2|gzip|lzip|none] +.br + [\fB\-\-config\fR \fIGIT_URL::GIT_ID\fR] +.br + [\fB\-\-build\-with\-chroot\fR true|false] +.br + [\fB\-\-chroot\-filesystem\fR ext2|ext3|ext4|squashfs|jffs2|none] +.br + [\fB\-\-clean\fR] +.br + [\-c|\fB\-\-conffile\fR \fIFILE\fR] +.br + [\fB\-\-debconf\-frontend\fR dialog|editor|noninteractive|readline] +.br + [\fB\-\-debconf\-priority\fR low|medium|high|critical] +.br + [\fB\-\-debian\-installer\fR true|cdrom|netinst|netboot|businesscard|live|false] +.br + [\fB\-\-debian\-installer\-distribution\fR daily|\fICODENAME\fR] +.br + [\fB\-\-debian\-installer\-preseedfile\fR \fIFILE\fR|\fIURL\fR] +.br + [\fB\-\-debian\-installer\-gui\fR true|false] +.br + [\fB\-\-debug\fR] +.br + [\-d|\fB\-\-distribution\fR \fICODENAME\fR] +.br + [\fB\-\-parent\-distribution\fR \fICODENAME\fR] +.br + [\fB\-\-parent\-debian\-installer\-distribution\fR \fICODENAME\fR] +.br + [\fB\-\-dump\fR] +.br + [\fB\-\-fdisk\fR fdisk|fdisk.dist] +.br + [\fB\-\-firmware\-binary true|false\fR] +.br + [\fB\-\-firmware\-chroot true|false\fR] +.br + [\fB\-\-force\fR] +.br + [\fB\-\-grub\-splash\fR \fIFILE\fR] +.br + [\fB\-\-gzip\-options\fR \fIOPTION\fR|"\fIOPTIONS\fR"] +.br + [\fB\-\-hooks\fR \fIFILE\fR] +.br + [\fB\-\-ignore\-system\-defaults\fR] +.br + [\fB\-\-initramfs\fR auto|none|live\-boot|casper] +.br + [\fB\-\-initramfs\-compression\fR bzip2|gzip|lzma] +.br + [\fB\-\-initsystem\fR sysvinit|runit|systemd|upstart|none] +.br + [\fB\-\-interactive\fR shell] +.br + [\fB\-\-isohybrid\-options\fR \fIOPTION\fR|"\fIOPTIONS\fR"] +.br + [\fB\-\-iso\-application\fR \fINAME\fR] +.br + [\fB\-\-iso\-preparer\fR \fINAME\fR] +.br + [\fB\-\-iso\-publisher\fR \fINAME\fR] +.br + [\fB\-\-iso\-volume\fR \fINAME\fR] +.br + [\fB\-\-jffs2\-eraseblock\fR \fISIZE\fR] +.br + [\fB\-\-keyring\-packages\fR \fIPACKAGE\fI|\fI"PACKAGES"\fR] +.br + [\-k|\fB\-\-linux\-flavours\fR \fIFLAVOUR\fR|\fI"FLAVOURS"\fR] +.br + [\fB\-\-linux\-packages\fR \fI"PACKAGES"\fR] +.br + [\fB\-\-losetup\fR losetup|losetup.orig] +.br + [\fB\-\-memtest\fR memtest86+|memtest86|none] +.br + [\-m|\fB\-\-parent\-mirror\-bootstrap\fR \fIURL\fR] +.br + [\fB\-\-parent\-mirror\-chroot\fR \fIURL\fR] +.br + [\fB\-\-parent\-mirror\-chroot\-security\fR \fIURL\fR] +.br + [\fB\-\-parent\-mirror\-chroot\-updates\fR \fIURL\fR] +.br + [\fB\-\-parent\-mirror\-chroot\-backports\fR \fIURL\fR] +.br + [\fB\-\-parent\-mirror\-binary\fR \fIURL\fR] +.br + [\fB\-\-parent\-mirror\-binary\-security\fR \fIURL\fR] +.br + [\fB\-\-parent\-mirror\-binary\-updates\fR \fIURL\fR] +.br + [\fB\-\-parent\-mirror\-binary\-backports\fR \fIURL\fR] +.br + [\fB\-\-parent\-mirror\-debian\-installer\fR \fIURL\fR] +.br + [\fB\-\-mirror\-bootstrap\fR \fIURL\fR] +.br + [\fB\-\-mirror\-chroot\fR \fIURL\fR] +.br + [\fB\-\-mirror\-chroot\-security\fR \fIURL\fR] +.br + [\fB\-\-mirror\-chroot\-updates\fR \fIURL\fR] +.br + [\fB\-\-mirror\-chroot\-backports\fR \fIURL\fR] +.br + [\fB\-\-mirror\-binary\fR \fIURL\fR] +.br + [\fB\-\-mirror\-binary\-security\fR \fIURL\fR] +.br + [\fB\-\-mirror\-binary\-updates\fR \fIURL\fR] +.br + [\fB\-\-mirror\-binary\-backports\fR \fIURL\fR] +.br + [\fB\-\-mirror\-debian\-installer\fR \fIURL\fR] +.br + [\fB\-\-mode\fR debian|emdebian|progress-linux|ubuntu] +.br + [\fB\-\-system\fR live|normal] +.br + [\fB\-\-net\-root\-filesystem\fR nfs|cfs] +.br + [\fB\-\-net\-root\-mountoptions\fR \fIOPTIONS\fR] +.br + [\fB\-\-net\-root\-path\fR \fIPATH\fR] +.br + [\fB\-\-net\-root\-server\fR \fIIP\fR|\fIHOSTNAME\fR] +.br + [\fB\-\-net\-cow\-filesystem\fR nfs|cfs] +.br + [\fB\-\-net\-cow\-mountoptions\fR \fIOPTIONS\fR] +.br + [\fB\-\-net\-cow\-path\fR \fIPATH\fR] +.br + [\fB\-\-net\-cow\-server\fR \fIIP\fR|\fIHOSTNAME\fR] +.br + [\fB\-\-net\-tarball\fR true|false] +.br + [\-p|\fB\-\-package\-lists\fR \fILIST\fR|\fI"LISTS"\fR] +.br + [\fB\-\-quiet\fR] +.br + [\fB\-\-root-command\fR sudo] +.br + [\fB\-\-use-fakeroot\fR true|false] +.br + [\fB\-\-archives\fR \fIARCHIVE\fR|\fI"ARCHIVES"\fR] +.br + [\fB\-\-archive\-areas\fR \fIARCHIVE_AREA\fR|\fI"ARCHIVE_AREAS"\fR] +.br + [\fB\-\-parent\-archive\-areas\fR \fIPARENT_ARCHIVE_AREA\fR|\fI"PARENT_ARCHIVE_AREAS"\fR] +.br + [\fB\-\-security\fR true|false] +.br + [\fB\-\-source\fR true|false] +.br + [\-s|\fB\-\-source\-images\fR iso|netboot|tar|hdd] +.br + [\fB\-\-syslinux\-theme\fR \fITHEME_SUFFIX\fR] +.br + [\fB\-\-tasksel\fR apt|aptitude|tasksel] +.br + [\fB\-\-templates\fR \fIPATH\fR] +.br + [\fB\-\-hdd\-size \fIMB\fR] +.br + [\fB\-\-updates\fR true|false] +.br + [\fB\-\-backports\fR true|false] +.br + [\fB\-\-exposed\-root\fR true|false] +.br + [\fB\-\-verbose\fR] +.br + [\fB\-\-win32\-loader true|false] +.\" FIXME + +.SH DESCRIPTION +\fBlb config\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite. +.PP +.\" FIXME +\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. +.PP +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. +.\" FIXME + +.SH OPTIONS +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. +.PP +.\" FIXME +.IP "\fB\-\-apt\fR apt|aptitude" 4 +defines if apt\-get or aptitude is used to install packages when building the image. The default is apt. +.IP "\fB\-\-apt\-ftp\-proxy\fR \fIURL\fR" 4 +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. +.IP "\fB\-\-apt\-http\-proxy\fR \fIURL\fR" 4 +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. +.IP "\fB\-\-apt\-indices\fR true|false|none" 4 +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. +.IP "\fB\-\-apt\-options\fR \fIOPTION\fR|""\fIOPTIONS\fR""" 4 +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. +.IP "\fB\-\-aptitude\-options\fR \fIOPTION\fR|""\fIOPTIONS\fR""" 4 +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. +.IP "\fB\-\-apt\-pipeline\fR \fIDEPTH\fR" 4 +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. +.IP "\fB\-\-apt\-recommends\fR true|false" 4 +defines if apt should install recommended packages automatically. By default, this is true except in emdebian mode. +.IP "\fB\-\-apt\-secure\fR true|false" 4 +defines if apt should check repository signatures. This is true by default. +.IP "\fB\-\-apt\-source\-archives\fR true|false" 4 +defines if deb-src entries should be included in the resulting live image or not, defaults to on. +.IP "\-a|\fB\-\-architectures\fR \fIARCHITECTURE\fR" 4 +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. +.IP "\-b|\fB\-\-binary\-images\fR iso|iso\-hybrid|netboot|tar|hdd" 4 +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. +.IP "\fB\-\-binary\-filesystem\fR fat16|fat32|ext2|ext3|ext4" 4 +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. +.IP "\fB\-\-bootappend\-install\fR \fIPARAMETER\fR|""\fIPARAMETERS\fR""" 4 +sets boot parameters specific to debian\-installer, if included. +.IP "\fB\-\-bootappend\-live\fR \fIPARAMETER\fR|""\fIPARAMETERS\fR""" 4 +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. +.IP "\fB\-\-bootloader\fR grub|syslinux|yaboot" 4 +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. +.IP "\fB\-\-bootstrap\fR cdebootstrap|cdebootstrap-static|debootstrap" 4 +defines which program is used to bootstrap the debian chroot, default is debootstrap. +.IP "\fB\-\-cache\fR true|false" 4 +defines globally if any cache should be used at all. Different caches can be controled through the their own options. +.IP "\fB\-\-cache\-indices\fR true|false" 4 +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. +.IP "\fB\-\-cache\-packages\fR true|false" 4 +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. +.IP "\fB\-\-cache\-stages\fR true|false|\fISTAGE\fR|""\fISTAGES\fR""" 4 +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. +.IP "\fB\-\-checksums\fR md5|sha1|sha256|none" 4 +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. +.IP "\fB\-\-compression\fR bzip2|gzip|lzip|none" 4 +defines the compression program to be used to compress tarballs. Defaults to gzip. +.IP "\fB\-\-config\fR \fIGIT_URL\fR::\fIGIT_ID\fR" 4 +allows to bootstrap a config tree from a git repositories, optionally appended by a Git Id (branch, commit, tag, etc.). +.IP "\fB\-\-build\-with\-chroot\fR true|false" 4 +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. +.IP "\fB\-\-chroot\-filesystem\fR ext2|ext3|ext4|squashfs|jffs2|none" 4 +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. +.IP "\fB\-\-clean\fR" 4 +minimizes config directory by automatically removing unused and thus empty subdirectories. +.IP "\-c|\fB\-\-conffile\fR \fIFILE\fR" 4 +using a user specified alternative configuration file in addition to the normally used one in the config directory. +.IP "\fB\-\-debconf\-frontend\fR dialog|editor|noninteractive|readline" 4 +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. +.IP "\fB\-\-debconf\-priority\fR low|medium|high|critical" 4 +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. +.IP "\fB\-\-debian\-installer\fR true|cdrom|netinst|netboot|businesscard|live|false" 4 +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. +.IP "\fB\-\-debian\-installer\-distribution\fR daily|\fICODENAME\fR" 4 +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. +.IP "\fB\-\-debian\-installer\-preseedfile\fR \fIFILE\fR|\fIURL\fR" 4 +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. +.IP "\fB\-\-debian\-installer\-gui\fR true|false" 4 +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. +.IP "\fB\-\-debug\fR" 4 +turn on debugging informational messages. +.IP "\-d|\fB\-\-distribution\fR \fICODENAME\fR" 4 +defines the distribution of the resulting live system. +.IP "\-d|\fB\-\-parent\-distribution\fR \fICODENAME\fR" 4 +defines the parent distribution for derivatives of the resulting live system. +.IP "\-d|\fB\-\-parent\-debian\-installer\-distribution\fR \fICODENAME\fR" 4 +defines the parent debian\-installer distribution for derivatives of the resulting live system. +.IP "\fB\-\-dump\fR" 4 +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. +.IP "\fB\-\-fdisk\fR fdisk|fdisk.dist" 4 +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. +.IP "\fB\-\-force\fR" 4 +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. +.IP "\fB\-\-grub\-splash\fR \fIFILE\fR" 4 +defines the name of an optional to be included splash screen graphic for the grub bootloader. +.IP "\fB\-\-gzip\-options\fR \fIOPTION\fR|""\fIOPTIONS\fR""" 4 +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. +.IP "\fB\-\-hooks\fR \fIFILE\fR" 4 +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. +.IP "\fB\-\-ignore\-system\-defaults\fR" 4 +\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. +.IP "\fB\-\-initramfs\fR auto|none|live\-boot|casper" 4 +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). +.IP "\fB\-\-initramfs\-compression\fR bzip2|gzip|lzma] +defines the compression program to be used to compress the initramfs. Defaults to gzip. +.IP "\fB\-\-interactive\fR shell" 4 +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. +.IP "\fB\-\-isohybrid\-options\fR \fIOPTION\fR|""\fIOPTIONS\fR""" 4 +defines options to pass to isohybrid. +.IP "\fB\-\-iso\-application\fR \fINAME\fR" 4 +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. +.IP "\fB\-\-iso\-preparer\fR \fINAME\fR" 4 +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. +.IP "\fB\-\-iso\-publisher\fR \fINAME\fR" 4 +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\-live@lists.debian.org'. Remember to change this to the appropriate values at latest when you distributing custom and unofficial images. +.IP "\fB\-\-iso\-volume\fR \fINAME\fR" 4 +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. +.IP "\fB\-\-jffs2\-eraseblock\fR \fISIZE\fR" 4 +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. +.IP "\fB\-\-keyring\-packages\fR \fIPACKAGE\fI|""\fIPACKAGES\fR""" 4 +sets the keyring package or additional keyring packages. By default this is set to debian\-archive\-keyring. +.IP "\-k|\fB\-\-linux\-flavours\fR \fIFLAVOUR\fR|""\fIFLAVOURS\fR""" 4 +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. +.IP "\fB\-\-linux\-packages\fR ""\fIPACKAGES\fR""" 4 +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. +.IP "\fB\-\-losetup\fR losetup|losetup.orig" 4 +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. +.IP "\fB\-\-memtest\fR memtest86+|memtest86|none" 4 +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+. +.IP "\-m|\fB\-\-parent\-mirror\-bootstrap\fR \fIURL\fR" 4 +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. +.IP "\fB\-\-parent\-mirror\-chroot\fR \fIURL\fR" 4 +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. +.IP "\fB\-\-parent\-mirror\-chroot\-security\fR \fIURL\fR" 4 +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/. +.IP "\fB\-\-parent\-mirror\-chroot\-updates\fR \fIURL\fR" 4 +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. +.IP "\fB\-\-parent\-mirror\-chroot\-backports\fR \fIURL\fR" 4 +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/. +.IP "\fB\-\-parent\-mirror\-binary\fR \fIURL\fR" 4 +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. +.IP "\fB\-\-parent\-mirror\-binary\-security\fR \fIURL\fR" 4 +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. +.IP "\fB\-\-parent\-mirror\-binary\-updates\fR \fIURL\fR" 4 +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. +.IP "\fB\-\-parent\-mirror\-binary\-backports\fR \fIURL\fR" 4 +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. +.IP "\fB\-\-parent\-mirror\-debian\-installer\fR \fIURL\fR" 4 +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. +.IP "\fB\-\-mirror\-bootstrap\fR \fIURL\fR" 4 +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. +.IP "\fB\-\-mirror\-chroot\fR \fIURL\fR" 4 +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. +.IP "\fB\-\-mirror\-chroot\-security\fR \fIURL\fR" 4 +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/. +.IP "\fB\-\-mirror\-chroot\-updates\fR \fIURL\fR" 4 +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. +.IP "\fB\-\-mirror\-chroot\-backports\fR \fIURL\fR" 4 +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/. +.IP "\fB\-\-mirror\-binary\fR \fIURL\fR" 4 +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. +.IP "\fB\-\-mirror\-binary\-security\fR \fIURL\fR" 4 +sets the location of the derivatives security package mirror that should end up configured in the final image. +.IP "\fB\-\-mirror\-binary\-updates\fR \fIURL\fR" 4 +sets the location of the derivatives updates package mirror that should end up configured in the final image. +.IP "\fB\-\-mirror\-binary\-backports\fR \fIURL\fR" 4 +sets the location of the derivatives backports package mirror that should end up configured in the final image. +.IP "\fB\-\-mirror\-debian\-installer\fR \fIURL\fR" 4 +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. +.IP "\fB\-\-mode\fR debian|emdebian|progress|ubuntu" 4 +defines a global mode to load project specific defaults. By default this is set to debian. +.IP "\fB\-\-system\fR live|normal" 4 +defines if the resulting system image should a live system or a normal, non-live system. +.IP "\fB\-\-net\-root\-filesystem\fR nfs|cfs" 4 +defines the filesystem that will be configured in the bootloader configuration for your netboot image. This defaults to nfs. +.IP "\fB\-\-net\-root\-mountoptions\fR \fIOPTIONS\fR" 4 +sets additional options for mounting the root filesystem in netboot images and is by default empty. +.IP "\fB\-\-net\-root\-path\fR \fIPATH\fR" 4 +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. +.IP "\fB\-\-net\-root\-server\fR \fIIP\fR|\fIHOSTNAME\fR" 4 +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. +.IP "\fB\-\-net\-cow\-filesystem\fR nfs|cfs" 4 +defines the filesystem type for the copy\-on\-write layer and defaults to nfs. +.IP "\fB\-\-net\-cow\-mountoptions\fR \fIOPTIONS\fR" 4 +sets additional options for mounting the copy\-on\-write layer in netboot images and is by default empty. +.IP "\fB\-\-net\-cow\-path\fR \fIPATH\fR" 4 +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. +.PP +.IP "" 4 +Example: +.br +/export/hosts/client_mac_address +.br +/export/hosts/00\-16\-D3\-33\-92\-E8 +.IP "\fB\-\-net\-cow\-server\fR \fIIP\fR|\fIHOSTNAME\fR" 4 +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. +.IP "\fB\-\-net\-tarball\fR true|false" 4 +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. +.IP "\-p|\fB\-\-package\-lists\fR \fILIST\fR|""\fILISTS\fR""" 4 +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). +.IP "\fB\-\-quiet\fR" 4 +reduces the verbosity of messages output by \fBlb build\fR. +.IP "\fB\-\-archives\fR \fIARCHIVE\fR|""\fIARCHIVES\fR""" 4 +enables one of available third-party archive configurations in /usr/share/live/build/archives. +.IP "\fB\-\-root-command\fR sudo" 4 +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. +.IP "\fB\-\-use-fakeroot\fR true|false" 4 +controls if live\-build should utilize fakeroot and fakechroot to try and avoid requiring root privillages where possible. By default, this option is false. +.IP "\fB\-\-archive\-areas\fR \fIARCHIVE_AREA\fR|""\fIARCHIVE_AREAS\fR""" 4 +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. +.IP "\fB\-\-parent\-archive\-areas\fR \fIPARENT_ARCHIVE_AREA\fR|""\fIPARENT_ARCHIVE_AREAS\fR""" 4 +defines the archive areas for derivatives of the resulting live system. +.IP "\fB\-\-security\fR true|false" 4 +defines if the security repositories specified in the security mirror options should be used or not. +.IP "\fB\-\-source\fR true|false" 4 +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. +.IP "\-s|\fB\-\-source\-images\fR iso|netboot|tar|hdd" 4 +defines the image type for the source image. Default is tar. +.IP "\fB\-\-firmware\-binary\fR true|false" 4 +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. +.IP "\fB\-\-firmware\-chroot\fR true|false" 4 +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. +.IP "\fB\-\-swap\-file\-path\fR \fIPATH\fR" 4 +defines the path to a swap file to create in the binary image. Default is not to create a swap file. +.IP "\fB\-\-swap\-file\-size\fR \fIMB\fR" 4 +defines what size in megabytes the swap file should be, if one is to be created. Default is 512MB. +.IP "\fB\-\-syslinux\-theme\fR \fITHEME_SUFFIX\fR" 4 +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. +.IP "\fB\-\-tasksel\fR apt|aptitude|tasksel" 4 +selects which program is used to install tasks. By default, this is set to tasksel. +.IP "\fB\-\-templates\fR \fIPATH\fR" 4 +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/. +.IP "\fB\-\-hdd\-size\fR MB" 4 +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. +.IP "\fB\-\-updates\fR true|false" 4 +defines if debian updates package archives should be included in the image or not. +.IP "\fB\-\-backports\fR true|false" 4 +defines if debian backports package archives should be included in the image or not. +.IP "\fB\-\-exposed\-root\fR true|false" 4 +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. +.IP "\fB\-\-verbose\fR" 4 +increases the verbosity of messages output by \fBlb build\fR. +.IP "\fB\-\-win32\-loader true|false" 4 +defines if win32\-loader should be included in the binary image or not. +.\" FIXME + +.SH ENVIRONMENT +.\" FIXME +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. +\" FIXME + +.SH FILES +.\" FIXME +.IP "\fBauto/config\fR" 4 +.IP "\fB/etc/live/build.conf, /etc/live/build/*\fR" 4 +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. +.\" FIXME + +.SH SEE ALSO +\fIlive\-build\fR(7) +.PP +\fIlive\-boot\fR(7) +.PP +\fIlive\-config\fR(7) +.PP +This program is a part of live\-build. + +.SH HOMEPAGE +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>. + +.SH BUGS +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\-live@lists.debian.org\fR>. + +.SH AUTHOR +live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fR> for the Debian project. diff --git a/manpages/en/lb_source.1 b/manpages/en/lb_source.1 new file mode 100644 index 0000000..622a0df --- /dev/null +++ b/manpages/en/lb_source.1 @@ -0,0 +1,32 @@ +.TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4-1 "Debian Live Project" + +.SH NAME +\fBlb source\fR \- Complete the source stage + +.SH SYNOPSIS +\fBlb source\fR [\fIlive\-build options\fR] + +.SH DESCRIPTION +\fBlb source\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite. +.PP +\fBlb source\fR calls all necessary live\-build programs in the correct order to complete the source stage. + +.SH OPTIONS +\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. + +.SH FILES +.IP "\fBnone\fR" 4 + +.SH SEE ALSO +\fIlive\-build\fR(7) +.PP +This program is a part of live\-build. + +.SH HOMEPAGE +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>. + +.SH BUGS +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-live@lists.debian.org\fR>. + +.SH AUTHOR +live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fR> for the Debian project. diff --git a/manpages/en/lb_testroot.1 b/manpages/en/lb_testroot.1 new file mode 100644 index 0000000..fcce080 --- /dev/null +++ b/manpages/en/lb_testroot.1 @@ -0,0 +1,36 @@ +.TH LIVE\-BUILD 1 2012\-12\-23 3.0~b4-1 "Debian Live Project" + +.SH NAME +\fBlb testroot\fR \- Ensure that a system is built as root + +.SH SYNOPSIS +\fBlb testroot\fR [\fIlive\-build options\fR] + +.SH DESCRIPTION +\fBlb testroot\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the Debian Live tool suite. +.PP +.\" FIXME +\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. +.PP +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. +.\" FIXME + +.SH OPTIONS +\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. + +.SH FILES +.IP "\fBnone\fR" 4 + +.SH SEE ALSO +\fIlive\-build\fR(7) +.PP +This program is a part of live\-build. + +.SH HOMEPAGE +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>. + +.SH BUGS +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-live@lists.debian.org\fR>. + +.SH AUTHOR +live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fR> for the Debian project. diff --git a/manpages/en/live-build.7 b/manpages/en/live-build.7 new file mode 100644 index 0000000..344dea3 --- /dev/null +++ b/manpages/en/live-build.7 @@ -0,0 +1,237 @@ +.TH LIVE\-BUILD 7 2012\-12\-23 3.0~b4-1 "Debian Live Project" + +.SH NAME +\fBlive\-build\fR \- the Debian Live tool suite + +.SH SYNOPSIS +.\" FIXME +\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] +.\" FIXME + +.SH DESCRIPTION +.\" FIXME +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. +.PP +The \fICOMMAND\fR is a name of a live\-build command (see below). +.PP +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>. +.\" FIXME + +.SH OPTIONS +.\" FIXME +.SS Shared live\-build options +The following command line options are supported by all live\-build programs. +.IP "\fB-h, \-\-help\fR" 4 +display help and exit. +.IP "\fB-u, \-\-usage\fR" 4 +show usage and exit. +.IP "\fB-v, \-\-version\fR" 4 +output version information and exit. +.SS Common live\-build options +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. +.IP "\fB\-\-breakpoints\fR" 4 +run with breakpoints. +.IP "\fB\-\-conffile\fR" 4 +use custom configuration file. +.IP "\fB\-\-debug\fR" 4 +show debug information. +.IP "\fB\-\-force\fR" 4 +force helper execution, even if stage file exists. +.IP "\fB\-\-quiet\fR" 4 +be quiet. +.IP "\fB\-\-verbose\fR" 4 +be verbose. +.\" FIXME + +.SH LIVE\-BUILD COMMANDS +.\" FIXME +We divide live\-build into high level ("porcelain") commands and low level ("plumbing") commands. +.PP +Here is the complete list of all available live\-build commands. See their man +pages for additional documentation. +.\" FIXME + +.SH HIGH\-LEVEL COMMANDS (PORCELAIN) +.\" FIXME +We separate the porcelain commands into the main commands and some ancillary user utilities. +.SS Main porcelain commands +.IP "\fBlb_config\fR(1)" 4 +create configuration for live\-build +.IP "\fBlb_bootstrap\fR(1)" 4 +create the first stage by bootstrapping a basic debian system +.IP "\fBlb_chroot\fR(1)" 4 +create the second stage by customizing the chroot +.IP "\fBlb_binary\fR(1)" 4 +create the third stage by generating a binary image +.IP "\fBlb_source\fR(1)" 4 +create the optional fourth stage by generating a source image +.IP "\fBlb_clean\fR(1)" 4 +clean up system build directories +.SS Ancillary Commands +.IP "\fBlb\fR(1)" 4 +generic live\-build wrapper +.IP "\fBlb_build\fR(1)" 4 +alias for all stages +.IP "\fBlb_local\fR(1)" 4 +helper for using a local live\-build +.IP "\fBlb_testroot\fR(1)" 4 +ensure that a system is built as root +.\" FIXME + +.SH LOW\-LEVEL COMMANDS (PLUMBING) +.\" FIXME +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. +.PP +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. +.SS Bootstrap commands +.IP "\fBlb_bootstrap_cache\fR(1)" 4 +cache bootstrap stage +.IP "\fBlb_bootstrap_cdebootstrap\fR(1)" 4 +bootstrap a Debian system with cdebootstrap(1) +.IP "\fBlb_bootstrap_debootstrap\fR(1)" 4 +bootstrap a Debian system with debootstrap(8) +.SS Chroot commands +.IP "\fBlb_chroot_apt\fR(1)" 4 +manage /etc/apt/apt.conf +.IP "\fBlb_chroot_cache\fR(1)" 4 +cache chroot stage +.IP "\fBlb_chroot_debianchroot\fR(1)" 4 +manage /etc/debian_chroot +.IP "\fBlb_chroot_devpts\fR(1)" 4 +mount /dev/pts +.IP "\fBlb_chroot_dpkg\fR(1)" 4 +manage /sbin/dpkg +.IP "\fBlb_chroot_hacks\fR(1)" 4 +execute hacks in chroot +.IP "\fBlb_chroot_hostname\fR(1)" 4 +manage /bin/hostname +.IP "\fBlb_chroot_hosts\fR(1)" 4 +manage /etc/hosts +.IP "\fBlb_chroot_install\-packages\fR(1)" 4 +install queued packages into chroot +.IP "\fBlb_chroot_interactive\fR(1)" 4 +make build interactive +.IP "\fBlb_chroot_linux\-image\fR(1)" 4 +manage /etc/kernel\-img.conf +.IP "\fBlb_chroot_hooks\fR(1)" 4 +execute local hooks in chroot +.IP "\fBlb_chroot_local\-includes\fR(1)" 4 +copy local files into chroot +.IP "\fBlb_chroot_packages\fR(1)" 4 +queue install of packages into chroot +.IP "\fBlb_chroot_local\-patches\fR(1)" 4 +apply local patches against chroot +.IP "\fBlb_chroot_local\-preseed\fR(1)" 4 +use debconf local preseeding file +.IP "\fBlb_chroot_packagelists\fR(1)" 4 +queue install of package lists into chroot +.IP "\fBlb_chroot_proc\fR(1)" 4 +mount /proc +.IP "\fBlb_chroot_resolv\fR(1)" 4 +manage /etc/resolv.conf +.IP "\fBlb_chroot_selinuxfs\fR(1)" 4 +mount /selinux +.IP "\fBlb_chroot_archives\fR(1)" 4 +manage /etc/apt/sources.list +.IP "\fBlb_chroot_sysfs\fR(1)" 4 +mount /sys +.IP "\fBlb_chroot_sysv\-rc\fR(1)" 4 +manage /usr/sbin/policy\-rc.d +.IP "\fBlb_chroot_task\-lists\fR(1)" 4 +install task lists into chroot +.SS Binary commands +.IP "\fBlb_binary_chroot\fR(1)" 4 +copy chroot into chroot +.IP "\fBlb_binary_debian\-installer\fR(1)" 4 +install debian\-installer into binary +.IP "\fBlb_binary_disk\fR(1)" 4 +install disk information into binary +.IP "\fBlb_binary_grub\fR(1)" 4 +installs grub into binary +.IP "\fBlb_binary_grub2\fR(1)" 4 +installs grub2 into binary +.IP "\fBlb_binary_includes\fR(1)" 4 +copy files into binary +.IP "\fBlb_binary_iso\fR(1)" 4 +build iso binary image +.IP "\fBlb_binary_linux\-image\fR(1)" 4 +install linux\-image into binary +.IP "\fBlb_binary_local\-hooks\fR(1)" 4 +execute local hooks in binary +.IP "\fBlb_binary_local\-includes\fR(1)" 4 +copy files into binary +.IP "\fBlb_binary_local\-packagelists\fR(1)" 4 +install local package lists into binary +.IP "\fBlb_binary_manifest\fR(1)" 4 +create manifest +.IP "\fBlb_binary_checksums\fR(1)" 4 +create binary checksums (md5, sha1, and/or sha256) +.IP "\fBlb_binary_memtest\fR(1)" 4 +installs a memtest into binary +.IP "\fBlb_binary_net\fR(1)" 4 +build netboot binary image +.IP "\fBlb_binary_rootfs\fR(1)" 4 +build rootfs image +.IP "\fBlb_binary_silo\fR(1)" 4 +installs silo into binary +.IP "\fBlb_binary_syslinux\fR(1)" 4 +installs syslinux into binary +.IP "\fBlb_binary_tar\fR(1)" 4 +build harddisk binary image +.IP "\fBlb_binary_hdd\fR(1)" 4 +build binary hdd image +.IP "\fBlb_binary_win32\-loader\fR(1)" 4 +installs win32\-loader into binary +.IP "\fBlb_binary_yaboot\fR(1)" 4 +installs yaboot into binary +.SS Source commands +.IP "\fBlb_source_debian\fR(1)" 4 +download sources +.IP "\fBlb_source_debian\-live\fR(1)" 4 +copy debian\-live config into source +.IP "\fBlb_source_disk\fR(1)" 4 +install disk information into source +.IP "\fBlb_source_iso\fR(1)" 4 +build iso source image +.IP "\fBlb_source_checksums\fR(1)" 4 +create source checksums (md5, sha1, and/or sha256) +.IP "\fBlb_source_net\fR(1)" 4 +build source net image +.IP "\fBlb_source_tar\fR(1)" 4 +build source tarball +.IP "\fBlb_source_hdd\fR(1)" 4 +build source hdd image +.\" FIXME + +.SH CONFIG FILES +.\" FIXME +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). +.PP +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. +.PP +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. +.PP +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. +.PP +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. +.\" FIXME + +.SH FILES +.IP "\fB/etc/live/build.conf\fR" 4 +.IP "\fB/etc/live/build/*\fR" 4 + +.SH SEE ALSO +\fIlive\-boot\fR(7) +.PP +\fIlive\-config\fR(7) +.PP +This program is a part of live\-build. + +.SH HOMEPAGE +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>. + +.SH BUGS +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-live@lists.debian.org\fR>. + +.SH AUTHOR +live\-build was written by Daniel Baumann <\fIdaniel@debian.org\fR> for the Debian project. diff --git a/manpages/po/de/lb.1.po b/manpages/po/de/lb.1.po new file mode 100644 index 0000000..ece9725 --- /dev/null +++ b/manpages/po/de/lb.1.po @@ -0,0 +1,202 @@ +# German translations for live-build package +# Copyright (C) 2012 Free Software Foundation, Inc. +# This file is distributed under the same license as the live-build package. +# Automatically generated, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: live-build VERSION\n" +"POT-Creation-Date: 2012-12-23 10:50+0100\n" +"PO-Revision-Date: 2012-08-02 18:55+0300\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ASCII\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "LIVE-BUILD" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "2012-12-23" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "3.0~b4-1" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "Debian Live Project" +msgstr "" + +#. type: SH +#: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3 +#: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3 +#: en/lb_testroot.1:3 en/live-build.7:3 +#, no-wrap +msgid "NAME" +msgstr "" + +#. type: Plain text +#: en/lb.1:5 +msgid "B - wrapper for live-build programs" +msgstr "" + +#. type: SH +#: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6 +#: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6 +#: en/lb_testroot.1:6 en/live-build.7:6 +#, no-wrap +msgid "SYNOPSIS" +msgstr "" + +#. type: Plain text +#: en/lb.1:8 +msgid "B COMMAND [COMMAND_OPTIONS]" +msgstr "" + +#. type: Plain text +#: en/lb.1:10 +msgid "B [I]" +msgstr "" + +#. type: SH +#: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9 +#: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9 +#: en/lb_testroot.1:9 en/live-build.7:11 +#, no-wrap +msgid "DESCRIPTION" +msgstr "" + +#. type: Plain text +#: en/lb.1:13 +msgid "" +"B is a high-level command (porcelain) of I(7), the Debian " +"Live tool suite." +msgstr "" + +#. type: SH +#: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14 +#: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14 +#: en/lb_testroot.1:18 en/live-build.7:20 +#, no-wrap +msgid "OPTIONS" +msgstr "" + +#. type: Plain text +#: en/lb.1:18 +msgid "" +"B has no specific options but understands all generic live-build " +"options. See I(7) for a complete list of all generic live-build " +"options." +msgstr "" + +#. type: SH +#: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17 +#: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17 +#: en/lb_testroot.1:21 en/live-build.7:219 +#, no-wrap +msgid "FILES" +msgstr "" + +#. type: IP +#: en/lb.1:20 en/lb_binary.1:18 en/lb_bootstrap.1:18 en/lb_chroot.1:18 +#: en/lb_source.1:18 en/lb_testroot.1:22 +#, no-wrap +msgid "B" +msgstr "" + +#. type: SH +#: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22 +#: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20 +#: en/lb_testroot.1:24 en/live-build.7:223 +#, no-wrap +msgid "SEE ALSO" +msgstr "" + +#. type: Plain text +#: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24 +#: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22 +#: en/lb_testroot.1:26 +msgid "I(7)" +msgstr "" + +#. type: Plain text +#: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26 +#: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24 +#: en/lb_testroot.1:28 en/live-build.7:229 +msgid "This program is a part of live-build." +msgstr "" + +#. type: SH +#: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27 +#: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25 +#: en/lb_testroot.1:29 en/live-build.7:230 +#, no-wrap +msgid "HOMEPAGE" +msgstr "" + +#. type: Plain text +#: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29 +#: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27 +#: en/lb_testroot.1:31 en/live-build.7:232 +msgid "" +"More information about live-build and the Debian Live project can be found " +"on the homepage at EIE and in the manual at " +"EIE." +msgstr "" + +#. type: SH +#: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30 +#: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28 +#: en/lb_testroot.1:32 en/live-build.7:233 +#, no-wrap +msgid "BUGS" +msgstr "" + +#. type: Plain text +#: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32 +#: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30 +#: en/lb_testroot.1:34 en/live-build.7:235 +msgid "" +"Bugs can be reported by submitting a bugreport for the live-build package in " +"the Debian Bug Tracking System at EIE or by " +"writing a mail to the Debian Live mailing list at EIE." +msgstr "" + +#. type: SH +#: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33 +#: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31 +#: en/lb_testroot.1:35 en/live-build.7:236 +#, no-wrap +msgid "AUTHOR" +msgstr "" + +#. type: Plain text +#: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34 +#: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32 +#: en/lb_testroot.1:36 en/live-build.7:237 +msgid "" +"live-build was written by Daniel Baumann EIE for " +"the Debian project." +msgstr "" diff --git a/manpages/po/de/lb_binary.1.po b/manpages/po/de/lb_binary.1.po new file mode 100644 index 0000000..d03253f --- /dev/null +++ b/manpages/po/de/lb_binary.1.po @@ -0,0 +1,204 @@ +# German translations for live-build package +# Copyright (C) 2012 Free Software Foundation, Inc. +# This file is distributed under the same license as the live-build package. +# Automatically generated, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: live-build VERSION\n" +"POT-Creation-Date: 2012-12-23 10:50+0100\n" +"PO-Revision-Date: 2012-08-02 18:55+0300\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ASCII\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "LIVE-BUILD" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "2012-12-23" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "3.0~b4-1" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "Debian Live Project" +msgstr "" + +#. type: SH +#: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3 +#: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3 +#: en/lb_testroot.1:3 en/live-build.7:3 +#, no-wrap +msgid "NAME" +msgstr "" + +#. type: SH +#: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6 +#: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6 +#: en/lb_testroot.1:6 en/live-build.7:6 +#, no-wrap +msgid "SYNOPSIS" +msgstr "" + +#. type: SH +#: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9 +#: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9 +#: en/lb_testroot.1:9 en/live-build.7:11 +#, no-wrap +msgid "DESCRIPTION" +msgstr "" + +#. type: SH +#: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14 +#: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14 +#: en/lb_testroot.1:18 en/live-build.7:20 +#, no-wrap +msgid "OPTIONS" +msgstr "" + +#. type: SH +#: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17 +#: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17 +#: en/lb_testroot.1:21 en/live-build.7:219 +#, no-wrap +msgid "FILES" +msgstr "" + +#. type: IP +#: en/lb.1:20 en/lb_binary.1:18 en/lb_bootstrap.1:18 en/lb_chroot.1:18 +#: en/lb_source.1:18 en/lb_testroot.1:22 +#, no-wrap +msgid "B" +msgstr "" + +#. type: SH +#: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22 +#: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20 +#: en/lb_testroot.1:24 en/live-build.7:223 +#, no-wrap +msgid "SEE ALSO" +msgstr "" + +#. type: Plain text +#: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24 +#: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22 +#: en/lb_testroot.1:26 +msgid "I(7)" +msgstr "" + +#. type: Plain text +#: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26 +#: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24 +#: en/lb_testroot.1:28 en/live-build.7:229 +msgid "This program is a part of live-build." +msgstr "" + +#. type: SH +#: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27 +#: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25 +#: en/lb_testroot.1:29 en/live-build.7:230 +#, no-wrap +msgid "HOMEPAGE" +msgstr "" + +#. type: Plain text +#: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29 +#: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27 +#: en/lb_testroot.1:31 en/live-build.7:232 +msgid "" +"More information about live-build and the Debian Live project can be found " +"on the homepage at EIE and in the manual at " +"EIE." +msgstr "" + +#. type: SH +#: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30 +#: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28 +#: en/lb_testroot.1:32 en/live-build.7:233 +#, no-wrap +msgid "BUGS" +msgstr "" + +#. type: Plain text +#: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32 +#: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30 +#: en/lb_testroot.1:34 en/live-build.7:235 +msgid "" +"Bugs can be reported by submitting a bugreport for the live-build package in " +"the Debian Bug Tracking System at EIE or by " +"writing a mail to the Debian Live mailing list at EIE." +msgstr "" + +#. type: SH +#: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33 +#: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31 +#: en/lb_testroot.1:35 en/live-build.7:236 +#, no-wrap +msgid "AUTHOR" +msgstr "" + +#. type: Plain text +#: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34 +#: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32 +#: en/lb_testroot.1:36 en/live-build.7:237 +msgid "" +"live-build was written by Daniel Baumann EIE for " +"the Debian project." +msgstr "" + +#. type: Plain text +#: en/lb_binary.1:5 +msgid "B - Complete the binary stage" +msgstr "" + +#. type: Plain text +#: en/lb_binary.1:8 +msgid "B [I]" +msgstr "" + +#. type: Plain text +#: en/lb_binary.1:11 +msgid "" +"B is a high-level command (porcelain) of I(7), the " +"Debian Live tool suite." +msgstr "" + +#. type: Plain text +#: en/lb_binary.1:13 +msgid "" +"B calls all necessary live-build programs in the correct order to " +"complete the binary stage." +msgstr "" + +#. type: Plain text +#: en/lb_binary.1:16 +msgid "" +"B has no specific options but understands all generic live-build " +"options. See I(7) for a complete list of all generic live-build " +"options." +msgstr "" diff --git a/manpages/po/de/lb_bootstrap.1.po b/manpages/po/de/lb_bootstrap.1.po new file mode 100644 index 0000000..4f8e062 --- /dev/null +++ b/manpages/po/de/lb_bootstrap.1.po @@ -0,0 +1,204 @@ +# German translations for live-build package +# Copyright (C) 2012 Free Software Foundation, Inc. +# This file is distributed under the same license as the live-build package. +# Automatically generated, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: live-build VERSION\n" +"POT-Creation-Date: 2012-12-23 10:50+0100\n" +"PO-Revision-Date: 2012-08-02 18:55+0300\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ASCII\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "LIVE-BUILD" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "2012-12-23" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "3.0~b4-1" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "Debian Live Project" +msgstr "" + +#. type: SH +#: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3 +#: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3 +#: en/lb_testroot.1:3 en/live-build.7:3 +#, no-wrap +msgid "NAME" +msgstr "" + +#. type: SH +#: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6 +#: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6 +#: en/lb_testroot.1:6 en/live-build.7:6 +#, no-wrap +msgid "SYNOPSIS" +msgstr "" + +#. type: SH +#: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9 +#: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9 +#: en/lb_testroot.1:9 en/live-build.7:11 +#, no-wrap +msgid "DESCRIPTION" +msgstr "" + +#. type: SH +#: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14 +#: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14 +#: en/lb_testroot.1:18 en/live-build.7:20 +#, no-wrap +msgid "OPTIONS" +msgstr "" + +#. type: SH +#: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17 +#: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17 +#: en/lb_testroot.1:21 en/live-build.7:219 +#, no-wrap +msgid "FILES" +msgstr "" + +#. type: IP +#: en/lb.1:20 en/lb_binary.1:18 en/lb_bootstrap.1:18 en/lb_chroot.1:18 +#: en/lb_source.1:18 en/lb_testroot.1:22 +#, no-wrap +msgid "B" +msgstr "" + +#. type: SH +#: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22 +#: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20 +#: en/lb_testroot.1:24 en/live-build.7:223 +#, no-wrap +msgid "SEE ALSO" +msgstr "" + +#. type: Plain text +#: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24 +#: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22 +#: en/lb_testroot.1:26 +msgid "I(7)" +msgstr "" + +#. type: Plain text +#: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26 +#: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24 +#: en/lb_testroot.1:28 en/live-build.7:229 +msgid "This program is a part of live-build." +msgstr "" + +#. type: SH +#: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27 +#: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25 +#: en/lb_testroot.1:29 en/live-build.7:230 +#, no-wrap +msgid "HOMEPAGE" +msgstr "" + +#. type: Plain text +#: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29 +#: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27 +#: en/lb_testroot.1:31 en/live-build.7:232 +msgid "" +"More information about live-build and the Debian Live project can be found " +"on the homepage at EIE and in the manual at " +"EIE." +msgstr "" + +#. type: SH +#: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30 +#: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28 +#: en/lb_testroot.1:32 en/live-build.7:233 +#, no-wrap +msgid "BUGS" +msgstr "" + +#. type: Plain text +#: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32 +#: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30 +#: en/lb_testroot.1:34 en/live-build.7:235 +msgid "" +"Bugs can be reported by submitting a bugreport for the live-build package in " +"the Debian Bug Tracking System at EIE or by " +"writing a mail to the Debian Live mailing list at EIE." +msgstr "" + +#. type: SH +#: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33 +#: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31 +#: en/lb_testroot.1:35 en/live-build.7:236 +#, no-wrap +msgid "AUTHOR" +msgstr "" + +#. type: Plain text +#: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34 +#: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32 +#: en/lb_testroot.1:36 en/live-build.7:237 +msgid "" +"live-build was written by Daniel Baumann EIE for " +"the Debian project." +msgstr "" + +#. type: Plain text +#: en/lb_bootstrap.1:5 +msgid "B - Complete the bootstrap stage" +msgstr "" + +#. type: Plain text +#: en/lb_bootstrap.1:8 +msgid "B [I]" +msgstr "" + +#. type: Plain text +#: en/lb_bootstrap.1:11 +msgid "" +"B is a high-level command (porcelain) of I(7), the " +"Debian Live tool suite." +msgstr "" + +#. type: Plain text +#: en/lb_bootstrap.1:13 +msgid "" +"B calls all necessary live-build programs in the correct order " +"to complete the bootstrap stage." +msgstr "" + +#. type: Plain text +#: en/lb_bootstrap.1:16 +msgid "" +"B has no specific options but understands all generic live-" +"build options. See I(7) for a complete list of all generic live-" +"build options." +msgstr "" diff --git a/manpages/po/de/lb_build.1.po b/manpages/po/de/lb_build.1.po new file mode 100644 index 0000000..9e12e06 --- /dev/null +++ b/manpages/po/de/lb_build.1.po @@ -0,0 +1,204 @@ +# German translations for live-build package +# Copyright (C) 2012 Free Software Foundation, Inc. +# This file is distributed under the same license as the live-build package. +# Automatically generated, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: live-build VERSION\n" +"POT-Creation-Date: 2012-12-23 10:50+0100\n" +"PO-Revision-Date: 2012-08-02 18:55+0300\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ASCII\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "LIVE-BUILD" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "2012-12-23" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "3.0~b4-1" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "Debian Live Project" +msgstr "" + +#. type: SH +#: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3 +#: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3 +#: en/lb_testroot.1:3 en/live-build.7:3 +#, no-wrap +msgid "NAME" +msgstr "" + +#. type: SH +#: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6 +#: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6 +#: en/lb_testroot.1:6 en/live-build.7:6 +#, no-wrap +msgid "SYNOPSIS" +msgstr "" + +#. type: SH +#: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9 +#: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9 +#: en/lb_testroot.1:9 en/live-build.7:11 +#, no-wrap +msgid "DESCRIPTION" +msgstr "" + +#. type: SH +#: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14 +#: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14 +#: en/lb_testroot.1:18 en/live-build.7:20 +#, no-wrap +msgid "OPTIONS" +msgstr "" + +#. type: SH +#: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17 +#: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17 +#: en/lb_testroot.1:21 en/live-build.7:219 +#, no-wrap +msgid "FILES" +msgstr "" + +#. type: SH +#: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22 +#: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20 +#: en/lb_testroot.1:24 en/live-build.7:223 +#, no-wrap +msgid "SEE ALSO" +msgstr "" + +#. type: Plain text +#: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24 +#: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22 +#: en/lb_testroot.1:26 +msgid "I(7)" +msgstr "" + +#. type: Plain text +#: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26 +#: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24 +#: en/lb_testroot.1:28 en/live-build.7:229 +msgid "This program is a part of live-build." +msgstr "" + +#. type: SH +#: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27 +#: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25 +#: en/lb_testroot.1:29 en/live-build.7:230 +#, no-wrap +msgid "HOMEPAGE" +msgstr "" + +#. type: Plain text +#: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29 +#: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27 +#: en/lb_testroot.1:31 en/live-build.7:232 +msgid "" +"More information about live-build and the Debian Live project can be found " +"on the homepage at EIE and in the manual at " +"EIE." +msgstr "" + +#. type: SH +#: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30 +#: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28 +#: en/lb_testroot.1:32 en/live-build.7:233 +#, no-wrap +msgid "BUGS" +msgstr "" + +#. type: Plain text +#: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32 +#: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30 +#: en/lb_testroot.1:34 en/live-build.7:235 +msgid "" +"Bugs can be reported by submitting a bugreport for the live-build package in " +"the Debian Bug Tracking System at EIE or by " +"writing a mail to the Debian Live mailing list at EIE." +msgstr "" + +#. type: SH +#: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33 +#: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31 +#: en/lb_testroot.1:35 en/live-build.7:236 +#, no-wrap +msgid "AUTHOR" +msgstr "" + +#. type: Plain text +#: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34 +#: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32 +#: en/lb_testroot.1:36 en/live-build.7:237 +msgid "" +"live-build was written by Daniel Baumann EIE for " +"the Debian project." +msgstr "" + +#. type: Plain text +#: en/lb_build.1:5 +msgid "B - Complete the bootstrap, chroot, binary, and source stages" +msgstr "" + +#. type: Plain text +#: en/lb_build.1:8 +msgid "B [I]" +msgstr "" + +#. type: Plain text +#: en/lb_build.1:11 +msgid "" +"B is a high-level command (porcelain) of I(7), the " +"Debian Live tool suite." +msgstr "" + +#. type: Plain text +#: en/lb_build.1:13 +msgid "" +"B calls all necessary live-build programs in the correct order to " +"complete the bootstrap, chroot, binary, and source stages." +msgstr "" + +#. type: Plain text +#: en/lb_build.1:16 +msgid "" +"B has no specific options but understands all generic live-build " +"options. See I(7) for a complete list of all generic live-build " +"options." +msgstr "" + +#. FIXME +#. type: IP +#: en/lb_build.1:19 +#, no-wrap +msgid "B" +msgstr "" diff --git a/manpages/po/de/lb_chroot.1.po b/manpages/po/de/lb_chroot.1.po new file mode 100644 index 0000000..595c6f9 --- /dev/null +++ b/manpages/po/de/lb_chroot.1.po @@ -0,0 +1,204 @@ +# German translations for live-build package +# Copyright (C) 2012 Free Software Foundation, Inc. +# This file is distributed under the same license as the live-build package. +# Automatically generated, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: live-build VERSION\n" +"POT-Creation-Date: 2012-12-23 10:50+0100\n" +"PO-Revision-Date: 2012-08-02 18:55+0300\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ASCII\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "LIVE-BUILD" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "2012-12-23" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "3.0~b4-1" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "Debian Live Project" +msgstr "" + +#. type: SH +#: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3 +#: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3 +#: en/lb_testroot.1:3 en/live-build.7:3 +#, no-wrap +msgid "NAME" +msgstr "" + +#. type: SH +#: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6 +#: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6 +#: en/lb_testroot.1:6 en/live-build.7:6 +#, no-wrap +msgid "SYNOPSIS" +msgstr "" + +#. type: SH +#: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9 +#: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9 +#: en/lb_testroot.1:9 en/live-build.7:11 +#, no-wrap +msgid "DESCRIPTION" +msgstr "" + +#. type: SH +#: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14 +#: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14 +#: en/lb_testroot.1:18 en/live-build.7:20 +#, no-wrap +msgid "OPTIONS" +msgstr "" + +#. type: SH +#: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17 +#: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17 +#: en/lb_testroot.1:21 en/live-build.7:219 +#, no-wrap +msgid "FILES" +msgstr "" + +#. type: IP +#: en/lb.1:20 en/lb_binary.1:18 en/lb_bootstrap.1:18 en/lb_chroot.1:18 +#: en/lb_source.1:18 en/lb_testroot.1:22 +#, no-wrap +msgid "B" +msgstr "" + +#. type: SH +#: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22 +#: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20 +#: en/lb_testroot.1:24 en/live-build.7:223 +#, no-wrap +msgid "SEE ALSO" +msgstr "" + +#. type: Plain text +#: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24 +#: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22 +#: en/lb_testroot.1:26 +msgid "I(7)" +msgstr "" + +#. type: Plain text +#: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26 +#: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24 +#: en/lb_testroot.1:28 en/live-build.7:229 +msgid "This program is a part of live-build." +msgstr "" + +#. type: SH +#: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27 +#: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25 +#: en/lb_testroot.1:29 en/live-build.7:230 +#, no-wrap +msgid "HOMEPAGE" +msgstr "" + +#. type: Plain text +#: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29 +#: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27 +#: en/lb_testroot.1:31 en/live-build.7:232 +msgid "" +"More information about live-build and the Debian Live project can be found " +"on the homepage at EIE and in the manual at " +"EIE." +msgstr "" + +#. type: SH +#: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30 +#: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28 +#: en/lb_testroot.1:32 en/live-build.7:233 +#, no-wrap +msgid "BUGS" +msgstr "" + +#. type: Plain text +#: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32 +#: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30 +#: en/lb_testroot.1:34 en/live-build.7:235 +msgid "" +"Bugs can be reported by submitting a bugreport for the live-build package in " +"the Debian Bug Tracking System at EIE or by " +"writing a mail to the Debian Live mailing list at EIE." +msgstr "" + +#. type: SH +#: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33 +#: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31 +#: en/lb_testroot.1:35 en/live-build.7:236 +#, no-wrap +msgid "AUTHOR" +msgstr "" + +#. type: Plain text +#: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34 +#: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32 +#: en/lb_testroot.1:36 en/live-build.7:237 +msgid "" +"live-build was written by Daniel Baumann EIE for " +"the Debian project." +msgstr "" + +#. type: Plain text +#: en/lb_chroot.1:5 +msgid "B - Complete the chroot stage" +msgstr "" + +#. type: Plain text +#: en/lb_chroot.1:8 +msgid "B [I]" +msgstr "" + +#. type: Plain text +#: en/lb_chroot.1:11 +msgid "" +"B is a high-level command (porcelain) of I(7), the " +"Debian Live tool suite." +msgstr "" + +#. type: Plain text +#: en/lb_chroot.1:13 +msgid "" +"B calls all necessary live-build programs in the correct order to " +"complete the chroot stage." +msgstr "" + +#. type: Plain text +#: en/lb_chroot.1:16 +msgid "" +"B has no specific options but understands all generic live-build " +"options. See I(7) for a complete list of all generic live-build " +"options." +msgstr "" diff --git a/manpages/po/de/lb_clean.1.po b/manpages/po/de/lb_clean.1.po new file mode 100644 index 0000000..d5fa109 --- /dev/null +++ b/manpages/po/de/lb_clean.1.po @@ -0,0 +1,302 @@ +# German translations for live-build package +# Copyright (C) 2012 Free Software Foundation, Inc. +# This file is distributed under the same license as the live-build package. +# Automatically generated, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: live-build VERSION\n" +"POT-Creation-Date: 2012-12-23 10:50+0100\n" +"PO-Revision-Date: 2012-08-02 18:55+0300\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ASCII\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "LIVE-BUILD" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "2012-12-23" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "3.0~b4-1" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "Debian Live Project" +msgstr "" + +#. type: SH +#: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3 +#: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3 +#: en/lb_testroot.1:3 en/live-build.7:3 +#, no-wrap +msgid "NAME" +msgstr "" + +#. type: SH +#: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6 +#: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6 +#: en/lb_testroot.1:6 en/live-build.7:6 +#, no-wrap +msgid "SYNOPSIS" +msgstr "" + +#. type: SH +#: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9 +#: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9 +#: en/lb_testroot.1:9 en/live-build.7:11 +#, no-wrap +msgid "DESCRIPTION" +msgstr "" + +#. type: SH +#: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14 +#: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14 +#: en/lb_testroot.1:18 en/live-build.7:20 +#, no-wrap +msgid "OPTIONS" +msgstr "" + +#. type: SH +#: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17 +#: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17 +#: en/lb_testroot.1:21 en/live-build.7:219 +#, no-wrap +msgid "FILES" +msgstr "" + +#. type: SH +#: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22 +#: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20 +#: en/lb_testroot.1:24 en/live-build.7:223 +#, no-wrap +msgid "SEE ALSO" +msgstr "" + +#. type: Plain text +#: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24 +#: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22 +#: en/lb_testroot.1:26 +msgid "I(7)" +msgstr "" + +#. type: Plain text +#: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26 +#: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24 +#: en/lb_testroot.1:28 en/live-build.7:229 +msgid "This program is a part of live-build." +msgstr "" + +#. type: SH +#: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27 +#: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25 +#: en/lb_testroot.1:29 en/live-build.7:230 +#, no-wrap +msgid "HOMEPAGE" +msgstr "" + +#. type: Plain text +#: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29 +#: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27 +#: en/lb_testroot.1:31 en/live-build.7:232 +msgid "" +"More information about live-build and the Debian Live project can be found " +"on the homepage at EIE and in the manual at " +"EIE." +msgstr "" + +#. type: SH +#: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30 +#: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28 +#: en/lb_testroot.1:32 en/live-build.7:233 +#, no-wrap +msgid "BUGS" +msgstr "" + +#. type: Plain text +#: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32 +#: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30 +#: en/lb_testroot.1:34 en/live-build.7:235 +msgid "" +"Bugs can be reported by submitting a bugreport for the live-build package in " +"the Debian Bug Tracking System at EIE or by " +"writing a mail to the Debian Live mailing list at EIE." +msgstr "" + +#. type: SH +#: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33 +#: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31 +#: en/lb_testroot.1:35 en/live-build.7:236 +#, no-wrap +msgid "AUTHOR" +msgstr "" + +#. type: Plain text +#: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34 +#: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32 +#: en/lb_testroot.1:36 en/live-build.7:237 +msgid "" +"live-build was written by Daniel Baumann EIE for " +"the Debian project." +msgstr "" + +#. type: Plain text +#: en/lb_clean.1:5 +msgid "B - Clean build directory" +msgstr "" + +#. type: Plain text +#: en/lb_clean.1:8 +msgid "B [I]" +msgstr "" + +#. type: Plain text +#: en/lb_clean.1:11 +msgid "" +"B is a high-level command (porcelain) of I(7), the " +"Debian Live tool suite." +msgstr "" + +#. FIXME +#. FIXME +#. type: Plain text +#: en/lb_clean.1:15 +msgid "" +"B 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." +msgstr "" + +#. type: Plain text +#: en/lb_clean.1:18 +msgid "" +"In addition to its specific options B understands all generic live-" +"build options. See I(7) for a complete list of all generic live-" +"build options." +msgstr "" + +#. FIXME +#. type: IP +#: en/lb_clean.1:20 +#, no-wrap +msgid "B<--all>" +msgstr "" + +#. type: Plain text +#: en/lb_clean.1:22 +msgid "" +"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." +msgstr "" + +#. type: IP +#: en/lb_clean.1:22 +#, no-wrap +msgid "B<--cache>" +msgstr "" + +#. type: Plain text +#: en/lb_clean.1:24 +msgid "removes the cache directories." +msgstr "" + +#. type: IP +#: en/lb_clean.1:24 +#, no-wrap +msgid "B<--chroot>" +msgstr "" + +#. type: Plain text +#: en/lb_clean.1:26 +msgid "unmounts and removes the chroot directory." +msgstr "" + +#. type: IP +#: en/lb_clean.1:26 +#, no-wrap +msgid "B<--binary>" +msgstr "" + +#. type: Plain text +#: en/lb_clean.1:28 +msgid "" +"removes all binary related caches, files, directories, and stages files." +msgstr "" + +#. type: IP +#: en/lb_clean.1:28 +#, no-wrap +msgid "B<--purge>" +msgstr "" + +#. type: Plain text +#: en/lb_clean.1:30 +msgid "removes everything, including all caches. The config directory is kept." +msgstr "" + +#. type: IP +#: en/lb_clean.1:30 +#, no-wrap +msgid "B<--remove>" +msgstr "" + +#. type: Plain text +#: en/lb_clean.1:32 +msgid "" +"removes everything, including package cache but not stage cache. The config " +"directory is kept." +msgstr "" + +#. type: IP +#: en/lb_clean.1:32 +#, no-wrap +msgid "B<--stage>" +msgstr "" + +#. type: Plain text +#: en/lb_clean.1:34 +msgid "removes all stage files." +msgstr "" + +#. type: IP +#: en/lb_clean.1:34 +#, no-wrap +msgid "B<--source>" +msgstr "" + +#. FIXME +#. type: Plain text +#: en/lb_clean.1:37 +msgid "removes all source related caches, files, directories, and stage files." +msgstr "" + +#. FIXME +#. type: IP +#: en/lb_clean.1:40 +#, no-wrap +msgid "B" +msgstr "" diff --git a/manpages/po/de/lb_config.1.po b/manpages/po/de/lb_config.1.po new file mode 100644 index 0000000..719996d --- /dev/null +++ b/manpages/po/de/lb_config.1.po @@ -0,0 +1,2454 @@ +# German translations for live-build package +# Copyright (C) 2012 Free Software Foundation, Inc. +# This file is distributed under the same license as the live-build package. +# Automatically generated, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: live-build VERSION\n" +"POT-Creation-Date: 2012-12-23 10:50+0100\n" +"PO-Revision-Date: 2012-08-02 18:55+0300\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ASCII\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "LIVE-BUILD" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "2012-12-23" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "3.0~b4-1" +msgstr "" + +#. type: TH +#: en/lb.1:1 en/lb_binary.1:1 en/lb_bootstrap.1:1 en/lb_build.1:1 +#: en/lb_chroot.1:1 en/lb_clean.1:1 en/lb_config.1:1 en/lb_source.1:1 +#: en/lb_testroot.1:1 en/live-build.7:1 +#, no-wrap +msgid "Debian Live Project" +msgstr "" + +#. type: SH +#: en/lb.1:3 en/lb_binary.1:3 en/lb_bootstrap.1:3 en/lb_build.1:3 +#: en/lb_chroot.1:3 en/lb_clean.1:3 en/lb_config.1:3 en/lb_source.1:3 +#: en/lb_testroot.1:3 en/live-build.7:3 +#, no-wrap +msgid "NAME" +msgstr "" + +#. type: SH +#: en/lb.1:6 en/lb_binary.1:6 en/lb_bootstrap.1:6 en/lb_build.1:6 +#: en/lb_chroot.1:6 en/lb_clean.1:6 en/lb_config.1:6 en/lb_source.1:6 +#: en/lb_testroot.1:6 en/live-build.7:6 +#, no-wrap +msgid "SYNOPSIS" +msgstr "" + +#. type: SH +#: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9 +#: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:237 en/lb_source.1:9 +#: en/lb_testroot.1:9 en/live-build.7:11 +#, no-wrap +msgid "DESCRIPTION" +msgstr "" + +#. type: SH +#: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14 +#: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:246 en/lb_source.1:14 +#: en/lb_testroot.1:18 en/live-build.7:20 +#, no-wrap +msgid "OPTIONS" +msgstr "" + +#. type: SH +#: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17 +#: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:490 en/lb_source.1:17 +#: en/lb_testroot.1:21 en/live-build.7:219 +#, no-wrap +msgid "FILES" +msgstr "" + +#. type: SH +#: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22 +#: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:497 en/lb_source.1:20 +#: en/lb_testroot.1:24 en/live-build.7:223 +#, no-wrap +msgid "SEE ALSO" +msgstr "" + +#. type: Plain text +#: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24 +#: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:499 en/lb_source.1:22 +#: en/lb_testroot.1:26 +msgid "I(7)" +msgstr "" + +#. type: Plain text +#: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26 +#: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:505 en/lb_source.1:24 +#: en/lb_testroot.1:28 en/live-build.7:229 +msgid "This program is a part of live-build." +msgstr "" + +#. type: SH +#: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27 +#: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:506 en/lb_source.1:25 +#: en/lb_testroot.1:29 en/live-build.7:230 +#, no-wrap +msgid "HOMEPAGE" +msgstr "" + +#. type: Plain text +#: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29 +#: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:508 en/lb_source.1:27 +#: en/lb_testroot.1:31 en/live-build.7:232 +msgid "" +"More information about live-build and the Debian Live project can be found " +"on the homepage at EIE and in the manual at " +"EIE." +msgstr "" + +#. type: SH +#: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30 +#: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:509 en/lb_source.1:28 +#: en/lb_testroot.1:32 en/live-build.7:233 +#, no-wrap +msgid "BUGS" +msgstr "" + +#. type: Plain text +#: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32 +#: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:511 en/lb_source.1:30 +#: en/lb_testroot.1:34 en/live-build.7:235 +msgid "" +"Bugs can be reported by submitting a bugreport for the live-build package in " +"the Debian Bug Tracking System at EIE or by " +"writing a mail to the Debian Live mailing list at EIE." +msgstr "" + +#. type: SH +#: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33 +#: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:512 en/lb_source.1:31 +#: en/lb_testroot.1:35 en/live-build.7:236 +#, no-wrap +msgid "AUTHOR" +msgstr "" + +#. type: Plain text +#: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34 +#: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:513 en/lb_source.1:32 +#: en/lb_testroot.1:36 en/live-build.7:237 +msgid "" +"live-build was written by Daniel Baumann EIE for " +"the Debian project." +msgstr "" + +#. type: Plain text +#: en/lb_config.1:5 +msgid "B - Create config directory" +msgstr "" + +#. type: Plain text +#: en/lb_config.1:8 +msgid "B [I]" +msgstr "" + +#. FIXME +#. type: Plain text +#: en/lb_config.1:11 +msgid "B" +msgstr "" + +#. type: Plain text +#: en/lb_config.1:13 +msgid " [B<--apt> apt|aptitude]" +msgstr "" + +#. type: Plain text +#: en/lb_config.1:15 +msgid " [B<--apt-ftp-proxy> I]" +msgstr "" + +#. type: Plain text +#: en/lb_config.1:17 +msgid " [B<--apt-http-proxy> I]" +msgstr "" + +#. type: Plain text +#: en/lb_config.1:19 +msgid " [B<--apt-indices> true|false|none]" +msgstr "" + +#. type: Plain text +#: en/lb_config.1:21 +msgid " [B<--apt-options> I