Adding debian version 3.0~a1-1.
This commit is contained in:
commit
152d608f61
|
@ -0,0 +1,674 @@
|
|||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
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.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
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 <http://www.gnu.org/licenses/>.
|
||||
|
||||
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:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
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
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
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
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
|
@ -0,0 +1,104 @@
|
|||
# Makefile
|
||||
|
||||
SHELL := sh -e
|
||||
|
||||
LANGUAGES = de
|
||||
|
||||
SCRIPTS = cgi/* functions/* examples/*/*.sh scripts/*.sh scripts/*/*
|
||||
|
||||
all: test build
|
||||
|
||||
test:
|
||||
@echo -n "Checking for syntax errors"
|
||||
|
||||
@for SCRIPT in $(SCRIPTS); \
|
||||
do \
|
||||
sh -n $${SCRIPT}; \
|
||||
echo -n "."; \
|
||||
done
|
||||
|
||||
@echo " done."
|
||||
|
||||
@# We can't just fail yet on bashisms (FIXME)
|
||||
@echo -n "Checking for bashisms"
|
||||
|
||||
@if [ -x /usr/bin/checkbashisms ]; \
|
||||
then \
|
||||
for SCRIPT in $(SCRIPTS); \
|
||||
do \
|
||||
checkbashisms -f -x $${SCRIPT} || true; \
|
||||
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 cgi data examples functions scripts hooks includes lists repositories templates $(DESTDIR)/usr/share/live/build
|
||||
|
||||
# Installing executables
|
||||
mkdir -p $(DESTDIR)/usr/bin
|
||||
mv $(DESTDIR)/usr/share/live/build/scripts/build/lb $(DESTDIR)/usr/share/live/build/scripts/build/live-build $(DESTDIR)/usr/bin
|
||||
|
||||
# Installing documentation
|
||||
mkdir -p $(DESTDIR)/usr/share/doc/live-build
|
||||
cp -r COPYING docs/* $(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
|
||||
|
||||
# Installing logfile
|
||||
mkdir -p $(DESTDIR)/var/log
|
||||
|
||||
uninstall:
|
||||
# Uninstalling shared data
|
||||
rm -rf $(DESTDIR)/usr/share/live/build
|
||||
rmdir --ignore-fail-on-non-empty $(DESTDIR)/usr/share/live
|
||||
|
||||
# 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
|
|
@ -0,0 +1,19 @@
|
|||
# Makefile
|
||||
|
||||
install:
|
||||
install -D -m 0755 cgi $(DESTDIR)/usr/lib/cgi-bin/live-build
|
||||
install -D -m 0755 cron $(DESTDIR)/etc/cron.d/live-build.cgi
|
||||
install -D -m 0644 default $(DESTDIR)/etc/default/live-build.cgi
|
||||
install -D -m 0644 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/default/live-build.cgi
|
||||
rm -f $(DESTDIR)/etc/logrotate.d/live-build.cgi
|
||||
|
||||
reinstall: uninstall install
|
|
@ -0,0 +1,235 @@
|
|||
#!/bin/sh
|
||||
|
||||
## live-build(7) - System Build Scripts
|
||||
## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org>
|
||||
##
|
||||
## live-build 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
|
||||
. "${LB_BASE:-/usr/share/live/build}"/scripts/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
|
||||
|
||||
# Turn on debug if enabled
|
||||
if [ "${_DEBUG}" = "enabled" ]
|
||||
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#LB_MIRROR_BOOTSTRAP#${LB_MIRROR_BOOTSTRAP}#" \
|
||||
-e "s#LB_MIRROR_BINARY_SECURITY#${LB_MIRROR_BINARY_SECURITY}#" \
|
||||
-e "s#LB_MIRROR_BINARY#${LB_MIRROR_BINARY}#" \
|
||||
-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)
|
||||
|
||||
# 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)
|
||||
LB_PACKAGES_LISTS=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])packages_lists=[-0-9a-z]+' | cut -f 2 -d '=' | head -n1)
|
||||
LB_TASKS=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])tasks=[-0-9a-zA-Z. _]+' | cut -f 2 -d '=' | head -n1)
|
||||
LB_PACKAGES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])packages=[-0-9a-zA-Z. _]+' | cut -f 2 -d '=' | head -n1)
|
||||
|
||||
# Advanced bootstrap options
|
||||
LB_ARCHITECTURE=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])architecture=[0-9a-z]+' | cut -f 2 -d '=' | head -n1)
|
||||
LB_BOOTSTRAP_FLAVOUR=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])bootstrap_flavour=[a-z]+' | cut -f 2 -d '=' | head -n1)
|
||||
LB_MIRROR_BOOTSTRAP=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])mirror_bootstrap=[-0-9a-zA-Z.~:/_]+' | cut -f 2 -d '=' | head -n1)
|
||||
LB_MIRROR_BINARY=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])mirror_binary=[-0-9a-zA-Z.~:/_]+' | cut -f 2 -d '=' | head -n1)
|
||||
LB_MIRROR_BINARY_SECURITY=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])mirror_binary_security=[-0-9a-zA-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)
|
||||
LB_SYMLINKS=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])symlinks=[a-z]+' | cut -f 2 -d '=' | head -n1)
|
||||
LB_SYSVINIT=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])sysvinit=[a-z]+' | cut -f 2 -d '=' | head -n1)
|
||||
|
||||
# Advanced binary options
|
||||
LB_BINARY_INDICES=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])binary_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_ENCRYPTION=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])encryption=[0-9a-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)
|
||||
|
||||
# Unofficial options
|
||||
_CUSTOM_BOOTSTRAP=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])custom_bootstrap=[-0-9a-zA-Z.~:/_]+' | cut -f 2 -d '=' | head -n1)
|
||||
_CUSTOM_BINARY=$(echo "${QUERY_STRING}" | grep -oE '(^|[?&])custom_binary=[-0-9a-zA-Z.~:/_]+' | cut -f 2 -d '=' | head -n1)
|
||||
|
||||
# FIXME: filter invalid options
|
||||
unset QUERY_STRING
|
||||
|
||||
if [ -z "${_EMAIL}" ]
|
||||
then
|
||||
echo "<h2><div style='color: red;'>Error: No email address specified.</div></h2>"
|
||||
|
||||
sed -e "s#LB_MIRROR_BOOTSTRAP#${LB_MIRROR_BOOTSTRAP}#" \
|
||||
-e "s#LB_MIRROR_BINARY_SECURITY#${LB_MIRROR_BINARY_SECURITY}#" \
|
||||
-e "s#LB_MIRROR_BINARY#${LB_MIRROR_BINARY}#" \
|
||||
-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)
|
||||
|
||||
#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/LB_BINARY_IMAGES/${LB_BINARY_IMAGES}/" \
|
||||
-e "s/LB_DISTRIBUTION/${LB_DISTRIBUTION}/" \
|
||||
-e "s/LB_PACKAGES_LISTS/${LB_PACKAGES_LISTS}/" \
|
||||
-e "s/LB_TASKS/${LB_TASKS}/" \
|
||||
-e "s/LB_PACKAGES/${LB_PACKAGES}/" \
|
||||
-e "s/LB_ARCHITECTURE/${LB_ARCHITECTURE}/" \
|
||||
-e "s/LB_BOOTSTRAP_FLAVOUR/${LB_BOOTSTRAP_FLAVOUR}/" \
|
||||
-e "s#LB_MIRROR_BOOTSTRAP#${LB_MIRROR_BOOTSTRAP}#" \
|
||||
-e "s#LB_MIRROR_BINARY_SECURITY#${LB_MIRROR_BINARY_SECURITY}#" \
|
||||
-e "s#LB_MIRROR_BINARY#${LB_MIRROR_BINARY}#" \
|
||||
-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_SYMLINKS/${LB_SYMLINKS}/" \
|
||||
-e "s/LB_SYSVINIT/${LB_SYSVINIT}/" \
|
||||
-e "s/LB_BINARY_INDICES/${LB_BINARY_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_ENCRYPTION/${LB_ENCRYPTION}/" \
|
||||
-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}/" \
|
||||
-e "s#CUSTOM_BOOTSTRAP#${_CUSTOM_BOOTSTRAP}#" \
|
||||
-e "s#CUSTOM_BINARY#${_CUSTOM_BINARY}#" \
|
||||
"${_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}"
|
||||
|
||||
# Standard options
|
||||
LB_BINARY_IMAGES="${LB_BINARY_IMAGES}"
|
||||
LB_DISTRIBUTION="${LB_DISTRIBUTION}"
|
||||
LB_PACKAGES_LISTS="${LB_PACKAGES_LISTS}"
|
||||
LB_TASKS="${LB_TASKS}"
|
||||
LB_PACKAGES="${LB_PACKAGES}"
|
||||
|
||||
# Advanced bootstrap options
|
||||
LB_ARCHITECTURE="${LB_ARCHITECTURE}"
|
||||
LB_MIRROR_BOOTSTRAP="${LB_MIRROR_BOOTSTRAP}"
|
||||
LB_MIRROR_BINARY_SECURITY="${LB_MIRROR_BINARY_SECURITY}"
|
||||
LB_MIRROR_BINARY="${LB_MIRROR_BINARY}"
|
||||
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}"
|
||||
LB_SYMLINKS="${LB_SYMLINKS}"
|
||||
LB_SYSVINIT="${LB_SYSVINIT}"
|
||||
|
||||
# Advanced binary options
|
||||
LB_BINARY_INDICES="${LB_BINARY_INDICES}"
|
||||
LB_BOOTAPPEND_INSTALL="${LB_BOOTAPPEND_INSTALL}"
|
||||
LB_BOOTAPPEND_LIVE="${LB_BOOTAPPEND_LIVE}"
|
||||
LB_BOOTLOADER="${LB_BOOTLOADER}"
|
||||
LB_DEBIAN_INSTALLER="${LB_DEBIAN_INSTALLER}"
|
||||
LB_ENCRYPTION="${LB_ENCRYPTION}"
|
||||
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}"
|
||||
|
||||
# Unofficial options
|
||||
_CUSTOM_BOOTSTRAP="${_CUSTOM_BOOTSTRAP}"
|
||||
_CUSTOM_BINARY="${_CUSTOM_BINARY}"
|
||||
|
||||
# Other
|
||||
LB_REPOSITORIES="${LB_REPOSITORIES}"
|
||||
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}|packages_lists ${LB_PACKAGES_LISTS}|tasks ${LB_TASKS}|packages ${LB_PACKAGES}|architecture ${LB_ARCHITECTURE}|mirror_bootstrap_security ${LB_MIRROR_BOOTSTRAP}|mirror_bootstrap ${LB_MIRROR_BOOTSTRAP}|mirror_binary_security ${LB_MIRROR_BINARY_SECURITY}|mirror_binary ${LB_MIRROR_BINARY}|archive_areas ${LB_ARCHIVE_AREAS}|chroot_filesystem ${LB_CHROOT_FILESYSTEM}|linux_flavours ${LB_LINUX_FLAVOURS}|security ${LB_SECURITY}|symlinks ${LB_SYMLINKS}|sysvinit ${LB_SYSVINIT}|binary_indices ${LB_BINARY_INDICES}|bootappend_install ${LB_BOOTAPPEND_INSTALL}|bootappend_live ${LB_BOOTAPPEND_LIVE}|bootloader ${LB_BOOTLOADER}|debian_installer ${LB_DEBIAN_INSTALLER}|encryption ${LB_ENCRYPTION}|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}|source ${LB_SOURCE}|custom_bootstrap ${_CUSTOM_BOOTSTRAP}|custom_binary ${_CUSTOM_BINARY}\n" >> /var/log/live
|
||||
fi
|
||||
|
||||
sed -e "s/VERSION/${VERSION}/" "${_TEMPLATES}"/footer.html
|
|
@ -0,0 +1,192 @@
|
|||
#!/bin/sh
|
||||
|
||||
## live-build(7) - System Build Scripts
|
||||
## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org>
|
||||
##
|
||||
## live-build 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
|
||||
. "${LB_BASE:-/usr/share/live/build}"/scripts/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}" != "enabled" ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Turn on debug if enabled
|
||||
if [ "${_DEBUG}" = "enabled" ]
|
||||
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 the variables we want from the config file.
|
||||
# Pul in the build number
|
||||
_BUILD=`awk -F\" '/^_BUILD=/{print $2}' ${_FILE}`
|
||||
# Pull in the email address
|
||||
_EMAIL=`awk -F\" '/^_EMAIL=/{print $2}' ${_FILE}`
|
||||
# Pull in the remote address, atchitecture, and distribution
|
||||
_REMOTE_ADDR=`awk -F\" '/^REMOTE_ADDR=/{print $2}' ${_FILE}`
|
||||
_LB_ARCHITECTURE=`awk -F\" '/^LB_ARCHITECTURE=/{print $2}' ${_FILE}`
|
||||
_LB_DISTRIBUTION=`awk -F\" '/^LB_DISTRIBUTION=/{print $2}' ${_FILE}`
|
||||
_LB_PACKAGES_LISTS=`awk -F\" '/^LB_PACKAGES_LISTS=/{print $2}' ${_FILE}`
|
||||
_LB_PACKAGES=`awk -F\" '/^LB_PACKAGES=/{print $2}' ${_FILE}`
|
||||
# Pull in the custom bootstrap
|
||||
_CUSTOM_BOOTSTRAP=`awk -F\" '/^_CUSTOM_BOOTSTRAP=/{print $2}' ${_FILE}`
|
||||
# Pull in the custom binary
|
||||
_CUSTOM_BINARY=`awk -F\" '/^_CUSTOM_BINARY=/{print $2}' ${_FILE}`
|
||||
|
||||
# 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 build directory which also creates the config/chroot_sources folder
|
||||
mkdir -p "${_TEMPDIR}"/"${_BUILD}"/config/chroot_sources
|
||||
|
||||
# The next two tests are for unofficial third party repositories
|
||||
if [ -n "${_CUSTOM_BOOTSTRAP}" ]
|
||||
then
|
||||
echo "${_CUSTOM_BOOTSTRAP}" > "${_TEMPDIR}"/"${_BUILD}"/config/chroot_sources/custom.bootstrap
|
||||
fi
|
||||
|
||||
if [ -n "${_CUSTOM_BINARY}" ]
|
||||
then
|
||||
echo "${_CUSTOM_BINARY}" > "${_TEMPDIR}"/"${_BUILD}"/config/chroot_sources/custom.binary
|
||||
fi
|
||||
|
||||
_DATE_START="`date -R`"
|
||||
echo "Begin: ${_DATE_START}" > "${_TEMPDIR}"/"${_BUILD}"/log
|
||||
|
||||
# Generating image
|
||||
cd "${_TEMPDIR}"/"${_BUILD}"
|
||||
lb config -c ${_FILE} >> "${_TEMPDIR}"/"${_BUILD}"/log 2>&1
|
||||
_ERRORCONFIG="${?}"
|
||||
lb build >> "${_TEMPDIR}"/"${_BUILD}"/log 2>&1
|
||||
_ERRORBUILD="${?}"
|
||||
|
||||
_DATE_END="`date -R`"
|
||||
echo "End: ${_DATE_END}" >> "${_TEMPDIR}"/"${_BUILD}"/log
|
||||
|
||||
# Creating image directory
|
||||
mkdir -p "${_DESTDIR}"/"${_BUILD}"
|
||||
|
||||
# Creating mail and logging.
|
||||
if [ "${_ERRORCONFIG}" -eq "0" ] && [ "${_ERRORBUILD}" -eq "0" ]
|
||||
then
|
||||
_STATUS="maybe-successful"
|
||||
echo "${_REMOTE_ADDR} - - `date +[%d/%b/%Y:%H:%m:%S\ %z]` \"${_BUILD} ${_LB_ARCHITECTURE}/${_LB_DISTRIBUTION}/${_LB_PACKAGES_LISTS}/${_LB_PACKAGES}\" 200 - \"-\" \"\"">>/var/log/live-cgi.builds
|
||||
else
|
||||
_STATUS="maybe-failed"
|
||||
echo "${_REMOTE_ADDR} - - `date +[%d/%b/%Y:%H:%m:%S\ %z]` \"${_BUILD} ${_LB_ARCHITECTURE}/${_LB_DISTRIBUTION}/${_LB_PACKAGES_LISTS}/${_LB_PACKAGES}\" 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 ${_TEMPDIR}/${_BUILD}/binary*.*
|
||||
then
|
||||
mv "${_TEMPDIR}"/"${_BUILD}"/binary*.* "${_DESTDIR}"/"${_BUILD}"
|
||||
fi
|
||||
|
||||
# Moving source image
|
||||
#if ls "${_TEMPDIR}"/"${_BUILD}"/source.* > /dev/null 2>&1
|
||||
if Find_files ${_TEMPDIR}/${_BUILD}/source.*
|
||||
then
|
||||
mv "${_TEMPDIR}"/"${_BUILD}"/source.* "${_DESTDIR}"/"${_BUILD}"
|
||||
fi
|
||||
|
||||
# Moving build
|
||||
mv "${_TEMPDIR}"/"${_BUILD}".build "${_DESTDIR}"/"${_BUILD}"/build
|
||||
|
||||
# Moving log
|
||||
mv "${_TEMPDIR}"/"${_BUILD}"/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 ${_TEMPDIR}/${_BUILD}/chroot/dev/pts/*
|
||||
then
|
||||
umount "${_TEMPDIR}"/${_BUILD}/chroot/dev/pts
|
||||
fi
|
||||
|
||||
# Unmounting proc
|
||||
if [ -f "${_TEMPDIR}"/"${_BUILD}"/chroot/proc/version ]
|
||||
then
|
||||
umount "${_TEMPDIR}"/"${_BUILD}"/chroot/proc
|
||||
fi
|
||||
|
||||
# Unmounting sysfs
|
||||
if [ -d "${_TEMPDIR}"/"${_BUILD}"/chroot/sys/kernel ]
|
||||
then
|
||||
umount "${_TEMPDIR}"/${_BUILD}/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
|
|
@ -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-webhelper > /dev/null 2>&1
|
|
@ -0,0 +1,17 @@
|
|||
# Defaults for /etc/cron.daily/live-build.cgi
|
||||
|
||||
_WEBBUILD="disabled"
|
||||
|
||||
_MODE="debian-official"
|
||||
|
||||
_DEBUG="disabled"
|
||||
|
||||
_DESTDIR="/srv/debian-live/build/www"
|
||||
_TEMPLATES="/usr/share/live/build/templates/cgi/${_MODE}"
|
||||
_TEMPDIR="/srv/debian-live/build/tmp"
|
||||
|
||||
LB_MIRROR_BOOTSTRAP="http://ftp.de.debian.org/debian/"
|
||||
LB_MIRROR_BINARY="http://ftp.debian.org/debian/"
|
||||
LB_MIRROR_BINARY_SECURITY="http://security.debian.org/"
|
||||
|
||||
_SERVER="http://live.debian.net/build"
|
|
@ -0,0 +1,11 @@
|
|||
# /etc/logrotate.d/live-build
|
||||
|
||||
/var/log/live
|
||||
{
|
||||
compress
|
||||
copytruncate
|
||||
missingok
|
||||
monthly
|
||||
notifempty
|
||||
rotate 24
|
||||
}
|
|
@ -0,0 +1,74 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
"""
|
||||
live-helper simulated execution graph generator.
|
||||
Copyright (C) 2007 Chris Lamb <chris@chris-lamb.co.uk>
|
||||
|
||||
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 <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
import sys, re
|
||||
import pygraphviz
|
||||
|
||||
groups = {
|
||||
'lh_bootstrap' : 'orange',
|
||||
'lh_chroot' : 'red',
|
||||
'lh_source' : 'blue',
|
||||
'lh_binary' : 'green',
|
||||
'lh_build' : 'brown'
|
||||
}
|
||||
pattern = re.compile(r'^(lh_.+?) ')
|
||||
|
||||
def main(start):
|
||||
global prev
|
||||
G = pygraphviz.AGraph(directed=True)
|
||||
G.graph_attr['label'] = 'Simulated execution trace for live-helper.'
|
||||
|
||||
def helper(filename):
|
||||
global prev
|
||||
for line in gen_matches(filename):
|
||||
G.add_edge(prev, line)
|
||||
style(G.get_node(prev), prev)
|
||||
prev = line
|
||||
helper(line)
|
||||
|
||||
prev = start
|
||||
helper(start)
|
||||
G.layout(prog='dot')
|
||||
print G.draw(format='svg')
|
||||
|
||||
def style(node, name):
|
||||
if name in groups.keys():
|
||||
node.attr['shape'] = 'box'
|
||||
node.attr['style'] = 'bold'
|
||||
else:
|
||||
node.attr['fontsize'] = '11'
|
||||
for group_name, color in groups.iteritems():
|
||||
if name.startswith(group_name):
|
||||
node.attr['color'] = color
|
||||
return node
|
||||
|
||||
def gen_matches(filename):
|
||||
f = open('/usr/bin/%s' % filename, 'r')
|
||||
for line in f.xreadlines():
|
||||
match = pattern.match(line)
|
||||
if match:
|
||||
yield match.group(1)
|
||||
f.close()
|
||||
|
||||
if __name__ == "__main__":
|
||||
if len(sys.argv) == 2:
|
||||
main(sys.argv[1])
|
||||
else:
|
||||
main('lh_build')
|
|
@ -0,0 +1,26 @@
|
|||
The grub splash for Debian Live was made by Daniel Baumann <daniel@debian.org>
|
||||
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.
|
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 6.2 KiB |
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
|
@ -0,0 +1,26 @@
|
|||
The syslinux splash for Debian Live was made by Daniel Baumann
|
||||
<daniel@debian.org> 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.
|
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 6.2 KiB |
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 101 KiB |
|
@ -0,0 +1,104 @@
|
|||
Creative Commons Attribution-ShareAlike 3.0 Unported
|
||||
====================================================
|
||||
|
||||
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM ITS USE.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
License
|
||||
|
||||
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
||||
|
||||
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
|
||||
|
||||
1. Definitions
|
||||
|
||||
a. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License.
|
||||
|
||||
b. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined below) for the purposes of this License.
|
||||
|
||||
c. "Creative Commons Compatible License" means a license that is listed at http://creativecommons.org/compatiblelicenses that has been approved by Creative Commons as being essentially equivalent to this License, including, at a minimum, because that license: (i) contains terms that have the same purpose, meaning and effect as the License Elements of this License; and, (ii) explicitly permits the relicensing of adaptations of works made available under that license under this License or a Creative Commons jurisdiction license with the same License Elements as this License.
|
||||
|
||||
d. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership.
|
||||
|
||||
e. "License Elements" means the following high-level license attributes as selected by Licensor and indicated in the title of this License: Attribution, ShareAlike.
|
||||
|
||||
f. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License.
|
||||
|
||||
g. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast.
|
||||
|
||||
h. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work.
|
||||
|
||||
i. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
|
||||
|
||||
j. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images.
|
||||
|
||||
k "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium.
|
||||
|
||||
2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws.
|
||||
|
||||
3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
|
||||
|
||||
a. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections;
|
||||
|
||||
b. to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified.";
|
||||
|
||||
c. to Distribute and Publicly Perform the Work including as incorporated in Collections; and,
|
||||
|
||||
d. to Distribute and Publicly Perform Adaptations.
|
||||
|
||||
e. For the avoidance of doubt:
|
||||
|
||||
i. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License;
|
||||
|
||||
ii. Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and,
|
||||
|
||||
iii. Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License.
|
||||
|
||||
The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved.
|
||||
|
||||
4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
|
||||
|
||||
a. You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(c), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(c), as requested.
|
||||
|
||||
b. You may Distribute or Publicly Perform an Adaptation only under the terms of: (i) this License; (ii) a later version of this License with the same License Elements as this License; (iii) a Creative Commons jurisdiction license (either this or a later license version) that contains the same License Elements as this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible License. If you license the Adaptation under one of the licenses mentioned in (iv), you must comply with the terms of that license. If you license the Adaptation under the terms of any of the licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), you must comply with the terms of the Applicable License generally and the following provisions: (I) You must include a copy of, or the URI for, the Applicable License with every copy of each Adaptation You Distribute or Publicly Perform; (II) You may not offer or impose any terms on the Adaptation that restrict the terms of the Applicable License or the ability of the recipient of the Adaptation to exercise the rights granted to that recipient under the terms of the Applicable License; (III) You must keep intact all notices that refer to the Applicable License and to the disclaimer of warranties with every copy of the Work as included in the Adaptation You Distribute or Publicly Perform; (IV) when You Distribute or Publicly Perform the Adaptation, You may not impose any effective technological measures on the Adaptation that restrict the ability of a recipient of the Adaptation from You to exercise the rights granted to that recipient under the terms of the Applicable License. This Section 4(b) applies to the Adaptation as incorporated in a Collection, but this does not require the Collection apart from the Adaptation itself to be made subject to the terms of the Applicable License.
|
||||
|
||||
c. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Ssection 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4(c) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties.
|
||||
|
||||
d. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise.
|
||||
|
||||
5. Representations, Warranties and Disclaimer
|
||||
|
||||
UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
|
||||
|
||||
6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
7. Termination
|
||||
|
||||
a. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
|
||||
|
||||
b. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
|
||||
|
||||
8. Miscellaneous
|
||||
|
||||
a. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
|
||||
|
||||
b. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.
|
||||
|
||||
c. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
|
||||
|
||||
d. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
|
||||
|
||||
e. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
|
||||
|
||||
f. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Creative Commons Notice
|
||||
|
||||
Creative Commons is not a party to this License, and makes no warranty whatsoever in connection with the Work. Creative Commons will not be liable to You or any party on any legal theory for any damages whatsoever, including without limitation any general, special, incidental or consequential damages arising in connection to this license. Notwithstanding the foregoing two (2) sentences, if Creative Commons has expressly identified itself as the Licensor hereunder, it shall have all rights and obligations of Licensor.
|
||||
|
||||
Except for the limited purpose of indicating to the public that the Work is licensed under the CCPL, Creative Commons does not authorize the use by either party of the trademark "Creative Commons" or any related trademark or logo of Creative Commons without the prior written consent of Creative Commons. Any permitted use will be in compliance with Creative Commons' then-current trademark usage guidelines, as may be published on its website or otherwise made available upon request from time to time. For the avoidance of doubt, this trademark restriction does not form part of the License.
|
||||
|
||||
Creative Commons may be contacted at http://creativecommons.org/.
|
|
@ -0,0 +1,3 @@
|
|||
This splash for Debian was made by Agnieszka Czajkowska <ac@ac-d-sign.com>
|
||||
and licensed under the terms of the Creative Commons Attribution-Share Alike 3.0
|
||||
(Unported) license, http://creativecommons.org/licenses/by-sa/3.0/.
|
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 22 KiB |
|
@ -0,0 +1 @@
|
|||
squeeze
|
|
@ -0,0 +1,4 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
||||
fdisk-udeb
|
|
@ -0,0 +1,3 @@
|
|||
netcfg
|
||||
ethdetect
|
||||
fdisk-udeb
|
|
@ -0,0 +1,3 @@
|
|||
netcfg
|
||||
ethdetect
|
||||
fdisk-udeb
|
|
@ -0,0 +1,4 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
||||
pcmciautils-udeb
|
|
@ -0,0 +1,3 @@
|
|||
netcfg
|
||||
ethdetect
|
||||
pcmciautils-udeb
|
|
@ -0,0 +1,3 @@
|
|||
netcfg
|
||||
ethdetect
|
||||
pcmciautils-udeb
|
|
@ -0,0 +1,3 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,140 @@
|
|||
# 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
|
||||
console-setup-*
|
||||
# Currently unused
|
||||
nbd-client-udeb
|
||||
pwgen-udeb
|
||||
# Eh?
|
||||
gnumach-udeb
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -0,0 +1,3 @@
|
|||
# S/390 does not support loading udebs off the CD image,
|
||||
# so we can exclude all udebs from it
|
||||
*
|
|
@ -0,0 +1,5 @@
|
|||
# Only needed on arches that use partconf or autopartkit.
|
||||
partconf-mkfstab
|
||||
# Not needed on arches that use partman
|
||||
mdcfg
|
||||
lvmcfg
|
|
@ -0,0 +1,3 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,4 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
||||
pcmciautils-udeb
|
|
@ -0,0 +1,3 @@
|
|||
netcfg
|
||||
ethdetect
|
||||
pcmciautils-udeb
|
|
@ -0,0 +1,3 @@
|
|||
netcfg
|
||||
ethdetect
|
||||
pcmciautils-udeb
|
|
@ -0,0 +1,3 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,3 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,3 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,3 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,3 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,3 @@
|
|||
netcfg
|
||||
ethdetect
|
||||
pcmciautils-udeb
|
|
@ -0,0 +1,3 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,3 @@
|
|||
choose-mirror
|
||||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1,2 @@
|
|||
netcfg
|
||||
ethdetect
|
|
@ -0,0 +1 @@
|
|||
apt-mirror-setup
|
|
@ -0,0 +1 @@
|
|||
squeeze
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1 @@
|
|||
7
|
|
@ -0,0 +1,33 @@
|
|||
Source: live-build
|
||||
Section: misc
|
||||
Priority: optional
|
||||
Maintainer: Debian Live Project <debian-live@lists.debian.org>
|
||||
Uploaders: Daniel Baumann <daniel@debian.org>
|
||||
Build-Depends: debhelper (>= 7.0.50~)
|
||||
Build-Depends-Indep: gettext
|
||||
Standards-Version: 3.9.1
|
||||
Homepage: http://live.debian.net/devel/live-build/
|
||||
Vcs-Browser: http://live.debian.net/gitweb/?p=live-build.git
|
||||
Vcs-Git: git://live.debian.net/git/live-build.git
|
||||
|
||||
Package: live-build
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, debootstrap | cdebootstrap | cdebootstrap-static
|
||||
Recommends: cpio, gettext-base, gnu-fdisk
|
||||
Suggests:
|
||||
dosfstools, genisoimage, memtest86+ | memtest86, mtools, parted,
|
||||
squashfs-tools | genext2fs | mtd-tools, sudo | fakeroot, syslinux | grub,
|
||||
uuid-runtime, win32-loader
|
||||
Description: Debian Live - System Build Scripts
|
||||
live-build contains the scripts that build a Debian Live system image from a
|
||||
configuration directory.
|
||||
|
||||
Package: live-build-cgi
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}
|
||||
Recommends: apache2 | httpd
|
||||
Description: Debian Live - System Build Scripts (cgi frontend)
|
||||
live-build contains the scripts that build a Debian Live system image from a
|
||||
configuration directory.
|
||||
.
|
||||
This package contains the cgi frontend.
|
|
@ -0,0 +1,176 @@
|
|||
Upstream-Contact: Debian Live Project <debian-live@lists.debian.org>
|
||||
Upstream-Homepage: http://live.debian.net/
|
||||
|
||||
Files: *
|
||||
Copyright: (C) 2006-2010 Daniel Baumann <daniel@debian.org>
|
||||
License: GPL-3+
|
||||
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 <http://www.gnu.org/licenses/>.
|
||||
.
|
||||
On Debian systems, the complete text of the GNU General Public License
|
||||
can be found in /usr/share/common-licenses/GPL-3 file.
|
||||
|
||||
Files: contrib/graph-helpers
|
||||
Copyright: (C) 2007 Chris Lamb <chris@chris-lamb.co.uk>
|
||||
License: GPL-3+
|
||||
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 <http://www.gnu.org/licenses/>.
|
||||
.
|
||||
On Debian systems, the complete text of the GNU General Public License
|
||||
can be found in /usr/share/common-licenses/GPL-3 file.
|
||||
|
||||
Files: contrib/grub-splash/lenny, contrib/syslinux-splash/lenny
|
||||
License: other
|
||||
The splash for Debian Live was made by Daniel Baumann <daniel@debian.org> 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.
|
||||
|
||||
Files: contrib/syslinux-splash/squeeze
|
||||
Copyright: (C) 2009 Agnieszka Czajkowska <ac@ac-d-sign.com>
|
||||
License: CC-BY-SA-3
|
||||
Creative Commons Attribution-ShareAlike 3.0 Unported
|
||||
====================================================
|
||||
.
|
||||
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM ITS USE.
|
||||
.
|
||||
--------------------------------------------------------------------------------
|
||||
.
|
||||
License
|
||||
.
|
||||
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
||||
.
|
||||
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
|
||||
.
|
||||
1. Definitions
|
||||
.
|
||||
a. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License.
|
||||
.
|
||||
b. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined below) for the purposes of this License.
|
||||
.
|
||||
c. "Creative Commons Compatible License" means a license that is listed at http://creativecommons.org/compatiblelicenses that has been approved by Creative Commons as being essentially equivalent to this License, including, at a minimum, because that license: (i) contains terms that have the same purpose, meaning and effect as the License Elements of this License; and, (ii) explicitly permits the relicensing of adaptations of works made available under that license under this License or a Creative Commons jurisdiction license with the same License Elements as this License.
|
||||
.
|
||||
d. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership.
|
||||
.
|
||||
e. "License Elements" means the following high-level license attributes as selected by Licensor and indicated in the title of this License: Attribution, ShareAlike.
|
||||
.
|
||||
f. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License.
|
||||
.
|
||||
g. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast.
|
||||
.
|
||||
h. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work.
|
||||
.
|
||||
i. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
|
||||
.
|
||||
j. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images.
|
||||
.
|
||||
k "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium.
|
||||
.
|
||||
2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws.
|
||||
.
|
||||
3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
|
||||
.
|
||||
a. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections;
|
||||
.
|
||||
b. to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified.";
|
||||
.
|
||||
c. to Distribute and Publicly Perform the Work including as incorporated in Collections; and,
|
||||
.
|
||||
d. to Distribute and Publicly Perform Adaptations.
|
||||
.
|
||||
e. For the avoidance of doubt:
|
||||
.
|
||||
i. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License;
|
||||
.
|
||||
ii. Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and,
|
||||
.
|
||||
iii. Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License.
|
||||
.
|
||||
The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved.
|
||||
.
|
||||
4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
|
||||
.
|
||||
a. You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(c), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(c), as requested.
|
||||
.
|
||||
b. You may Distribute or Publicly Perform an Adaptation only under the terms of: (i) this License; (ii) a later version of this License with the same License Elements as this License; (iii) a Creative Commons jurisdiction license (either this or a later license version) that contains the same License Elements as this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible License. If you license the Adaptation under one of the licenses mentioned in (iv), you must comply with the terms of that license. If you license the Adaptation under the terms of any of the licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), you must comply with the terms of the Applicable License generally and the following provisions: (I) You must include a copy of, or the URI for, the Applicable License with every copy of each Adaptation You Distribute or Publicly Perform; (II) You may not offer or impose any terms on the Adaptation that restrict the terms of the Applicable License or the ability of the recipient of the Adaptation to exercise the rights granted to that recipient under the terms of the Applicable License; (III) You must keep intact all notices that refer to the Applicable License and to the disclaimer of warranties with every copy of the Work as included in the Adaptation You Distribute or Publicly Perform; (IV) when You Distribute or Publicly Perform the Adaptation, You may not impose any effective technological measures on the Adaptation that restrict the ability of a recipient of the Adaptation from You to exercise the rights granted to that recipient under the terms of the Applicable License. This Section 4(b) applies to the Adaptation as incorporated in a Collection, but this does not require the Collection apart from the Adaptation itself to be made subject to the terms of the Applicable License.
|
||||
.
|
||||
c. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Ssection 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4(c) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties.
|
||||
.
|
||||
d. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise.
|
||||
.
|
||||
5. Representations, Warranties and Disclaimer
|
||||
.
|
||||
UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
|
||||
.
|
||||
6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
.
|
||||
7. Termination
|
||||
.
|
||||
a. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
|
||||
.
|
||||
b. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
|
||||
.
|
||||
8. Miscellaneous
|
||||
.
|
||||
a. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
|
||||
.
|
||||
b. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.
|
||||
.
|
||||
c. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
|
||||
.
|
||||
d. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
|
||||
.
|
||||
e. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
|
||||
.
|
||||
f. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law.
|
||||
.
|
||||
--------------------------------------------------------------------------------
|
||||
.
|
||||
Creative Commons Notice
|
||||
.
|
||||
Creative Commons is not a party to this License, and makes no warranty whatsoever in connection with the Work. Creative Commons will not be liable to You or any party on any legal theory for any damages whatsoever, including without limitation any general, special, incidental or consequential damages arising in connection to this license. Notwithstanding the foregoing two (2) sentences, if Creative Commons has expressly identified itself as the Licensor hereunder, it shall have all rights and obligations of Licensor.
|
||||
.
|
||||
Except for the limited purpose of indicating to the public that the Work is licensed under the CCPL, Creative Commons does not authorize the use by either party of the trademark "Creative Commons" or any related trademark or logo of Creative Commons without the prior written consent of Creative Commons. Any permitted use will be in compliance with Creative Commons' then-current trademark usage guidelines, as may be published on its website or otherwise made available upon request from time to time. For the avoidance of doubt, this trademark restriction does not form part of the License.
|
||||
.
|
||||
Creative Commons may be contacted at http://creativecommons.org/.
|
|
@ -0,0 +1,11 @@
|
|||
Before submitting a bug report against live-build, please make sure
|
||||
that you have read your guidlines for Debian Live bug reports:
|
||||
|
||||
http://live.debian.net/manual/html/bugs.html
|
||||
|
||||
By providing the required information as outlined in the guidlines makes
|
||||
sure that we can optimally reproduce and fix bugs, not doing so wastes a
|
||||
lot of time for both the maintainers and the submitters.
|
||||
|
||||
Please keep in mind that bugs that lack the required information will
|
||||
likely be ignored.
|
|
@ -0,0 +1,18 @@
|
|||
#!/bin/sh
|
||||
|
||||
DEFAULT_SETTINGS="/etc/live/build.conf"
|
||||
|
||||
# Checking depends
|
||||
dpkg -l debootstrap cdebootstrap
|
||||
|
||||
# Checking suggests
|
||||
dpkg -l dosfstools genisoimage memtest86+ memtest86 mtools parted squashfs-tools genext2fs mtd-tools sudo fakeroot syslinux grub uuid-runtime win32-loader
|
||||
|
||||
if [ -e "${DEFAULT_SETTINGS}" ]; then
|
||||
echo "Contents of ${DEFAULT_SETTINGS}:"
|
||||
cat "${DEFAULT_SETTINGS}"
|
||||
else
|
||||
echo "${DEFAULT_SETTINGS} does not exist."
|
||||
fi
|
||||
|
||||
exit 0
|
|
@ -0,0 +1,27 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
%:
|
||||
dh ${@}
|
||||
|
||||
override_dh_auto_clean:
|
||||
$(MAKE) -C po clean
|
||||
|
||||
override_dh_auto_build:
|
||||
$(MAKE) -C po update-po
|
||||
|
||||
override_dh_auto_install:
|
||||
$(MAKE) DESTDIR=$(CURDIR)/debian/live-build install
|
||||
$(MAKE) -C po DESTDIR=$(CURDIR)/debian/live-build install
|
||||
|
||||
mv debian/live-build/usr/share/doc/live-build/ChangeLog.live-package debian/live-build/usr/share/doc/live-build/changelog.live-package
|
||||
mv debian/live-build/usr/share/doc/live-build/ChangeLog.live-webhelper debian/live-build/usr/share/doc/live-build/changelog.live-webhelper
|
||||
|
||||
rm -f debian/live-build/usr/share/doc/live-build/COPYING
|
||||
rm -f debian/live-build/usr/share/doc/live-build/ChangeLog
|
||||
|
||||
# live-buld-cgi
|
||||
mkdir -p debian/live-build-cgi/usr/share/live/build
|
||||
mv debian/live-build/usr/share/live/build/cgi debian/live-build-cgi/usr/share/live/build
|
||||
|
||||
override_dh_installchangelogs:
|
||||
dh_installchangelogs docs/ChangeLog
|
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
|
@ -0,0 +1,8 @@
|
|||
Main Author:
|
||||
|
||||
* Daniel Baumann <daniel@debian.org>
|
||||
|
||||
Main Contributors:
|
||||
|
||||
* Chris Lamb <lamby@debian.org>
|
||||
* Otavio Salvador <otavio@debian.org>
|
|
@ -0,0 +1,63 @@
|
|||
Patches (alphabetical order):
|
||||
|
||||
* Alex Owen <r.a.owen@qmul.ac.uk>
|
||||
* An-Cheng Huang <ancheng@vyatta.com>
|
||||
* Antonio Amorim <Antonio.Amorim@sim.fc.ul.pt>
|
||||
* Antonio Terceiro <terceiro@softwarelivre.org>
|
||||
* Bas Wijnen <wijnen@debian.org>
|
||||
* Ben Armstrong <synrg@debian.org>
|
||||
* Cedric Lucantis <omer@no-log.org>
|
||||
* Chris Lamb <lamby@debian.org>
|
||||
* Cody A.W. Somerville <cody.somerville@canonical.com>
|
||||
* Cyril Brulebois <cyril.brulebois@kerlabs.com>
|
||||
* David Madore <david.madore@ens.fr>
|
||||
* Erwan Le Gall <elegall@linagora.com>
|
||||
* Fathi Boudra <fabo@debian.org>
|
||||
* Franklin Piat <fpiat@bigfoot.com>
|
||||
* Frederic Daniel Luc Lehobey <Frederic@Lehobey.net>
|
||||
* Guerkan Senguen <gurkan@linuks.mine.nu>
|
||||
* Hadar Weiss <whadar@gmail.com>
|
||||
* Inigo Tejedor Arrondo <inigo@navarrux.org>
|
||||
* Jason D. Clinton <me@jasonclinton.com>
|
||||
* Jean Pierre LeJacq <jp.lejacq@quoininc.com>
|
||||
* Jesse Hathaway <jesse@mbuki-mvuki.org>
|
||||
* Justin Pryzby <pryzbyj@justinpryzby.com>
|
||||
* Kai Hendry <hendry@webconverger.com>
|
||||
* Kel Modderman <kel@otaku42.de>
|
||||
* Maarten ter Huurne <maarten@treewalker.org>
|
||||
* Marcelo D. Re <mdre@rectorado.unl.edu.ar>
|
||||
* Marco Amadori <marco.amadori@gmail.com>
|
||||
* Markus Bauer <bauer-markus@web.de>
|
||||
* Mathieu Geli <mathieu.geli@gmail.com>
|
||||
* Otavio Salvador <otavio@debian.org>
|
||||
* Peter Holik <peter@holik.at>
|
||||
* Peter Skogstroem <peter.skogstrom@bitrunner.com>
|
||||
* Rene Merou <ochominutosdearco@gmail.com>
|
||||
* Richard Nelson <unixabg@gmail.com>
|
||||
* Scott Edwards <debian@foss.daxal.com>
|
||||
* Sebastian Raveau <sebastien.raveau@epita.fr>
|
||||
* Thomas Lange <lange@informatik.uni-koeln.de>
|
||||
* Tiago Bortoletto Vaz <tiago@debian-ba.org>
|
||||
* Trent Buck <trentbuck@gmail.com>
|
||||
* Tzafrir Cohen <tzafrir.cohen@xorcom.com>
|
||||
* Vladimir Stavrinov <vs@inist.ru>
|
||||
|
||||
Donations (alphabetical order):
|
||||
|
||||
* Gracie <gracie@bithawk.net>
|
||||
|
||||
Special thanks (alphabetical order):
|
||||
|
||||
* Ben Armstrong <synrg@debian.org> for his IRC support.
|
||||
* Jason D. Clinton <me@jasonclinton.com> for his work on netboot type.
|
||||
* Otavio Salvador <otavio@debian.org> for his QA patches.
|
||||
* Richard Nelson <rjent@rjent.pair.com> for live-webhelper.
|
||||
* Sebastian Raveau <sebastien.raveau@epita.fr> for his work on encryption
|
||||
support.
|
||||
* Scott Edwards <debian@foss.daxal.com> for his work on d-i/g-i integration.
|
||||
* Michael Dorrington <mike@zen.co.uk> 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.
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,474 @@
|
|||
2007-03-10 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Added knoppix and knoppix-dvd package lists.
|
||||
|
||||
2007-03-09 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Getting free loopdevice from inside the chroot, not outside.
|
||||
|
||||
2007-03-09 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Added kbd to all !minimal lists.
|
||||
* Uploaded 0.99.25.
|
||||
|
||||
2007-03-08 Otavio Salvador <otavio@debian.org>
|
||||
|
||||
* 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 <daniel@debian.org>
|
||||
|
||||
* 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 <mathieu.geli@gmail.com>.
|
||||
* Exported CODENAME_* manually as reported by Cédric Lucantis
|
||||
<omer@no-log.org>.
|
||||
* Fixed typo s/aptiude/aptitude/ as reported by Kai Hendry
|
||||
<hendry@iki.fi>.
|
||||
* Uploaded 0.99.24.
|
||||
|
||||
2007-02-22 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Added xresprobe to all x11 lists.
|
||||
|
||||
2007-02-22 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Applied patches from Otavio Salvador <otavio@debian.org>:
|
||||
- add and cleanup variable exporting in defaults.
|
||||
- add LIVE_BOOTSTRAP_CONFIG to lh_debootstrap.
|
||||
* Uploaded 0.99.23.
|
||||
|
||||
2007-02-21 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Added gnome-junior, kde-junior and xfce-junior lists.
|
||||
* Uploaded 0.99.22.
|
||||
|
||||
2007-02-19 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Fixed manifest.
|
||||
|
||||
2007-02-15 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Applied patch from Sebastian Raveau <sebastien.raveau@epita.fr> to
|
||||
add support for filesystem images encrypted with loop-aes.
|
||||
|
||||
2007-02-13 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Broken out scripts into modularized lh_* subscripts.
|
||||
|
||||
2007-02-12 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Added some code as suggested by Alex Owen <r.a.owen@qmul.ac.uk> 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 <daniel@debian.org>
|
||||
|
||||
* Added mini flavour.
|
||||
|
||||
2007-02-10 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Added legacy code for genisoimage.
|
||||
* Uploaded 0.99.20.
|
||||
|
||||
2007-02-09 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Added usb type.
|
||||
|
||||
2007-02-08 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Added desktop task to the *-desktop flavours.
|
||||
|
||||
2007-02-07 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Extended cron job a bit.
|
||||
* Fixed manual pruning in minimal flavour as suggested by Bas Wijnen
|
||||
<wijnen@debian.org>
|
||||
|
||||
2007-02-02 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Added "--without-daemons".
|
||||
|
||||
2007-02-01 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Added "--tasks".
|
||||
* Added desktop-base to all desktop package lists.
|
||||
|
||||
2007-01-31 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Changed vars in autobuilding script to be able to source
|
||||
make-live.conf.
|
||||
* Uploaded 0.99.19.
|
||||
|
||||
2007-01-30 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Added cron job for autobuilding images.
|
||||
|
||||
2007-01-25 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Added additional pruning to minimal flavour.
|
||||
* Using interactive frontend while processing --hook.
|
||||
* Uploaded 0.99.18.
|
||||
|
||||
2007-01-24 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Applied patches from Otavio Salvador <otavio@debian.org>:
|
||||
- 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 <daniel@debian.org>
|
||||
|
||||
* Replacing mkisofs with genisoimage.
|
||||
|
||||
2007-01-18 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Cleanups.
|
||||
* Uploaded 0.99.16.
|
||||
|
||||
2007-01-16 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* 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 <daniel@debian.org>
|
||||
|
||||
* 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 <daniel@debian.org>
|
||||
|
||||
* Uploaded 0.99.14.
|
||||
|
||||
2006-11-05 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Applied patch from Markus Bauer <bauer-markus@web.de>:
|
||||
- fixing script sourcing to exclude files in .svn
|
||||
|
||||
2006-11-03 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Fixed typo in the policy-rc.d hack.
|
||||
|
||||
2006-11-02 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Using aptitude instead of apt-get.
|
||||
* Added '--with-recommends' and '--without-recommends'.
|
||||
|
||||
2006-11-01 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Fixed regression when using -d ${CODENAME} wrt/ kernel packages.
|
||||
|
||||
2006-10-30 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Uploaded 0.99.13.
|
||||
|
||||
2006-10-29 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Added minimal-net flavour.
|
||||
|
||||
2006-10-28 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Added console-common to standard selection.
|
||||
|
||||
2006-10-27 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Added patch from Otavio Salvador <otavio@debian.org>:
|
||||
- fixing preseeding error-handling.
|
||||
|
||||
2006-10-26 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Added gnustep package selection based on the suggestion of
|
||||
Guerkan Senguen <gurkan@linuks.mine.nu>.
|
||||
|
||||
2006-10-25 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Applied patch from Marcelo D. Re <mdre@rectorado.unl.edu.ar>:
|
||||
- skip deb-src source-list entries when building images with
|
||||
--without-source.
|
||||
* Applied patches from Otavio Salvador <otavio@debian.org>:
|
||||
- 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 <daniel@debian.org>
|
||||
|
||||
* Uploaded 0.99.12.
|
||||
|
||||
2006-10-18 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Autodetecting proxy now.
|
||||
|
||||
2006-10-16 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Readded and slightly changed --clone and --preseed.
|
||||
* Uploaded 0.99.11.
|
||||
|
||||
2006-10-09 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Cleanups.
|
||||
* Uploaded 0.99.10.
|
||||
|
||||
2006-10-02 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Uploaded 0.99.9.
|
||||
|
||||
2006-10-01 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Added multiple repositories.
|
||||
* Using LIVE_PROXY_* also for bootstraping.
|
||||
|
||||
2006-09-27 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Changing manpage section.
|
||||
|
||||
2006-09-26 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Added default flavour hooks.
|
||||
* minimal flavour does not install debian-archive-keyring to save space.
|
||||
* Adjusted network patch.
|
||||
|
||||
2006-09-25 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Removed now unused initramfs-tools hack.
|
||||
* Simplified xorg check based on distribution rather than version.
|
||||
* Added fix from Bas Wijnen <wijnen@debian.org> for space handling in
|
||||
arguments.
|
||||
* Fixed package list handling similar to the fix suggested by Alex Owen
|
||||
<r.alex.owen@gmail.com>.
|
||||
* Uploaded 0.99.8.
|
||||
|
||||
2006-09-24 Marco Amadori <marco.amadori@gmail.com>
|
||||
|
||||
* 13hack.sh: initramfs-tools hack, check added for xorg.
|
||||
|
||||
2006-09-18 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Uploaded 0.99.7.
|
||||
|
||||
2006-09-15 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Added eject to minimal package selection.
|
||||
|
||||
2006-09-14 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Adjustements for linux 2.6.17 testing propagation.
|
||||
|
||||
2006-09-11 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Uploaded 0.99.6.
|
||||
|
||||
2006-09-08 Marco Amadori <marco.amadori@gmail.com>
|
||||
|
||||
* 23net.sh: Fixed binary missing directory creation.
|
||||
* templates/iso: Moved common files to templates/common.
|
||||
|
||||
2006-09-07 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Minor cleanups.
|
||||
* Fixed dist target.
|
||||
|
||||
2006-09-06 Marco Amadori <marco.amadori@gmail.com>
|
||||
|
||||
* 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 <daniel@debian.org>
|
||||
|
||||
* Uploaded 0.99.5.
|
||||
|
||||
2006-09-03 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* 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 <daniel@debian.org>
|
||||
|
||||
* Added experimental as distribution.
|
||||
* Added source image generation.
|
||||
* Using dpkg instead of dpkg-architecture, removed dpkg-dev dependency.
|
||||
|
||||
2006-08-31 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* 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 <daniel@debian.org>
|
||||
|
||||
* Cleanups:
|
||||
- moved 14patch_packages.sh to 13hack.sh.
|
||||
- simplified 13hack.sh.
|
||||
|
||||
2006-08-29 Marco Amadori <marco.amadori@gmail.com>
|
||||
|
||||
* 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 <daniel@debian.org>
|
||||
|
||||
* Updated documentation.
|
||||
* Added patch from Alex Owen <r.a.owen@qmul.ac.uk> to update
|
||||
pxelinux.cfg for NFS root in casper.
|
||||
* Uploaded 0.99.4.
|
||||
|
||||
2006-08-27 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Cleanups.
|
||||
|
||||
2006-08-27 Marco Amadori <marco.amadori@gmail.com>
|
||||
|
||||
* Added sysv init blocking policy.
|
||||
|
||||
2006-08-22 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Reorganised sources.
|
||||
* Added staging support.
|
||||
* Cleaned up parameter names.
|
||||
* testing is now supported.
|
||||
|
||||
2006-08-21 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Uploaded 0.99.3.
|
||||
|
||||
2006-08-02 Marco Amadori <marco.amadori@gmail.com>
|
||||
|
||||
* Rewrote netboot support.
|
||||
* Added support for pure directory rootfs images.
|
||||
|
||||
2006-07-31 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Uploaded 0.99.2.
|
||||
|
||||
2006-07-28 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Added DEBIAN_FRONTEND to chroots(), now completely non-interactive.
|
||||
* Fixed wrong chroot patch.
|
||||
|
||||
2006-07-27 Marco Amadori <marco.amadori@gmail.com>
|
||||
|
||||
* Changed amd64 kernel naming scheme.
|
||||
|
||||
2006-07-24 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Uploaded 0.99.1.
|
||||
|
||||
2006-07-19 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Bugfixes.
|
||||
|
||||
2006-07-18 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Added iso templates.
|
||||
|
||||
2006-07-17 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Added chroot to 01-patch.sh.
|
||||
* Added "--logfile".
|
||||
* Uploaded 0.99.
|
||||
|
||||
2006-07-01 Daniel Baumann <daniel.baumann@panthera-systems.net>
|
||||
|
||||
* Added "--flavour".
|
||||
|
||||
2006-06-28 Daniel Baumann <daniel.baumann@panthera-systems.net>
|
||||
|
||||
* Added "--debug" and "--verbose".
|
||||
|
||||
2006-06-23 Daniel Baumann <daniel.baumann@panthera-systems.net>
|
||||
|
||||
* Rewritten manpages.
|
||||
|
||||
2006-06-19 Marco Amadori <marco.amadori@gmail.com>
|
||||
|
||||
* Added "--templates" options.
|
||||
* Fixed some typos.
|
||||
|
||||
2006-06-15 Daniel Baumann <daniel.baumann@panthera-systems.net>
|
||||
|
||||
* General fixes.
|
||||
|
||||
2006-06-18 Marco Amadori <marco.amadori@gmail.com>
|
||||
|
||||
* Added "-a|--architecture" and "-p|--package-list" options.
|
||||
* Reworked how lists works.
|
||||
|
||||
2006-06-15 Daniel Baumann <daniel.baumann@panthera-systems.net>
|
||||
|
||||
* General cleanup.
|
||||
|
||||
2006-06-14 Marco Amadori <marco.amadori@gmail.com>
|
||||
|
||||
* Re-added "-f|--filesystem".
|
||||
|
||||
2006-06-12 Marco Amadori <marco.amadori@gmail.com>
|
||||
|
||||
* Added "--conffile", "--preseed", "--clone", and "--rootfs" options.
|
||||
|
||||
2006-06-12 Daniel Baumann <daniel.baumann@panthera-systems.net>
|
||||
|
||||
* 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 <marco.amadori@gmail.com>
|
||||
|
||||
* Added handling of md5sums.
|
||||
|
||||
2006-06-09 Marco Amadori <marco.amadori@gmail.com>
|
||||
|
||||
* Added splashy support.
|
||||
* Added ext2 rootfs support.
|
||||
* Added external hook and path support.
|
||||
* Swiched to getopt.
|
||||
|
||||
2006-06-02 Daniel Baumann <daniel.baumann@panthera-systems.net>
|
||||
|
||||
* Added patch from Jason D. Clinton <me@jasonclinton.com>:
|
||||
- Added netboot flavour.
|
||||
- Thanks to SafeDesk Solutions <http://www.safedesk.com/>.
|
||||
|
||||
2006-06-01 Daniel Baumann <daniel.baumann@panthera-systems.net>
|
||||
|
||||
* Moved syslinux inside the chroot.
|
||||
|
||||
2006-05-31 Daniel Baumann <daniel.baumann@panthera-systems.net>
|
||||
|
||||
* Added kde-*i18n and standard-i18n lists.
|
||||
|
||||
2006-05-28 Daniel Baumann <daniel.baumann@panthera-systems.net>
|
||||
|
||||
* Added patch from Frederic Lehobey <Frederic.Lehobey@free.fr>:
|
||||
- Added locales to LIVE_PACKAGES.
|
||||
- Added LIVE_MIRROR_KEY, LIVE_REPOSITORY, LIVE_REPOSITORY_KEY, and
|
||||
LIVE_BOOTAPPEND.
|
||||
|
||||
2006-05-27 Daniel Baumann <daniel.baumann@panthera-systems.net>
|
||||
|
||||
* Initial release.
|
|
@ -0,0 +1,182 @@
|
|||
commit 1f4cf146edbd72a2d61ac2e60324d392569c9f24
|
||||
Author: Daniel Baumann <daniel@debian.org>
|
||||
Date: Wed Oct 14 13:35:25 2009 +0200
|
||||
|
||||
Updating vcs fields.
|
||||
|
||||
commit d1ab019de29691407e3bde1af2ff5efe9a284380
|
||||
Author: Richard Nelson <unixabg@gmail.com>
|
||||
Date: Wed May 27 09:42:55 2009 -0500
|
||||
|
||||
Update quoting on variables for safety.
|
||||
|
||||
commit 601b25634d291706fc477342b712554a54c42016
|
||||
Author: Richard Nelson <unixabg@gmail.com>
|
||||
Date: Sat Mar 14 22:19:41 2009 -0500
|
||||
|
||||
update copyright years
|
||||
|
||||
commit fed4e5adfd49b339bec16b0338b73f9f90ca40ce
|
||||
Author: Richard Nelson <unixabg@gmail.com>
|
||||
Date: Sat Mar 14 21:47:27 2009 -0500
|
||||
|
||||
Set lenny as defualt build
|
||||
|
||||
commit 083a14f46cc1298b33908991dea145cf4ec7415d
|
||||
Author: Richard Nelson <unixabg@gmail.com>
|
||||
Date: Sun Nov 30 16:41:15 2008 -0600
|
||||
|
||||
Bug fix on usb-hdd builds.
|
||||
|
||||
commit 7742576d3a9b84807c6456007ad3bc0147ca3024
|
||||
Author: Richard Nelson <unixabg@gmail.com>
|
||||
Date: Thu Nov 27 22:44:51 2008 -0600
|
||||
|
||||
Remove -x flag left on cron during debug operations.
|
||||
|
||||
commit 6817dca69fd0c53578c1e14c9c5333d5be94419d
|
||||
Author: Richard Nelson <unixabg@gmail.com>
|
||||
Date: Thu Nov 27 22:42:58 2008 -0600
|
||||
|
||||
Update to start using more live-helper functions.
|
||||
|
||||
commit 649fc3a0fac8eae1b8a239a9ba250e89f4b89dfd
|
||||
Author: Richard Nelson <unixabg@gmail.com>
|
||||
Date: Wed Nov 26 22:13:57 2008 -0600
|
||||
|
||||
Update Copyright (C) to 2007-2008
|
||||
|
||||
commit 5449c921111b2f300006cc41d7b6582270959a82
|
||||
Author: Daniel Baumann <daniel@debian.org>
|
||||
Date: Fri Nov 7 18:08:01 2008 +0100
|
||||
|
||||
Replacing obsolete dh_clean -k with dh_prep.
|
||||
|
||||
commit cd7a4a353ae652a45057da5726467e23401be52d
|
||||
Author: Richard Nelson <unixabg@gmail.com>
|
||||
Date: Tue Nov 4 18:40:06 2008 -0600
|
||||
|
||||
Bug fix on custom bootstrap and custom binary.
|
||||
|
||||
commit fc227fc32f06ba8e5af8c9ebdcd147f98790b6ea
|
||||
Author: Richard Nelson <unixabg@gmail.com>
|
||||
Date: Thu Oct 2 17:24:37 2008 -0500
|
||||
|
||||
Bug fix in netboot server and path.
|
||||
|
||||
commit 446a99439bfee38c89615e1e24bb4729b2223e9e
|
||||
Author: Richard Nelson <unixabg@gmail.com>
|
||||
Date: Mon Sep 8 21:39:37 2008 -0500
|
||||
|
||||
Include common functions from live-helper for code reuse.
|
||||
|
||||
commit 359e51591318966e97128b00bff38c62d07c6827
|
||||
Author: Richard Nelson <unixabg@gmail.com>
|
||||
Date: Mon Sep 8 21:35:52 2008 -0500
|
||||
|
||||
Added test for unmounting devpts-live.
|
||||
|
||||
commit 3fdcc59654986d57f014b6c6721b2a3abde2f722
|
||||
Author: Richard Nelson <unixabg@gmail.com>
|
||||
Date: Mon Sep 8 21:29:41 2008 -0500
|
||||
|
||||
Local variable prefix with _ on VAR i.e. _VAR
|
||||
|
||||
commit 4bbf10e31754f290d3aa0e158a45d09316487544
|
||||
Author: Richard Nelson <unixabg@gmail.com>
|
||||
Date: Mon Sep 8 16:12:22 2008 -0500
|
||||
|
||||
Local variable LH_ removal/cleanup.
|
||||
|
||||
commit 472a6a0825656fbc16f4df6cb19bb16e1df8605f
|
||||
Author: Richard Nelson <unixabg@gmail.com>
|
||||
Date: Mon Sep 8 16:02:36 2008 -0500
|
||||
|
||||
Minor local variable confusion for LH_ prefix cleanup.
|
||||
|
||||
commit df23442fca1c727dd43ca1ea464b277e3617cb0f
|
||||
Author: Richard Nelson <unixabg@gmail.com>
|
||||
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 <daniel@debian.org>
|
||||
Date: Sun Sep 7 21:57:51 2008 +0200
|
||||
|
||||
Removing currently unused Upstream-Depends field in control.
|
||||
|
||||
commit 4c85494fa2907a54dd99eaf17816a4d403ddb5bc
|
||||
Author: Daniel Baumann <daniel@debian.org>
|
||||
Date: Sun Sep 7 21:57:41 2008 +0200
|
||||
|
||||
Updating vcs fields in control file.
|
||||
|
||||
commit eaf87ebd9f828740430cc60d3e9f201d88c67c25
|
||||
Author: Daniel Baumann <daniel@debian.org>
|
||||
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 <daniel@debian.org>
|
||||
Date: Wed Apr 23 18:50:17 2008 +0200
|
||||
|
||||
Updating Richards email address.
|
||||
|
||||
commit 25e1e7bc4f6a095aaf248a80aeaa3795f4a3e3a9
|
||||
Author: Daniel Baumann <daniel@debian.org>
|
||||
Date: Tue Oct 30 11:04:42 2007 +0100
|
||||
|
||||
Correcting vcs fields.
|
||||
|
||||
commit c49d9ff77bd5be73d5367fd567a9e39fccf78410
|
||||
Author: Daniel Baumann <daniel@debian.org>
|
||||
Date: Wed Oct 3 09:11:29 2007 +0200
|
||||
|
||||
Fixing wrong homepage field.
|
||||
|
||||
commit 8e01ba16a737d04a0367ecf1d4f3d7f80437fe97
|
||||
Author: Daniel Baumann <daniel@debian.org>
|
||||
Date: Sun Sep 23 16:04:04 2007 +0200
|
||||
|
||||
Using new Homepage field now.
|
||||
|
||||
commit 49ca83a4d57051b2b4b4b950178063c6df25e222
|
||||
Author: Daniel Baumann <daniel@debian.org>
|
||||
Date: Sun Sep 23 16:04:04 2007 +0200
|
||||
|
||||
Adding Upstream-Depends field.
|
||||
|
||||
commit 39a9d3e82c71451734f0d4ddb630b67c9d55541a
|
||||
Author: Daniel Baumann <daniel@debian.org>
|
||||
Date: Sun Sep 23 16:04:04 2007 +0200
|
||||
|
||||
Moving from svn to git.
|
||||
|
||||
commit 7e823babbe815bdf520becbfd6f4ccec814aa7e2
|
||||
Author: Daniel Baumann <daniel@debian.org>
|
||||
Date: Sun Sep 23 16:04:03 2007 +0200
|
||||
|
||||
Removing not uploaded versions.
|
||||
|
||||
commit 46e8777246485a15fc6d5a202a361662f4e724b5
|
||||
Author: Daniel Baumann <daniel@debian.org>
|
||||
Date: Sun Sep 23 16:03:52 2007 +0200
|
||||
|
||||
Adding live-webhelper trunk 20070911.
|
||||
|
||||
2007-07-19 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* Introducing build modes.
|
||||
|
||||
2007-07-14 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* scripts/cgi:
|
||||
- Quick fix in EMAIL.
|
||||
|
||||
2007-06-04 Daniel Baumann <daniel@debian.org>
|
||||
|
||||
* templates/form.html:
|
||||
- Set default source image to 'generic'.
|
||||
* Starting live-webhelper.
|
|
@ -0,0 +1,70 @@
|
|||
Frequently Asked Questions (FAQ)
|
||||
================================
|
||||
|
||||
Build Time
|
||||
----------
|
||||
|
||||
Q: Is live-helper/make-live Debian specific?
|
||||
A: live-helper supports Debian and Ubuntu right now. Adding automatic defaults
|
||||
for other Debian derivatives is easy - let us know about them and we may
|
||||
include it.
|
||||
|
||||
|
||||
Q: How can I build images with an unprivileged user account?
|
||||
A: You can use --root-command sudo or set LH_ROOT_COMMAND="sudo" in
|
||||
config/common.
|
||||
|
||||
*BIG* *FAT* *WARNING*: Building an image as non-root can make your image
|
||||
different compared to a regular Debian system (different owners of files). It
|
||||
is *NOT* recommended to build images as non-root. Do *NOT* use this feature
|
||||
yet.
|
||||
|
||||
|
||||
Q: How do I drop in to a shell during make-live chroot process?
|
||||
A: Use "--interactive shell", then exit with 'logout' when you have made the
|
||||
setting changes you want and the build process will continue.
|
||||
|
||||
|
||||
Q: Where to set the username or the hostname?
|
||||
A: casper uses default username 'casper' and hostname 'live'. You can specify
|
||||
them by passing 'username=' and 'hostname=' as kernel parameters.
|
||||
|
||||
live-helper automatically sets the username to 'user' and the hostname to
|
||||
'debian'. If you want to change this at build time, pass --username and
|
||||
--hostname to make-live, or alter LIVE_USERNAME and LIVE_HOSTNAME in
|
||||
config/image.
|
||||
|
||||
|
||||
Q: How can I make my own grub bootsplash?
|
||||
A: To add a grub splash screen, you can use --grub-splash FILE, or copy your
|
||||
custom splash to config/binary_grub/splash.xpm.gz.
|
||||
|
||||
Documentation about creating a bootsplash for grub can be found at:
|
||||
<http://ruslug.rutgers.edu/~mcgrof/grub-images/>
|
||||
|
||||
|
||||
Q: How can I make my own syslinux bootsplash?
|
||||
A: To add a syslinux splash screen, you can use --syslinux-splash FILE, or copy
|
||||
your custom splash to config/binary_syslinux/splash.rle.
|
||||
|
||||
Documentation about creating a bootsplash for grub can be found at:
|
||||
<http://www.sweb.cz/Frantisek.Rysanek/splash/isolinux-splash-HOWTO.html>
|
||||
contrib/syslinux-splash/COPYING in the live-helper sources.
|
||||
|
||||
Basically, you need to install netpbm and syslinux, and run this:
|
||||
anytopnm < $your_splash > $your_splash.pnm
|
||||
pnmcolormap 15 < $your_splash.pnm > $your_splash.map
|
||||
pnmremap -map=$your_splash.map $your_splash.pnm | \
|
||||
ppmtolss16 '#ffffff=7' > splash.rle
|
||||
|
||||
|
||||
Run Time
|
||||
--------
|
||||
|
||||
Q: What is the root password?
|
||||
A: There is none set. You can switch to root with 'sudo -i' or set a password
|
||||
with 'sudo passwd'.
|
||||
|
||||
|
||||
Q: What is the user password?
|
||||
A: The password for the default user is 'live'.
|
|
@ -0,0 +1,155 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
BUILD="daily"
|
||||
HOST="$(hostname)"
|
||||
|
||||
# Checking for live-build availability
|
||||
if [ ! -x /usr/bin/lb ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Checking for live-build defaults
|
||||
if [ -r /etc/default/live-build_autobuild ]
|
||||
then
|
||||
. /etc/default/live-build_autobuild
|
||||
else
|
||||
echo "E: /etc/default/live-build_autobuild missing."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Checking for autobuild
|
||||
if [ "${AUTOBUILD}" != "true" ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Checking for build directory
|
||||
if [ ! -d "${TEMPDIR}" ]
|
||||
then
|
||||
mkdir -p "${TEMPDIR}"/debian-live
|
||||
else
|
||||
# FIXME: maybe we should just remove the left overs.
|
||||
echo "E: ${TEMPDIR} needs cleanup."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "$(date +%b\ %d\ %H:%M:%S) ${HOST} live-build: begin daily build." >> /var/log/live
|
||||
|
||||
for ARCHITECTURE in ${ARCHITECTURES}
|
||||
do
|
||||
for DISTRIBUTION in ${DISTRIBUTIONS}
|
||||
do
|
||||
for PACKAGES_LIST in ${PACKAGES_LISTS}
|
||||
do
|
||||
if [ ! -f "${DESTDIR}"/"${BUILD}"-builds/${DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${DATE}-iso-log.txt ]
|
||||
then
|
||||
# Creating build directory
|
||||
mkdir -p "${TEMPDIR}"/debian-live
|
||||
|
||||
cd "${TEMPDIR}"/debian-live
|
||||
echo "Begin: $(date -R)" > "${TEMPDIR}"/debian-live/log.txt
|
||||
|
||||
# Generating images
|
||||
lh_config -b iso -s tar --distribution ${DISTRIBUTION} --packages-lists ${PACKAGES_LIST} --mirror-bootstrap ${MIRROR_BOOTSTRAP} --mirror-binary ${MIRROR_BINARY} --mirror-binary-security ${MIRROR_BINARY_SECURITY} --source true ${OPTIONS}
|
||||
lh_build >> "${TEMPDIR}"/debian-live/log.txt 2>&1
|
||||
|
||||
echo "End: $(date -R)" >> "${TEMPDIR}"/debian-live/log.txt
|
||||
fi
|
||||
|
||||
if [ -f "${TEMPDIR}"/debian-live/binary.iso ] && [ -f "${TEMPDIR}"/debian-live/source.tar ]
|
||||
then
|
||||
# Creating log directory
|
||||
mkdir -p "${DESTDIR}"/"${BUILD}"-builds/${DATE}/log
|
||||
|
||||
# Moving logs
|
||||
mv "${TEMPDIR}"/debian-live/log.txt "${DESTDIR}"/"${BUILD}"-builds/${DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${DATE}-iso-log.txt
|
||||
mv "${TEMPDIR}"/debian-live/packages.txt "${DESTDIR}"/"${BUILD}"-builds/${DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${DATE}-iso-packages.txt
|
||||
|
||||
# Creating images directory
|
||||
mkdir -p "${DESTDIR}"/"${BUILD}"-builds/${DATE}/${ARCHITECTURE}
|
||||
mkdir -p "${DESTDIR}"/"${BUILD}"-builds/${DATE}/source
|
||||
|
||||
# Moving images
|
||||
mv "${TEMPDIR}"/debian-live/binary.iso "${DESTDIR}"/"${BUILD}"-builds/${DATE}/${ARCHITECTURE}/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}.iso
|
||||
mv "${TEMPDIR}"/debian-live/source.tar "${DESTDIR}"/"${BUILD}"-builds/${DATE}/source/debian-live-${DISTRIBUTION}-source-${PACKAGES_LIST}.tar
|
||||
fi
|
||||
|
||||
if [ ! -f "${DESTDIR}"/"${BUILD}"-builds/${DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${DATE}-usb-hdd-log.txt ]
|
||||
then
|
||||
# Workaround of missing multi-binary support in live-build
|
||||
mv "${TEMPDIR}"/debian-live/binary/casper "${TEMPDIR}"/debian-live/casper.tmp
|
||||
rm -rf "${TEMPDIR}"/debian-live/binary* "${TEMPDIR}"/debian-live/.stage/binary_*
|
||||
mkdir "${TEMPDIR}"/debian-live/binary
|
||||
mv "${TEMPDIR}"/debian-live/casper.tmp "${TEMPDIR}"/debian-live/binary/casper
|
||||
touch "${TEMPDIR}"/debian-live/.stage/binary_chroot
|
||||
touch "${TEMPDIR}"/debian-live/.stage/binary_rootfs
|
||||
|
||||
# Creating build directory
|
||||
mkdir -p "${TEMPDIR}"/debian-live
|
||||
|
||||
cd "${TEMPDIR}"/debian-live
|
||||
echo "Begin: $(date -R)" > "${TEMPDIR}"/debian-live/log.txt
|
||||
|
||||
# Generating images
|
||||
lh_config -b usb-hdd -s tar --distribution ${DISTRIBUTION} --packages-lists ${PACKAGES_LIST} --mirror-bootstrap ${MIRROR_BOOTSTRAP} --mirror-binary ${MIRROR_BINARY} --mirror-binary-security ${MIRROR_BINARY_SECURITY} --source false ${OPTIONS}
|
||||
lh_build >> "${TEMPDIR}"/debian-live/log.txt 2>&1
|
||||
|
||||
echo "End: $(date -R)" >> "${TEMPDIR}"/debian-live/log.txt
|
||||
fi
|
||||
|
||||
if [ -f "${TEMPDIR}"/debian-live/binary.img ]
|
||||
then
|
||||
# Creating log directory
|
||||
mkdir -p "${DESTDIR}"/"${BUILD}"-builds/${DATE}/log
|
||||
|
||||
# Moving logs
|
||||
mv "${TEMPDIR}"/debian-live/log.txt "${DESTDIR}"/"${BUILD}"-builds/${DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${DATE}-usb-hdd-log.txt
|
||||
cp "${DESTDIR}"/"${BUILD}"-builds/${DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${DATE}-iso-packages.txt "${DESTDIR}"/"${BUILD}"-builds/${DATE}/log/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}_${DATE}-usb-hdd-packages.txt
|
||||
|
||||
# Creating image directory
|
||||
mkdir -p "${DESTDIR}"/"${BUILD}"-builds/${DATE}/${ARCHITECTURE}
|
||||
|
||||
# Moving images
|
||||
mv "${TEMPDIR}"/debian-live/binary.img "${DESTDIR}"/"${BUILD}"-builds/${DATE}/${ARCHITECTURE}/debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${PACKAGES_LIST}.img
|
||||
fi
|
||||
|
||||
# Cleanup
|
||||
cd "${TEMPDIR}"/debian-live
|
||||
lh_clean
|
||||
done
|
||||
|
||||
# Cleanup
|
||||
cd "${TEMPDIR}"/debian-live
|
||||
lh_clean purge
|
||||
done
|
||||
done
|
||||
|
||||
# Cleaning up
|
||||
if [ -f "${TEMPDIR}"/debian-live/chroot/proc/version ]
|
||||
then
|
||||
umount "${TEMPDIR}"/debian-live/chroot/proc
|
||||
fi
|
||||
|
||||
if [ -d "${TEMPDIR}"/debian-live/chroot/sys/kernel ]
|
||||
then
|
||||
umount "${TEMPDIR}"/debian-live/chroot/sys
|
||||
fi
|
||||
|
||||
# Removing build directory
|
||||
rm -rf "${TEMPDIR}"
|
||||
|
||||
# Creating md5sums
|
||||
for DIRECTORY in "${DESTDIR}"/"${BUILD}"-builds/${DATE}/*
|
||||
do
|
||||
cd "${DIRECTORY}"
|
||||
md5sum * > MD5SUMS
|
||||
done
|
||||
|
||||
# Creating current symlink
|
||||
rm -f "${DESTDIR}"/"${BUILD}"-builds/current
|
||||
ln -s ${DATE} "${DESTDIR}"/"${BUILD}"-builds/current
|
||||
|
||||
echo "$(date +%b\ %d\ %H:%M:%S) ${HOST} live-build: end daily build." >> /var/log/live
|
|
@ -0,0 +1,16 @@
|
|||
# Defaults for /etc/cron.daily/live-build_autobuild
|
||||
|
||||
AUTOBUILD="false"
|
||||
|
||||
DATE="$(date +%Y%m%d)"
|
||||
DESTDIR="/srv/debian-live"
|
||||
TEMPDIR="/srv/tmp/live-build"
|
||||
|
||||
OPTIONS="--binary-indices false"
|
||||
|
||||
ARCHITECTURES="$(dpkg --print-architecture)"
|
||||
DISTRIBUTIONS="sid"
|
||||
MIRROR_BOOTSTRAP="http://ftp.debian.org/debian/"
|
||||
MIRROR_BINARY="http://ftp.debian.org/debian/"
|
||||
MIRROR_BINARY_SECURITY="http://security.debian.org/"
|
||||
PACKAGES_LISTS="standard rescue gnome-desktop kde-desktop xfce-desktop"
|
|
@ -0,0 +1,192 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# Static variables
|
||||
DISTRIBUTIONS="${DISTRIBUTIONS:-lenny squeeze sid}"
|
||||
FLAVOURS="${FLAVOURS:-standard rescue gnome-desktop kde-desktop lxde-desktop xfce-desktop}"
|
||||
SOURCE="${SOURCE:-true}"
|
||||
|
||||
MIRROR="${MIRROR:-http://cdn.debian.net/debian/}"
|
||||
MIRROR_SECURITY="${MIRROR_SECURITY:-http://security.debian.org/}"
|
||||
|
||||
# Dynamic variables
|
||||
ARCHITECTURE="$(dpkg --print-architecture)"
|
||||
DATE="$(date +%Y%m%d)"
|
||||
|
||||
Set_defaults ()
|
||||
{
|
||||
# Distribution defaults
|
||||
APT_RECOMMENDS="true"
|
||||
BINARY_INDICES="true"
|
||||
DEBIAN_INSTALLER="live"
|
||||
DEBIAN_INSTALLER_GUI="true"
|
||||
PACKAGES="--packages live-installer-launcher"
|
||||
TASKSEL="tasksel"
|
||||
|
||||
# Distribution specific options (ugly!)
|
||||
case "${DISTRIBUTION}" in
|
||||
lenny)
|
||||
APT_RECOMMENDS="false"
|
||||
BINARY_INDICES="true"
|
||||
DEBIAN_INSTALLER="false"
|
||||
PACKAGES=""
|
||||
TASKSEL="aptitude"
|
||||
|
||||
case "${ARCHITECTURE}" in
|
||||
amd64)
|
||||
case "${FLAVOUR}" in
|
||||
gnome-desktop)
|
||||
BINARY_INDICES="false"
|
||||
|
||||
mkdir -p config/chroot_local-hooks
|
||||
cd config/chroot_local-hooks
|
||||
echo "apt-get remove --yes --purge openoffice.org-help-en-us" > package-removals
|
||||
echo "apt-get remove --yes --purge epiphany-browser epiphany-browser-data epiphany-extensions epiphany-gecko" >> package-removals
|
||||
echo "apt-get remove --yes --purge gnome-user-guide" >> package-removals
|
||||
cd -
|
||||
;;
|
||||
|
||||
kde-desktop)
|
||||
BINARY_INDICES="false"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
|
||||
i386)
|
||||
case "${FLAVOUR}" in
|
||||
gnome-desktop|kde-desktop)
|
||||
BINARY_INDICES="false"
|
||||
KERNEL="-k 686"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
|
||||
squeeze)
|
||||
DEBIAN_INSTALLER_DISTRIBUTION="daily"
|
||||
DEBIAN_INSTALLER_GUI="false"
|
||||
|
||||
LIVE_INSTALLER="20"
|
||||
LIVE_BOOT="2.0~a15-1"
|
||||
LIVE_CONFIG="2.0~a15-1"
|
||||
|
||||
mkdir -p config/binary_local-udebs
|
||||
cd config/binary_local-udebs
|
||||
wget -c http://live.debian.net/archive/packages/live-installer/${LIVE_INSTALLER}/live-installer_${LIVE_INSTALLER}.dsc
|
||||
wget -c http://live.debian.net/archive/packages/live-installer/${LIVE_INSTALLER}/live-installer_${LIVE_INSTALLER}.tar.gz
|
||||
wget -c http://live.debian.net/archive/packages/live-installer/${LIVE_INSTALLER}/live-installer_${LIVE_INSTALLER}_i386.udeb
|
||||
cd -
|
||||
|
||||
mkdir -p config/chroot_local-packages
|
||||
cd config/chroot_local-packages
|
||||
|
||||
wget -c http://live.debian.net/archive/packages/live-installer/${LIVE_INSTALLER}/live-installer_${LIVE_INSTALLER}.dsc
|
||||
wget -c http://live.debian.net/archive/packages/live-installer/${LIVE_INSTALLER}/live-installer_${LIVE_INSTALLER}.tar.gz
|
||||
wget -c http://live.debian.net/archive/packages/live-installer/${LIVE_INSTALLER}/live-installer-launcher_${LIVE_INSTALLER}_all.deb
|
||||
|
||||
wget -c http://live.debian.net/archive/packages/live-boot/${LIVE_BOOT}/live-boot_${LIVE_BOOT}.dsc
|
||||
wget -c http://live.debian.net/archive/packages/live-boot/${LIVE_BOOT}/live-boot_${LIVE_BOOT}.diff.gz
|
||||
wget -c http://live.debian.net/archive/packages/live-boot/${LIVE_BOOT}/live-boot_$(echo ${LIVE_BOOT} | awk -F- '{ print $1 }').orig.tar.gz
|
||||
wget -c http://live.debian.net/archive/packages/live-boot/${LIVE_BOOT}/live-boot_${LIVE_BOOT}_all.deb
|
||||
wget -c http://live.debian.net/archive/packages/live-boot/${LIVE_BOOT}/live-boot-initramfs-tools_${LIVE_BOOT}_all.deb
|
||||
wget -c http://live.debian.net/archive/packages/live-boot/${LIVE_BOOT}/live-initramfs_${LIVE_BOOT}_all.deb
|
||||
|
||||
wget -c http://live.debian.net/archive/packages/live-config/${LIVE_CONFIG}/live-config_${LIVE_CONFIG}.dsc
|
||||
wget -c http://live.debian.net/archive/packages/live-config/${LIVE_CONFIG}/live-config_${LIVE_CONFIG}.diff.gz
|
||||
wget -c http://live.debian.net/archive/packages/live-config/${LIVE_CONFIG}/live-config_$(echo ${LIVE_CONFIG} | awk -F- '{ print $1 }').orig.tar.gz
|
||||
wget -c http://live.debian.net/archive/packages/live-config/${LIVE_CONFIG}/live-config_${LIVE_CONFIG}_all.deb
|
||||
wget -c http://live.debian.net/archive/packages/live-config/${LIVE_CONFIG}/live-config-sysvinit_${LIVE_CONFIG}_all.deb
|
||||
|
||||
cd -
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
# Build images
|
||||
for DISTRIBUTION in ${DISTRIBUTIONS}
|
||||
do
|
||||
rm -rf cache/stages*
|
||||
|
||||
for FLAVOUR in ${FLAVOURS}
|
||||
do
|
||||
if [ -e .stage ]
|
||||
then
|
||||
lb clean
|
||||
fi
|
||||
|
||||
if [ -e config ]
|
||||
then
|
||||
rm -f config/* || true
|
||||
rmdir --ignore-fail-on-non-empty config/* || true
|
||||
fi
|
||||
|
||||
rm -rf cache/packages*
|
||||
rm -rf cache/stages_rootfs
|
||||
|
||||
Set_defaults
|
||||
|
||||
lb config \
|
||||
--apt-recommends ${APT_RECOMMENDS} \
|
||||
--binary-indices ${BINARY_INDICES} \
|
||||
--cache-stages "bootstrap rootfs" \
|
||||
--debian-installer ${DEBIAN_INSTALLER} \
|
||||
--debian-installer-distribution ${DEBIAN_INSTALLER_DISTRIBUTION} \
|
||||
--debian-installer-gui ${DEBIAN_INSTALLER_GUI} \
|
||||
--distribution ${DISTRIBUTION} \
|
||||
--mirror-bootstrap ${MIRROR} \
|
||||
--mirror-chroot ${MIRROR} \
|
||||
--mirror-chroot-security ${MIRROR_SECURITY} \
|
||||
${PACKAGES} \
|
||||
--packages-lists ${FLAVOUR} \
|
||||
--tasksel ${TASKSEL} ${KERNEL}
|
||||
|
||||
lb build 2>&1 | tee debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.log
|
||||
|
||||
mv binary*.iso debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso
|
||||
mv binary.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.list
|
||||
mv binary.packages debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.packages
|
||||
|
||||
if [ "${DISTRIBUTION}" = "lenny" ] && [ "${ARCHITECTURE}" != "powerpc" ]
|
||||
then
|
||||
lb clean --binary
|
||||
lb config -binary-images usb-hdd
|
||||
lb binary 2>&1 | tee debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.img.log
|
||||
|
||||
mv binary.img debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.img
|
||||
mv binary.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.img.list
|
||||
mv binary.packages debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.img.packages
|
||||
fi
|
||||
|
||||
if [ "${ARCHITECTURE}" != "powerpc" ]
|
||||
then
|
||||
lb clean
|
||||
rm -rf cache/stages_rootfs
|
||||
lb config --binary-images net
|
||||
|
||||
lb build 2>&1 | tee debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.tar.gz.log
|
||||
|
||||
mv binary-net.tar.gz debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.tar.gz
|
||||
mv binary.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.tar.gz.list
|
||||
mv binary.packages debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.tar.gz.packages
|
||||
|
||||
mv binary/*/filesystem.squashfs debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.squashfs
|
||||
for memtest in tftpboot/debian-live/${ARCHITECTURE}/memtest*; do cp -f ${memtest} debian-live-${DISTRIBUTION}-${ARCHITECTURE}.$(basename ${memtest}); done || true
|
||||
for kernel in tftpboot/debian-live/${ARCHITECTURE}/vmlinuz*; do cp -f ${kernel} debian-live-${DISTRIBUTION}-${ARCHITECTURE}.$(basename ${kernel}); done
|
||||
for initrd in tftpboot/debian-live/${ARCHITECTURE}/initrd*; do cp ${initrd} debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.$(basename ${initrd}); done
|
||||
fi
|
||||
|
||||
if [ "${SOURCE}" = "true" ]
|
||||
then
|
||||
lb config --source true
|
||||
|
||||
lb source 2>&1 | tee debian-live-${DISTRIBUTION}-source-${FLAVOUR}.log
|
||||
|
||||
mv source.debian.tar.gz debian-live-${DISTRIBUTION}-source-${FLAVOUR}.debian.tar.gz
|
||||
mv source.debian.list debian-live-${DISTRIBUTION}-source-${FLAVOUR}.debian.tar.gz.list
|
||||
mv source.debian-live.tar.gz debian-live-${DISTRIBUTION}-source-${FLAVOUR}.debian-live.tar.gz
|
||||
mv source.debian-live.list debian-live-${DISTRIBUTION}-source-${FLAVOUR}.debian-live.tar.gz.list
|
||||
fi
|
||||
done
|
||||
done
|
|
@ -0,0 +1,34 @@
|
|||
#!/bin/sh
|
||||
|
||||
# This is an binary hook for live-build(7) to overwrite the banner
|
||||
# in the graphical Debian Installer.
|
||||
# To enable it, copy or symlink this hook into your config/binary_local-hooks
|
||||
# directory and add a replacement banner.png at:
|
||||
#
|
||||
# config/binary_local-includes/binary/install/banner.png
|
||||
#
|
||||
# The file should be a PNG image of dimensions 800 x 75.
|
||||
|
||||
set -e
|
||||
|
||||
if [ -e config/binary_debian-installer/banner.png ]
|
||||
then
|
||||
TARGET_INITRD="binary/install/gtk/initrd.gz"
|
||||
REPACK_TMPDIR="binary.initrd"
|
||||
|
||||
if [ -e "${TARGET_INITRD}" ]
|
||||
then
|
||||
# cpio does not have a "extract to directory", so we must change
|
||||
# directory
|
||||
mkdir -p ${REPACK_TMPDIR}
|
||||
cd ${REPACK_TMPDIR}
|
||||
gzip -d < ../${TARGET_INITRD} | cpio -i --make-directories --no-absolute-filenames
|
||||
|
||||
# Overwrite banner
|
||||
cp ../config/binary_debian-installer/banner.png ./usr/share/graphics/logo_debian.png
|
||||
|
||||
find | cpio -H newc -o | gzip -9 > ../${TARGET_INITRD}
|
||||
cd ..
|
||||
rm -rf ${REPACK_TMPDIR}
|
||||
fi
|
||||
fi
|
|
@ -0,0 +1,24 @@
|
|||
#!/bin/sh
|
||||
|
||||
# This is a hook for live-build(7) to install live-build and its config into
|
||||
# the binary image.
|
||||
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
|
||||
# directory.
|
||||
|
||||
DIRECTORY="binary/tools/live"
|
||||
|
||||
mkdir -p "${DIRECTORY}"
|
||||
|
||||
cp -a config "${DIRECTORY}"
|
||||
|
||||
if [ -e live-build ]
|
||||
then
|
||||
cp -a live-build "${DIRECTORY}"
|
||||
else
|
||||
mkdir -p "${DIRECTORY}"/live-build/bin
|
||||
cp -a /usr/bin/lh* "${DIRECTORY}"/live-build/bin
|
||||
|
||||
cp -a /usr/share/live/build "${DIRECTORY}"/live-build/share
|
||||
|
||||
cp -a /usr/share/doc/live-build "${DIRECTORY}"/live-build/doc
|
||||
fi
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
# This is a hook for live-build(7) to enable automaunting with hal for block devices.
|
||||
#
|
||||
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
|
||||
# directory.
|
||||
|
||||
# Remove automount disabling
|
||||
rm -f /usr/share/hal/fdi/policy/10osvendor/debian-storage-policy-fixed-drives.fdi
|
||||
|
||||
# Use ntfs-3g by default to mount ntfs partitions
|
||||
if [ -x /usr/bin/ntfs-3g ]
|
||||
then
|
||||
rm -f /sbin/mount.ntfs
|
||||
ln -s /usr/bin/ntfs-3g /sbin/mount.ntfs
|
||||
fi
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
# This is a hook for live-build(7) to remove any kernel except the newest one.
|
||||
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
|
||||
# directory.
|
||||
|
||||
for VERSION in $(basename $(ls /boot/vmlinuz-* | head -n-1) | sed -e 's|^vmlinuz-||g')
|
||||
do
|
||||
echo apt-get remove --purge linux-image-${VERSION}
|
||||
done
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
# This is a hook for live-build(7) to add entries to /etc/modules.
|
||||
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
|
||||
# directory.
|
||||
|
||||
MODULES=""
|
||||
|
||||
for MODULE in ${MODULES}
|
||||
do
|
||||
if ! grep -qs /etc/modules ${MODULE}
|
||||
then
|
||||
echo ${MODULE} >> /etc/modules
|
||||
fi
|
||||
done
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/sh
|
||||
|
||||
# This is a hook for live-build(7) to install localepurge.
|
||||
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
|
||||
# directory.
|
||||
#
|
||||
|
||||
cat > /tmp/localepurge.preseed << EOF
|
||||
localepurge localepurge/nopurge multiselect en
|
||||
#localepurge localepurge/mandelete boolean true
|
||||
#localepurge localepurge/dontbothernew boolean false
|
||||
localepurge localepurge/showfreedspace boolean false
|
||||
#localepurge localepurge/quickndirtycalc boolean true
|
||||
#localepurge localepurge/verbose boolean false
|
||||
EOF
|
||||
debconf-set-selections < /tmp/localepurge.preseed
|
||||
rm -f /tmp/localepurge.preseed
|
||||
|
||||
apt-get install --yes localepurge
|
||||
dpkg-reconfigure localepurge
|
||||
|
||||
localepurge
|
|
@ -0,0 +1,515 @@
|
|||
#!/bin/sh
|
||||
|
||||
# This hook was based and adapted from:
|
||||
# http://lists.debian.org/debian-live/2009/04/msg00186.html
|
||||
# ---------------------------------------------------------
|
||||
#
|
||||
#
|
||||
# NOTE 1: this was not tested with persistent boot option,
|
||||
# but it seems logic that persistent and lukshome can't
|
||||
# coexist as boot options (because of snapshots and others), so lukshome
|
||||
# won't be executed if any persistent option is given on boot.
|
||||
#
|
||||
# NOTE 2: if using an USB key, it will eventualy end up failing someday.
|
||||
# You should backup the encrypted disk image file itself (luks-home.img) to
|
||||
# prevent loosing your data.
|
||||
#
|
||||
# This hook will create 3 files:
|
||||
#
|
||||
# /usr/local/sbin/create-lukshome-file.sh
|
||||
# script to create an disk file image (luks-home.img) with a
|
||||
# LUKS encrypted ext2 filesystem inside to be placed in a
|
||||
# partition labeled lukshome.
|
||||
#
|
||||
# /usr/local/sbin/lukshome.sh
|
||||
# detects a partition with lukshome label, updates fstab and crypttab so
|
||||
# the encrypted file is mounted later in a loopback device (/dev/loopX).
|
||||
# It also changes /etc/init.d/umountfs so the encrypted home is correctly
|
||||
# umounted.
|
||||
#
|
||||
# /usr/share/initramfs-tools/scripts/live-bottom/13live_luks_home
|
||||
# a live-initramfs hook to execute lukshome.sh script
|
||||
# in initrd.
|
||||
#
|
||||
#
|
||||
# HOWTO lukshome
|
||||
# --------------
|
||||
#
|
||||
# First build your live system with this hook inside config/chroot_local-hooks/.
|
||||
# If you have an existing live-build build directory with a previous live
|
||||
# build, you might have to run
|
||||
#
|
||||
# lh_clean
|
||||
# lh_clean --stage
|
||||
#
|
||||
# to make sure this hook is included in the live system. Then (re)build your
|
||||
# live system.
|
||||
#
|
||||
# lh_build
|
||||
#
|
||||
# After booting your (re)built live system, setup the encrypted losetup
|
||||
# filesystem to be used as /home using the instructions present in the
|
||||
# create-lukshome-file.sh script.
|
||||
#
|
||||
# Reboot and now use the "lukshome" boot option to mount the encrypted /home,
|
||||
# like when using "persistent" boot option with a home-rw file in some partition.
|
||||
#
|
||||
|
||||
|
||||
# install needed packages (in case apt recommends are off)
|
||||
# make sure that cryptsetup is installed
|
||||
echo "I: checking for cryptsetup."
|
||||
if [ ! -x /sbin/cryptsetup ]
|
||||
then
|
||||
echo "I: installing cryptsetup."
|
||||
DEBIAN_FRONTEND="dialog" apt-get install --yes --force-yes -y cryptsetup
|
||||
fi
|
||||
|
||||
|
||||
echo "I: to see how to use lukshome hook run create-lukshome-file.sh as root."
|
||||
echo "I: creating script /usr/local/sbin/create-lukshome-file.sh"
|
||||
cat > /usr/local/sbin/create-lukshome-file.sh << 'EOF'
|
||||
#!/bin/sh
|
||||
|
||||
# This script will create an encrypted filesystem in a file to
|
||||
# be used as /home in a live system built with Debian Live Helper with
|
||||
# this hook in config/chroot_local-hooks/.
|
||||
#
|
||||
# The lukshome boot option will do the following:
|
||||
# - search for a partition with label 'lukshome'
|
||||
# (btw, you can't use the live system partition itself)
|
||||
# - mount the partition as /luks-home in the live system
|
||||
# - open /luks-home/luks-home.img file as a loopback device (/dev/loop)
|
||||
# - open the loopback device with cryptsetup
|
||||
# - mount the encrypted filesystem as /home
|
||||
#
|
||||
# This script will only create the luks-home.img file. Next are details of how
|
||||
# to use this script.
|
||||
#
|
||||
# CAUTION! THIS CAN WIPE YOUR DATA, backup first!
|
||||
# Be sure to understand what you will do, or you can end up
|
||||
# wiping disks or partitions you don't want to!
|
||||
#
|
||||
# Login as root:
|
||||
# $ sudo -i
|
||||
#
|
||||
# Create a mountpoint (don't use /mnt, it will be used by this script):
|
||||
# # mkdir /media/target
|
||||
#
|
||||
# !!! *** Skip the next line if you don't want to wipe a partition *** !!!
|
||||
# !!! * Just change the partition label to 'lukshome' (without quotes) * !!!
|
||||
# Create an ext2 filesystem in a partition with 'lukshome' label:
|
||||
# # mkfs.ext2 -L lukshome /dev/the_partition_to_be_used
|
||||
#
|
||||
# Mount the partition and cd into it:
|
||||
# # mount /dev/the_partition_to_be_used /media/target
|
||||
# # cd /media/target
|
||||
#
|
||||
# Create the encrypted file:
|
||||
# # create-lukshome-file.sh
|
||||
#
|
||||
# The script is located in /usr/local/sbin/, so it's in root $PATH.
|
||||
# It will copy the directories in /home/* into the file.
|
||||
# Now return to $HOME to be able to umount the target partition:
|
||||
# # cd
|
||||
#
|
||||
# Umount the target partition:
|
||||
# # umount /media/target
|
||||
#
|
||||
# Reboot and use the "lukshome" boot option to mount the encrypted /home,
|
||||
# like in using "persistent" boot option with a home-rw file in some partition.
|
||||
#
|
||||
# To use another partition label use the following boot options:
|
||||
# lukshome lukspart=partition_label
|
||||
#
|
||||
# If you want to use another filename instead of luks-home.img, rename (mv)
|
||||
# the file and use the following boot options:
|
||||
# lukshome luksfile=filename
|
||||
#
|
||||
# Both boot options can be used at the same time, but always with lukshome:
|
||||
# lukshome lukspart=partition_label luksfile=filename
|
||||
#
|
||||
# By default, if just the lukshome boot option is used, the script will
|
||||
# search for a partition labeled 'lukshome' and a file named 'luks-home.img'.
|
||||
#
|
||||
# Press Shift-PgUp/Shift-PgDn to scrool the instructions on the screen.
|
||||
|
||||
|
||||
# check if root/sudo
|
||||
if [ "${USER}" != "root" ]
|
||||
then
|
||||
echo " ** Please run this script as root or with sudo."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# check if /mnt is available and empty
|
||||
mount | grep "/mnt" > /dev/null
|
||||
MNT_IS_MOUNTED=${?}
|
||||
if [ "${MNT_IS_MOUNTED}" == 0 ]
|
||||
then
|
||||
echo "** ERROR: /mnt is mounted at the moment. Please umount it to use this script."
|
||||
exit 1
|
||||
fi
|
||||
if [ "$(ls -A /mnt)" ]
|
||||
then
|
||||
echo "** ERROR: /mnt is not empty. An empty /mnt is needed to use this script."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# check if /dev/mapper/luks-home is available
|
||||
if [ -f /dev/mapper/luks-home ]
|
||||
then
|
||||
echo "** ERROR: /dev/mapper/luks-home is being used at the moment. Please run «cryptsetup remove luks-home» to use this script."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
# show instructions
|
||||
echo ""
|
||||
echo "** Instructions to use create-lukshome-file.sh (this script):"
|
||||
sed -n '2,64p' /usr/local/sbin/create-lukshome-file.sh | sed 's/^.//'
|
||||
echo ""
|
||||
|
||||
|
||||
# proceed?
|
||||
echo "** Do you want to proceed with this script? (y/N)"
|
||||
read CONFIRM
|
||||
|
||||
case "${CONFIRM}" in
|
||||
y*|Y*)
|
||||
echo ""
|
||||
;;
|
||||
*)
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
# create file
|
||||
echo ""
|
||||
echo "** Please type the size of the file disk image."
|
||||
echo "Size of the file in MB: "
|
||||
read FILE_SIZE
|
||||
|
||||
echo ""
|
||||
echo "** Creating file luks-home.img."
|
||||
echo "** Filling file image with /dev/urandom output. It will take some time."
|
||||
echo "(Edit this script to use /dev/random. It's known to be more secure but "
|
||||
echo "it will take a *very* long time to complete."
|
||||
dd if=/dev/urandom of=luks-home.img bs=1M count=${FILE_SIZE}
|
||||
# To use /dev/random comment the line above and uncomment the next line
|
||||
#dd if=/dev/random of=luks-home.img ibs=128 obs=128 count=$((8192*${FILE_SIZE}))
|
||||
# You might have to increase kernel entropy by moving the mouse, typing keyboard,
|
||||
# make the computer read the disk or use network connections.
|
||||
echo "** Done."
|
||||
echo ""
|
||||
|
||||
# losetup
|
||||
FREE_LOSETUP=$(losetup -f)
|
||||
echo "** Using ${FREE_LOSETUP} to open luks-home.img"
|
||||
losetup ${FREE_LOSETUP} ./luks-home.img
|
||||
echo "** Done."
|
||||
echo ""
|
||||
|
||||
# cryptsetup
|
||||
echo "** Running cryptsetup."
|
||||
echo ""
|
||||
echo "** luksFormat"
|
||||
cryptsetup luksFormat ${FREE_LOSETUP}
|
||||
EXIT_CODE=${?}
|
||||
if [ "${EXIT_CODE}" != 0 ]
|
||||
then
|
||||
echo "** ERROR: Error while trying to format disk file image."
|
||||
losetup -d ${FREE_LOSETUP}
|
||||
exit 1
|
||||
fi
|
||||
echo ""
|
||||
|
||||
echo "** luksOpen"
|
||||
cryptsetup luksOpen ${FREE_LOSETUP} luks-home
|
||||
EXIT_CODE=${?}
|
||||
if [ "${EXIT_CODE}" != 0 ]
|
||||
then
|
||||
echo "** ERROR: Error while trying to open LUKS file image."
|
||||
losetup -d ${FREE_LOSETUP}
|
||||
exit 1
|
||||
fi
|
||||
echo ""
|
||||
|
||||
# format encrypted filesystem
|
||||
echo "** Now formating /dev/mapper/luks-home"
|
||||
mkfs.ext2 /dev/mapper/luks-home
|
||||
EXIT_CODE=${?}
|
||||
if [ "${EXIT_CODE}" != 0 ]
|
||||
then
|
||||
echo "** ERROR: Error while trying to format LUKS file."
|
||||
cryptsetup remove luks-home
|
||||
losetup -d ${FREE_LOSETUP}
|
||||
exit 1
|
||||
fi
|
||||
echo ""
|
||||
|
||||
# mount in /mnt
|
||||
echo "** Now mounting luks-home.img in /mnt"
|
||||
mount /dev/mapper/luks-home /mnt
|
||||
EXIT_CODE=${?}
|
||||
if [ "${EXIT_CODE}" != 0 ]
|
||||
then
|
||||
echo "** ERROR: Error while trying to mount LUKS file in /mnt."
|
||||
umount /mnt
|
||||
cryptsetup remove luks-home
|
||||
losetup -d ${FREE_LOSETUP}
|
||||
exit 1
|
||||
fi
|
||||
echo ""
|
||||
|
||||
# copy files
|
||||
HOME_DIR="/home/*"
|
||||
|
||||
echo "** Copying ${HOME_DIR}."
|
||||
cp -rav ${HOME_DIR} /mnt
|
||||
EXIT_CODE=${?}
|
||||
if [ "${EXIT_CODE}" != 0 ]
|
||||
then
|
||||
echo "** ERROR: Error while trying to copy files to /mnt."
|
||||
umount /mnt
|
||||
cryptsetup remove luks-home
|
||||
losetup -d ${FREE_LOSETUP}
|
||||
exit 1
|
||||
fi
|
||||
echo "** Done."
|
||||
echo ""
|
||||
|
||||
echo "** All done."
|
||||
echo "** Closing losetup, cryptsetup and mounted /mnt."
|
||||
# umount and close
|
||||
umount /mnt
|
||||
cryptsetup remove luks-home
|
||||
losetup -d ${FREE_LOSETUP}
|
||||
echo "** The disk file image luks-home.img is done and ready. Move it into a partition"
|
||||
echo "** with 'lukshome' as label and reboot with lukshome boot option to use it."
|
||||
echo ""
|
||||
|
||||
EOF
|
||||
|
||||
chmod 0755 /usr/local/sbin/create-lukshome-file.sh
|
||||
|
||||
|
||||
|
||||
echo "I: creating script /usr/local/sbin/lukshome.sh"
|
||||
cat > /usr/local/sbin/lukshome.sh << 'EOF'
|
||||
#!/bin/sh
|
||||
|
||||
# this script is to be executed by a hook in live-initramfs. It searches
|
||||
# for a partition with 'lukshome' label, mounts it as /luks-home, then opens an
|
||||
# encrypted disk image file called luks-home.img as a loopback device, opens it
|
||||
# with cryptsetup and finally mounts the present filesystem as /home.
|
||||
# It also changes /etc/init.d/umountfs to umount the lukshome partition
|
||||
# (/luks-home) and clear the loopback device on shutdown.
|
||||
|
||||
# functions taken from live-helpers
|
||||
. /usr/share/initramfs-tools/scripts/live-helpers
|
||||
|
||||
# set default values
|
||||
LUKSPART="lukshome"
|
||||
LUKSFILE="luks-home.img"
|
||||
|
||||
# get boot option lukshome - adapted from live-helpers
|
||||
for ARGUMENT in $(cat /proc/cmdline)
|
||||
do
|
||||
case "${ARGUMENT}" in
|
||||
lukshome)
|
||||
LUKSHOME=1
|
||||
;;
|
||||
luksfile=*)
|
||||
LUKSFILE="${ARGUMENT#luksfile=}"
|
||||
LUKSHOME=1
|
||||
;;
|
||||
lukspart=*)
|
||||
LUKSPART="${ARGUMENT#lukspart=}"
|
||||
LUKSHOME=1
|
||||
;;
|
||||
|
||||
esac
|
||||
done
|
||||
|
||||
# search for a partition labeled "lukshome" or $LUKSPART
|
||||
for sysblock in $(echo /sys/block/* | tr ' ' '\n' | grep -v loop | grep -v ram | grep -v fd)
|
||||
do
|
||||
for dev in $(subdevices "${sysblock}")
|
||||
do
|
||||
devname=$(sys2dev "${dev}")
|
||||
# find partition name and filesystem type
|
||||
if [ "$(/lib/udev/vol_id -l ${devname} 2>/dev/null)" = "${LUKSPART}" ]
|
||||
then
|
||||
# found one partition with correct label
|
||||
CRYPTHOME="${devname}"
|
||||
# don't search further
|
||||
break
|
||||
fi
|
||||
done
|
||||
# if already found, don't search further
|
||||
if [ -n "${CRYPTHOME}" ]
|
||||
then
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# if no partition found, exit
|
||||
if [ -z "${CRYPTHOME}" ]
|
||||
then
|
||||
echo "Could not find any partition with ${LUKSPART} label. "
|
||||
echo "Proceeding with no encrypted /home."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# mount partition where file container is
|
||||
echo "Mounting /luks-home with ${CRYPTHOME}."
|
||||
mkdir -p /luks-home
|
||||
mount -t $(get_fstype "${CRYPTHOME}") "${CRYPTHOME}" /luks-home
|
||||
|
||||
# mount losetup encrypted file
|
||||
FREE_LOOP="$(/sbin/losetup -f)"
|
||||
echo "Opening file /luks-home/${LUKSFILE} in ${FREE_LOOP}."
|
||||
|
||||
if [ -f /luks-home/"${LUKSFILE}" ]
|
||||
then
|
||||
/sbin/losetup ${FREE_LOOP} /luks-home/"${LUKSFILE}"
|
||||
|
||||
echo "Adding ${FREE_LOOP} home to /etc/crypttab and setting it as /home in /etc/fstab."
|
||||
|
||||
# update crypttab
|
||||
echo "home ${FREE_LOOP} none luks,check,timeout" >> /etc/crypttab
|
||||
|
||||
# update fstab
|
||||
echo "/dev/mapper/home /home ext2 defaults,noatime 0 0" >> /etc/fstab
|
||||
else
|
||||
echo "Did not found any file named ${LUKSFILE} in ${CRYPTHOME}!"
|
||||
echo "Proceeding with no encrypted /home."
|
||||
sleep 2
|
||||
umount -r /luks-home
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# changes to /etc/init.d/umountfs to make /luks-home being umounted on shutdown
|
||||
sed -i 's/[\t]do_stop/CHANGE_HERE/' /etc/init.d/umountfs
|
||||
sed -i 's|CHANGE_HERE| \
|
||||
# added by lukshome hook - umount \/luks-home to prevent busy device on shutdown \
|
||||
LOOP_LUKSHOME=$(losetup -a \| grep luks-home \|cut -c 1-10) \
|
||||
if [ -n ${LOOP_LUKSHOME} ] \
|
||||
then \
|
||||
umount -r -d \/home \
|
||||
cryptsetup remove home \
|
||||
losetup -d ${LOOP_LUKSHOME} \
|
||||
umount -r \/luks-home \
|
||||
fi \
|
||||
\
|
||||
do_stop \
|
||||
|' /etc/init.d/umountfs
|
||||
|
||||
EOF
|
||||
|
||||
chmod 0755 /usr/local/sbin/lukshome.sh
|
||||
|
||||
|
||||
|
||||
# scripts/live-bottom/13live_luks_home, right after 12fstab
|
||||
echo "I: creating /usr/share/initramfs-tools/scripts/live-bottom/13live_luks_home"
|
||||
|
||||
cat > /usr/share/initramfs-tools/scripts/live-bottom/13live_luks_home << 'EOF'
|
||||
#!/bin/sh
|
||||
|
||||
#set -e
|
||||
|
||||
# initramfs-tools header
|
||||
|
||||
PREREQ=""
|
||||
|
||||
prereqs()
|
||||
{
|
||||
echo "${PREREQ}"
|
||||
}
|
||||
|
||||
case "${1}" in
|
||||
prereqs)
|
||||
prereqs
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
. /scripts/live-functions
|
||||
|
||||
# live-initramfs hook to use an disk image file with encrypted filesystem as /home.
|
||||
|
||||
log_begin_msg "Executing losetup-lukshome"
|
||||
|
||||
# get boot option lukshome - adapted from live-helpers
|
||||
for ARGUMENT in $(cat /proc/cmdline)
|
||||
do
|
||||
case "${ARGUMENT}" in
|
||||
lukshome)
|
||||
LUKSHOME=1
|
||||
;;
|
||||
luksfile=*)
|
||||
LUKSFILE="${ARGUMENT#luksfile=}"
|
||||
LUKSHOME=1
|
||||
;;
|
||||
lukspart=*)
|
||||
LUKSPART="${ARGUMENT#lukspart=}"
|
||||
LUKSHOME=1
|
||||
;;
|
||||
|
||||
esac
|
||||
done
|
||||
|
||||
# don't use persistent* and lukshome
|
||||
if [ -n "${PERSISTENT}" ] && [ -n "${LUKSHOME}" ]
|
||||
then
|
||||
echo "You should not use persistent and lukshome at the same time."
|
||||
echo "Skipping lukshome. Persistent medium, if any, will be used instead."
|
||||
log_end_msg
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# if no lukshome boot option, exit
|
||||
if [ -z "${LUKSHOME}" ]
|
||||
then
|
||||
log_end_msg
|
||||
exit 0
|
||||
fi
|
||||
|
||||
log_begin_msg "Executing lukshome.sh script."
|
||||
|
||||
mount -o bind /sys /root/sys
|
||||
mount -o bind /proc /root/proc
|
||||
mount -o bind /dev /root/dev
|
||||
|
||||
# lukshome.sh detects lukshome partition and file location, mounts it
|
||||
# and opens the file and then updates fstab and crypttab to use it as /home.
|
||||
chroot /root /usr/local/sbin/lukshome.sh
|
||||
|
||||
umount /root/sys
|
||||
umount /root/proc
|
||||
umount /root/dev
|
||||
|
||||
# delete the lukshome.sh script, not needed anymore
|
||||
# rm -f /root/usr/local/sbin/lukshome.sh
|
||||
|
||||
log_end_msg
|
||||
|
||||
EOF
|
||||
|
||||
chmod 0755 /usr/share/initramfs-tools/scripts/live-bottom/13live_luks_home
|
||||
|
||||
|
||||
|
||||
echo "I: update-initramfs to include 13live_luks_home."
|
||||
# if you already have installed the update-initramfs.sh hook, you can remove
|
||||
# this.
|
||||
|
||||
for KERNEL in /boot/vmlinuz-*
|
||||
do
|
||||
VERSION="$(basename ${KERNEL} | sed -e 's|vmlinuz-||')"
|
||||
|
||||
update-initramfs -k ${VERSION} -t -u
|
||||
done
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh
|
||||
|
||||
# This is a hook for live-build(7) to install ralink rt2570 drivers
|
||||
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
|
||||
# directory.
|
||||
|
||||
apt-get install --yes build-essential
|
||||
|
||||
which module-assistant || apt-get install --yes module-assistant
|
||||
module-assistant update
|
||||
|
||||
for KERNEL in /boot/vmlinuz-*
|
||||
do
|
||||
VERSION="$(basename ${KERNEL} | sed -e 's|vmlinuz-||')"
|
||||
|
||||
module-assistant --non-inter --quiet auto-install rt2570-source -l ${VERSION}
|
||||
done
|
||||
|
||||
module-assistant clean rt2570-source
|
|
@ -0,0 +1,31 @@
|
|||
#!/bin/sh
|
||||
|
||||
# This is a hook for live-build(7) to install sun-java.
|
||||
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
|
||||
# directory.
|
||||
#
|
||||
# Note: This hook requires packages from the non-free category. Make sure you
|
||||
# enabled it in your configuration.
|
||||
|
||||
# live-build sets DEBIAN_FRONTEND to 'noninteractive' to advise debconf to not
|
||||
# ask any questions while installing packages. Suns redistribution terms for
|
||||
# Java do not allow this, therefore we need to overwrite DEBIAN_FRONTEND for
|
||||
# this apt-get call only.
|
||||
|
||||
# In case you do accept the license terms, you can also preseed the values
|
||||
# for a complete non-interactive build, by uncommenting the following three lines:
|
||||
|
||||
#echo "sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true" > /root/preseed
|
||||
#debconf-set-selections < /root/preseed
|
||||
#rm -f /root/preseed
|
||||
|
||||
DEBIAN_FRONTEND="dialog" apt-get install --yes sun-java6-bin sun-java6-demo \
|
||||
sun-java6-doc sun-java6-fonts sun-java6-jdk sun-java6-jre \
|
||||
sun-java6-plugin sun-java6-source
|
||||
|
||||
# Ensure that /tmp has the right permissions; apparently sun-java5-doc tampers
|
||||
# with it
|
||||
chmod 1777 /tmp
|
||||
|
||||
# Set sun-java as default java
|
||||
update-alternatives --set java /usr/lib/jvm/java-6-sun/jre/bin/java
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
# This is a hook for live-build(7) to remove udev persistent device generator
|
||||
# rules.
|
||||
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
|
||||
# directory.
|
||||
|
||||
rm -f /etc/udev/rules.d/*persistent-net-generator.rules
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
# This is a hook for live-build(7) to rebuild the initramfs image.
|
||||
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
|
||||
# directory.
|
||||
#
|
||||
# Note: You only want to use this hook if you have modified any initramfs-script
|
||||
# during the build and need to refresh the initrd.img for that purpose.
|
||||
|
||||
for KERNEL in /boot/vmlinuz-*
|
||||
do
|
||||
VERSION="$(basename ${KERNEL} | sed -e 's|vmlinuz-||')"
|
||||
|
||||
update-initramfs -k ${VERSION} -t -u
|
||||
done
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
# This is a hook for live-build(7) to enable virtualbox-ose module.
|
||||
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
|
||||
# directory.
|
||||
|
||||
# Enabling loading of vboxdrv
|
||||
sed -i -e 's|^LOAD_VBOXDRV_MODULE=.*$|LOAD_VBOXDRV_MODULE=1|' /etc/default/virtualbox-ose
|
|
@ -0,0 +1,18 @@
|
|||
#!/bin/sh
|
||||
|
||||
# This is a hook for live-build(7) to configure KDE's PDF viewer to ignore
|
||||
# manipulation restriction on "DRM protect" PDF documents.
|
||||
#
|
||||
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
|
||||
# directory.
|
||||
|
||||
if [ -d /usr/share/kde4/config ]
|
||||
then
|
||||
# KDE4 (squeeze/sid)
|
||||
|
||||
cat > /usr/share/kde4/config/okularpartrc << EOF
|
||||
[General]
|
||||
ObeyDRM=false
|
||||
EOF
|
||||
|
||||
fi
|
|
@ -0,0 +1,41 @@
|
|||
#!/bin/sh
|
||||
|
||||
## live-build(7) - System Build Scripts
|
||||
## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org>
|
||||
##
|
||||
## live-build 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
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue