Adding debian version 2.0~a1-1. debian/2.0_a1-1
authorDaniel Baumann <daniel@debian.org>
Mon, 24 May 2010 13:27:36 +0000 (15:27 +0200)
committerDaniel Baumann <daniel@debian.org>
Mon, 24 May 2010 13:27:36 +0000 (15:27 +0200)
68 files changed:
COPYING [new file with mode: 0644]
Makefile [new file with mode: 0644]
VERSION [new file with mode: 0644]
bin/live-getty [new file with mode: 0755]
bin/live-login [new file with mode: 0755]
bin/live-new-uuid [new file with mode: 0755]
bin/live-preseed [new file with mode: 0755]
bin/live-reconfigure [new file with mode: 0755]
bin/live-snapshot [new file with mode: 0755]
bin/live-swapfile [new file with mode: 0755]
conf/compcache [new file with mode: 0644]
conf/live-persistence.binds [new file with mode: 0644]
conf/live-snapshot.exclude_list [new file with mode: 0644]
conf/live-snapshot.list [new file with mode: 0644]
conf/live.conf [new file with mode: 0644]
contrib/languagelist [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/changelog.old [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/live-boot-initramfs-tools.postinst [new file with mode: 0644]
debian/live-boot-initramfs-tools.triggers [new file with mode: 0644]
debian/live-boot.bug-presubj [new file with mode: 0644]
debian/live-boot.bug-script [new file with mode: 0644]
debian/live-boot.init [new file with mode: 0644]
debian/live-boot.lintian-overrides [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]
docs/AUTHORS [new file with mode: 0644]
docs/CREDITS [new file with mode: 0644]
docs/old/ChangeLog [new file with mode: 0644]
docs/old/ChangeLog.casper [new file with mode: 0644]
docs/parameters.txt [new file with mode: 0644]
hooks/live [new file with mode: 0755]
manpages/Makefile [new file with mode: 0644]
manpages/bin/update-version.sh [new file with mode: 0755]
manpages/de/live-boot.de.7 [new file with mode: 0644]
manpages/de/live-snapshot.de.1 [new file with mode: 0644]
manpages/en/live-boot.7 [new file with mode: 0644]
manpages/en/live-snapshot.1 [new file with mode: 0644]
manpages/old/live-snapshot.it.1.txt [new file with mode: 0644]
manpages/po/de/live-boot.7.po [new file with mode: 0644]
manpages/po/de/live-snapshot.1.po [new file with mode: 0644]
manpages/po4a.cfg [new file with mode: 0644]
manpages/pot/live-boot.7.pot [new file with mode: 0644]
manpages/pot/live-snapshot.1.pot [new file with mode: 0644]
scripts/live [new file with mode: 0755]
scripts/live-bottom/02etc_live_conf [new file with mode: 0755]
scripts/live-bottom/08persistence_excludes [new file with mode: 0755]
scripts/live-bottom/12fstab [new file with mode: 0755]
scripts/live-bottom/14locales [new file with mode: 0755]
scripts/live-bottom/16umountfs [new file with mode: 0755]
scripts/live-bottom/19keyboard [new file with mode: 0755]
scripts/live-bottom/20xconfig [new file with mode: 0755]
scripts/live-bottom/21xdriver [new file with mode: 0755]
scripts/live-bottom/21xvidemode [new file with mode: 0755]
scripts/live-bottom/22serialtty [new file with mode: 0755]
scripts/live-bottom/23networking [new file with mode: 0755]
scripts/live-bottom/24preseed [new file with mode: 0755]
scripts/live-bottom/25configure_init [new file with mode: 0755]
scripts/live-bottom/30accessibility [new file with mode: 0755]
scripts/live-bottom/41apt_cdrom [new file with mode: 0755]
scripts/live-functions [new file with mode: 0644]
scripts/live-helpers [new file with mode: 0644]
scripts/live-premount/modules [new file with mode: 0755]
scripts/live-premount/readonly [new file with mode: 0755]
scripts/live-premount/select_eth_device [new file with mode: 0755]

diff --git a/COPYING b/COPYING
new file mode 100644 (file)
index 0000000..94a9ed0
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,674 @@
+                    GNU GENERAL PUBLIC LICENSE
+                       Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <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>.
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..1018daf
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,115 @@
+# Makefile
+
+SHELL := sh -e
+
+LANGUAGES = de
+
+all: test build
+
+test:
+       @echo -n "Checking for syntax errors"
+
+       @for SCRIPT in bin/* hooks/* scripts/live scripts/live-functions scripts/live-helpers scripts/*/*; \
+       do \
+               sh -n $${SCRIPT}; \
+               echo -n "."; \
+       done
+
+       @echo " done."
+
+       @echo -n "Checking for bashisms"
+
+       @# We can't just fail yet on bashisms (FIXME)
+       @if [ -x /usr/bin/checkbashisms ]; \
+       then \
+               for SCRIPT in bin/* hooks/* scripts/live scripts/live-functions scripts/live-helpers scripts/*/*; \
+               do \
+                       checkbashisms $${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:
+       # (FIXME)
+       # Installing configuration
+       install -D -m 0644 conf/live.conf $(DESTDIR)/etc/live.conf
+       install -D -m 0644 conf/compcache $(DESTDIR)/usr/share/initramfs-tools/conf.d/compcache
+
+       # Installing executables
+       mkdir -p $(DESTDIR)/sbin
+       cp bin/live-getty bin/live-login bin/live-new-uuid bin/live-snapshot bin/live-swapfile $(DESTDIR)/sbin
+
+       mkdir -p $(DESTDIR)/usr/share/live-boot
+       cp bin/live-preseed bin/live-reconfigure contrib/languagelist $(DESTDIR)/usr/share/live-boot
+
+       mkdir -p $(DESTDIR)/usr/share/initramfs-tools
+       cp -r hooks scripts $(DESTDIR)/usr/share/initramfs-tools
+
+       # Installing docs
+       mkdir -p $(DESTDIR)/usr/share/doc/live-boot
+       cp -r COPYING docs/* $(DESTDIR)/usr/share/doc/live-boot
+
+       mkdir -p $(DESTDIR)/usr/share/doc/live-boot/examples
+       cp -r conf/* $(DESTDIR)/usr/share/doc/live-boot/examples
+       # (FIXME)
+
+       # Installing manpages
+       for MANPAGE in manpages/en/*; \
+       do \
+               SECTION="$$(basename $${MANPAGE} | awk -F. '{ print $$2 }')"; \
+               install -D -m 0644 $${MANPAGE} $(DESTDIR)/usr/share/man/man$${SECTION}/$$(basename $${MANPAGE}); \
+       done
+
+       for LANGUAGE in $(LANGUAGES); \
+       do \
+               for MANPAGE in manpages/$${LANGUAGE}/*; \
+               do \
+                       SECTION="$$(basename $${MANPAGE} | awk -F. '{ print $$3 }')"; \
+                       install -D -m 0644 $${MANPAGE} $(DESTDIR)/usr/share/man/$${LANGUAGE}/man$${SECTION}/$$(basename $${MANPAGE} .$${LANGUAGE}.$${SECTION}).$${SECTION}; \
+               done; \
+       done
+
+uninstall:
+       # (FIXME)
+       # Uninstalling configuration
+       rm -f $(DESTDIR)/etc/live.conf
+
+       # Uninstalling executables
+       rm -f $(DESTDIR)/sbin/live-getty $(DESTDIR)/sbin/live-login $(DESTDIR)/sbin/live-snapshot $(DESTDIR)/sbin/live-swapfile
+       rm -rf $(DESTDIR)/usr/share/live-boot
+       rm -f $(DESTDIR)/usr/share/initramfs-tools/hooks/live
+       rm -rf $(DESTDIR)/usr/share/initramfs-tools/scripts/live*
+       rm -f $(DESTDIR)/usr/share/initramfs-tools/scripts/local-top/live
+
+       # Uninstalling docs
+       rm -rf $(DESTDIR)/usr/share/doc/live-boot
+       # (FIXME)
+
+       # Uninstalling manpages
+       for MANPAGE in manpages/en/*; \
+       do \
+               SECTION="$$(basename $${MANPAGE} | awk -F. '{ print $$2 }')"; \
+               rm -f $(DESTDIR)/usr/share/man/man$${SECTION}/$$(basename $${MANPAGE} .en.$${SECTION}).$${SECTION}; \
+       done
+
+       for LANGUAGE in $(LANGUAGES); \
+       do \
+               for MANPAGE in manpages/$${LANGUAGE}/*; \
+               do \
+                       SECTION="$$(basename $${MANPAGE} | awk -F. '{ print $$3 }')"; \
+                       rm -f $(DESTDIR)/usr/share/man/$${LANGUAGE}/man$${SECTION}/$$(basename $${MANPAGE} .$${LANGUAGE}.$${SECTION}).$${SECTION}; \
+               done; \
+       done
+
+clean:
+
+distclean:
+
+reinstall: uninstall install
diff --git a/VERSION b/VERSION
new file mode 100644 (file)
index 0000000..3ca84b6
--- /dev/null
+++ b/VERSION
@@ -0,0 +1 @@
+2.0~a1
diff --git a/bin/live-getty b/bin/live-getty
new file mode 100755 (executable)
index 0000000..6781ea5
--- /dev/null
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+set -e
+
+AUTOLOGIN="1"
+
+for ARGUMENT in "${@}"
+do
+       if [ "${ARGUMENT}" = "-l" ] || [ "${ARGUMENT}" = "-n" ]
+       then
+               AUTOLOGIN="0"
+       fi
+done
+
+if [ "${AUTOLOGIN}" = "1" ]
+then
+       exec /sbin/getty -n -l /sbin/live-login ${*}
+else
+       exec /sbin/getty ${*}
+fi
diff --git a/bin/live-login b/bin/live-login
new file mode 100755 (executable)
index 0000000..c2cc5a1
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+USERNAME="root"
+
+if [ -f /etc/live.conf ]
+then
+       . /etc/live.conf
+fi
+
+exec /bin/login -f "${USERNAME}"
diff --git a/bin/live-new-uuid b/bin/live-new-uuid
new file mode 100755 (executable)
index 0000000..2e29f6a
--- /dev/null
@@ -0,0 +1,86 @@
+#!/bin/sh
+# -*- coding: utf-8 -*-
+#
+# «live-new-uuid» - Creates and injects new UUIDs for live disks
+#
+# Create new UUIDs for disks to prevent conflicts and booting the wrong live
+# directory.  Particularly useful in creating recovery disks that need to be
+# able to also work with recovery partitioning schemes.
+#
+# Copyright (C) 2008, Dell Inc.
+#
+# Author:
+#  - Mario Limonciello <Mario_Limonciello@Dell.com>
+#
+# This script 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 2 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 application; if not, write to the Free Software Foundation, Inc., 51
+# Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+##################################################################################
+
+set -e
+
+help() {
+ echo
+ echo "USAGE: $0 initrd.{l,g}z <path-to-new-initrd> <path-to-new-live-uuid> "
+ echo
+ echo "initrd.{l,g}z is the absolute path to the original gzipped or lzmaed initramfs"
+ echo "<path-to-new-initrd> is the destination directory for the new compressed initramfs"
+ echo "<path-to-new-live-uuid> is the destination directory for the new live-uuid-TYPE "
+ echo
+ echo "if either path is absent, they will end up in the current directory "
+ echo "TYPE is determined by an already existing live-uuid-* or by 'uname -s'"
+}
+
+if [ "$#" = "0" ] || [ "x$1" = x-h ] || [ "x$1" = x--help ]; then
+       help
+       exit 3
+fi
+
+CWD=`pwd`
+TEMPDIR=`mktemp -d /tmp/uuid-XXXXXX`
+TYPE=`uname -r | cut -d '-' -f 3`
+
+if echo "$1" | grep ".lz$" >/dev/null; then
+       COMPRESSOR="lzma"
+       SUFFIX=".lz"
+elif echo "$1" | grep ".gz$" >/dev/null; then
+       COMPRESSOR="gzip"
+       SUFFIX=".gz"
+else
+       echo "Unsupported archive type."
+       exit 2
+fi
+
+if [ -z "$2" ] || [ ! -d "$2" ] || [ "$2" = "." ]; then
+       COMPRESS_DIR="$CWD"
+else
+       COMPRESS_DIR="$2"
+fi
+
+if [ -z "$3" ] || [ ! -d "$3" ] || [ "$3" = "." ]; then
+       LIVEDIR="$CWD"
+else
+       LIVEDIR="$3"
+fi
+
+cd "$TEMPDIR"
+$COMPRESSOR -cd "$1" -S "$SUFFIX" | cpio -id
+uuidgen -r > conf/uuid.conf
+find . | cpio --quiet --dereference -o -H newc | $COMPRESSOR -9c > "$COMPRESS_DIR/initrd$SUFFIX"
+if [ "$(ls "$LIVEDIR/live-uuid"-* >/dev/null 2>&1 | wc -l)" = 1 ]; then
+       cp conf/uuid.conf "$LIVEDIR/live-uuid"-*
+else
+       cp conf/uuid.conf "$LIVEDIR/live-uuid-$TYPE"
+fi
+cd "$CWD"
+rm -rf "$TEMPDIR"
diff --git a/bin/live-preseed b/bin/live-preseed
new file mode 100755 (executable)
index 0000000..c0933e6
--- /dev/null
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+set -e
+
+PATH=/usr/sbin:/usr/bin:/sbin:/bin
+
+root="${1}"
+question="${2}"
+value="${3}"
+seen="${4}"
+
+[ "${seen}" ] || seen=true
+
+if ! (echo "SET ${question} ${value}"; echo "FSET ${question} seen ${seen}") | chroot "${1}" /usr/bin/debconf-communicate -fnoninteractive live-boot >/dev/null
+then
+
+chroot "${1}" /usr/bin/debconf-communicate -fnoninteractive live-boot >/dev/null << EOF
+REGISTER debian-installer/dummy ${question}
+SET ${question} ${value}
+FSET ${question} seen ${seen}
+EOF
+
+fi
+
+exit 0
diff --git a/bin/live-reconfigure b/bin/live-reconfigure
new file mode 100755 (executable)
index 0000000..16cb51d
--- /dev/null
@@ -0,0 +1,70 @@
+#! /bin/sh
+
+set -e
+
+export PATH=/usr/bin:/usr/sbin:/sbin:/bin
+
+frontend=noninteractive
+
+findcommandinroot ()
+{
+       ROOT="${1}/"
+       shift
+
+       while [ "${#}" -ge 1 ]
+       do
+               P="${PATH}"
+
+               while [ "${P}" ]
+               do
+                       D=${P%%:*}
+                       P=${P#*:}
+
+                       if [ "${D}" = "${P}" ]
+                       then
+                               P=
+                       fi
+
+                       if [ -z "${D}" ]
+                       then
+                               D=.
+                       fi
+
+                       if [ -x "${ROOT}${D}/${1}" ]
+                       then
+                               echo "${D}/${1}"
+                               return 0
+                       fi
+               done
+
+               shift
+       done
+
+       return 1
+}
+
+runcommandinroot ()
+{
+       C=$(findcommandinroot "${1}" "${2}")
+       ROOT="${1}"
+
+       shift
+       shift
+
+       [ -n "${C}" ] && chroot "${ROOT}" "${C}" "${@}"
+}
+
+root="${1}"
+package="${2}"
+
+version=$(runcommandinroot "${root}" dpkg-query -W --showformat='${Version}' "${package}" 2>/dev/null) || version=""
+
+if [ -z "${version}" ]
+then
+       echo >&2 "${0}: package '${package}' is not installed"
+       exit 0
+fi
+
+runcommandinroot "${root}" dpkg-reconfigure -fnoninteractive --no-reload "${package}"
+
+exit 0
diff --git a/bin/live-snapshot b/bin/live-snapshot
new file mode 100755 (executable)
index 0000000..1e080c3
--- /dev/null
@@ -0,0 +1,522 @@
+#!/bin/sh
+
+# live-snapshot - utility to manage Debian Live systems snapshots
+#
+#   This program mounts a device (fallback to /tmpfs under $MOUNTP
+#   and saves the /live/cow (or a different directory) filesystem in it
+#   for reuse in another live-boot session.
+#   Look at the manpage for more informations.
+#
+# Copyright (C) 2006-2008 Marco Amadori <marco.amadori@gmail.com>
+# Copyright (C) 2008 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/>.
+#
+# On Debian systems, the complete text of the GNU General Public License
+# can be found in /usr/share/common-licenses/GPL-3 file.
+
+# declare here two vars from /etc/live.conf because of "set -u"
+ROOTSNAP=""
+HOMESNAP=""
+
+if [ -n "${LIVE_SNAPSHOT_CHECK_UNBOUND}" ]
+then
+       set -eu
+else
+       set -e
+fi
+
+. /usr/share/initramfs-tools/scripts/live-helpers
+
+LIVE_CONF="/etc/live.conf"
+. "${LIVE_CONF}"
+
+export USERNAME USERFULLNAME HOSTNAME
+
+EXECUTABLE="${0}"
+PROGRAM=$(basename "${EXECUTABLE}")
+
+# Needs to be available at run and reboot time
+SAFE_TMPDIR="/live"
+
+# Permits multiple runs
+MOUNTP="$(mktemp -d -p ${SAFE_TMPDIR} live-snapshot-mnt.XXXXXX)"
+DEST="${MOUNTP}/live-sn.cpio.gz"
+DEF_SNAP_COW="/live/cow"
+TMP_FILELIST="${PROGRAM}.list"
+
+# Command line defaults and declarations
+SNAP_COW="${DEF_SNAP_COW}"
+SNAP_DEV=""
+SNAP_MNT=""
+SNAP_OUTPUT=""
+SNAP_RESYNC_STRING=""
+SNAP_TYPE="cpio"
+SNAP_LIST="/etc/live-snapshot.list"
+EXCLUDE_LIST="/etc/live-snapshot.exclude_list"
+
+Error ()
+{
+       echo "${PROGRAM}: error:" ${@}
+       exit 1
+}
+
+panic ()
+{
+       Error ${@}
+}
+
+Header ()
+{
+       echo "${PROGRAM} - utility to perform snapshots of Debian Live systems"
+       echo
+       echo "usage: ${PROGRAM} [-c|--cow DIRECTORY] [-d|--device DEVICE] [-o|--output FILE] [-t|--type TYPE]"
+       echo "       ${PROGRAM} [-r|--resync-string STRING]"
+       echo "       ${PROGRAM} [-f|--refresh]"
+       echo "       ${PROGRAM} [-h|--help]"
+       echo "       ${PROGRAM} [-u|--usage]"
+       echo "       ${PROGRAM} [-v|--version]"
+}
+
+Help ()
+{
+       Header
+
+       echo
+       echo "Options:"
+       echo "  -c, --cow: copy on write directory (default: ${SNAP_COW})."
+       echo "  -d, --device: output snapshot device (default: ${SNAP_DEV:-auto})."
+       echo "  -o, --output: output image file (default: ${DEST})."
+       echo "  -r, --resync-string: internally used to resync previous made snapshots."
+       echo "  -f, --refresh: try to sync a running snapshot."
+       echo "  -t, --type: snapshot filesystem type. Options: \"squashfs\", \"ext2\", \"ext3\", \"ext4\", \"jffs2\" or \"cpio\".gz archive (default: ${SNAP_TYPE})"
+       echo
+       echo "Look at live-snapshot(1) man page for more information."
+
+       exit 0
+}
+
+Usage ()
+{
+       Header
+
+       echo
+       echo "Try \"${PROGRAM} --help\" for more information."
+
+       exit 0
+}
+
+Version ()
+{
+       echo "${PROGRAM}"
+       echo
+       echo "Copyright (C) 2006 Marco Amadori <marco.amadori@gmail.com>"
+       echo "Copyright (C) 2008 Chris Lamb <chris@chris-lamb.co.uk>"
+       echo
+       echo "This program is free software; you can redistribute it and/or modify"
+       echo "it under the terms of the GNU General Public License as published by"
+       echo "the Free Software Foundation; either version 2 of the License, or"
+       echo "(at your option) any later version."
+       echo
+       echo "This program is distributed in the hope that it will be useful,"
+       echo "but WITHOUT ANY WARRANTY; without even the implied warranty of"
+       echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the"
+       echo "GNU General Public License for more details."
+       echo
+       echo "You should have received a copy of the GNU General Public License"
+       echo "along with this program; if not, write to the Free Software"
+       echo "Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA"
+       echo
+       echo "On Debian systems, the complete text of the GNU General Public License"
+       echo "can be found in /usr/share/common-licenses/GPL-2 file."
+       echo
+       echo "Homepage: <http://debian-live.alioth.debian.org/>"
+
+       exit 0
+}
+
+Try_refresh ()
+{
+       FOUND=""
+       if [ -n "${ROOTSNAP}" ]; then
+               "${EXECUTABLE}" --resync-string="${ROOTSNAP}"
+               FOUND="Yes"
+       fi
+
+       if [ -n "${HOMESNAP}" ]; then
+               "${EXECUTABLE}" --resync-string="${HOMESNAP}"
+               FOUND="Yes"
+       fi
+
+       if [ -z "${FOUND}" ]
+       then
+               echo "No autoconfigured snapshots found at boot;" > /dev/null 1>&2
+               echo "(no resync string in ${LIVE_CONF})." > /dev/null 1>&2
+               exit 1
+       fi
+}
+
+Parse_args ()
+{
+       # Parse command line
+       ARGS="${*}"
+       ARGUMENTS="$(getopt --longoptions cow:,device:,output,resync-string:,refresh,type:,help,usage,version --name=${PROGRAM} --options c:d:o:t:r:fhuv --shell sh -- ${ARGS})"
+
+       eval set -- "${ARGUMENTS}"
+
+       while true
+       do
+               case "${1}" in
+                       -c|--cow)
+                               SNAP_COW="${2}"
+                               shift 2
+                               ;;
+
+                       -d|--device)
+                               SNAP_DEV="${2}"
+                               shift 2
+                               ;;
+
+                       -o|--output)
+                               SNAP_OUTPUT="${2}"
+                               shift 2
+                               ;;
+
+                       -t|--type)
+                               SNAP_TYPE="${2}"
+                               shift 2
+                               ;;
+
+                       -r|--resync-string)
+                               SNAP_RESYNC_STRING="${2}"
+                               break
+                               ;;
+
+                       -f|--refresh)
+                               Try_refresh
+                               exit 0
+                               ;;
+
+                       -h|--help)
+                               Help
+                               ;;
+
+                       -u|--usage)
+                               Usage
+                               ;;
+
+                       -v|--version)
+                               Version
+                               ;;
+
+                       --)
+                               shift
+                               break
+                               ;;
+
+                       *)
+                               Error "internal error."
+                               ;;
+
+               esac
+       done
+}
+
+Defaults ()
+{
+       # Parse resync string
+       if [ -n "${SNAP_RESYNC_STRING}" ]
+       then
+               SNAP_COW=$(echo "${SNAP_RESYNC_STRING}" | sed -e 's|^/root\([^:.]*\).*$|'"${DEF_SNAP_COW}"'\1|')
+               SNAP_DEV=$(echo "${SNAP_RESYNC_STRING}" | cut -f2 -d ':')
+               SNAP_MNT=$(echo "${SNAP_RESYNC_STRING}" | cut -f3 -d ':')
+               DEST="${MOUNTP}/${SNAP_MNT}"
+
+               case "${SNAP_MNT}" in
+                       *.cpio.gz)
+                               SNAP_TYPE="cpio"
+                               ;;
+
+                       *.squashfs)
+                               SNAP_TYPE="squashfs"
+                               ;;
+
+                       *.jffs2)
+                               SNAP_TYPE="jffs2"
+                               ;;
+
+                       *.ext2|*.ext3)
+                               SNAP_TYPE="ext2"
+                               ;;
+
+                       "")
+                               SNAP_TYPE="whole_partition"
+                               ;;
+
+                       *.ext4)
+                               SNAP_TYPE="ext4"
+                               ;;
+
+                       *)
+                               Error "unrecognized resync string"
+                               ;;
+               esac
+       elif [ -z "${SNAP_OUTPUT}" ]
+       then
+               # Set target file based on image
+               case "${SNAP_TYPE}" in
+                       cpio)
+                               DEST="${MOUNTP}/live-sn.cpio.gz"
+                               ;;
+
+                       squashfs|jffs2|ext2)
+                               DEST="${MOUNTP}/live-sn.${SNAP_TYPE}"
+                               ;;
+
+                       ext3)
+                               DEST="${MOUNTP}/live-sn.ext2"
+                               ;;
+
+                       ext4)
+                               DEST="${MOUNTP}/live-sn.ext4"
+                               ;;
+               esac
+       else
+               DEST="${SNAP_OUTPUT}"
+       fi
+}
+
+Validate_input ()
+{
+       case "${SNAP_TYPE}" in
+               cpio|squashfs|jffs2|ext2|ext3|ext4|whole_partition)
+                       ;;
+
+               *)
+                       Error "invalid filesystem type \"${SNAP_TYPE}\""
+                       ;;
+       esac
+
+       if [ ! -d "${SNAP_COW}" ]
+       then
+               Error "${SNAP_COW} is not a directory"
+       fi
+
+       if [ "$(id -u)" -ne 0 ]
+       then
+               Error "you are not root"
+       fi
+}
+
+Mount_device ()
+{
+       case "${SNAP_DEV}" in
+               "")
+                       # create a temp
+                       mount -t tmpfs -o rw tmpfs "${MOUNTP}"
+                       ;;
+
+               *)
+                       if [ -b "${SNAP_DEV}" ]
+                       then
+                               try_mount "${SNAP_DEV}" "${MOUNTP}" rw
+                       fi
+                       ;;
+       esac
+}
+
+Entry_is_modified ()
+{
+       # Returns true if file exists and it is also present in "cow" directory
+       # This means it is modified in respect to read-only media, so it deserve
+       # to be saved
+
+       entry="${1}"
+
+       if [ -e "${entry}" ] || [ -L "${entry}" ]
+       then
+               if [ -e "${SNAP_COW}/${entry}" ] || [ -L "${SNAP_COW}/${entry}" ]
+               then
+                       return 0
+               fi
+       fi
+       return 1
+}
+
+Do_filelist ()
+{
+       # BUGS: does not handle deleted files yet
+       TMP_FILELIST=$1
+
+       if [ -f "${SNAP_LIST}" ]
+       then
+               # if SNAP_COW == /live/cow/home, SNAP_RW = /home
+               SNAP_RW=$(echo "${SNAP_COW}" | sed -e "s|${DEF_SNAP_COW}||g")
+               if [ -z "${SNAP_RW}" ]
+               then
+                       SNAP_RW="/"
+               fi
+
+               cd "${SNAP_RW}"
+               # Generate include list removing empty and commented lines
+               # and transforming paths to relatives
+               for entry in $(sed -e '/^ *$/d' -e '/^#.*$/d' -e 's#^.*$#./&#' -e 's#/\+#/#g' "${SNAP_LIST}")
+               do
+                       if [ -d "${entry}" ]
+                       then
+                               find "${entry}" | while read line
+                               do
+                                       if Entry_is_modified "${line}"
+                                       then
+                                               printf "%s\000" "${line}" >> "${TMP_FILELIST}"
+                                       fi
+                               done
+                       elif Entry_is_modified "${entry}"
+                       then
+                               # if file exists and it is modified
+                               printf "%s\000" "${entry}" >> "${TMP_FILELIST}"
+                       fi
+               done
+               cd "${OLDPWD}"
+
+               # echo Working dir
+               echo "${SNAP_RW}"
+       else
+               cd "${SNAP_COW}"
+               # removing whiteouts from list
+               find . -path '*.wh.*' -prune -o -print0 >> "${TMP_FILELIST}"
+               cd "${OLDPWD}"
+               # echo Working dir
+               echo "${SNAP_COW}"
+       fi
+}
+
+Do_snapshot ()
+{
+       TMP_FILELIST=$(mktemp -p "${SAFE_TMPDIR}" "${TMP_FILELIST}.XXXXXX")
+
+       case "${SNAP_TYPE}" in
+               squashfs)
+                       echo ".${TMP_FILELIST}" > "${TMP_FILELIST}"
+                       # Removing whiteheads of unionfs
+                       cd "${SNAP_COW}"
+                       find . -name '*.wh.*' >> "${TMP_FILELIST}"
+
+                       if [ -e "${EXCLUDE_LIST}" ]
+                       then
+                               # Add explicitly excluded files
+                               grep -v '^#.*$' "${EXCLUDE_LIST}" | grep -v '^ *$' >> "${TMP_FILELIST}"
+                       fi
+
+                       cd "${OLDPWD}"
+                       mksquashfs "${SNAP_COW}" "${DEST}" -ef "${TMP_FILELIST}"
+                       ;;
+
+               cpio|whole_partition)
+                       if [ "${SNAP_TYPE}" = "cpio" ]
+                       then
+                               COPY_CMD="cpio --quiet -o0 -H newc | gzip -9c > ${DEST}"
+                       else
+                               COPY_CMD="cpio --quiet -pumd0 ${DEST}/"
+                       fi
+
+                       WORKING_DIR=$(Do_filelist "${TMP_FILELIST}")
+                       cd "${WORKING_DIR}"
+                       if [ -e "${EXCLUDE_LIST}" ]
+                       then
+                               # Convert \0 to \n and tag existing (rare but possible) \n in filenames,
+                               # this to let grep -F -v do a proper work in filtering out
+                               cat "${TMP_FILELIST}" | \
+                                       tr '\n' '\1' | \
+                                       tr '\0' '\n' | \
+                                       grep -F -v -f "${EXCLUDE_LIST}" | \
+                                       tr '\n' '\0' | \
+                                       tr '\1' '\n' | \
+                                       eval $COPY_CMD || exit 1
+                       else
+                               cat "${TMP_FILELIST}" | \
+                                       eval $COPY_CMD || exit 1
+                       fi
+                       cd "${OLDPWD}"
+                       ;;
+
+               # ext2|ext3|ext4 and jffs2 does not easily support an exclude list; files
+               # should be copied to another directory in order to filter content
+               ext2|ext3|ext4)
+                       DU_DIM="$(du -ks ${SNAP_COW} | cut -f1)"
+                       REAL_DIM="$(expr ${DU_DIM} + ${DU_DIM} / 20)" # Just 5% more to be sure, need something more sophistcated here...
+                       genext2fs --size-in-blocks=${REAL_DIM} --reserved-percentage=0 --root="${SNAP_COW}" "${DEST}"
+                       ;;
+
+               jffs2)
+                       mkfs.jffs2 --root="${SNAP_COW}" --output="${DEST}"
+                       ;;
+       esac
+
+       if [ -f "${TMP_FILELIST}" ]
+       then
+               rm -f "${TMP_FILELIST}"
+       fi
+}
+
+Clean ()
+{
+       if [ -z "${SNAP_RESYNC_STRING}" ] && echo "${DEST}" | grep -q "${MOUNTP}"
+       then
+               echo "${DEST} is present on ${MOUNTP}, therefore no automatic unmounting the latter." > /dev/null 1>&2
+       else
+               umount "${MOUNTP}"
+               rmdir "${MOUNTP}"
+       fi
+}
+
+Warn_user ()
+{
+       if [ -z "${SNAP_RESYNC_STRING}" ]
+       then
+               case ${SNAP_TYPE} in
+                       cpio|ext2|ext3|ext4)
+                               echo "Please move ${DEST} (if is not already in it)" > /dev/null 1>&2
+                               echo "in a supported writable partition (e.g ext3, vfat)." > /dev/null 1>&2
+                               ;;
+
+                       squashfs)
+                               echo "To use ${DEST} you need to rebuild your media or add it" > /dev/null 1>&2
+                               echo "to your multisession disc under the \"/live\" directory." > /dev/null 1>&2
+                               ;;
+
+                       jffs2)
+                               echo "Please cat or flashcp ${DEST} to your partition in order to start using it." > /dev/null 1>&2
+                               ;;
+               esac
+
+               if grep -qv persistent /proc/cmdline
+               then
+                       echo "Remember to boot this live system with \"persistent\" specified at boot prompt." > /dev/null 1>&2
+               fi
+       fi
+}
+
+Main ()
+{
+       Parse_args "${@}"
+       Defaults
+       Validate_input
+       trap 'Clean' EXIT
+       Mount_device
+       Do_snapshot
+       Warn_user
+}
+
+Main "${@:-}"
diff --git a/bin/live-swapfile b/bin/live-swapfile
new file mode 100755 (executable)
index 0000000..2c61036
--- /dev/null
@@ -0,0 +1,100 @@
+#!/bin/sh
+
+# File: live-swapfile - create and use a swap file
+# Copyright: (C) 2009 Daniel Baumann <daniel@debian.org>
+# License: GPL-3+
+
+set -e
+
+# Options
+_SWAP_DIRECTORY="${_SWAP_DIRECTORY:-/live/swap}"
+_SWAP_FILE="${_SWAP_FILE:-swapfile.img}"
+
+_SWAP_SIZE="${_SWAP_SIZE:-auto}"
+_SWAP_FACTOR="${_SWAP_FACTOR:-2}"
+
+_SWAP_PURGE="${_SWAP_PURGE:-true}"
+_FORCE="${_FORCE:-true}"
+
+case "${1}" in
+       add)
+               # Reading size of physical memory
+               _MEM_TOTAL_KB="$(awk '/^MemTotal: / { print $2 }' /proc/meminfo)"
+               _MEM_TOTAL_MB="$(expr ${_MEM_TOTAL_KB} / 1024)"
+
+               echo "Found ${_MEM_TOTAL_MB} MB physical memory."
+
+               # Setting size of new swapfile
+               if [ -z "${_SWAP_SIZE}" ] || [ "${_SWAP_SIZE}" = "auto" ]
+               then
+                       _SWAP_SIZE_KB="$(expr ${_MEM_TOTAL_KB} '*' ${_SWAP_FACTOR})"
+                       _SWAP_SIZE_MB="$(expr ${_SWAP_SIZE_KB} / 1024)"
+               else
+                       _SWAP_SIZE_MB="${_SWAP_SIZE}"
+               fi
+
+               echo "Requesting ${_SWAP_SIZE_MB} MB swapfile."
+
+               # Reading size of old swapfile
+               if [ -e "${_SWAP_DIRECTORY}/${_SWAP_FILE}" ]
+               then
+                       _SWAP_FILESIZE="$(ls -hl ${_SWAP_DIRECTORY}/${_SWAP_FILE} | awk '{ print $5 }')"
+
+                       echo "Found ${_SWAP_FILESIZE} MB swapfile."
+               fi
+
+               # Creating new swap file
+               if [ "${_SWAP_FILESIZE}" != "${_SWAP_SIZE_MB}M" ]
+               then
+                       if [ "${_FORCE}" = "true" ]
+                       then
+                               # Removing old swapfile
+                               rm -f "${_SWAP_DIRECTORY}/${_SWAP_FILE}"
+
+                               echo "Creating ${_SWAP_SIZE_MB} MB swapfile."
+
+                               mkdir -p "${_SWAP_DIRECTORY}"
+
+                               # Unfortunately, swapon does not support files
+                               # with holes, therefore we cannot preallocate.
+                               dd if=/dev/zero of="${_SWAP_DIRECTORY}/${_SWAP_FILE}"  bs=1024k count="${_SWAP_SIZE_MB}"
+                       else
+                               echo "Exit."
+                               return 1
+                       fi
+               fi
+
+               echo "Enabling ${_SWAP_DIRECTORY}/${_SWAP_FILE}."
+
+               mkswap "${_SWAP_DIRECTORY}/${_SWAP_FILE}"
+               swapon "${_SWAP_DIRECTORY}/${_SWAP_FILE}"
+               ;;
+
+       rm|remove)
+               if grep -qs "${_SWAP_DIRECTORY}/${_SWAP_FILE}" /proc/swaps
+               then
+                       echo "Disabling ${_SWAP_DIRECTORY}/${_SWAP_FILE}."
+
+                       swapoff "${_SWAP_DIRECTORY}/${_SWAP_FILE}"
+               fi
+
+               if [ "${_SWAP_PURGE}" = "true" ]
+               then
+                       echo "Removing ${_SWAP_DIRECTORY}/${_SWAP_FILE}."
+
+                       rm -f "${_SWAP_DIRECTORY}/${_SWAP_FILE}"
+
+                       __DIRECTORY="${_SWAP_DIRECTORY}"
+                       while [ "${__DIRECTORY}" != "/" ]
+                       do
+                               rmdir --ignore-fail-on-non-empty "${__DIRECTORY}"
+                               __DIRECTORY="$(dirname ${__DIRECTORY})"
+                       done
+               fi
+               ;;
+
+       *)
+               echo "Usage: ${0} {add|remove}"
+               exit 1
+               ;;
+esac
diff --git a/conf/compcache b/conf/compcache
new file mode 100644 (file)
index 0000000..4e04878
--- /dev/null
@@ -0,0 +1 @@
+COMPCACHE_SIZE="50%"
diff --git a/conf/live-persistence.binds b/conf/live-persistence.binds
new file mode 100644 (file)
index 0000000..b2c3833
--- /dev/null
@@ -0,0 +1,15 @@
+# /etc/live-persistence.binds example
+#
+# If this file is present in the proper path, each uncommented not empty line
+# will be treated as a directory which should not be made persistent and
+# which it's content should be volatile.
+#
+# This is achieved by bind mounting on it a tmpfs clone of the directory specified
+
+# Exclude some standard temporary paths
+/tmp
+/var/log
+/var/cache
+
+# Firefox profiles are not always useful to remember
+/root/.mozilla
diff --git a/conf/live-snapshot.exclude_list b/conf/live-snapshot.exclude_list
new file mode 100644 (file)
index 0000000..82972e3
--- /dev/null
@@ -0,0 +1,17 @@
+# /etc/live-snapshot.exclude_list example
+#
+# If this file is present in the proper path, each uncommented not empty line
+# will be excluded in the target snapshot when live-snapshot is run.
+#
+# The syntax for the line is just a full file or directory pathname.
+
+# Each line is treated like a plain match string for "grep -F -v",
+# so be careful: e.g. "/tmp" will exclude also "/var/tmp" !
+
+# Exclude some standard temporary paths
+/tmp
+/var/log
+/var/cache
+
+# Firefox profiles are not always useful to remember
+/root/.mozilla
diff --git a/conf/live-snapshot.list b/conf/live-snapshot.list
new file mode 100644 (file)
index 0000000..db05733
--- /dev/null
@@ -0,0 +1,20 @@
+# /etc/live-snapshot resync list example
+#
+# If this file is present, each uncommented not empty line will be parsed when
+# running live-snapshot and included in target snapshot.
+#
+# The syntax for the line is just a full file or directory pathname.
+# Those files and directories, and only those will be included on automatic persistence handling.
+#
+# Note that in home-sn snapshot all those paths are treated as relative to /home
+
+# Include itself for reuse
+/etc/live-snapshot.list
+
+# Include networking setups
+/etc/network/interfaces
+/etc/resolv.conf
+/etc/hosts
+
+# Include the whole Desktop directory of the default user
+/home/user/Desktop
diff --git a/conf/live.conf b/conf/live.conf
new file mode 100644 (file)
index 0000000..93bf41d
--- /dev/null
@@ -0,0 +1,7 @@
+# /etc/live.conf - configuration file for live-boot(7)
+
+USERNAME="user"
+USERFULLNAME="Debian Live user"
+HOSTNAME="debian"
+
+export USERNAME USERFULLNAME HOSTNAME
diff --git a/contrib/languagelist b/contrib/languagelist
new file mode 100644 (file)
index 0000000..bf15b46
--- /dev/null
@@ -0,0 +1,96 @@
+#
+# This is the complete list of languages (locales) to choose from.
+# langcode;language (en);language (orig);supported_environments;countrycode;fallbacklocale;langlist;console-setup
+sq;Albanian;Shqip;2;AL;sq_AL.UTF-8;;console-setup
+am;Amharic;አማርኛ;4;ET;am_ET;;
+ar;Arabic;عربي;3;EG;ar_EG.UTF-8;;console-setup
+ast;Asturian;Asturianu;2;ES;ast_ES.UTF-8;;console-setup
+eu;Basque;Euskara;1;ES;eu_ES.UTF-8;;console-setup
+be;Belarusian;Беларуская;2;BY;be_BY.UTF-8;;console-setup
+bn;Bengali;বাংলা;4;BD;bn_BD;;
+bs;Bosnian;Bosanski;2;BA;bs_BA.UTF-8;;console-setup
+#X br;Breton;Brezhoneg;2;FR;br_FR.UTF-8;;console-setup
+bg;Bulgarian;Български;2;BG;bg_BG.UTF-8;;console-setup
+# For C locale, set language to 'en' to make sure questions are "translated"
+# to English instead of showing codes.
+C;C;No localization;0;;C;en;
+ca;Catalan;Català;1;ES;ca_ES.UTF-8;;console-setup
+# Special case for Chinese as the two flavours share the same ISO 639 code
+# Both will trigger countrychooser. Each will be the backup for the other
+# one
+zh_CN;Chinese (Simplified);中文(简体);3;CN;zh_CN.UTF-8;zh_CN:zh;
+zh_TW;Chinese (Traditional);中文(繁體);3;TW;zh_TW.UTF-8;zh_TW:zh;
+hr;Croatian;Hrvatski;2;HR;hr_HR.UTF-8;;console-setup
+cs;Czech;Čeština;2;CZ;cs_CZ.UTF-8;;console-setup
+da;Danish;Dansk;1;DK;da_DK.UTF-8;;console-setup
+nl;Dutch;Nederlands;1;NL;nl_NL.UTF-8;;console-setup
+dz;Dzongkha;རྫོང་ཁ།;4;BT;dz_BT;;
+en;English;English;0;US;en_US.UTF-8;;console-setup
+# The Esperanto locale is eo.UTF-8
+# so no country on purpose. The default country is Antarctica because...
+# ...why not..:-)
+eo;Esperanto;Esperanto;2;AQ;eo.UTF-8;;console-setup
+et;Estonian;Eesti;2;EE;et_EE.UTF-8;;console-setup
+fi;Finnish;Suomi;1;FI;fi_FI.UTF-8;;console-setup
+fr;French;Français;1;FR;fr_FR.UTF-8;;console-setup
+gl;Galician;Galego;1;ES;gl_ES.UTF-8;;console-setup
+ka;Georgian;ქართული;4;GE;ka_GE.UTF-8;;console-setup
+de;German;Deutsch;1;DE;de_DE.UTF-8;;console-setup
+el;Greek;Ελληνικά;2;GR;el_GR.UTF-8;;console-setup
+gu;Gujarati;ગુજરાતી;4;IN;gu_IN;;
+he;Hebrew;עברית;3;IL;he_IL.UTF-8;;console-setup
+hi;Hindi;हिन्दी ;4;IN;hi_IN;;
+hu;Hungarian;Magyar;2;HU;hu_HU.UTF-8;;console-setup
+#X is;Icelandic;Íslenska;1;IS;is_IS.UTF-8;;console-setup
+id;Indonesian;Bahasa Indonesia;1;ID;id_ID.UTF-8;;console-setup
+ga;Irish;Gaeilge;1;IE;ga_IE.UTF-8;;console-setup
+it;Italian;Italiano;1;IT;it_IT.UTF-8;;console-setup
+ja;Japanese;日本語;3;JP;ja_JP.UTF-8;;
+#X kn;Kannada;ಕನ್ನಡ;4;IN;kn_IN;;
+#X ks;Kashmiri;कोशुर;4;IN;ks_IN;;
+kk;Kazakh;Қазақ;2;KZ;kk_KZ.UTF-8;;console-setup
+km;Khmer;ខ្មែរ;4;KH;km_KH;;
+ko;Korean;한국어;3;KR;ko_KR.UTF-8;;
+ku;Kurdish;Kurdî;2;TR;ku_TR.UTF-8;;console-setup
+#X ky;Kirghiz;Кыргызча;2;KG;ky_KG;;console-setup
+#X lo;Lao;ລາວ;4;LA;lo_LA;;console-setup
+lv;Latvian;Latviski;2;LV;lv_LV.UTF-8;;console-setup
+lt;Lithuanian;Lietuviškai;2;LT;lt_LT.UTF-8;;console-setup
+#X mg;Malagasy;Malagasy;1;MG;mg_MG.UTF-8;mg_MG:fr_FR:fr:en;console-setup
+#X ms;Malay;Bahasa Malaysia;1;MY;ms_MY.UTF-8;;console-setup
+ml;Malayalam;മലയാളഠ;4;IN;ml_IN;;
+mr;Marathi;मराठी;4;IN;mr_IN;;
+mk;Macedonian;Македонски;2;MK;mk_MK.UTF-8;;console-setup
+ne;Nepali;नेपाली ;4;NP;ne_NP;;
+# The Sami translation is really incomplete. We however keep Sami on request
+# of Skolelinux as a kind of reward to them..:-). They need to be able to
+# choose Sami as an option so that the Sami locale is set as default
+se_NO;Northern Sami;Sámegillii;1;NO;se_NO.UTF-8;se_NO:nb_NO:nb:no_NO:no:nn_NO:nn:da:sv:en;console-setup
+nb_NO;Norwegian Bokmaal;Norsk bokmål;1;NO;nb_NO.UTF-8;nb_NO:nb:no_NO:no:nn_NO:nn:da:sv:en;console-setup
+nn_NO;Norwegian Nynorsk;Norsk nynorsk;1;NO;nn_NO.UTF-8;nn_NO:nn:no_NO:no:nb_NO:nb:da:sv:en;console-setup
+#X fa;Persian;فارسی;3;IR;fa_IR;;console-setup
+pl;Polish;Polski;2;PL;pl_PL.UTF-8;;console-setup
+pt;Portuguese;Português;1;PT;pt_PT.UTF-8;pt:pt_BR:en;console-setup
+pt_BR;Portuguese (Brazil);Português do Brasil;1;BR;pt_BR.UTF-8;pt_BR:pt:en;console-setup
+pa;Punjabi (Gurmukhi);ਪੰਜਾਬੀ;4;IN;pa_IN;;
+ro;Romanian;Română;2;RO;ro_RO.UTF-8;;console-setup
+ru;Russian;Русский;2;RU;ru_RU.UTF-8;;console-setup
+#X sa;Sanskrit;संस्कृत;4;IN;sa_IN;;
+#X si;Sinhala;සිංහල;4;IN;si_IN;;
+sr;Serbian;Српски;2;RS;sr_RS;;console-setup
+sk;Slovak;Slovenčina;2;SK;sk_SK.UTF-8;;console-setup
+sl;Slovenian;Slovenščina;2;SI;sl_SI.UTF-8;;console-setup
+es;Spanish;Español;1;ES;es_ES.UTF-8;;console-setup
+sv;Swedish;Svenska;1;SE;sv_SE.UTF-8;;console-setup
+tl;Tagalog;Tagalog;1;PH;tl_PH.UTF-8;;console-setup
+ta;Tamil;தமிழ்;4;IN;ta_IN;;
+#X te;Telugu;తెలుగు;4;IN;te_IN;;
+th;Thai;ภาษาไทย;4;TH;th_TH.UTF-8;;console-setup
+tr;Turkish;Türkçe;2;TR;tr_TR.UTF-8;;console-setup
+uk;Ukrainian;Українська;2;UA;uk_UA.UTF-8;;console-setup
+#X ur;Urdu;اردو;3;PK;ur_PK.UTF-8;;console-setup
+#X ca@valencia;Valencian-Catalan;Valencià-Català;1;ES;ca_ES.UTF-8@valencia;;console-setup
+vi;Vietnamese;Tiếng Việt;3;VN;vi_VN;;console-setup
+cy;Welsh;Cymraeg;2;GB;cy_GB.UTF-8;;console-setup
+wo;Wolof;Wolof;2;SN;wo_SN;wo:fr:en;
+#X xh;Xhosa;Xhosa;2;ZA;xh_ZA.UTF-8;;console-setup
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..0151b41
--- /dev/null
@@ -0,0 +1,5 @@
+live-boot (2.0~a1-1) experimental; urgency=low
+
+  * Initial release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 24 May 2010 10:46:39 +0200
diff --git a/debian/changelog.old b/debian/changelog.old
new file mode 100644 (file)
index 0000000..508db1d
--- /dev/null
@@ -0,0 +1,1167 @@
+live-initramfs (1.236.2-1) unstable; urgency=medium
+
+  * Removing spurious '+' when making debconf db read-only (Closes:
+    #581808).
+
+ -- Daniel Baumann <daniel@debian.org>  Tue, 18 May 2010 06:51:31 +0200
+
+live-initramfs (1.236.1-1) unstable; urgency=low
+
+  * Merging casper 1.216.
+  * Merging casper 1.217.
+  * Merging casper 1.218.
+  * Merging casper 1.219.
+  * Merging casper 1.220.
+  * Merging casper 1.221.
+  * Merging casper 1.222.
+  * Merging casper 1.223.
+  * Merging casper 1.224.
+  * Merging casper 1.225.
+  * Merging casper 1.226.
+  * Merging casper 1.227.
+  * Merging casper 1.228.
+  * Merging casper 1.229.
+  * Merging casper 1.230.
+  * Merging casper 1.231.
+  * Merging casper 1.232.
+  * Merging casper 1.233.
+  * Merging casper 1.234.
+  * Merging casper 1.235.
+  * Merging casper 1.236.
+
+ -- Daniel Baumann <daniel@debian.org>  Sun, 16 May 2010 06:03:01 +0200
+
+live-initramfs (1.215.1-1) unstable; urgency=low
+
+  [ Daniel Baumann ]
+  * Merging casper 1.200.
+  * Merging casper 1.201.
+  * Merging casper 1.202.
+  * Merging casper 1.203.
+  * Merging casper 1.204.
+  * Merging casper 1.205.
+  * Merging casper 1.206.
+  * Merging casper 1.207.
+  * Merging casper 1.208.
+  * Merging casper 1.209.
+  * Merging casper 1.210.
+  * Merging casper 1.211.
+  * Merging casper 1.212.
+  * Merging casper 1.213.
+  * Merging casper 1.214.
+  * Merging casper 1.215.
+
+  [ Steven Shiau ]
+  * No timeout as running ipconfig for network booting.
+
+ -- Daniel Baumann <daniel@debian.org>  Sun, 02 May 2010 15:52:01 +0200
+
+live-initramfs (1.199.1-1) unstable; urgency=low
+
+  * Updating maintainer field.
+  * Merging casper 1.178.
+  * Merging casper 1.179.
+  * Merging casper 1.180.
+  * Merging casper 1.181.
+  * Merging casper 1.182.
+  * Merging casper 1.183.
+  * Merging casper 1.184.
+  * Merging casper 1.185.
+  * Merging casper 1.186.
+  * Merging casper 1.187.
+  * Merging casper 1.188.
+  * Merging casper 1.189.
+  * Merging casper 1.190.
+  * Merging casper 1.191.
+  * Merging casper 1.192.
+  * Merging casper 1.193.
+  * Move dummy start target in initscript.
+  * Merging casper 1.194.
+  * Merging casper 1.195.
+  * Merging casper 1.196.
+  * Merging casper 1.197.
+  * Merging casper 1.198.
+  * Merging casper 1.199.
+
+ -- Daniel Baumann <daniel@debian.org>  Fri, 30 Apr 2010 19:19:23 +0200
+
+live-initramfs (1.177.2-1) unstable; urgency=low
+
+  [ Marco Amadori ]
+  * Do not specify 'noxino' between directories.
+
+  [ Michael Prokop ]
+  * Support bootoptions ethdevice and ethdevice-timeout for specifying
+    from which device you want to boot from and using which timeout
+    (being 30 seconds if unconfigured), if ethdevice is not specified
+    try to get a working network configuration for each existing network
+    device.
+  * Prefer removable devices over non-removable devices, so scan them
+    first.
+  * Support unusual device names like /dev/cciss/c0d0p1 in isofrom
+    bootoption.
+  * Do not leak modprobe options to avoid booting errors with kernel
+    options like libata.dma=0.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 05 Apr 2010 10:07:12 +0200
+
+live-initramfs (1.177.1-1) unstable; urgency=low
+
+  [ Daniel Baumann ]
+  * Removing etch compatibility.
+  * Merging casper 1.174.
+  * Adding proper code comments about vol_id removal.
+  * Merging casper 1.175.
+
+  [ Steven Shiau ]
+  * Making select_eth_device work with 2nd NIC linked only and FETCH
+    assigned.
+  * Moving select_eth_device from init-premount to live-premount where
+    "udevadm" commands are not required.
+
+  [ Daniel Baumann ]
+  * Merging casper 1.176.
+  * Merging casper 1.177.
+  * Adding message to notify users when live-initramfs is falling back
+    to unionfs-fuse.
+  * Manually loading fuse when required.
+
+ -- Daniel Baumann <daniel@debian.org>  Wed, 17 Mar 2010 20:29:01 +0100
+
+live-initramfs (1.173.5-1) unstable; urgency=low
+
+  [ Daniel Baumann ]
+  * Updating contact information in copyright file.
+  * Simplyfing initramfs triggers (Closes: #521129, #545842).
+  * Wrapping fields in control file.
+  * Using minimized rules file.
+  * Simplifying wording in bug-presubj file.
+
+  [ Andreas Teuchert ]
+  * Calling udevadm settle in scripts/init-premount/select_eth_device
+    (Closes: #570100).
+
+  [ Tanguy Ortolo ]
+  * Also respecting persistent-path parameter for snapshots (Closes:
+    #570162).
+
+ -- Daniel Baumann <daniel@debian.org>  Sun, 14 Mar 2010 23:27:57 +0100
+
+live-initramfs (1.173.4-1) unstable; urgency=low
+
+  * Only disabling kpersonalizer when using kde3, kde4 doesn't need that
+    hack.
+  * Correcting path in previous commit.
+  * Disabling kaboom (Closes: #556368).
+
+ -- Daniel Baumann <daniel@debian.127011.localhost>  Fri, 12 Mar 2010 18:21:00 +0100
+
+live-initramfs (1.173.3-1) unstable; urgency=low
+
+  * Using noxino instead of xino, as the latter is not supported by
+    aufs2 as we need to use it.
+
+ -- Daniel Baumann <daniel@debian.org>  Sat, 20 Feb 2010 16:16:46 +0100
+
+live-initramfs (1.173.2-1) unstable; urgency=low
+
+  [ Daniel Baumann ]
+  * Updating homepage field in control.
+
+  [ amnesia ]
+  * Correcting live-media=removeable{,-usb} behaviour to match the
+    documented one.
+
+  [ Daniel Baumann ]
+  * Removing unionfs workaround for kernel versions << 2.6.22, not
+    usefull anymore.
+  * Mounting aufs layer with detached inode index, this solves the
+    'leaving unclean filesystem when using persistency' problem.
+  * Removing unused syncs in initscript.
+
+  [ Luigi Capriotti ]
+  * Skip loading usb modules when quickusbmodules parameter is
+    specified.
+
+ -- Daniel Baumann <daniel@debian.org>  Sat, 20 Feb 2010 11:55:41 +0100
+
+live-initramfs (1.173.1-1) unstable; urgency=medium
+
+  [ intrigeri ]
+  * Taking noprompt into account for USB flash drives as well.
+  * Restoring opt-in behavior for local swap partitions.
+
+  [ Daniel Baumann ]
+  * Updating package to debhelper 7.
+  * Updating package to standards 3.8.3.
+  * Don't use dh_clean in favour of dh_prep.
+
+  [ Luigi Capriotti ]
+  * Also allowing hook= to specify files inside the image through
+    file:// prefix.
+
+  [ Daniel Baumann ]
+  * Forwardporting and extending usage of rsync when booting with toram
+    based on a patch from Michael Prokop <mika@grml.org>.
+
+  [ Michael Prokop ]
+  * Adding support for isofrom/fromiso bootoption.
+
+  [ Daniel Baumann ]
+  * Adapting a patch from Michael Prokop <mika@grml.org> to set all
+    harddisk devices to read-only mode for forensics investigations.
+
+  [ Michael Prokop ]
+  * Adding support for ethdevice bootoption.
+
+  [ Daniel Baumann ]
+  * Merging casper 1.158.
+  * Merging casper 1.159.
+  * Merging casper 1.160.
+  * Merging casper 1.161.
+  * Merging casper 1.162.
+  * Merging casper 1.163.
+  * Merging casper 1.164.
+  * Merging casper 1.165.
+  * Merging casper 1.166.
+  * Merging casper 1.167.
+  * Merging casper 1.168.
+  * Merging casper 1.169.
+  * Merging casper 1.170.
+  * Merging casper 1.171.
+  * Merging casper 1.172.
+  * Merging casper 1.173.
+  * Adding skipconfig parameter to disable most customization.
+
+  [ Marco Amadori ]
+  * cpio snapshots: eval commands fix.
+
+  [ Daniel Baumann ]
+  * Updating defaults file of console-setup for squeeze, thanks to Jun
+    NOGATA <nogajun@gmail.com> (Closes: #560187).
+  * Adding explicit debian source version 1.0 until switch to 3.0.
+  * Adding select_eth_device script from Frederic Boiteux
+    <fboiteux@calistel.com>.
+  * Including rsync conditionally.
+  * Updating year in copyright file.
+  * Don't panic with persistency when we can't correctly mount the
+    filesystem (Closes: #565456).
+
+  [ Ben Armstrong ]
+  * Correcting keyboard handling for squeeze.
+  * Only edit usplash init script if it exists.
+  * Use klayout= for layout instead of kbd=.
+
+  [ Daniel Baumann ]
+  * Updating to standards version 3.8.4.
+
+ -- Daniel Baumann <daniel@debian.org>  Sun, 31 Jan 2010 16:44:08 +0100
+
+live-initramfs (1.157.4-2) unstable; urgency=high
+
+  [ Michael Prokop ]
+  * Avoid the use of fstype in a running live system, as it's
+    a executable and not a shell function and causes problems
+    for example within live-snapshot.
+  * Switch from vol_id to blkid if using udev >=146-1 (Closes: #555529).
+
+  [ Tzafrir Cohen ]
+  * Adjusting grep call in is_nice_device to match new output of vol_id.
+
+ -- Daniel Baumann <daniel@debian.org>  Sat, 21 Nov 2009 19:07:41 +0100
+
+live-initramfs (1.157.4-1) unstable; urgency=medium
+
+  [ Daniel Baumann ]
+  * Forcing run of dexconf when booting with xdriver=dexconf.
+  * Adding (experimental) forcepersistentfsck bootoption to force fsck
+    on root persistency device.
+  * Adding presubj for reportbug.
+  * Removing unused sed call in update target of Makefile.
+  * Updating included languagelist from d-i.
+  * Correcting install calls for reportbug files in rules.
+  * Including d-i languagelist in initrd in order evaluate l10n
+    settings.
+  * Updating lang2locale(); to match new d-i langualgelist format.
+  * Adding additional two sync calls before powerof happens in order to
+    deal with 'does not cleanly unmount' problem when using root
+    persistency.
+  * Updating vcs fields.
+  * Adding auto value for xvideomode where we ensure that no
+    configuration from the persistency layer is respected.
+
+  [ Marco Amadori ]
+  * Fixed FIXME sections in manpages.
+
+  [ Daniel Baumann ]
+  * Including udev binaries in initramfs manually for squeeze and newer
+    (Closes: #547149).
+  * Applying patch from Holger Brunn <holger.brunn@web.de> to live-
+    media-path when toram is used (Closes: #534878).
+  * Simplyfing and correcting udev inclusion in initramfs hook.
+
+ -- Daniel Baumann <daniel@debian.org>  Sun, 18 Oct 2009 20:29:31 +0200
+
+live-initramfs (1.157.3-1) unstable; urgency=low
+
+  [ Daniel Baumann ]
+  * Initial commit for having support for swapfiles.
+  * Initial commit for having support for persistency on luks.
+
+  [ Marco Amadori ]
+  * Partition snapshots works again.
+  * Added "whole partition" snapshot resync type.
+  * Two return code consistency fix.
+  * Improved an useful debug string.
+  * Cleaned a bit the snapshot feature.
+
+  [ Steven Shiau ]
+  * Making fetch to work with file on sub dir on tftp server.
+
+  [ Daniel Baumann ]
+  * Avoiding echo bashism in live-initramfs.init by using printf instead
+    (Closes: #530128).
+  * Correcting wrong path when disabling anacron in 25configure_init,
+    thanks to Rui Bernardo <rui.bernardo.pt@gmail.com> (Closes:
+    #533046).
+  * Removing disabling of postfix in 25configure_init, it's not
+    appropriate for debian to do this by default. Thanks to Rui Bernardo
+    <rui.bernardo.pt@gmail.com>.
+  * Correcting typo in description of the ip boot parameter in live-
+    initramfs manpage, thanks to Philippe Leledy <debian@leledy.fr>
+    (Closes: #532471).
+
+  [ Marco Amadori ]
+  * Removed two bashisms on live-snapshot.
+
+  [ Daniel Baumann ]
+  * Correcting wrong abort logic in 21xdriver, thanks to Luigi Capriotti
+    <l.capriotti@xbmc.org>.
+
+  [ Luigi Capriotti ]
+  * Fixing possible invalid results from function where_is_mounted by
+    returning more than one line inwhere_is_mounted();.
+  * Fixing relaxed permissions of / in the live filesystem.
+  * Fixing invalid mangling of /etc/event.d/tty.
+  * Fixing typo in snapshot file list.
+
+  [ Daniel Baumann ]
+  * Correcting cryptsetup calls for persistency on luks.
+  * Copy live-installer-launcher desktop icon on users desktop.
+  * Also updating USB device detection in initramfs script for linux
+    2.6.29 and newer.
+  * Adding missing pipe in cryptsetup call for persistency on luks
+    partitions.
+  * Making plainroot work (Closes: #523120).
+
+  [ Marco Amadori ]
+  * persistent=nofiles fix (Closes: 522383).
+
+  [ Daniel Baumann ]
+  * Looking for persistency partitions on luks devices only if we boot
+    with persistent=cryptsetup.
+  * Fail early in gnome-panel-data bottom script if gnome-panel-data is
+    not installed.
+  * Optimizing gnome-panel-data bottom script by leaving out the stupid
+    things.
+
+  [ Richard Nelson ]
+  * Allow for multiple but unique persistent media.
+
+ -- Daniel Baumann <daniel@debian.org>  Fri, 04 Sep 2009 13:37:57 +0200
+
+live-initramfs (1.157.2-1) unstable; urgency=medium
+
+  * Correcting fstab handling to not always append entries forever when using
+    persistency.
+  * Correcting kdm live-autologin handling to not always append entries forever
+    when using persistency.
+  * Correcting handling of locale default and environment handling to not always
+    append entries forever when using persistency.
+  * Correcting swap partition handling in fstab to not always append entries
+    forever when using persistency.
+  * Applying patch from Michael Prokop <mika@grml.org> to support udev >= 0.140.
+  * Merging swap live-bottom script into fstab script; there is no other sane
+    possibility to prevent appending again and again in persistent mode.
+  * Making sure that old swap entries are removed before new ones are added.
+  * Adding cryptsetup to recommends, it's used for encrypted persistent
+    partitions.
+  * Restoring previous behaviour of ejecting the cd when being in non-persistent
+    mode, thanks to Julien Cristau <jcristau@debian.org>.
+  * Updating eject prevention for USB devices in initscripts for linux 2.6.29
+    and newer.
+
+ -- Daniel Baumann <daniel@debian.org>  Thu, 14 May 2009 10:00:00 +0200
+
+live-initramfs (1.157.1-1) unstable; urgency=medium
+
+  [ Daniel Baumann ]
+  * Only snapshotting in initscript when we actually run with persistence.
+
+  [ Rene Mayrhofer ]
+  * Checking if /var/log is writable before trying to copy live.log to the newly
+    mounted root filesystem (Closes: #516914).
+
+  [ Daniel Baumann ]
+  * Improving check in 21xdriver when we don't do anything.
+  * Adding hack to remove live specific filesystems from umounfs initscript
+    (Closes: #506410, #515718).
+  * Adding comsetic line wrapping for output of local-gen messages during boot.
+  * Merging casper 1.157.
+  * Only calling install-keymap if it's actually installed, which is always but
+    in minimal images the case though (Closes: #517153).
+  * Adding silent boot parameter.
+  * Respecting media timeout even when specificing media device manually.
+  * Also allowing to use the removable keyword for specifying a live media.
+  * Correcting accidental syntax error in one of the previous commits in
+    19keyboard bottom script.
+  * Adding removable-usb keyword to further restrict live media selection.
+  * Correcting check for usb when using removable-usb keyword.
+  * Correcting typo in locale bottom script.
+
+ -- Daniel Baumann <daniel@debian.org>  Sat, 21 Mar 2009 14:00:00 +0100
+
+live-initramfs (1.156.1-1) unstable; urgency=high
+
+  [ Daniel Baumann ]
+  * Revert using debhelper 7 command in rules.
+  * Updating copyright file.
+  * Prefixing debhelper files with package name.
+  * Updating bug script.
+  * Removing bashism in initscript.
+  * Usage of dialog in initscript is not actually a todo.
+  * Correcting medium eject message in initscript.
+  * Making medium removal message working again with usplash.
+  * Rewrapping init script.
+  * Reordering rules file.
+  * Merging casper 1.155.
+  * Adding ext4 support.
+  * Merging casper 1.156.
+  * Correct eject login in initscript.
+  * Updating parameters.txt.
+
+  [ Ronny Standtke ]
+  * Do not eject USB flash drives (Closes: #457070).
+
+ -- Daniel Baumann <daniel@debian.org>  Sun,  8 Feb 2009 15:00:00 +0100
+
+live-initramfs (1.154.8-1) unstable; urgency=high
+
+  [ Kai Hendry ]
+  * Adding basic xrandr support for lenny to enforce a particular
+    resolution through bootparameter.
+
+ -- Daniel Baumann <daniel@debian.org>  Fri, 30 Jan 2009 00:00:00 +0100
+
+live-initramfs (1.154.7-1) unstable; urgency=medium
+
+  * Adding note about URL limitations in live-initramfs manpage when
+    using fetch parameter.
+  * Removing wc from hook again, that's an ubuntu only problem they have
+    to care about.
+
+ -- Daniel Baumann <daniel@debian.org>  Tue, 27 Jan 2009 18:00:00 +0100
+
+live-initramfs (1.154.6-1) unstable; urgency=medium
+
+  * Replacing casper with live in live-new-uuid.
+  * Including wc in initramfs (Closes: #512413).
+  * Added missing variable quoting that lead to broken root persistence, thanks
+    to Thierry Walrant <debian.tgc@walrant.net> (Closes: #512656).
+  * Adding patch from Thierry Walrant <debian.tgc@walrant.net> to allow setting
+    a path for the persistence files through persistent-path boot parameter
+    (Closes: #512661).
+  * Adding persistent-path to parameter list and manpage.
+  * Actually building/cleaning manpages through targets in Makefile.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 26 Jan 2009 02:00:00 +0100
+
+live-initramfs (1.154.5-1) unstable; urgency=low
+
+  * Also checking for wicd in 23networking, thanks to Ben Armstrong
+    <synrg@debian.org>.
+  * Don't redirect output of fstype detection to standard out, thanks to Ronny
+    Standtke <Ronny.Standtke@gmx.net>.
+  * Silencing grep call on /etc/passwd.
+  * Silencing xorg reconfiguration, thanks to Ronny Standtke
+    <Ronny.Standtke@gmx.net>.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 12 Jan 2009 13:00:00 -0500
+
+live-initramfs (1.154.4-1) unstable; urgency=low
+
+  [ Rene Mayrhofer ]
+  * Support further checks on loopback image and support skipping union
+    mounts (Closes: #509446).
+
+ -- Daniel Baumann <daniel@debian.org>  Fri, 26 Dec 2008 09:00:00 +0100
+
+live-initramfs (1.154.3-1) unstable; urgency=medium
+
+  * Sourcing live.vars in 21xdriver and 21xvidemode in order to be able
+    to set variables in previous bottom scripts.
+
+ -- Daniel Baumann <daniel@debian.org>  Sat, 20 Dec 2008 15:00:00 +0100
+
+live-initramfs (1.154.2-1) unstable; urgency=medium
+
+  [ Daniel Baumann ]
+  * Updating authors file.
+
+  [ Marco Amadori ]
+  * Reworked integrity-check (Closes: #507477).
+  * Cleaned the boot log a bit.
+
+ -- Daniel Baumann <daniel@debian.org>  Thu, 11 Dec 2008 06:00:00 +0100
+
+live-initramfs (1.154.1-1) unstable; urgency=low
+
+  * Merging casper 1.140-1.154.
+  * Add a warning message when no image can be found.
+  * Adding a panic message when we netboot and have no supported network
+    device (Closes: #496684).
+  * Turning 'no supported filesystem images found' into a panic message,
+    rather than a warning.
+  * Also adding ralink to network device check.
+  * Removing spurious 'livefs_root' in copy_live_to();.
+
+ -- Daniel Baumann <daniel@debian.org>  Tue, 25 Nov 2008 12:00:00 +0100
+
+live-initramfs (1.139.1-4) unstable; urgency=medium
+
+  [ Chris Lamb ]
+  * Remove (accidental?) debian/changelog entry.
+  * Use "grep -qs" over "grep -q" for compatibility (see grep(1))
+  * Use "test -s" instead of testing file availability and size.
+  * Be consistent in using 0/1 for True/False values instead of English
+    representations.
+  * Reflow some grammar in comments and in live-initramfs(7).
+  * Reflow long 'tr'-based pipelines for readability.
+  * Don't "cat |" to grep.
+
+  [ Daniel Baumann ]
+  * Replacing obsolete dh_clean -k with dh_prep.
+
+  [ Marco Amadori ]
+  * Changed HOSTNAME and /etc/hosts handling.
+  * Conditional creation of /etc/fstab.
+  * live-snapshot: fixed include-list handling.
+  * Reordered persistence lookups and boundaries (Closes: #500672).
+  * Search for partition labels only (Closes: #486469).
+  * Implemented a snapshot exclude list.
+  * Implemented a persistence exclude list.
+  * Manpage clarifications on "nofiles".
+  * Do not pollute the logs when looking for swap partitions.
+  * Removed all "cat | grep", with grep, awk and sed.
+
+ -- Daniel Baumann <daniel@debian.org>  Tue, 11 Nov 2008 13:00:00 +0100
+
+live-initramfs (1.139.1-3) unstable; urgency=medium
+
+  [ Chris Lamb ]
+  * Remove local overiddes of log_*_msg - #494257 is now fixed in testing.
+
+  [ Daniel Baumann ]
+  * Removing currently unused Upstream-Depends field in control.
+  * Updating vcs fields in control file.
+  * Sourcing live.vars in 15autologin directly, rather than to inherit
+    from live-functions.
+
+  [ Marco Amadori ]
+  * Removed some useless spaces.
+  * Fix default user handling.
+  * Added a pretty vital mount debug string.
+  * Create /etc/mtab on the initramfs ASAP.
+  * Removed mount -n option, since mtab is there.
+  * Re-enable "break=live-premount" debug.
+  * Skipped some runtime duplicated execution.
+  * Add real cpio to initramfs for snapshot's uses.
+  * Fixed try_snap() umounting on error.
+  * Override maybe_break from initramfs-tools.
+  * Forces use of initramfs cpio over busybox's one.
+  * Fixed a wrong trial to copy an unexistant snapshot.
+  * Check for files and umount only if you can mount it first.
+  * Included more debug and comments on persistence code.
+  * Set -u in live-snapshot only in debug mode.
+
+  [ Michael Prokop ]
+  * Ignore errors from fstype.
+
+ -- Daniel Baumann <daniel@debian.org>  Fri, 19 Sep 2008 14:00:00 +0200
+
+live-initramfs (1.139.1-2) unstable; urgency=medium
+
+  [ Daniel Baumann ]
+  * If the filesystem type of the rootfs cannot be automatically detected, we
+    try to assume it from the extension of the imagefile we have found. Thanks
+    to Jordi Pujol <jordi_pujol@telefonica.net> (Closes: #460456).
+  * Setting project email address to the new debian-live@lists.debian.org.
+  * Disabling default usage of local swap partitions. Can be enabled with the
+    'swapon' boot parameter. Thanks to Joseph Rawson <umeboshi3@gmail.com> for
+    bringing it up.
+
+  [ Michal Suchanek ]
+  * Enabling the "remove CD" prompt in splashy.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon,  1 Sep 2008 00:00:00 +0200
+
+live-initramfs (1.139.1-1) unstable; urgency=medium
+
+  [ Ben Voui ]
+  * Adding support for Virtio vd[a-z] drives.
+
+  [ Chris Lamb ]
+  * Move loop-aes-tools to Suggests; live-helper should install them if
+    required.
+  * Remove unnecessary indentation level.
+  * Modify hiding of harmless X.org reconfiguring messages.
+  * Revert to using uid 1000 as PAM bug seems to have disappeared
+    (Closes: #433076)
+  * Hide error from attempting to "mount --move"
+  * Rework ugly `echo "debug:..` message to use log_{begin,end}_msg.
+  * Don't configure X.org if it's not installed.
+  * Fix check for X.org.
+  * Add an /etc/fstab to the initramfs to silence harmless "empty fstab"
+    warnings.
+  * Silence another "script-not-executable" message for a sourced library.
+  * Add missing pipe. Thanks to Andreas Bombe.
+  * Shamefully adding myself to CREDITS
+  * Tidy "Disabling update-initramfs" message.
+  * Re-order some commands so we don't call log_begin_msg without calling
+    log_end_msg.
+  * Don't configure X when /usr/bin/X does not exist.
+  * Silence 'script-not-executable' lintian warning - live-functions script is
+    always sourced.
+  * Fix spacing in swirl.
+  * Override log_*_msg to print nicer status text (until #494257 is merged).
+  * Hide "overwriting possibly-customised configuration file" in X.org setup
+    output.
+  * Hide "Shadow passwords are now on" status message on bootup.
+  * Remove a number of "${quiet}" checks - they are repeated in the log_*_msg
+    functions.
+  * Rework locale handling
+  * Print friendly error message on live-initramfs panic.
+  * Fix path issue with live-preseed causing noisy errors when booting.
+  * Silence a number of annoying and distracting bootup messages.
+  * Add missing "log_end_msg" to live-bottom/21xdriver.
+  * Set different log messages for live-bottom/21{xdriver,xvidemode}.
+  * Remove trailing "..." from calls to log_begin_msg - they get added anyway.
+  * Move some arch-indep helper utilities to Build-Depends-Indep.
+  * Set default cow_mountopt where the other defaults are used.
+  * Don't use /sbin/losetup to test for '-r' option when the scripts just use
+    "lostup"
+
+  [ Daniel Baumann ]
+  * Updating authors file.
+  * Merging casper 1.139.
+  * Not going over the top with exclamation marks in the panic message.
+  * Updating credits file.
+  * Slightely adjusting to the more widespread used ascii swirl.
+  * Merging casper 1.138.
+  * Merging casper 1.137.
+
+  [ Marco Amadori ]
+  * Added "-n" option to all mount commands, thanks to Peter Holik
+    <peter@holik.at> for pointing this out.
+  * Be sure that the discovered filesystem is not null.
+  * The list of supported filesytems goes dynamic.
+  * Added ntfs filesystem to the initramfs.
+
+  [ Michael Prokop ]
+  * Move sourcing of live-functions in 38disable_restricted_manager to correct
+    place.
+
+  [ Steven Shiau ]
+  * Adding support for using tftp in fetch= parameter.
+  * Another fix about using udevsettle or "udevadm settle".
+
+ -- Daniel Baumann <daniel@debian.org>  Sun, 24 Aug 2008 00:00:00 +0200
+
+live-initramfs (1.136.3-1) unstable; urgency=medium
+
+  [ Michael Prokop ]
+  * Make sure mounting /cow-tmpfs provides mount options.
+
+ -- Daniel Baumann <daniel@debian.org>  Fri, 18 Jul 2008 00:00:00 +0200
+
+live-initramfs (1.136.2-1) unstable; urgency=medium
+
+  * Replacing previous imperfect changes for udevadm with check for
+    udevadm and using old commands when beeing on etch. Also handling
+    udevtrigger with udevadm if available.
+  * Correcting httpfs2 inclusion in hook.
+
+ -- Daniel Baumann <daniel@debian.org>  Wed, 16 Jul 2008 00:00:00 +0200
+
+live-initramfs (1.136.1-1) unstable; urgency=medium
+
+  [ Chris Lamb ]
+  * Fix call to log_warning_msg. Thanks to Bradley Smith
+    <brad@brad-smith.co.uk>.
+  * Expand glob for kernels in post{inst,rm} to include "vmlinux"-prefixed
+    kernels on powerpc.
+  * Check losetup capabilities before specifying to mount as read-only.
+  * Modprobe 'esp' SCSI driver for the benefit of sparc.
+  * Quieten call to modprobe ide-generic.
+  * Move local-top/live to live-premount/modules so it gets called before
+    find_livefs.
+  * Sync bug script "dpkg -l" calls with debian/control
+
+  [ Daniel Baumann ]
+  * Defaulting now to aufs if no union= parameter is given.
+  * Merging casper version 1.136.
+  * Merging casper version 1.135.
+  * Merging casper version 1.134.
+  * Merging casper version 1.133.
+  * Converting udev depends into a versioned depends in order to reflect udevadm
+    introduction.
+  * Updating live-snapshot to GPL-3+.
+  * Updating to standards 3.8.0.
+  * Renaming forgotton uuid file to live-uuid.
+
+  [ Marco Amadori ]
+  * udevtrigger replacement.
+  * live-snapshot: fixed the remount helper.
+  * live-snapshot: now supports a static keep file list.
+  * Try to bind /cow to /live/cow if unable to move.
+  * live-snapshot: cleaned some wordings.
+  * live-snapshot: included vital informations on exit.
+  * live-snapshot: new "--refresh" option.
+  * live-snapshot: cleaned and sorted used command line defaults.
+  * live-snapshot: nicer default auto unmount logic.
+  * live-snapshot: honour "-o|--output FILE".
+  * live-snapshot: removed a useless mkdir.
+  * live-snapshot: removed an unused and useless function.
+  * live-snapshot: fixes snapshotting from resync string.
+
+  [ Michal Suchanek ]
+  * Add support for httpfs= and ftpfs= parameters.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 14 Jul 2008 00:00:00 +0200
+
+live-initramfs (1.132.1-1) unstable; urgency=medium
+
+  [ Chris Lamb ]
+  * Don't escape asterisks in languagelist update code
+
+  [ Daniel Baumann ]
+  * Updating copyright header in live-snapshot.
+  * Removing useless whitespaces and empty lines.
+  * Correcting grammatical errors in live-snapshot description.
+  * Removing live-snapshot version as this component is always released
+    within live-initramfs itself.
+  * Adding Michal Suchanek <hramrach@centrum.cz> to credits file.
+  * Merging casper 1.132.
+  * Merging casper 1.131.
+  * Ignoring floppy devices for live filesystem as well as live
+    persistency.
+  * Adding patch from Michal Suchanek <hramrach@centrum.cz> to tail
+    live.log and show its messages during boot (Closes: #440238).
+  * Updating vcs fields in control file.
+  * Handling conflicting klibc includes with initramfs-hooks of other
+    packages (Closes: 475783).
+
+  [ Marco Amadori ]
+  * Fixes "live-snapshot on reboot could not find a writable '/tmp' or
+    '/mnt'" bug.
+  * Calling live-snapshot now produces an output file.
+
+  [ Michal Suchanek ]
+  * Workaround loop-aes-utils losetup incompatibility
+  * Fix toram (change mount --move to mount -o move)
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 02 Jun 2008 00:00:00 +0200
+
+live-initramfs (1.130.1-3) unstable; urgency=high
+
+  * Handle non-existing klibc includes in live hook (Closes: #475783).
+  * Adding loop-aes-utils to recommends.
+
+ -- Daniel Baumann <daniel@debian.org>  Sat, 26 Apr 2008 16:00:00 +0200
+
+live-initramfs (1.130.1-2) unstable; urgency=medium
+
+  [ Chris Lamb ]
+  * Remove bogus dependency on Ubuntu "localechooser-data" package
+
+ -- Daniel Baumann <daniel@debian.org>  Thu, 17 Apr 2008 06:00:00 +0200
+
+live-initramfs (1.130.1-1) unstable; urgency=medium
+
+  [ Chris Lamb ]
+  * Use triggers when calling update-initramfs in postinst and postrm
+
+  [ Daniel Baumann ]
+  * Sorting some lines in live hook.
+  * Merging casper 1.130.
+  * Merging casper 1.129.
+  * Adjusting code formating in maintainer scripts.
+  * Restricting counting of installed kernels based on /boot/vmlinuz-*
+    instead of /boot/vmlinuz*.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 14 Apr 2008 00:00:00 +0200
+
+live-initramfs (1.128.1-1) unstable; urgency=medium
+
+  [ Marco Amadori ]
+  * Fixed a misleading debug message.
+  * Added /cow mounting debug messages.
+  * Fixed /cow mounting.
+  * Klibc: added some libraries to the intramfs.
+
+  [ Daniel Baumann ]
+  * Merging casper 1.128.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon,  7 Apr 2008 00:00:00 +0200
+
+live-initramfs (1.127.1-1) unstable; urgency=medium
+
+  [ Daniel Baumann ]
+  * Merging casper 1.127.
+  * Merging casper 1.126.
+  * Removing too early recommends to live-initscripts in control to make
+    some people happy (Closes: #431000).
+
+  [ Chris Lamb ]
+  * hooks/live, scripts/live: Add USB modules, workaround udevtrigger
+    (?) bug
+  * scripts/live-helpers: Don't search ram block devices
+  * scripts/live-helpers: Search / use case
+  * scripts/live-helpers: Fixes for set -e
+  * bin/live-snapshot: Vastly rework script
+  * bin/live-snapshot: Fix argument handling (Closes: #461595)
+  * scripts/live: Make 'nopersistent' parameter actually disable
+    persistence
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 31 Mar 2008 00:00:00 +0200
+
+live-initramfs (1.125.1-1) unstable; urgency=medium
+
+  [ Daniel Baumann ]
+  * Merging casper 1.125.
+
+  [ Chris Lamb ]
+  * scripts/live-helpers: Cosmetic changes to loop-aes passphrase prompt
+  * Rename 18hostname -> 06hostname
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 24 Mar 2008 00:00:00 +0100
+
+live-initramfs (1.124.1-1) unstable; urgency=medium
+
+  [ Daniel Baumann ]
+  * Adjusting live-snapshot to live-initramfs.
+  * Merging casper 1.124.
+  * Adjusting 44pk_allow to live-initramfs.
+  * Merging casper 1.123.
+  * Merging casper 1.122.
+  * Merging casper 1.121.
+  * Merging casper 1.120.
+
+  [ Chris Lamb ]
+  * 99hook: Download hook script from inside target filesystem
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 17 Mar 2008 00:00:00 +0100
+
+live-initramfs (1.119.1-1) unstable; urgency=medium
+
+  * Creating resolv.conf when netbooting not just when there's no
+    resolv.conf, but also when it is empty.
+  * Making hooks executable after fetching them.
+  * Removing disabling of kwallet.
+  * Merging casper 1.119.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 10 Mar 2008 00:00:00 +0100
+
+live-initramfs (1.118.2-1) unstable; urgency=medium
+
+  [ Andrey Asadchev ]
+  * Explicitly set Xorg video driver.
+  * Patch to use cryptsetup volumes for persistent storage.
+
+  [ Daniel Baumann ]
+  * New upstream release.
+  * Fixing wrong email address in changelog (was bug in git-dch config).
+  * Bumping package to policy 3.7.3.
+  * Rewriting copyright in machine-interpretable format.
+  * Adding hook parameter to execute custom scripts.
+  * Adding plainroot.
+
+  [ Marco Amadori ]
+  * Now it includes lzma kernel module dependencies.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon,  3 Mar 2008 00:00:00 +0100
+
+live-initramfs (1.118.1-1) unstable; urgency=medium
+
+  [ Daniel Baumann ]
+  * New upstream release.
+  * Adding direct depends to udev, thanks to Anton Lundin
+    <glance@acc.umu.se> (Closes: #452448).
+  * Merging casper 1.111.
+  * Bumping version to 1.110.1-1.
+  * Merging casper 1.112.
+  * Merging casper 1.113.
+  * Adjusting to live-initramfs.
+  * Bumping version to 1.113.1-1.
+  * Merging casper 1.114.
+  * Merging casper 1.115.
+  * Merging casper 1.116.
+  * Merging casper 1.117.
+  * Merging casper 1.118.
+  * Bumping version to 1.118.1-1.
+
+  [ Otavio Salvador ]
+  * debian: add mtd-tools as suggestion since it's required for jffs2
+    support
+  * hooks: include jffs2 kernel module on initramfs image
+  * live-snapshot: add support to use jffs2 images
+  * live: add support for jffs2 images and snapshots
+  * live-helpers: add jffs2 as a valid image
+  * live-snapshot.en.1: add ext3 and jffs2 images as valid options
+
+ -- Daniel Baumann <daniel@debian.org>  Tue, 26 Feb 2008 13:35:00 +0100
+
+live-initramfs (1.110.7-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Fixing fstab handling.
+  * Fixing regression from mounting the ow device on a nfs volume,
+    thanks to An-Cheng Huang <ancheng@vyatta.com>.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 19 Nov 2007 00:00:00 +0100
+
+live-initramfs (1.110.6-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Preparing live-initramfs 1.110.6-1.
+  * Adding custom reportbug script.
+  * Fixed a few bashisms, thanks to Trent W. Buck <trentbuck@gmail.com>.
+  * Adding checkbashsms call to test target of the Makefile as suggested
+    by Trent W. Buck <trentbuck@gmail.com>.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 12 Nov 2007 00:00:00 +0100
+
+live-initramfs (1.110.5-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Preparing live-initramfs 1.110.5-1.
+  * Using kdm initscript autologin overrides, thanks to Kel Modderman
+    <kel@otaku42.de>.
+  * Setting the kdm language, thanks to Jordi Pujol
+    <jordi_pujol@telefonica.net>.
+  * Adding files to the live filesystem according to the MAC number,
+    thanks to Jordi Pujol <jordi_pujol@telefonica.net>.
+  * Fixing some coding style issues.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon,  5 Nov 2007 00:00:00 +0100
+
+live-initramfs (1.110.4-1) unstable; urgency=medium
+
+  [ Daniel Baumann ]
+  * New upstream release.
+  * Preparing live-initramfs 1.110.3-1.
+  * Correcting homepage field.
+  * Correcting vcs fields.
+
+  [ Jesse Hathaway ]
+  * add support for mounting the cow device on an nfs volume
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 29 Oct 2007 00:00:00 +0100
+
+live-initramfs (1.110.3-1) unstable; urgency=medium
+
+  [ Daniel Baumann ]
+  * New upstream release.
+  * Preparing live-initramfs 1.110.3-1.
+  * Removing ubuntu support.
+
+  [ Alex Owen ]
+  * Fix typo to get serial console to work
+
+  [ Jesse Hathaway ]
+  * add support for exposedroot option for live-helper
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 22 Oct 2007 00:00:00 +0200
+
+live-initramfs (1.110.2-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Preparing live-initramfs 1.110.2-1.
+  * Fixing typing error.
+  * Removing nodiratime as it is already included in noatime, thanks to Kel
+    Modderman <kel@otaku42.de>.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 15 Oct 2007 00:00:00 +0200
+
+live-initramfs (1.110.1-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Preparing live-initramfs 1.107.2-1.
+  * Also using nodiratime, not just noatime.
+  * Merging casper 1.108.
+  * Adjusting to live-initramfs.
+  * Merging casper 1.109.
+  * Adjusting to live-initramfs.
+  * Merging casper 1.110.
+  * Adjusting to live-initramfs.
+  * Bumping version to 1.110.1-1.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon,  8 Oct 2007 00:00:00 +0200
+
+live-initramfs (1.107.1-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Preparing live-initramfs 1.102.4-2.
+  * Replacing backticks with POSIX expression.
+  * Consistently using curly brackets for variables.
+  * Fixing bashism.
+  * Merging casper 1.105.
+  * Adjusting to live-initramfs.
+  * Bumping version to 1.105.1-1.
+  * Applied patch from Jesse W. Hathaway <jesse@mbuki-mvuki.org> to move
+    cow mount rather than binding it on /live/cow. This prevents the
+    /cow mount showing up in /proc/mounts.
+  * Merging casper 1.106.
+  * Adjusting to live-initramfs.
+  * Bumping version to 1.106.1-1.
+  * Fixing wrong homepage field.
+  * Fixing typing error.
+  * Merging casper 1.107.
+  * Bumping version to 1.107.1-1.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon,  1 Oct 2007 00:00:00 +0200
+
+live-initramfs (1.104.1-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 24 Sep 2007 00:00:00 +0200
+
+live-initramfs (1.102.1-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 17 Sep 2007 00:00:00 +0200
+
+live-initramfs (1.99.2-1) unstable; urgency=medium
+
+  * New upstream release:
+    - Contains patch from Jim Paris <jim@jtan.com> to fix wrong ipconfig usage
+      (Closes: #440235).
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 10 Sep 2007 00:00:00 +0200
+
+live-initramfs (1.99.1-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon,  3 Sep 2007 00:00:00 +0200
+
+live-initramfs (1.96.2-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 27 Aug 2007 00:00:00 +0200
+
+live-initramfs (1.96.1-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 20 Aug 2007 00:00:00 +0200
+
+live-initramfs (1.95.3-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 13 Aug 2007 00:00:00 +0200
+
+live-initramfs (1.95.2-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon,  6 Aug 2007 00:00:00 +0200
+
+live-initramfs (1.95.1-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 30 Jul 2007 00:00:00 +0200
+
+live-initramfs (1.91.6-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 23 Jul 2007 00:00:00 +0200
+
+live-initramfs (1.91.5-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 16 Jul 2007 00:00:00 +0200
+
+live-initramfs (1.91.4-1) unstable; urgency=medium
+
+  * New upstream release:
+    - Dropping transitional package, not needed anymore.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon,  9 Jul 2007 00:00:00 +0200
+
+live-initramfs (1.91.3-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon,  2 Jul 2007 00:00:00 +0200
+
+live-initramfs (1.91.2-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 25 Jun 2007 00:00:00 +0200
+
+live-initramfs (1.91.1-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 18 Jun 2007 00:00:00 +0200
+
+live-initramfs (1.90.1-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 11 Jun 2007 00:00:00 +0200
+
+live-initramfs (1.87.6-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon,  4 Jun 2007 00:00:00 +0200
+
+live-initramfs (1.87.5-1) unstable; urgency=medium
+
+  * New upstream release, replacing casper.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 28 May 2007 00:00:00 +0200
+
+live-initramfs (1.87.4-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 21 May 2007 00:00:00 +0200
+
+live-initramfs (1.87.3-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 14 May 2007 00:00:00 +0200
+
+live-initramfs (1.87.2-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon,  7 May 2007 00:00:00 +0200
+
+live-initramfs (1.87.1-1) unstable; urgency=low
+
+  * Initial release, forking casper.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 30 Apr 2007 00:00:00 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..6225329
--- /dev/null
@@ -0,0 +1,46 @@
+Source: live-boot
+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~)
+Standards-Version: 3.8.4
+Homepage: http://live.debian.net/devel/live-boot/
+Vcs-Browser: http://live.debian.net/gitweb/?p=live-boot.git
+Vcs-Git: git://live.debian.net/git/live-boot.git
+
+Package: live-boot
+Architecture: all
+Depends: ${misc:Depends}, live-config-sysvinit | live-config-backend
+Recommends: eject, file, rsync, uuid-runtime
+Suggests: curlftpfs, cryptsetup, httpfs2, unionfs-fuse, wget
+Description: Debian Live - System Boot Scripts
+ live-boot contains the scripts that configure a Debian Live system during the
+ boot process (early userspace).
+ .
+ In addition to live-boot, a backend for the initrd generation is required, such
+ as live-boot-initramfs-tools.
+
+Package: live-boot-initramfs-tools
+Architecture: all
+Depends:
+ ${misc:Depends}, live-boot (>= ${source:Version}), busybox, initramfs-tools,
+ udev
+Conflicts: live-boot-backend, live-initramfs (<< 2.0~a1)
+Replaces: live-boot-backend, live-initramfs
+Provides: live-boot-backend
+Description: Debian Live - System Boot Scripts (initramfs-tools backend)
+ live-boot contains the scripts that configure a Debian Live system during the
+ boot process (early userspace).
+ .
+ This package contains the initramfs-tools backend.
+
+Package: live-initramfs
+Architecture: all
+Depends: ${misc:Depends}, live-boot-initramfs-tools
+Description: Debian Live - System Boot Scripts (transitional package)
+ Package to ease upgrading from older live-initramfs packages to the new
+ live-boot-initramfs-tools package.
+ .
+ This package can be purged at anytime once the live-boot-initramfs-tools
+ package has been installed.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..056871c
--- /dev/null
@@ -0,0 +1,25 @@
+Upstream-Contact: Debian Live Project <debian-live@lists.debian.org>
+Upstream-Homepage: http://live.debian.net/
+
+Files: *
+Copyright:
+ (C) 2007-2010 Daniel Baumann <daniel@debian.org>
+ (C) 2005-2008 Canonical Ltd. <http://www.cannonical.com/>
+ (C) 2006-2007 Marco Amadori <marco.amadori@gmail.com>
+ (C) 2008 Dell Inc. <http://www.dell.com/>
+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.
diff --git a/debian/live-boot-initramfs-tools.postinst b/debian/live-boot-initramfs-tools.postinst
new file mode 100644 (file)
index 0000000..2bae8ae
--- /dev/null
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+       configure)
+               if [ -x /usr/sbin/update-initramfs ]
+               then
+                       update-initramfs -u
+               fi
+               ;;
+
+       abort-upgrade|abort-remove|abort-deconfigure)
+
+               ;;
+
+       *)
+               echo "postinst called with unknown argument \`${1}'" >&2
+               exit 1
+               ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/live-boot-initramfs-tools.triggers b/debian/live-boot-initramfs-tools.triggers
new file mode 100644 (file)
index 0000000..6c9f454
--- /dev/null
@@ -0,0 +1 @@
+activate update-initramfs
diff --git a/debian/live-boot.bug-presubj b/debian/live-boot.bug-presubj
new file mode 100644 (file)
index 0000000..9845fae
--- /dev/null
@@ -0,0 +1,11 @@
+Before submitting a bug report against live-boot, please make sure
+that you have read our 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.
diff --git a/debian/live-boot.bug-script b/debian/live-boot.bug-script
new file mode 100644 (file)
index 0000000..d56b035
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# Checking depends
+dpkg -l busybox file initramfs-tools sudo udev user-setup
+
+# Checking recommends
+dpkg -l eject uuid-runtime wget
+
+# Checking suggests
+dpkg -l loop-aes-utils curlftpfs genext2fs httpfs2 squashfs-tools mtd-tools
+
+# Checking other packages
+dpkg -l cryptsetup splashy usplash
diff --git a/debian/live-boot.init b/debian/live-boot.init
new file mode 100644 (file)
index 0000000..298295d
--- /dev/null
@@ -0,0 +1,226 @@
+#!/bin/sh
+
+### BEGIN INIT INFO
+# Provides:            live-boot
+# Required-Start:      $syslog
+# Required-Stop:
+# Should-Start:                $local_fs
+# Should-Stop:         halt reboot
+# X-Stop-After:                umountroot
+# Default-Start:
+# Default-Stop:                0 6
+# Short-Description:   live-boot init script
+# Description:         Resyncs snapshots, evantually caches files in order to
+#                      let remove the media.
+### END INIT INFO
+
+# Authors: Tollef Fog Heen <tfheen@canonical.com>
+#         Marco Amadori <marco.amadori@gmail.com>
+
+PATH=/usr/sbin:/usr/bin:/sbin:/bin
+NAME=live-boot
+SCRIPTNAME=/etc/init.d/${NAME}
+DO_SNAPSHOT=/sbin/live-snapshot
+
+# Exit if system was not booted by live-boot
+grep -qs boot=live /proc/cmdline || exit 0
+
+# Exit if the system was booted from an ISO image rather than a physical CD
+grep -qs find_iso= /proc/cmdline && exit 0
+
+# Read configuration variable file if it is present
+[ -r /etc/live.conf ] && . /etc/live.conf
+
+# Load the VERBOSE setting and other rcS variables
+[ -f /etc/default/rcS ] && . /etc/default/rcS
+
+# Define LSB log_* functions.
+# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
+. /lib/lsb/init-functions
+
+# Try to cache everything we're likely to need after ejecting.  This
+# is fragile and simple-minded, but our options are limited.
+cache_path()
+{
+       path="${1}"
+
+       if [ -d "${path}" ]
+       then
+               find "${path}" -type f | xargs cat > /dev/null 2>&1
+       elif [ -f "${path}" ]
+       then
+               if [ -x "${path}" ]
+               then
+                       if file "${path}" | grep -q 'dynamically linked'
+                       then
+                               for lib in $(ldd "${path}" | awk '{ print $3 }')
+                               do
+                                       cache_path "${lib}"
+                               done
+                       fi
+               fi
+
+               cat "${path}" >/dev/null 2>&1
+       fi
+}
+
+get_boot_device()
+{
+       # search in /proc/mounts for the device that is mounted at /live/image
+       while read DEVICE MOUNT REST
+       do
+               if [ "${MOUNT}" = "/live/image" ]
+               then
+                       echo "${DEVICE}"
+                       exit 0
+               fi
+       done < /proc/mounts
+}
+
+device_is_USB_flash_drive()
+{
+       # remove leading "/dev/" and all trailing numbers from input
+       DEVICE=$(expr substr ${1} 6 3)
+
+       # check that device starts with "sd"
+       [ "$(expr substr ${DEVICE} 1 2)" != "sd" ] && return 1
+
+       # check that the device is an USB device
+       if readlink /sys/block/${DEVICE} | grep -q usb ||
+          readlink /sys/block/${DEVICE}/device | grep -q usb # linux < 2.6.29
+       then
+               return 0
+       fi
+
+       return 1
+}
+
+do_stop ()
+{
+       if ! grep -qs nopersistent /proc/cmdline && grep -qs persistent /proc/cmdline
+       then
+               if [ ! -z "${ROOTSNAP}" ]
+               then
+                       ${DO_SNAPSHOT} --resync-string="${ROOTSNAP}"
+               fi
+
+               if [ ! -z "${HOMESNAP}" ]
+               then
+                       ${DO_SNAPSHOT} --resync-string="${HOMESNAP}"
+               fi
+       fi
+
+       # check for netboot
+       if [ ! -z "${NETBOOT}" ] || grep -qs netboot /proc/cmdline || grep -qsi root=/dev/nfs /proc/cmdline  || grep -qsi root=/dev/cifs /proc/cmdline
+       then
+               return 0
+       fi
+
+       # Don't prompt to eject the SD card on Babbage board, where we reuse it
+       # as a quasi-boot-floppy. Technically this uses a bit of ubiquity
+       # (archdetect), but since this is mostly only relevant for
+       # installations, who cares ...
+       if type archdetect >/dev/null 2>&1
+       then
+               subarch="$(archdetect)"
+
+               case $subarch in
+                       arm*/imx51)
+                               return 0
+                               ;;
+               esac
+       fi
+
+       prompt=1
+       if grep -qs noprompt /proc/cmdline
+       then
+               prompt=
+       fi
+
+       for path in $(which halt) $(which reboot) /etc/rc?.d /etc/default $(which stty) /bin/plymouth /sbin/usplash_write
+       do
+               cache_path "${path}"
+       done
+
+       for x in $(cat /proc/cmdline)
+       do
+               case ${x} in
+                       quickreboot)
+                               QUICKREBOOT="Yes"
+                               ;;
+               esac
+       done
+
+       if [ -z ${QUICKREBOOT} ]
+       then
+               # TODO: i18n
+               BOOT_DEVICE="$(get_boot_device)"
+
+               if device_is_USB_flash_drive ${BOOT_DEVICE}
+               then
+                       # do NOT eject USB flash drives!
+                       # otherwise rebooting with most USB flash drives
+                       # failes because they actually remember the
+                       # "ejected" state even after reboot
+                       MESSAGE="Please remove the USB flash drive"
+               else
+                       # ejecting is a very good idea here
+                       MESSAGE="Please remove the disc, close the the tray (if any)"
+
+                       if [ -x /usr/bin/eject ]
+                       then
+                               eject -p -m /live/image >/dev/null 2>&1
+                       fi
+
+               fi
+
+               [ "$prompt" ] || return 0
+
+               if [ -x /bin/plymouth ] && plymouth --ping
+               then
+                       plymouth message --text="${MESSAGE} and press ENTER to continue:"
+                       plymouth watch-keystroke > /dev/null
+               else
+                       stty sane < /dev/console
+
+                       printf "\n\n${MESSAGE} and press ENTER to continue:" > /dev/console
+
+                       if [ -x /sbin/usplash_write ]
+                       then
+                               /sbin/usplash_write "TIMEOUT 86400"
+                               /sbin/usplash_write "TEXT-URGENT ${MESSAGE}"
+                               /sbin/usplash_write "TEXT-URGENT and press ENTER to continue"
+                       fi
+
+                       read x < /dev/console
+               fi
+       fi
+}
+
+case "${1}" in
+       restart|reload|force-reload|status)
+               [ "${VERBOSE}" != no ] && log_end_msg 0
+               ;;
+
+       start|stop)
+               log_begin_msg "${NAME} is resyncing snapshots and caching reboot files..."
+               do_stop
+
+               case "${?}" in
+                       0|1)
+                               [ "${VERBOSE}" != no ] && log_end_msg 0
+                               ;;
+
+                       2)
+                               [ "${VERBOSE}" != no ] && log_end_msg 1
+                               ;;
+               esac
+
+               mount -o remount,ro /live/cow
+               ;;
+
+       *)
+               log_success_msg "Usage: ${SCRIPTNAME} {start|stop|restart|force-reload}" >&2
+               exit 3
+               ;;
+esac
diff --git a/debian/live-boot.lintian-overrides b/debian/live-boot.lintian-overrides
new file mode 100644 (file)
index 0000000..83d35e6
--- /dev/null
@@ -0,0 +1,3 @@
+# false positives, not applicable to live systems
+live-boot: init.d-script-missing-dependency-on-remote_fs /etc/init.d/live-boot: required-stop
+live-boot: init.d-script-possible-missing-stop /etc/init.d/live-boot 1
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..bcd2d2d
--- /dev/null
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+%:
+       dh ${@}
+
+override_dh_auto_build:
+       # disabled
+
+override_dh_auto_install:
+       $(MAKE) DESTDIR=$(CURDIR)/debian/live-boot install
+
+       mkdir -p debian/live-boot-initramfs-tools/usr/share
+       mv debian/live-boot/usr/share/initramfs-tools debian/live-boot-initramfs-tools/usr/share
+
+       # Removing useless files
+       rm -f debian/live-boot/usr/share/doc/live-boot/COPYING
+
+override_dh_installinit:
+       dh_installinit -p live-boot --no-restart-on-upgrade --no-start --update-rcd-params='start 89 0 6 .'
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..d3827e7
--- /dev/null
@@ -0,0 +1 @@
+1.0
diff --git a/docs/AUTHORS b/docs/AUTHORS
new file mode 100644 (file)
index 0000000..79bc320
--- /dev/null
@@ -0,0 +1,16 @@
+Main Authors:
+
+  * Daniel Baumann <daniel@debian.org>
+
+Main Contributors:
+
+  * Chris Lamb <chris@chris-lamb.co.uk>
+  * Marco Amadori <marco.amadori@gmail.com>
+
+Original Authors:
+
+  live-initramfs is a fork of casper <http://packages.ubuntu.com/casper/>.
+  casper was originally written by Tollef Fog Heen <tfheen@canonical.com>
+  and Matt Zimmerman <mdz@canonical.com>.
+
+  See the casper changelog for casper contributors.
diff --git a/docs/CREDITS b/docs/CREDITS
new file mode 100644 (file)
index 0000000..2a1ae50
--- /dev/null
@@ -0,0 +1,25 @@
+Patches (alphabetical order):
+
+  * Alexandre Garcia <ascii_77@yahoo.fr>
+  * Alex Owen <r.a.owen@qmul.ac.uk>
+  * Arnaud Cornet <arnaud.cornet@gmail.com>
+  * Bas Wijnen <wijnen@debian.org>
+  * Ben Armstrong <synrg@debian.org>
+  * Ben Voui <intrigeri@boum.org>
+  * Chris Lamb <chris@chris-lamb.co.uk>
+  * Davide Natalini <davide.natalini@studio.unibo.it>
+  * Frederic Lehobey <Frederic.Lehobey@free.fr>
+  * Hadar Weiss <whadar@gmail.com>
+  * Jason D. Clinton <me@jasonclinton.com>
+  * Jonathan Hall <flimzy@flimzy.com>
+  * Kai Hendry <hendry@iki.fi>
+  * Malcom Gilles <live@ouabain.org>
+  * Marco Amadori <marco.amadori@gmail.com>
+  * Mathieu Geli <mathieu.geli@gmail.com>
+  * Michael Prokop <mika@grml.org>
+  * Michal Suchanek <hramrach@centrum.cz>
+  * Oliver Osburg <o.osburg@uni-jena.de>
+  * Otavio Salvador <otavio@debian.org>
+  * Sebastian Raveau <sebastien.raveau@epita.fr>
+  * Steven Shiau <steven@nchc.org.tw>
+  * Thomas Lange <lange@informatik.uni-koeln.de>
diff --git a/docs/old/ChangeLog b/docs/old/ChangeLog
new file mode 100644 (file)
index 0000000..4d0e52a
--- /dev/null
@@ -0,0 +1,635 @@
+commit 96aa9285ee39f4d3d4245acd8c78accdf73c1fa8
+Author: Daniel Baumann <daniel@debian.org>
+
+    Bumping version to 1.104.1-1.
+
+ Makefile            |    2 +-
+ debian/changelog    |    2 +-
+ docs/parameters.txt |    2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+commit 1a226e19e03be8ff90aaa50a7b5b9f202f65b8a4
+Author: Daniel Baumann <daniel@debian.org>
+
+    Merging casper 1.104.
+
+ docs/ChangeLog.casper |    7 +++++++
+ 1 files changed, 7 insertions(+), 0 deletions(-)
+
+commit bb97432f7c5eeb330d108be6607edfe0de85bfa7
+Author: Daniel Baumann <daniel@debian.org>
+
+    Bumping version to 1.103.1-1.
+
+ Makefile            |    2 +-
+ debian/changelog    |    2 +-
+ docs/parameters.txt |    2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+commit 29c11f22032ccdb71aaccd5f6eb4a9be3efa5741
+Author: Daniel Baumann <daniel@debian.org>
+
+    Merging casper 1.103.
+
+ docs/ChangeLog.casper                |    8 ++++++++
+ scripts/live-bottom/23networking     |   24 +++++++++++++++---------
+ scripts/live-bottom/25configure_init |    8 +++-----
+ 3 files changed, 26 insertions(+), 14 deletions(-)
+
+commit 66a175b6255aa061dc78fbd301c9844489c42fc8
+Author: Daniel Baumann <daniel@debian.org>
+
+    Preparing live-initramfs 1.102.2-1.
+
+ Makefile            |   10 +++++-----
+ debian/changelog    |    6 ++++++
+ docs/parameters.txt |    2 +-
+ 3 files changed, 12 insertions(+), 6 deletions(-)
+
+commit 0b8cf3f17ed46e96fb5efd658c8e308ba1a2dd1a
+Author: Daniel Baumann <daniel@debian.org>
+
+    Releasing live-initramfs 1.102.1-1.
+
+ debian/changelog |    2 +-
+ docs/ChangeLog   |  195 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ 2 files changed, 196 insertions(+), 1 deletions(-)
+
+commit b782261bbdf33ff5c69780cc4c788c339d707f9b
+Author: Daniel Baumann <daniel@debian.org>
+
+    Sorting Depends.
+
+ debian/control |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+commit 17b3b36ef3c1fa5cbe5b11c9690a2b0a403db693
+Author: Daniel Baumann <daniel@debian.org>
+
+    Applied patch from Michael Prokop <mika@grml.org> to depend on busybox.
+
+ debian/control |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+commit 27cc7504bc8310e2836014d64576be7d9c974be2
+Author: Daniel Baumann <daniel@debian.org>
+
+    Bumping version to 1.102.1-1.
+
+ Makefile            |    2 +-
+ debian/changelog    |    2 +-
+ docs/parameters.txt |    2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+commit 9e5b3c1cbeb80a472ba4387ef7e59b5e6bce913b
+Author: Daniel Baumann <daniel@debian.org>
+
+    Merging casper 1.102.
+
+ docs/ChangeLog.casper                       |   10 ++++++
+ scripts/live-bottom/42disable_apparmor      |   36 ++++++++++++++++++++++
+ scripts/live-bottom/42disable_cups_apparmor |   43 ---------------------------
+ 3 files changed, 46 insertions(+), 43 deletions(-)
+
+commit 7b5c1e3232d0e02e712a4f984cd1e5009c9e4e9c
+Author: Daniel Baumann <daniel@debian.org>
+
+    Adding noapparmor boot parameter.
+
+ scripts/live                                |    5 +++++
+ scripts/live-bottom/42disable_cups_apparmor |    5 +++++
+ 2 files changed, 10 insertions(+), 0 deletions(-)
+
+commit ea5fee194ea66ab0f41a0a973034db201651e09a
+Author: Daniel Baumann <daniel@debian.org>
+
+    Bumping version to 1.101.1-1.
+
+ Makefile            |    2 +-
+ debian/changelog    |    2 +-
+ docs/parameters.txt |    2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+commit b525502a2fdf073f4e326c1ca4dd8c89258ef65d
+Author: Daniel Baumann <daniel@debian.org>
+
+    Adjusting to live-initramfs.
+
+ scripts/live-bottom/42disable_cups_apparmor |   37 ++++++++++++++++----------
+ 1 files changed, 23 insertions(+), 14 deletions(-)
+
+commit 9b2894eaf50ce542d03329a0b49bf8df7d633371
+Author: Daniel Baumann <daniel@debian.org>
+
+    Merging casper 1.101.
+
+ docs/ChangeLog.casper                       |    9 ++++++++
+ scripts/live-bottom/42disable_cups_apparmor |   29 +++++++++++++++++++++++++++
+ 2 files changed, 38 insertions(+), 0 deletions(-)
+
+commit f1e9fafee6e04a269a506edd31c62abd6917ecee
+Author: Daniel Baumann <daniel@debian.org>
+
+    Merging casper 1.100.
+
+ docs/ChangeLog.casper           |    8 ++++++++
+ scripts/live-bottom/41apt_cdrom |    3 ---
+ 2 files changed, 8 insertions(+), 3 deletions(-)
+
+commit 2df075f459f0a232a084ca6ad037d89764727d5f
+Author: Daniel Baumann <daniel@debian.org>
+
+    Using new Homepage field now.
+
+ debian/control |    3 +--
+ 1 files changed, 1 insertions(+), 2 deletions(-)
+
+commit d29346c7b4c7a67fed080ea46be15421dec12fe7
+Author: Daniel Baumann <daniel@debian.org>
+
+    Applied patch from Frederic Boiteux <fboiteux@calistel.com> about NFSROOT=auto, <http://lists.alioth.debian.org/pipermail/debian-live-devel/2007-September/002173.html>.
+
+ scripts/live |   10 +++++-----
+ 1 files changed, 5 insertions(+), 5 deletions(-)
+
+commit 4f4c8e22af7a539cfa8bc9ba371c6a57b8e7cb0c
+Author: Daniel Baumann <daniel@debian.org>
+
+    Applied patch from Michael Prokop <mika@grml.org> to migrate live-snapshot.en.1 and live-snapshot.it.1 to asciidoc as well.
+
+ manpages/Makefile               |   17 ++++--
+ manpages/live-snapshot.en.1     |   71 --------------------------
+ manpages/live-snapshot.en.1.txt |  100 ++++++++++++++++++++++++++++++++++++
+ manpages/live-snapshot.it.1     |   70 -------------------------
+ manpages/live-snapshot.it.1.txt |  107 +++++++++++++++++++++++++++++++++++++++
+ 5 files changed, 219 insertions(+), 146 deletions(-)
+
+commit 3226d2bfd4e2463c9aa7a691f7e9ea132e258af6
+Author: Daniel Baumann <daniel@debian.org>
+
+    Adding Marco Amadori <marco.amadori@gmail.com>.
+
+ docs/CREDITS |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+commit 757b214139daa0f7f312434ed0f77961ea380c4e
+Author: Daniel Baumann <daniel@debian.org>
+
+    Sorting Build-Depends.
+
+ debian/control |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+commit 8d6e39ce90ed0be835514a15fbf3a007a2b9f3fa
+Author: Daniel Baumann <daniel@debian.org>
+
+    Simplifying make calls.
+
+ debian/rules |    4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+commit bef37dff239b6c28fef89679537bea8643628fe1
+Author: Daniel Baumann <daniel@debian.org>
+
+    Applied patch from Michael Prokop <mika@grml.org> to remove deprecated manpages/live-initramfs.en.7 (switched to asiidoc).
+
+ manpages/live-initramfs.en.7 |  127 ------------------------------------------
+ 1 files changed, 0 insertions(+), 127 deletions(-)
+
+commit 6a86b38986ab23d5cda24b38dca27c4a659bdfbd
+Author: Daniel Baumann <daniel@debian.org>
+
+    Applied patch from Michael Prokop <mika@grml.org> to update debian/control and debian/rules for use of asciidoc.
+
+ debian/control |    2 +-
+ debian/rules   |    2 ++
+ 2 files changed, 3 insertions(+), 1 deletions(-)
+
+commit 6685b97a4041477b2ccbfc9683e35c022cbe9ce7
+Author: Daniel Baumann <daniel@debian.org>
+
+    Applied patch from Michael Prokop <mika@grml.org> to switch to asciidoc for documentation.
+
+ manpages/Makefile                |   21 +++
+ manpages/live-initramfs.en.7.txt |  304 ++++++++++++++++++++++++++++++++++++++
+ 2 files changed, 325 insertions(+), 0 deletions(-)
+
+commit 3b545dfb73b7ce99c3fd6e107d6843891f005ab1
+Author: Daniel Baumann <daniel@debian.org>
+
+    Fixing typing error.
+
+ debian/control |    4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+commit ab933503a8204649724c525facbc14f734f1cd4e
+Author: Daniel Baumann <daniel@debian.org>
+
+    Preparing live-initramfs 1.99.3-1.
+
+ Makefile                     |    8 ++++----
+ debian/changelog             |    6 ++++++
+ docs/parameters.txt          |    2 +-
+ manpages/live-initramfs.en.7 |    2 +-
+ manpages/live-snapshot.en.1  |    2 +-
+ 5 files changed, 13 insertions(+), 7 deletions(-)
+
+2007-09-09  Daniel Baumann  <daniel@debian.org>
+
+       * Using common indenting.
+       * scripts/live:
+         - Applied patch from Jim Paris <jim@jtan.com> to fix wrong usage of
+           ipconfig (Closes: #440235).
+       * Uploaded 1.99.2-1.
+
+2007-09-09  Michael Prokop <mika@grml.org>
+
+       * scripts/live:
+         - Extending toram parameter to specify module.
+         - Adding forgotten nofstab boot parameter.
+       * scripts/live-bottom/40install_driver_updates:
+         - Adding check driver updates.
+       * scripts/live-bottom/25configure_init:
+         - Adding check for file-rc.
+       * scripts/live-bottom/21xvidemode:
+         - Sorting variable checks always before logging.
+       * scripts/live, live-bottom/*:
+         - Adding boot parameters to disable each service.
+       * scripts/live, live-bottom/22gnome_panel_date:
+         - Adding nognomefstab boot parameter.
+       * scripts/live-bottom/38disable_restricted_manager:
+         - Removing leftover reference to casper-functions.
+
+2007-09-05  Daniel Baumann  <daniel@debian.org>
+
+       * scripts/live, scripts/live-bottom:
+         - Added nouser parameter to disable user creation.
+         - Added noxautoconfig parameter to disable xorg re-configuration.
+         - Added nohosts parameter to disable /etc/hosts creation.
+       * scripts/live-bottom/15autologin:
+         - Moved disabling of kpersonalizer to 34disable_kpersonalizer.
+
+2007-09-01  Daniel Baumann  <daniel@debian.org>
+
+       * Merging changes from casper 1.97, 1.98 and 1.99.
+       * Uploaded 1.99.1-1.
+
+2007-08-29  Daniel Baumann  <daniel@debian.org>
+
+       * scripts/live-bottom/12fstab:
+         - By default, we do not have fstab, so it is save to just append the
+           unionfs mount rather than overwritting it.
+       * hooks/live:
+         - Including wget if available.
+       * Uploaded 1.96.2-1.
+
+2007-08-21  Daniel Baumann  <daniel@debian.org>
+
+       * Merging changes from casper 1.96.
+       * Uploaded 1.96.1-1.
+
+2007-08-21  Daniel Baumann  <daniel@debian.org>
+
+       * scripts/live:
+         - Applied patch from Jesse W. Hathaway <jesse@mbuki-mvuki.org> to
+           not use nfsro with kernels larger than 2.6.22 (where unionfs 2.x
+           is supposed to be available soon).
+       * Uploaded 1.95.3-1.
+
+2007-08-11  Daniel Baumann  <daniel@debian.org>
+
+       * Uploaded 1.95.2-1.
+
+2007-08-01  Daniel Baumann  <daniel@debian.org>
+
+       * scripts/live-bottom/10adduser:
+         - Setting debconf preseeding for passwd/make-user manually to true,
+           overriding any users preseeding on that, so that the user account
+           gets created for sure.
+
+2007-07-29  Daniel Baumann  <daniel@debian.org>
+
+       * Merging changes from casper 1.95.
+       * Uploaded 1.95.1-1.
+
+2007-07-26  Daniel Baumann  <daniel@debian.org>
+
+       * Merging changes from casper 1.92, 1.93 and 1.94.
+
+2007-07-26  Daniel Baumann  <daniel@debian.org>
+
+       * bin/live-md5check:
+         - Removed, using standard md5sum which makes the md5 check slower,
+           doesn't integrate well with usplash yet, but it makes live-initramfs
+           architecture independent now.
+       * scripts/live:
+         - Fixed typo.
+         - Added live-media-path as suggested by Jordi Pujol
+           <jordi_pujol@telefonica.net>.
+       * Uploaded 1.91.6-1.
+
+2007-07-19  Daniel Baumann  <daniel@debian.org>
+
+       * scripts/live, scripts/live-bottom/02_timezone:
+         - Added utc boot parameter as suggested by Vladimir Stavrinov
+           <vs@inist.ru>
+
+2007-07-18  Daniel Baumann  <daniel@debian.org>
+
+       * docs/parameters.txt:
+         - Added values for vga parameter.
+       * scripts/live:
+         - Added patch from Thomas Lange <lange@informatik.uni-koeln.de> to
+           respect rootserver name from dhcp.
+       * Uploaded 1.91.5-1.
+
+2007-07-12  Daniel Baumann  <daniel@debian.org>
+
+       * bin/live-snapshot, scripts/live:
+         - Moved /cow to /live/cow.
+       * scripts/live, scripts/live-bottom/01integrity_check, 05mountpoints:
+         - Moved /live_media to /live/image.
+       * Uploaded 1.91.4-1.
+
+2007-07-07  Daniel Baumann  <daniel@debian.org>
+
+       * scripts/live:
+         - Added debug parameter.
+
+2007-06-31  Daniel Baumann  <daniel@debian.org>
+
+       * scripts/live:
+         - Added patch from Julian Andres Klode <jak@jak-linux.org> to add
+           support for aufs.
+       * hooks/live, manpage/live-initramfs.en.7, scripts/live-bottom/12fstab:
+         - Added aufs support.
+       * Uploaded 1.91.3-1.
+
+2007-06-30  Daniel Baumann  <daniel@debian.org>
+
+       * scripts/live-bottom/12fstab:
+         - Added disabling of /etc/init.d/checkfs.sh to avoid file systemcheck
+           at boot time. Added nofastboot parameter to be able to change that.
+         - Disabled removal of checkroot.sh.
+
+2007-06-28  Daniel Baumann  <daniel@debian.org>
+
+       * Applied patch from Mathieu Geli <mathieu.geli@gmail.com> to set the
+         timezone with a boot parameter.
+
+2007-06-25  Daniel Baumann  <daniel@debian.org>
+
+       * scripts/live:
+         - Added missing nfsopts boot parameter.
+         - Changed default module name from 'order' to 'filesystem'.
+         - Changed module extension from '.lst' to '.module'.
+         - Check not just for $MODULE.module, but also
+           filesystem.$MODULE.module
+         - Cleaned up parse_cmdline and is_live_path functions.
+       * debian/control, debian/live-initramfs.init,
+         scripts/live-premount/10driver_updates:
+         - Moving eject to recommends.
+         - Added checks for eject existence.
+       * Uploaded 1.91.2-1.
+
+2007-06-17  Daniel Baumann  <daniel@debian.org>
+
+       * debian/live-initramfs.postinst:
+         - Made update-initramfs call conditional as suggested by Thomas Lange
+           <lange@informatik.uni-koeln.de>.
+       * debian/live-initramfs.postrm:
+         - Added update-initramfs call to cleanup.
+
+2007-06-17  Daniel Baumann  <daniel@debiann.org>
+
+       * Added patch from Thomas Lange <lange@informatik.uni-koeln.de> to
+         properly load ide-generic after udev.
+       * Uploaded 1.91.1-1.
+
+2007-06-15  Daniel Baumann  <daniel@debian.org>
+
+       * Merging changes from casper 1.91.
+
+2007-06-14  Daniel Baumann  <daniel@debian.org>
+
+       * scripts/live-bottom/18hostname:
+        - Appending to /etc/hosts to not overwrite custom settings.
+
+2007-06-08  Daniel Baumann  <daniel@debian.org>
+
+       * Merging changes from casper 1.88.
+       * Merging changes from casper 1.90.
+       * hooks/live:
+         - Added force loading of ide-generic module. It is required on some
+           systems to boot (reported as needed also for some qemu versions).
+       * Uploaded 1.90.1-1.
+
+2007-06-04  Daniel Baumann  <daniel@debian.org>
+
+       * Uploaded 1.87.6-1.
+
+2007-05-28  Daniel Baumann  <daniel@debian.org>
+
+       * scripts/live-bottom/42apt_upgrade:
+         - Moved to dedicated live-initscripts package.
+
+2007-05-24  Daniel Baumann  <daniel@debian.org>
+
+       * debian/control:
+         - Added casper transitional package.
+         - Removed usplash conflicts.
+       * scripts/live-bottom/42apt_upgrade:
+         - Added, idea taken from Kais webconverger.
+       * Uploaded 1.87.5-1.
+
+2007-05-23  Daniel Baumann  <daniel@debian.org>
+
+       * scripts/*:
+         - Minor code cleanup.
+
+2007-05-18  Daniel Baumann  <daniel@debian.org>
+
+       * scripts/live, scripts/live-bottom/05mountpoints:
+         - Replaced 'mount -o move' with 'mount --move'.
+       * scripts/live, scripts/live-bottom/10adduser:
+         - Added check for 'nosudo' bootparameter to disable automatic
+           sudo configuration.
+       * scripts/live, scripts/live-bottom/13swap:
+         - Renamed 'swapoff' parameter to 'noswap'.
+       * scripts/live, scripts/live-bottom/15autologin:
+         - Added check for 'noxautologin' bootparameter to disable automatic
+           gdm/kdm login.
+       * scripts/live, scripts/live-bottom/25configure_init:
+         - Added check for 'noautologin' bootparameter to disable automatic
+           terminal login.
+       * bin/live-snapshot, scripts/live, scripts/live-helpers:
+         - Also recognize ext3, but treat it like ext2.
+       * Uploaded 1.87.4-1.
+
+2007-05-12  Daniel Baumann  <daniel@debian.org>
+
+       * scripts/live-bottom/*:
+         - Added generic header.
+
+2007-05-12  Daniel Baumann  <daniel@debian.org>
+
+       * scripts/live:
+         - Renamed CASPERCONF to LIVECONF.
+         - Renamed CASPERGETTY to LIVE_GETTY.
+         - Renamed LIVEMEDIA_* to LIVE_MEDIA_*.
+       * Uploaded 1.87.3-1.
+
+2007-05-11  Daniel Baumann  <daniel@debian.org>
+
+       * hooks/live:
+         - Reformated.
+       * scripts/live, scripts/live-bottom/13swap:
+         - Added check for swapoff bootparameter to disable usage of local swap
+           partitions.
+
+2007-05-09  Daniel Baumann  <daniel@debian.org>
+
+       * manpages/*:
+         - Added language suffix.
+         - Partially rewritten and reformated.
+
+2007-05-08  Daniel Baumann  <daniel@debian.org>
+
+       * Makefile, doc/AUTHORS, doc/CREDITS:
+         - Added.
+       * doc:
+         - Renamed to docs.
+
+2007-05-07  Daniel Baumann  <daniel@debian.org>
+
+       * debian/control:
+         - Added suggests to genext2fs and squashfs-tools.
+         - Removed depends to dmsetup.
+       * scripts/live-bottom/10adduser:
+         - Added patch from Ben Armstrong <synrg@debian.org> to write
+           $HOME/.su-to-rootrc file.
+       * scripts/live, scripts/live-bottom/21xvideomode:
+         - Added patch from Mathieu Geli <mathieu.geli@gmail.com> to have the
+           ability to force X video mode from kernel append line.
+
+2007-05-06  Daniel Baumann  <daniel@debian.org>
+
+       * Merging patches from casper 1.81+debian-4, see ChangeLog.casper.
+       * conf/live.conf:
+         - Renamed HOST to HOSTNAME.
+       * debian/init:
+         - Added quickreboot.
+         - Renamed /cdrom to /live_media.
+       * doc/ChangeLog.casper:
+         - Added missing debian uploads.
+       * manpages/live-initramfs.7:
+         - Updated.
+       * hooks/live:
+         - Reading live.conf earlier.
+         - Making some udev copies conditional for ubuntu.
+         - Allowing local keymap when using encrypted filesystems.
+       * scripts/live:
+         - Renamed HOST to HOSTNAME.
+         - Renamed /cdrom to /live_media.
+         - Added support for live-snapshot.
+         - Parsing commandline in one central place now.
+         - Added support for encrypted filesytem images.
+         - Added support for multiple filesystem images.
+       * scripts/live-bottom/01integrity_check:
+         - Renamed /cdrom to /live_media.
+       * scripts/live-bottom/02etc_live_conf:
+         - Added.
+       * scripts/live-bottom/05mountpoints:
+         - Renamed /cdrom to /live_media.
+         - Don't do anything if not required.
+       * scripts/live-bottom/10adduser:
+         - Changed default password.
+         - Disabling xscreensaver locking and copying ubiquity desktop only on
+           ubuntu.
+       * scripts/live-bottom/14locales:
+         - Added handling of locale bootparameter.
+       * scripts/live-bottom/15autologin:
+         - Added workaround for using gdm default config.
+       * scripts/live-bottom/18hostname:
+         - Renamed HOST to HOSTNAME.
+       * scripts/live-bottom/19keyboard:
+         - Added handling of keyboard bootparameter.
+       * scripts/live-bottom/20xconfig:
+         - Added handling of keyboard bootparameter.
+         - Added handling of locale bootparameter.
+       * scripts/live-bottom/23networking:
+         - Disabled loop over fixed network devices.
+       * scripts/live-bottom/24preseed:
+         - Added handling of multiple preseeding files.
+         - Removed locale handling.
+       * scripts/live-bottom/25configure_init:
+         - Added handling of serial ttys.
+       * scripts/live-bottom/30accessibility:
+         - Removed extra parsing of commandline.
+       * scripts/live-functions:
+         - Added function to really export variables.
+       * scripts/live-helpers:
+         - Added support for encrypted filesytem images.
+
+2007-05-06  Daniel Baumann  <daniel@debian.org>
+
+       * bin/casper-getty, casper-login, casper-preseed, casper-reconfigure,
+         casper-snapshot:
+         - Renamed to live-*.
+       * casper-md5check:
+         - Moved to bin.
+         - Renamed to live-md5check.
+       * casper.conf:
+         - Moved to conf/live.conf.
+       * caspermon:
+         - Removed.
+       * hooks/casper, scripts/casper, casper-bottom, casper-functions,
+         casper-helpers, casper-premount:
+         - Renamed to live*.
+       * bin/live-getty, live-login:
+         - Reformated.
+       * conf/live.conf:
+         - Reformated.
+         - Setting Debian defaults.
+       * bin/live-snapshot, debian/dirs, debian/install, debian/rules,
+         hooks/live, scripts/live:
+         - Replaces casper directory and file names with live-initramfs
+           directory and file names.
+       * debian/manpage:
+         - Moved to manpages.
+         - Renamed casper.7 to live-initramfs.7.
+         - Renamed casper-snapshot.1 to live-snapshot.1.
+       * debian/init:
+         - Changed activation parameter from boot=casper to boot=live.
+       * scripts/live-bottom/02_timezone:
+         - Fixed wrong script description.
+       * Uploaded 1.87.2-1.
+
+2007-04-30  Daniel Baumann  <daniel@debian.org>
+
+       * Forked casper 1.87.
+       * COPYING:
+         - Added.
+       * debian/control, debian/ubiquity-casper.install, ubiquity-hooks:
+         - Removed ubiquity support.
+       * debian/changelog:
+         - Moved old changelog to doc/ChangeLog.casper.
+         - Added new changelog for live-initramfs.
+       * debian/casper.dirs, casper.init, casper.install, casper.manpages,
+         casper.postinst:
+         - Renamed, removed packagename prefix from filename.
+       * debian/compat, copyright, dirs, manpages:
+         - Updated.
+       * debian/examples, links:
+         - Added.
+       * debian/rules:
+         - Updated.
+         - Added upstream target.
+       * debian/control:
+         - Updated.
+         - Added depends to file.
+         - Added conflicts/replaces to casper.
+       * debian/postinst:
+         - Running 'update-initramfs' for all kernel versions instead of latest
+           only.
+       * Uploaded 1.87.1-1.
diff --git a/docs/old/ChangeLog.casper b/docs/old/ChangeLog.casper
new file mode 100644 (file)
index 0000000..89ac843
--- /dev/null
@@ -0,0 +1,3193 @@
+casper (1.236) lucid; urgency=low
+
+  * Check for LTS in the release name (LP: #558488).
+
+ -- Evan Dandrea <evand@ubuntu.com>  Wed, 21 Apr 2010 11:12:32 +0100
+
+casper (1.235) lucid; urgency=low
+
+  * Unbreak early command from previous commit.
+
+ -- Mario Limonciello <Mario_Limonciello@Dell.com>  Thu, 15 Apr 2010 02:54:15 -0500
+
+casper (1.234) lucid; urgency=low
+
+  * Only bring the network up while running preseed/early_command if
+    preseed/allow-network=true.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Wed, 14 Apr 2010 15:56:40 +0100
+
+casper (1.233) lucid; urgency=low
+
+  * Bring the network up while running preseed/early_command.
+  * Fix use of debconf passthrough frontend; DEBCONF_READFD and
+    DEBCONF_WRITEFD were backwards, and DEBIAN_HAS_FRONTEND and
+    DEBCONF_REDIR needed to be unset or else confmodule scripts would end up
+    trying to talk to closed file descriptors.
+  * Run debconf-communicate with a read-only template database and separate
+    config databases, and copy any changed values back to the master
+    databases at the end.  This allows us to use the noninteractive frontend
+    rather than passthrough when running apt-get in preseed/early_command or
+    dpkg to install driver updates, thereby ensuring that the template
+    database is properly initialised (LP: #557011).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 12 Apr 2010 23:41:09 +0100
+
+casper (1.232) lucid; urgency=low
+
+  * bump compcache size to 50% on live images for machines with less than
+    512MiB. This makes sure we don't hit OOM errors on systems with only
+    256MiB of RAM.
+
+ -- Oliver Grawert <ogra@ubuntu.com>  Mon, 12 Apr 2010 08:10:06 +0200
+
+casper (1.231) lucid; urgency=low
+
+  [ Jonathan Riddell ]
+  * Remove 37kubuntu_netbook_installer_link, now done with a patch in
+    kdebase-workspace
+
+  [ Colin Watson ]
+  * If copying live media to RAM or disk, explicitly copy .disk, since *
+    won't expand to include it (LP: #526305).
+  * Cache /bin/plymouth and /sbin/usplash_write before ejecting the CD, in
+   the hope that that helps with I/O errors on reboot (see LP #539027).
+
+  [ Luke Yelavich ]
+  * ubiquity-hooks/30accessibility: Copy the orca settings directory to the
+    gdm home directory, to allow for preferred orca settings to be used in
+    gdm (LP: #551515).
+
+ -- Luke Yelavich <themuso@ubuntu.com>  Fri, 09 Apr 2010 14:00:51 +1000
+
+casper (1.230) lucid; urgency=low
+
+  * Don't save the hardware clock on live CD reboot; we used to do this in
+    the sysvinit world, but it regressed when we switched to Upstart
+    (thanks, Norm Pierce; LP: #436535).
+  * When running update-initramfs on writable media, update initrd.lz rather
+    than initrd.gz if it's present, and make the update process a bit safer
+    while we're there (LP: #489736).
+  * Handle toram and todisk=DEVICE options on command line (LP: #526305).
+  * Policy version 3.8.4: no changes required.
+  * Convert to source format 3.0 (native).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 30 Mar 2010 11:41:24 +0100
+
+casper (1.229) lucid; urgency=low
+
+  [ Jonathan Riddell ]
+  * Update scripts/casper-bottom/34disable_kde_services for lucid
+
+  [ Evan Dandrea ]
+  * Don't let apt try to auto-detect the CD-ROM device using udev.  We
+    already know what it is, and using udev to find it again wont work
+    for USB disks.
+
+ -- Evan Dandrea <evand@ubuntu.com>  Tue, 23 Mar 2010 11:42:00 +0000
+
+casper (1.228) lucid; urgency=low
+
+  * Update for the new libplymouth2.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com>  Fri, 12 Mar 2010 18:37:02 -0800
+
+casper (1.227) lucid; urgency=low
+
+  * casper-md5check: port from usplash to plymouth.  LP: #500198
+  * fix up our reliance on usplash, /dev/console elsewhere.  LP: #506418.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com>  Fri, 12 Mar 2010 01:12:28 -0800
+
+casper (1.226) lucid; urgency=low
+
+  [ Colin Watson ]
+  * Stop using removed nfsro option for NFS/unionfs (thanks, Bernhard
+    Seibold; LP: #460781).
+
+  [ Jonathan Riddell ]
+  * Remove scripts/casper-bottom/48enable_kubuntu_netbook and ubiquity-
+    hooks/48enable_kubuntu_netbook now enabled in kubuntu-netbook-
+    default-settings
+
+ -- Jonathan Riddell <jriddell@ubuntu.com>  Wed, 10 Mar 2010 22:23:04 +0000
+
+casper (1.225) lucid; urgency=low
+
+  * Add ubiquity-hooks/49kubuntu_gnome_icon_cache to recreate the Gnome
+    icon cache on Kubuntu CDs, removed by livecd-rootfs
+
+ -- Jonathan Riddell <jriddell@ubuntu.com>  Mon, 08 Mar 2010 11:47:01 +0000
+
+casper (1.224) lucid; urgency=low
+
+  * Remove ubiquity-hooks/35copy_wallpaper_cache as now implement it in
+    ubiquity itself (LP: #530024)
+
+ -- Didier Roche <didrocks@ubuntu.com>  Mon, 01 Mar 2010 19:41:45 +0100
+
+casper (1.223) lucid; urgency=low
+
+  * Bind-mount /dev, /proc, and /sys into /root while running apt-cdrom.
+  * Copy /lib/udev/rules.d/60-cdrom_id.rules into the initramfs to go with
+    /lib/udev/cdrom_id, so that apt-cdrom will be able to find ID_CDROM=1
+    entries when we run it.  This should stop update-notifier from
+    repeatedly popping up during the live session.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 23 Feb 2010 01:35:30 +0000
+
+casper (1.222) lucid; urgency=low
+
+  * scripts/casper-bottom/47une_ubiquity:
+    - get back ubiquity favorite icon in UNE live (LP: #524381)
+    - rename the script from 47unr_ubiquity to 47une_ubiquity as well
+      as "UNR" mention
+
+ -- Didier Roche <didrocks@ubuntu.com>  Mon, 22 Feb 2010 14:01:25 +0100
+
+casper (1.221) lucid; urgency=low
+
+  * Remove the rest of the mythbuntu delta from 10adduser.  It will be
+    maintained in the mythbuntu-live-autostart package instead so that
+    users from ~mythbuntu-dev can administer it.
+
+ -- Mario Limonciello <superm1@ubuntu.com>  Sun, 21 Feb 2010 20:22:00 -0600
+
+casper (1.220) lucid; urgency=low
+
+  * scripts/casper: calculate memory without "head" utility, thanks to
+    Petar Bogdanovic (LP: #25496).
+
+ -- Kees Cook <kees@ubuntu.com>  Fri, 19 Feb 2010 14:04:18 -0800
+
+casper (1.219) lucid; urgency=low
+
+  [ Mario Limonciello ]
+  * Disable casper-reconfigure from 22gnome_panel_data.  It doesn't (appear) to
+    serve a functional purpose as the postinst does nothing different for laptops.
+
+  [ Didier Roche ]
+  * add 35copy_wallpaper_cache to copy the wallpaper cache created at boot time
+    to the main user's directory. First boot will take it into account in
+    ureadahead profiling
+
+ -- Didier Roche <didrocks@ubuntu.com>  Wed, 17 Feb 2010 19:14:53 +0100
+
+casper (1.218) lucid; urgency=low
+
+  * Allow dpkg and apt-get to be installed from within commands that operate
+    in the chroot via early_command or driver updates. (LP: #521218)
+
+ -- Mario Limonciello <Mario_Limonciello@Dell.com>  Tue, 16 Feb 2010 13:38:48 -0600
+
+casper (1.217) lucid; urgency=low
+
+  [ Luke Yelavich ]
+  * ubiquity-hooks/30accessibility: Enable accessible login for the blindness
+    and braile accessibility profiles.
+
+  [ Colin Watson ]
+  * Use egrep rather than 'grep -E' (LP: #512386).
+
+  [ Julien Lavergne ]
+  * 15autologin: Add support for LXDM autologin (LP: #511976).
+
+  [ Evan Dandrea ]
+  * Properly shut down debconf-communicate so that its database gets
+    written (LP: #518272).
+
+ -- Evan Dandrea <evand@ubuntu.com>  Thu, 11 Feb 2010 08:25:53 +0000
+
+casper (1.216) lucid; urgency=low
+
+  [ Luke Yelavich ]
+  * scripts/casper-bottom/30accessibility && ubiquity-hooks/30accessibility:
+    - Remove code to disable pulseaudio, as it is no longer needed, and
+      the supporting code in the pulseaudio package was removed a long time
+      ago.
+    - Set the default empathy theme to classic for blindness and braille
+      accessibility profiles.
+
+  [ Jamie Bennett ]
+  * Speed up work around debconf-communicate. Replace several calls to
+    debconf-communicate with one persistent invocation followed by
+    confmodule calls.
+  * Disable guest account by rm'ing rather than waiting for dpkg to
+    remove it.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Wed, 03 Feb 2010 16:41:57 -0800
+
+casper (1.215) lucid; urgency=low
+
+  [ Mario Limonciello ]
+  * Support multiple preseed file/urlarguments on the kernel commandline
+    rather than just selecting the last one and going with that.
+  * debian/control: Set Vcs-Bzr.
+
+  [ Jonathan Riddell ]
+  * Add scripts/casper-bottom/48enable_kubuntu_netbook and ubiquity-
+    hooks/48enable_kubuntu_netbook to enable Plasma Netbook workspace
+    for Kubuntu Netbook Remix
+
+ -- Jonathan Riddell <jriddell@ubuntu.com>  Wed, 27 Jan 2010 13:55:42 +0000
+
+casper (1.214) lucid; urgency=low
+
+  * 15autologin: simplify the code with escape character evaluation
+    (LP: #505140)
+
+ -- Didier Roche <didrocks@ubuntu.com>  Tue, 12 Jan 2010 08:57:05 +0100
+
+casper (1.213) lucid; urgency=low
+
+  * printf does not evaluate escape characters in the argument string.
+
+ -- Evan Dandrea <evand@ubuntu.com>  Mon, 11 Jan 2010 11:02:12 +0000
+
+casper (1.212) lucid; urgency=low
+
+  [ Martin Pitt ]
+  * debian/control: Add ${misc:Depends}.
+  * debian/control: Bump Standards-Version to 3.8.3 (no changes necessary).
+
+  [ Colin Watson ]
+  * 15autologin: Use printf rather than echo -e, since its behaviour is
+    portable across shells.
+
+  [ Evan Dandrea ]
+  * Remove scripts/casper-bottom/42disable_apparmor.  Apparmor
+    2.3.1+bzr1312-0ubuntu3 and ifupdown 0.6.8ubuntu26 now no-op when
+    they detect the live CD environment.
+
+ -- Evan Dandrea <evand@ubuntu.com>  Fri, 08 Jan 2010 19:56:27 +0000
+
+casper (1.211) lucid; urgency=low
+
+  * Readd scripts/casper-bottom/15autologin changes: derivatives have
+    now a custom.conf file and still need autologin in live version.
+    Merge with my previous fix proposed for sponsoring one week ago:
+    use echo -e to enable \n interpretation (/bin/sh is busybox ash
+    which behavior differs from vanilla ash interpretor) (LP: #500786)·
+
+ -- Didier Roche <didrocks@ubuntu.com>  Tue, 05 Jan 2010 20:05:26 +0100
+
+casper (1.210) lucid; urgency=low
+
+  [ Scott James Remnant ]
+  * Dropped Vcs-Bzr headers, pushed to lp:ubuntu/casper
+  * conf-hooks.d/casper: Changed to FRAMEBUFFER=y
+
+  [ Colin Watson ]
+  * Source /scripts/casper-functions and /scripts/casper-helpers only after
+    processing 'prereqs' argument, to avoid lots of warnings with new
+    initramfs-tools.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 05 Jan 2010 16:54:54 +0000
+
+casper (1.209) lucid; urgency=low
+
+  * Revert the previous change to 15autologin and instead just make sure
+    custom.conf does not exist.
+
+ -- Evan Dandrea <evand@ubuntu.com>  Mon, 04 Jan 2010 11:18:47 +0000
+
+casper (1.208) lucid; urgency=low
+
+  [ Martin Pitt ]
+  * scripts/casper-bottom/25configure_init: sreadahead is no more, disable
+    ureadahead instead.
+
+  [ Didier Roche ]
+  * scripts/casper-bottom/15autologin: Don't erase /etc/gdm/custom.conf but
+    only append autologin on casper startup if needed. This avoids removing
+    default session set in this file for ubuntu derivatives which use GDM.
+    The script also check if the modification is already there for
+    persistent usb keys. (LP: #498971)
+
+ -- Martin Pitt <martin.pitt@ubuntu.com>  Mon, 21 Dec 2009 15:54:36 +0100
+
+casper (1.207) lucid; urgency=low
+
+  * Drop 46_disable_services.  It didn't need to be running on "all" systems
+    with casper installed.  Mythbuntu systems will pull this in via a package
+    that is administerable via ~mythbuntu-dev.
+
+ -- Mario Limonciello <superm1@ubuntu.com>  Tue, 24 Nov 2009 22:28:29 -0600
+
+casper (1.206) karmic; urgency=low
+
+  * Fix broken /cdrom writable test in 43disable_initramfs
+    (LP: #450259).
+
+ -- Evan Dandrea <evand@ubuntu.com>  Thu, 22 Oct 2009 11:49:15 +0100
+
+casper (1.205) karmic; urgency=low
+
+  * scripts/casper-bottom/25configure_init: Disable sreadahead on live CD
+    boot. Not only does it profile the live CD boot to no benefit, but it
+    also looks as if it may be responsible for breaking Wubi installs by
+    reading from partman's synchronisation FIFOs (LP: #439279).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 20 Oct 2009 17:32:02 +0100
+
+casper (1.204) karmic; urgency=low
+
+  * scripts/casper-bottom/30accessibility && ubiquity-hooks/30accessibility:
+    - .pulse_a11y_nostart -> pulse_a11y_nostart due to being in a system
+      directory, to completely match the change in pulseaudio, which I missed
+      earlier.
+
+ -- Luke Yelavich <themuso@ubuntu.com>  Wed, 14 Oct 2009 08:29:07 +1100
+
+casper (1.203) karmic; urgency=low
+
+  * scripts/casper-bottom/30accessibility && ubiquity-hooks/30accessibility:
+    - Change .pulse_a11y_nostart location to /var/lib/pulseaudio, as per
+      the change in pulseaudio itself, to solve a race condition with volume
+      settings restore.
+
+ -- Luke Yelavich <themuso@ubuntu.com>  Mon, 12 Oct 2009 08:31:51 +1100
+
+casper (1.202) karmic; urgency=low
+
+  * scripts/casper-bottom/46_disable_services:
+    - MythTV backend is now an upstart service, so rename it's conf file
+      in /etc/init, rather than using update-rc.d.
+
+ -- Mario Limonciello <superm1@ubuntu.com>  Sun, 11 Oct 2009 13:47:00 -0500
+
+casper (1.201) karmic; urgency=low
+
+  [ Colin Watson ]
+  * Don't prompt to eject the SD card on Babbage boards, since for now it's
+    reused as a quasi-boot-floppy (LP: #364273).
+
+  [ James Westby ]
+  * scripts/casper-bottom/44pk_allow_ubuntu: update to work for polkit-1
+    as well. Allow the live cd user to perform any action when at the
+    active console. (LP: #447141)
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Fri, 09 Oct 2009 16:06:53 +0100
+
+casper (1.200) karmic; urgency=low
+
+  * scripts/casper-bottom/20xconfig:
+    - Fix xforcevesa to generate a good failsafe xorg.conf (LP: #423969)
+
+ -- Mario Limonciello <superm1@ubuntu.com>  Thu, 08 Oct 2009 22:26:42 -0500
+
+casper (1.199) karmic; urgency=low
+
+  [ Tormod Volden ]
+  * Scan device-mapper (RAID) devices for live filesystem (LP: #385305).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 06 Oct 2009 23:39:57 +0100
+
+casper (1.198) karmic; urgency=low
+
+  * scripts/casper: Send PULSELOGO usplash command at startup. (LP: #438762)
+
+ -- Martin Pitt <martin.pitt@ubuntu.com>  Fri, 02 Oct 2009 13:51:07 +0200
+
+casper (1.197) karmic; urgency=low
+
+  [ Colin Watson ]
+  * Fix tty device name construction to work with new upstart (LP: #438678).
+
+  [ Loïc Minier ]
+  * scripts/casper-bottom/22serialtty: pass -L to getty and set term to vt100.
+  * scripts/casper-bottom/22serialtty: set +x...
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Thu, 01 Oct 2009 23:27:45 +0100
+
+casper (1.196) karmic; urgency=low
+
+  * Extend our hack that arranges to run setupcon after usplash exits to
+    cover the new Upstartified usplash as well.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 29 Sep 2009 01:36:55 +0100
+
+casper (1.195) karmic; urgency=low
+
+  [ Oliver Grawert ]
+  * add support for serialtty= cmdline option for debugging purposes in live
+    sessions
+
+  [ Colin Watson ]
+  * Upstart moved /etc/event.d/ to /etc/init/; adjust shell provision on VTs
+    to match (LP: #434769).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 28 Sep 2009 10:52:32 +0100
+
+casper (1.194) karmic; urgency=low
+
+  * Fix 47unr_ubiquity shell code to make slightly more sense.
+  * Tell mkinitramfs that casper needs usplash (LP: #434980).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Thu, 24 Sep 2009 01:29:21 +0100
+
+casper (1.193) karmic; urgency=low
+
+  * Sync LSB headers in init script with desired behaviour: don't start
+    casper at boot, and stop after umountroot but before halt/reboot.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 14 Sep 2009 13:08:23 +0100
+
+casper (1.192) karmic; urgency=low
+
+  [ Colin Watson ]
+  * Upgrade to debhelper v7.
+
+  [ Jonathan Riddell ]
+  * Add 37kubuntu_netbook_installer_link to show ubiquity launcher
+
+ -- Jonathan Riddell <jriddell@ubuntu.com>  Sat, 12 Sep 2009 00:10:03 +0100
+
+casper (1.191) karmic; urgency=low
+
+  * Slightly re-work 47unr_ubiquity, so that ubiquity doesn't keep getting
+    added to the favourites if persistence is used.·
+
+ -- Steve Kowalik <stevenk@ubuntu.com>  Tue, 08 Sep 2009 20:35:00 +1000
+
+casper (1.190) karmic; urgency=low
+
+  [ Colin Watson ]
+  * Don't produce an invalid sed program when trying to remove an applet
+    which isn't in the panel (LP: #406188).
+
+  [ Tormod Volden ]
+  * do not remount filesystems that already have been probed when
+    searching for the livefs (LP: #424464)
+  * Fix quoting in try_snap (LP: #424742).
+  * Silence error messages for non-existent device nodes (LP: #425159).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 07 Sep 2009 13:10:53 +0100
+
+casper (1.189) karmic; urgency=low
+
+  * In 10adduser fix path to ubiquity-kde.desktop file
+
+ -- Jonathan Riddell <jriddell@ubuntu.com>  Wed, 02 Sep 2009 14:54:41 +0100
+
+casper (1.188) karmic; urgency=low
+
+  * Allow for platform-orion-ehci in ID_PATH to qualify as a "nice_device"
+    i.e. one which can host a livefs.  This is the name of the USB device
+    driver on Marvell Dove boards.
+
+ -- Loïc Minier <loic.minier@ubuntu.com>  Mon, 31 Aug 2009 14:16:21 +0200
+
+casper (1.187) karmic; urgency=low
+
+  * Stop recommending unionfs-fuse, as we're using aufs again in Karmic.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Fri, 28 Aug 2009 12:07:14 +0100
+
+casper (1.186) karmic; urgency=low
+
+  [ Loïc Minier ]
+  * Allow for platform-mxsdhci in ID_PATH to qualify as a "nice_device" i.e.
+    one which can host a livefs.  This is the new name of this device in
+    2.6.31 kernels on Babbage i.MX51.
+
+  [ Steve Kowalik ]
+  * Rename 47unr-ubiquity as 47unr_ubiquity, as scripts with dashes don't
+    get installed into the initramfs. (LP: #411616)
+
+ -- Steve Kowalik <stevenk@ubuntu.com>  Fri, 14 Aug 2009 17:39:34 +1000
+
+casper (1.185) karmic; urgency=low
+
+  * Actually set 47unr-ubiquity as executable.·
+
+ -- Steve Kowalik <stevenk@ubuntu.com>  Wed, 12 Aug 2009 10:41:35 +1000
+
+casper (1.184) karmic; urgency=low
+
+  [ Evan Dandrea ]
+  * Apply the Ubuntu release version to the installer menu entries as well
+    (LP: #406187).
+
+  [ Colin Watson ]
+  * Fix disabling of apt-check (LP: #406191).
+
+  [ Steve Kowalik ]
+  * Remove the UNR ubiquity .desktop hack in 10adduser.
+  * Set ubiquity as a UNR Favourite in 47unr-ubiquity.
+
+ -- Steve Kowalik <stevenk@ubuntu.com>  Fri, 07 Aug 2009 23:11:58 +0100
+
+casper (1.183) karmic; urgency=low
+
+  * Remove erroneous /root prefix on the ubiquity desktop files in
+    10adduser.
+
+ -- Evan Dandrea <evand@ubuntu.com>  Tue, 21 Jul 2009 14:02:34 +0100
+
+casper (1.182) karmic; urgency=low
+
+  [ Evan Dandrea ]
+  * Busybox sed does not preserve ownership, so chown after using it.
+
+  [ Colin Watson ]
+  * Set AutomaticLogin=$USERNAME, not =ubuntu (thanks, arky; LP: #401321).
+
+  [ Mario Limonciello ]
+  * Add support for lzma type archives to casper-new-uuid.
+
+ -- Mario Limonciello <mario_limonciello@dell.com>  Mon, 20 Jul 2009 17:36:55 -0500
+
+casper (1.181) karmic; urgency=low
+
+  * Insert a version number in the name field for ubiquity's desktop file
+    (LP: #154506).
+
+ -- Evan Dandrea <evand@ubuntu.com>  Wed, 15 Jul 2009 10:11:40 +0100
+
+casper (1.180) karmic; urgency=low
+
+  [ Colin Watson ]
+  * scripts/casper-bottom/15autologin: Minor consistency fixes.
+
+  [ Martin Pitt ]
+  * scripts/casper-bottom/15autologin: Update for new gdm custom configuration
+    file (/etc/gdm/custom.conf). (LP: #395861)
+
+ -- Martin Pitt <martin.pitt@ubuntu.com>  Mon, 06 Jul 2009 16:40:00 +0200
+
+casper (1.179) karmic; urgency=low
+
+  [ Colin Watson ]
+  * If LIVE_MEDIA_PATH is set on the command line, record it in
+    /etc/casper.conf for the benefit of ubiquity.
+
+  [ Martin Pitt ]
+  * scripts/casper-bottom/15autologin: Update to work with new gdm.
+
+ -- Martin Pitt <martin.pitt@ubuntu.com>  Fri, 03 Jul 2009 14:51:57 +0200
+
+casper (1.178) karmic; urgency=low
+
+  * Ensure that unionfs-fuse isn't killed by /etc/init.d/sendsigs on
+    shutdown (LP: #386010).
+  * Patches from "phl" (https://launchpad.net/~ubuntu-leledy), adjusted by
+    me, to fix snapshot resync:
+    - Avoid using cpio -u -d options if klibc cpio is in use (LP: #384059).
+    - Copy /etc/casper.conf into /root, otherwise we forget snapshot resync
+      settings (LP: #384061).
+    - Adjust the first field of *SNAP entries in casper.conf to be relative
+      to /cow, not /root (LP: #384066).
+    - Prefix $DEST with $MOUNTP in casper-snapshot (LP: #384068).
+    - /etc/init.d/casper is usually called with 'start', so handle that as
+      well as 'stop' to do snapshot resyncing and CD ejecting (LP: #384076).
+  * Fix casper-snapshot(1) syntax to avoid missing spaces between options
+    and their values.
+  * Fix showmounts when used in conjunction with unionfs-fuse; read-only
+    filesystems need to be bind-mounted rather than move-mounted.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Fri, 12 Jun 2009 13:24:28 +0100
+
+casper (1.177) karmic; urgency=low
+
+  * Port from Debian (thanks, Daniel Baumann):
+    - Added live-media-path as suggested by Jordi Pujol.
+    - Tail casper.log and show its messages during boot (thanks, Michal
+      Suchanek; LP: #363886).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Thu, 04 Jun 2009 03:10:59 +0100
+
+casper (1.176) karmic; urgency=low
+
+  [ Colin Watson ]
+  * Fix symlinking of anacron to /bin/true.
+
+  [ Martin Pitt ]
+  * Drop scripts/casper-bottom/38jockey_disable_check: Some drivers, like wl
+    or printer drivers, do need to be advertised in a live system. Jockey has
+    been fixed to not advertise video drivers automatically if the packages
+    aren't available (such as in the live system), and even if we should ever
+    put them back, it is easier to disable the notifications in jockey's
+    handlers instead of here. (LP: #381687)
+
+ -- Martin Pitt <martin.pitt@ubuntu.com>  Tue, 02 Jun 2009 15:40:05 +0200
+
+casper (1.175) karmic; urgency=low
+
+  * Suppress error message if
+    /root/usr/share/applications/firefox-fav.desktop doesn't exist.
+  * Add unionfs-fuse support.
+  * Automatically fall back to unionfs-fuse if the default union filesystem
+    is not available but unionfs-fuse is.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Sun, 24 May 2009 12:28:00 +0100
+
+casper (1.174) karmic; urgency=low
+
+  * debian/control: Increase dependency on initramfs-tools to get the version
+    that uses blkid, depend on util-linux as well
+  * hooks/casper: No need to copy vol_id into the initramfs image.·
+  * scripts/casper-bottom/13swap: Use blkid -o udev -p instead of vol_id,
+    there's probably a much cleaner way to check for RAID like this, but
+    this is the direct equivalent.
+  * scripts/casper-helpers (get_fstype): use a blkid call to get the type·
+  * scripts/casper-helpers (find_cow_device): use a blkid call to get the
+    label
+
+ -- Scott James Remnant <scott@ubuntu.com>  Tue, 12 May 2009 13:29:41 +0100
+
+casper (1.173) jaunty; urgency=low
+
+  * Don't use head -n1 in where_is_mounted, we don't have head in the
+    initramfs.  LP: #363038.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com>  Fri, 17 Apr 2009 22:22:06 -0700
+
+casper (1.172) jaunty; urgency=low
+
+  * 43disable_updateinitramfs: The /cdrom mount has been moved to
+    /root/cdrom by the time this script runs, so check that instead.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Thu, 09 Apr 2009 18:30:29 +0100
+
+casper (1.171) jaunty; urgency=low
+
+  * Set MP_QUIET to -q instead of -Q on Ubuntu as well, and not just for
+    Debian as the modprobe in the latest upstream release of module-init-tools
+    doesn't accept -Q anymore.
+
+ -- Loic Minier <lool@dooz.org>  Wed, 08 Apr 2009 17:31:40 +0200
+
+casper (1.170) jaunty; urgency=low
+
+  * is_nice_device(): allow devices with an ID_PATH of platform-mmc* as well
+    as used for instance for SD cards on the ARM iMX51 Babbage board;
+    LP: #357700.
+
+ -- Loic Minier <lool@dooz.org>  Wed, 08 Apr 2009 15:34:01 +0200
+
+casper (1.169) jaunty; urgency=low
+
+  * [ -w /cdrom ] turns out not to be a sufficient test for files under
+    /cdrom being writable; with busybox, it always returns true even for
+    read-only filesystems. Explicitly check for the read-only flag in mount
+    output to work around this.
+  * Fix where_is_mounted helper function to actually produce output (thanks,
+    Steve Dodd; LP: #346941).
+  * Add a comment to find_cow_device explaining why the choice of
+    filesystems is restricted (I asked for this comment in LP #230703 but it
+    apparently never got written).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 07 Apr 2009 01:47:05 +0100
+
+casper (1.168) jaunty; urgency=low
+
+  * Fix writing of "$@" to diverted update-initramfs script (here-documents
+    perform parameter expansion unless the delimiter is quoted).
+  * Don't bring up a temporary network interface while fetching the preseed
+    file when netbooting, as that will disconnect our root filesystem
+    (LP: #351982).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 31 Mar 2009 15:39:29 +0100
+
+casper (1.167) jaunty; urgency=low
+
+  * Disable kwallet from KDE 4 in 34disable_kde_services
+
+ -- Jonathan Riddell <jriddell@ubuntu.com>  Fri, 27 Mar 2009 18:40:35 +0000
+
+casper (1.166) jaunty; urgency=low
+
+  [ Emmet Hikory ]
+  * Show the ubiquity icon in kourou (LP: #338730)
+
+  [ Timo Jyrinki ]
+  * Move examples.desktop to Desktop/ if it exists, as an alternative to
+    Examples (LP: #45489).
+
+  [ Luke Yelavich ]
+  * scripts/casper-bottom/30accessibility && ubiquity-hooks/30accessibility:
+    - Make the special case disabling of pulseaudio per user, and not system
+      wide.
+    - Also disable PulseAudio for the Braille profile.
+    - Fix incorrect paths when chowning files.
+    - Don't use /root for the ubiquity hook accessibility script, /target is
+      where the installed system is located.
+    - Remove laptop detect code. Its not currently working, and getting it to
+      work requires invasive changes.
+    - Only set pulseaudio settings and create the .orca directory if sed
+      packages are installed on the live filesystem and installed system.
+  * ubiquity-hooks/30accessibility: Copy orca settings to the installed system.
+
+ -- Luke Yelavich <themuso@ubuntu.com>  Fri, 27 Mar 2009 14:38:20 +1100
+
+casper (1.165) jaunty; urgency=low
+
+  * scripts/casper-bottom/30accessibility && ubiquity-hooks/30accessibility:
+    - When the blindness accessibility profile is chosen, create the .orca
+      directory in the live user's home directory. This seems to allow orca
+      to properly reload and use settings in the live session without needing
+      to be restarted. This is only needed for the blindness profile, due to
+      the other profiles that use orca already creating the .orca directory.
+      (LP: #194992)
+
+ -- Luke Yelavich <themuso@ubuntu.com>  Fri, 20 Mar 2009 08:37:20 +1100
+
+casper (1.164) jaunty; urgency=low
+
+  * Update 34disable_kde_services to not start
+    update-notifier-kde or plasma's contact plugin which uses akonadi
+
+ -- Jonathan Riddell <jriddell@ubuntu.com>  Wed, 18 Mar 2009 18:07:52 +0000
+
+casper (1.163) jaunty; urgency=low
+
+  * 34disable_kwallet moved to 34disable_kde_services and disables
+    various services not needed by live CDs
+
+ -- Jonathan Riddell <jriddell@ubuntu.com>  Fri, 13 Mar 2009 14:33:13 +0000
+
+casper (1.162) jaunty; urgency=low
+
+  * If /cdrom is writable, call the diverted update-initramfs and copy
+    the resulting kernel and initrd to /cdrom/casper (LP: #292159).
+
+ -- Evan Dandrea <evand@ubuntu.com>  Tue, 10 Mar 2009 14:36:30 +0000
+
+casper (1.161) jaunty; urgency=low
+
+  [ Juanje Ojeda ]
+  * Regenerate SSL certificate at boot so that it isn't the same for all
+    live CD users (LP: #337723).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 10 Mar 2009 10:39:21 +0000
+
+casper (1.160) jaunty; urgency=low
+
+  * scripts/casper-bottom/30accessibility && ubiquity-hooks/30accessibility:
+    - Adjust sudoers file to allow ORBIT_SOCKET_DIR, XDG_SESSION_COOKIE and
+      GTK_MODULES environment variables through to root, for v2, v3, and
+      braille profiles. This allows users to use administrative GTK/GNOME
+      applications executed by gksudo with accessibility tools like orca.
+
+ -- Luke Yelavich <themuso@ubuntu.com>  Tue, 10 Mar 2009 15:38:17 +1100
+
+casper (1.159) jaunty; urgency=low
+
+  * scripts/casper-bottom/30accessibility && ubiquity-hooks/30accessibility:
+    - Disable pulseaudio for the blindness profile, as pulseaudio and espeak
+      and portaudio v19 do not play very well with each other, lots of
+      crackling, cut of speech. At least espeak via ALSA natively is usable,
+      and latency is relatively low.
+
+ -- Luke Yelavich <themuso@ubuntu.com>  Tue, 10 Mar 2009 09:03:06 +1100
+
+casper (1.158) jaunty; urgency=low
+
+  * scripts/casper-bottom/30accessibility && ubiquity-hooks/30accessibility:
+    - use laptop_detect function in blindness profile as well
+
+ -- Luke Yelavich <themuso@ubuntu.com>  Mon, 09 Mar 2009 14:07:17 +1100
+
+casper (1.157) jaunty; urgency=low
+
+  [ Emmet Hikory ]
+  * 10adduser: add Category=Favorites support for netbook-launcher
+    (LP: #334656)
+
+  [ Luke Yelavich ]
+  * scripts/casper-bottom/30accessibility && ubiquity-hooks/30accessibility:
+    - Remove the fast user switch applet from the top panel, to re-enable
+      the logout/shutdown menu options in the system menu. This is done for
+      the speech and braille accessibility profiles. Requiring several
+      keyboard shortcuts to access something that is not entirely accessible
+      yet only makes things difficult for blind/vision impaired users, and is
+      likely to cause much confusion if sed menu entries are not present.
+
+ -- Luke Yelavich <themuso@ubuntu.com>  Tue, 03 Mar 2009 15:49:21 +1100
+
+casper (1.156) jaunty; urgency=low
+
+  * scripts/casper-bottom/30accessibility &
+    ubiquity-hooks/30accessibility:
+    - If using a laptop, enable the laptop keyboard layout
+    - There is no longer a need to set gconf values as root in only-ubiquity
+      mode
+
+ -- Luke Yelavich <themuso@ubuntu.com>  Fri, 06 Feb 2009 08:59:52 +0100
+
+casper (1.155) jaunty; urgency=low
+
+  [ Colin Watson ]
+  * Add myself to debian/copyright as an author, as I've done fairly
+    significant work on this.
+  * Eliminate casper-md5check's libm linkage; patch from "SurJector" who
+    points out that the automatic conversion is sufficient (LP: #293613).
+  * Restore showmounts/show-cow option (thanks, Carlo de Wolf and "probono";
+    LP: #159006, #290330).
+
+  [ Evan Dandrea ]
+  * Add support for ext4.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Fri, 30 Jan 2009 12:14:00 +0000
+
+casper (1.154) jaunty; urgency=low
+
+  [ Evan Dandrea ]
+  * scripts/casper-bottom/02timezone:
+    - Remove as it's no longer needed and resets the timezone when
+      persistence is enabled (LP: #296855).
+
+  [ Colin Watson ]
+  * Preseed console-setup/optionscode and console-setup/codesetcode to the
+    empty string on boot to avoid debris from the live filesystem build
+    process getting in the way of installation (LP: #94177).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Sun, 23 Nov 2008 12:44:45 +0000
+
+casper (1.153) jaunty; urgency=low
+
+  * scripts/casper-bottom/10adduser:
+    - Create links for Mythbuntu items on the Desktop too.
+    - Don't show removable drives on Mythbuntu desktop
+  * scripts/casper-bottom/46disable_services:
+    - New script for disabling services unnecessary to Live
+      mode that should still start after being installed.
+
+ -- Mario Limonciello <superm1@ubuntu.com>  Tue, 04 Nov 2008 01:25:59 -0600
+
+casper (1.152) intrepid; urgency=low
+
+  * Use kde4rc now for accessibility profiles
+
+ -- Jonathan Riddell <jriddell@ubuntu.com>  Sat, 25 Oct 2008 23:44:54 +0100
+
+casper (1.151) intrepid; urgency=low
+
+  * Force ubiquity to --automatic mode for ubuntu-mid
+
+ -- Emmet Hikory <persia@ubuntu.com>  Thu, 16 Oct 2008 15:31:16 +0100
+
+casper (1.150) intrepid; urgency=low
+
+  * Fix path to Kubuntu help file in 10adduser (really)
+
+ -- Jonathan Riddell <jriddell@ubuntu.com>  Thu, 16 Oct 2008 12:16:54 +0100
+
+casper (1.149) intrepid; urgency=low
+
+  * scripts/casper-bottom/30accessibility &
+    ubiquity-hooks/30accessibility:
+    - Revert to using gconf keys for starting orca, as this is now what
+      orca does when the user chooses to automatically start orca from Orca's
+      preferences window.
+    - Explicitly set orca as the program to start up for magnification,
+      speech, and braille.
+
+ -- Luke Yelavich <themuso@ubuntu.com>  Thu, 16 Oct 2008 11:33:02 +1100
+
+casper (1.148) intrepid; urgency=low
+
+  * Skip remounting read-only in try_mount as it's unnecessary and
+    breaks persistence.  Thanks James Westby (LP: #274076).
+
+ -- Evan Dandrea <evand@ubuntu.com>  Wed, 15 Oct 2008 13:09:57 -0400
+
+casper (1.147) intrepid; urgency=low
+
+  * Fix path to Kubuntu help file in 10adduser
+
+ -- Jonathan Riddell <jriddell@ubuntu.com>  Wed, 15 Oct 2008 12:49:29 +0100
+
+casper (1.146) intrepid; urgency=low
+
+  * Update About Kubuntu link in 10adduser for KDE 4
+
+ -- Jonathan Riddell <jriddell@ubuntu.com>  Mon, 06 Oct 2008 17:54:15 +0100
+
+casper (1.145) intrepid; urgency=low
+
+  * 38disable_restricted_manager: Remove some obsolete l-r-m and
+    restricted-manager code, and rename the script to 38jockey_disable_check
+    to better reflect its purpose.
+
+ -- Martin Pitt <martin.pitt@ubuntu.com>  Mon, 06 Oct 2008 09:21:40 +0200
+
+casper (1.144) intrepid; urgency=low
+
+  * Bump media detection timeout to a minute; thanks to Tormod Volden and
+    Steve Beattie for analysis (LP: #258432).
+  * Note that this changes (fixes?) the semantics of LIVEMEDIA_TIMEOUT due
+    to not using hex values in a for loop which aren't understood by test
+    -lt (thanks, Steve Beattie).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Fri, 26 Sep 2008 18:35:13 +0100
+
+casper (1.143) intrepid; urgency=low
+
+  * scripts/casper-bottom/30accessibility &
+    ubiquity-hooks/30accessibility: Change the way that orca is set to
+    automatically start. Orca can be started via a gconf key, however this
+    is not reflected in the orca UI, and doesn't easily allow the user to
+    prevent orca from autostarting on an installed system.
+
+ -- Luke Yelavich <themuso@ubuntu.com>  Wed, 24 Sep 2008 10:37:35 +1000
+
+casper (1.142) intrepid; urgency=low
+
+  * Fix syntax error introduced by is_nice_device regex fix.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Fri, 19 Sep 2008 02:30:59 +0100
+
+casper (1.141) intrepid; urgency=low
+
+  [ Johannes Ballé ]
+  * Handle spaces in file names in md5sum.txt (LP: #251112).
+
+  [ Colin Watson ]
+  * Support ?= (set value but don't mark as seen) preseeding syntax in
+    preseed script; previously we only supported it in the keyboard script,
+    which confusingly doesn't deal with propagating console-setup/* preseeds
+    to the target filesystem (LP: #253749).
+  * Update to localechooser's new languagelist format.
+
+  [ Tormod Volden ]
+  * scripts/casper: don't scan floppy drives for livefs images (LP: #97306)
+  * scripts/casper: fix broken RE in is_nice_device() (LP: #250328)
+  * scripts/casper: properly use argument $1 in matches_uuid()
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Fri, 19 Sep 2008 02:14:05 +0100
+
+casper (1.140) intrepid; urgency=low
+
+  [ Colin Watson ]
+  * Disable jockey as well as the old restricted-manager. While jockey does
+    do more than restricted-manager did, it also still uses a good chunk of
+    memory for a use case that's fairly limited on the live CD.
+
+  [ Luke Yelavich ]
+  * scripts/casper-bottom/30accessibility &
+    ubiquity-hooks/30accessibility:
+    - Check that usr/bin/orca exists and is executable before creating user
+      settings files.
+
+ -- Luke Yelavich <themuso@ubuntu.com>  Fri, 12 Sep 2008 19:23:41 +1000
+
+casper (1.139) intrepid; urgency=low
+
+  * add compcache conf.d configuration for initramfs-tools
+
+ -- Oliver Grawert <ogra@ubuntu.com>  Thu, 14 Aug 2008 00:25:54 +0200
+
+casper (1.138) intrepid; urgency=low
+
+  [ Tormod Volden ]
+  * use full path for vol_id in swap-on-raid detection (LP: #136804)
+
+  [ Martin Pitt ]
+  * 33enable_apport_crashes: Change the apport default file, not the
+    update-notifier gconf keys, to undo the corresponding change for disabling
+    apport right before the release.
+  * Add 45disable_guest_account: Purge the gdm-guest-session package from the
+    live system, since having guest sessions in a live session does not make
+    much sense. (See gdm-guest-login spec)
+
+ -- Martin Pitt <martin.pitt@ubuntu.com>  Thu, 31 Jul 2008 14:19:07 +0200
+
+casper (1.137) intrepid; urgency=low
+
+  * Update scripts/casper-bottom/15autologin for KDM from KDE 4.
+  * Update 32disable_hibernation for KDE 4.
+
+ -- Jonathan Riddell <jriddell@ubuntu.com>  Thu, 17 Jul 2008 13:41:38 +0100
+
+casper (1.136) intrepid; urgency=low
+
+  * Remove bad-and-wrong setting of PATH to include directories under /root;
+    now that grep links to more libraries than before, this broke a number
+    of things. Requires initramfs-tools (>= 0.92bubuntu5) because this
+    doesn't work with klibc chroot.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Fri, 11 Jul 2008 12:34:35 +0100
+
+casper (1.135) intrepid; urgency=low
+
+  [ Loic Minier ]
+  * Fix use of PREREQ instead of PREREQS in hooks/casper.
+
+  [ Colin Watson ]
+  * Fix mount argument ordering for klibc mount.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Wed, 09 Jul 2008 12:34:26 +0100
+
+casper (1.134) intrepid; urgency=low
+
+  [ Evan Dandrea ]
+  * Do not use mode= when mounting /cow using persistent mode (LP: #219192).
+
+  [ Colin Watson ]
+  * Support ?= (set value but don't mark as seen) preseeding syntax for
+    console-setup/* (LP: #64058).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 30 Jun 2008 23:52:41 +0100
+
+casper (1.133) intrepid; urgency=low
+
+  [ Tormod Volden ]
+  * Do not use swap on RAID raw devices (LP: #136804)
+
+  [ Agostino Russo ]
+  * Test if livemedia is a directory before trying to mount it as a
+    loopfile
+  * Reverted changes to casper-helpers as requested by Mithrandir since
+    replaying the journal on a hibernated system would lead to file system
+    corruption (LP: #230703).
+
+ -- Evan Dandrea <evand@ubuntu.com>  Wed, 18 Jun 2008 12:34:58 -0400
+
+casper (1.132ubuntu0.2) hardy-proposed; urgency=low
+
+  * Test if livemedia is a directory before trying to mount it as a
+    loopfile
+  * Reverted changes to casper-helpers as requested by Mithrandir since
+    replaying the journal on a hibernated system would lead to file system
+    corruption (LP: #230703).
+
+ -- Agostino Russo <agostino.russo@gmail.com>  Tue, 10 Jun 2008 00:27:12 +0100
+
+casper (1.132ubuntu0.1) hardy-proposed; urgency=low
+
+  * Do not scan only vfat volumes when looking for cow devices (LP: #230703)
+  * Allow casper to use a squashfs filesystem within an arbitrary path (LP:
+    #230716, #207137)
+
+ -- Agostino Russo <agostino.russo@gmail.com>  Thu, 15 May 2008 22:10:50 +0100
+
+casper (1.132) intrepid; urgency=low
+
+  [ Colin Watson ]
+  * Switch default unionfs implementation to aufs.
+
+  [ Agostino Russo ]
+  * Do not scan only vfat volumes when looking for cow devices (LP: #230703)
+  * Allow casper to use a squashfs filesystem within an arbitrary path (LP:
+    #230716, #207137)
+
+ -- Evan Dandrea <evand@ubuntu.com>  Wed, 28 May 2008 15:01:30 -0400
+
+casper (1.131) hardy; urgency=low
+
+  [ Luke Yelavich ]
+  * scripts/casper-bottom/30accessibility: Set gconf and orca config values as
+    root in automatic-ubiquity, only-ubiquity, and debug-ubiquity modes.
+  * ubiquity-hooks/30accessibility: Remove unneeded gconf call to disable esd.
+
+  [ Colin Watson ]
+  * Ensure that the live CD user's Desktop directory is owned by them, not
+    by root (LP: #218576).
+  * Duplicate a chunk of console-setup logic into the keyboard script so
+    that we can deal with non-Latin keymaps and the like without having to
+    have gfxboot-theme-ubuntu help us; the previous approach broke other
+    uses of console-setup, and thus the alternate install CD (LP: #218754).
+    This should later be replaced by just running console-setup, and I'll
+    open another bug for this.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 21 Apr 2008 14:52:05 +0100
+
+casper (1.130) hardy; urgency=low
+
+  * Handle use of debian-installer/language for locale selection
+    (LP: #213930).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Sat, 12 Apr 2008 00:30:10 +0100
+
+casper (1.129) hardy; urgency=low
+
+  * Add COPYING file with GPL text (LP: #211923).
+  * Add casper-new-uuid script to simplify UUID regeneration process,
+    contributed by Mario Limonciello of Dell (LP: #209847).
+  * Update casper-snapshot for genext2fs --reserved-blocks =>
+    --reserved-percentage option change (LP: #202048). Add a Breaks as the
+    most lightweight available method of documenting that we need genext2fs
+    >= 1.4.1 for this.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Thu, 10 Apr 2008 01:45:47 +0100
+
+casper (1.128) hardy; urgency=low
+
+  [ Luke Yelavich ]
+  * scripts/casper-bottom/30accessibility &
+    ubiquity-hooks/30accessibility:
+    - Update gconf keys to ensure onboard actually gets loaded.
+    - Change ownership of created orca settings files to the user.
+    - Add extra bits to make orca settings actually work.
+
+  [ Evan Dandrea ]
+  * Add mode=755 to the tmpfs mount that becomes / in the unionfs mount
+    so that / in the live filesystem does not end up with 777 permissions
+    (LP: #206030).
+
+  [ Colin Watson ]
+  * Make scripts/casper-bottom/38disable_restricted_manager executable
+    again.
+  * Depend on uuid-runtime for uuidgen.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 31 Mar 2008 18:11:55 +0100
+
+casper (1.127) hardy; urgency=low
+
+  * Leave spawning the noninteractive ubiquity frontend to its initscript.
+
+ -- Evan Dandrea <evand@ubuntu.com>  Tue, 25 Mar 2008 15:52:32 -0400
+
+casper (1.126) hardy; urgency=low
+
+  * scripts/casper-bottom/10adduser: Test for konqueror not kdesktop,
+    stops putting a broken icon on the Kubuntu KDE 4 desktop
+
+ -- Jonathan Riddell <jriddell@ubuntu.com>  Tue, 25 Mar 2008 15:42:31 +0000
+
+casper (1.125) hardy; urgency=low
+
+  [ Colin Watson ]
+  * Stop quoting Exec arguments in .desktop files. Apparently this used to
+    work but now the system conforms more strictly to the desktop entry
+    specification (LP: #204185).
+
+  [ Jonathan Riddell ]
+  * scripts/casper-bottom/15autologin: Enable auto-login for KDM-KDE4
+
+ -- Jonathan Riddell <jriddell@ubuntu.com>  Thu, 20 Mar 2008 10:20:17 +0000
+
+casper (1.124) hardy; urgency=low
+
+  [ Colin Watson ]
+  * Name generated snapshot images according to their type (LP: #202699).
+
+  [ Martin Pitt ]
+  * scripts/casper-bottom/44pk_allow_ubuntu: Remove erroneous blank line at
+    the start of PolicyKit.conf, since this is invalid XML. This broke
+    PolicyKit completely on the live system.
+
+ -- Martin Pitt <martin.pitt@ubuntu.com>  Tue, 18 Mar 2008 10:20:08 +0100
+
+casper (1.123) hardy; urgency=low
+
+  * Add scripts/casper-bottom/44pk_allow_ubuntu: Allow PolicyKit privileges
+    without password to the default live session user. This avoids the need to
+    press Enter at the password prompt, which is quite confusing. Thanks to
+    MarioDebian! (LP: #201852)
+
+ -- Martin Pitt <martin.pitt@ubuntu.com>  Fri, 14 Mar 2008 17:26:37 +0100
+
+casper (1.122) hardy; urgency=low
+
+  * Fix paths in About Kubuntu links
+
+ -- Jonathan Riddell <jriddell@ubuntu.com>  Fri, 14 Mar 2008 15:12:38 +0000
+
+casper (1.121) hardy; urgency=low
+
+  * Use a link for About Kubuntu docs in Kubuntu-KDE4
+
+ -- Jonathan Riddell <jriddell@ubuntu.com>  Wed, 12 Mar 2008 23:57:50 +0000
+
+casper (1.120) hardy; urgency=low
+
+  * Use dhclient directly instead of ifupdown for the url= kernel cmdline
+    argument so that we don't have to worry about the interfaces file
+    propagating to the installed system.
+
+ -- Evan Dandrea <evand@ubuntu.com>  Tue, 11 Mar 2008 13:08:08 -0400
+
+casper (1.119) hardy; urgency=low
+
+  [ Luke Yelavich ]
+  * scripts/casper-bottom/30accessibility &
+    ubiquity-hooks/30accessibility:
+    - Disable compiz for screen reader and braille terminal accessibility
+      profiles. It is currently not possible to get feedback about open
+      windows when cycling through them using ALT + Tab with Compiz.
+  * ubiquity-hooks/30accessibility: Add braille terminal profile.
+
+  [ Colin Watson ]
+  * Always set language in both /etc/default/locale and /etc/environment
+    (thanks, Sebastien Bacher).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 03 Mar 2008 10:21:42 +0000
+
+casper (1.118) hardy; urgency=low
+
+  [ Julian Andres Klode, Colin Watson ]
+  * Use aufs instead of unionfs if union=aufs is given (LP: #187259).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Thu, 14 Feb 2008 18:00:36 +0000
+
+casper (1.117) hardy; urgency=low
+
+  * Disable speech for magnifier and braille profiles again.  Thanks
+    Luke Yelavich.
+  * esd is enabled by default, so the comment in 30accessibility is no
+    longer relevant.
+
+ -- Evan Dandrea <evand@ubuntu.com>  Wed, 13 Feb 2008 01:20:22 -0500
+
+casper (1.116) hardy; urgency=low
+
+  * Fix setting orca options in 30accessibility.
+  * Remove gdm and kdm from init when using automatic-ubiquity and
+    only-ubiquity.  The ubiquity initscript will take care of spawning
+    these.
+
+ -- Evan Dandrea <evand@ubuntu.com>  Mon, 11 Feb 2008 12:19:39 -0500
+
+casper (1.115) hardy; urgency=low
+
+  * Add the user to the groups specified by user-setup-udeb.
+
+ -- Evan Dandrea <evand@ubuntu.com>  Thu, 24 Jan 2008 19:08:33 +0000
+
+casper (1.114) hardy; urgency=low
+
+  [ Colin Watson ]
+  * casper-md5check: Close md5_file before exiting.
+  * Disable tracker-applet as well as trackerd, otherwise the former starts
+    the latter.
+  * casper-snapshot: Fix argument parsing (thanks, Tormod Volden;
+    LP: #179411).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 15 Jan 2008 18:25:21 +0000
+
+casper (1.113) hardy; urgency=low
+
+  [ Tollef Fog Heen ]
+  * dpkg-divert away update-initramfs as it's useless on live CDs and
+    annoying when people install LVM and similar tools in order to rescue
+    a system.  LP: #150188
+
+  [ Colin Watson ]
+  * Adjust /etc/sudoers editing code so that it doesn't repeatedly add
+    "NOPASSWD:" in persistent mode (LP: #175159).
+  * Avoid ejecting the CD if booting from an ISO image rather than from a
+    physical CD (thanks, Agostino Russo; LP: #176014).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Wed, 19 Dec 2007 09:17:50 +0000
+
+casper (1.112) hardy; urgency=low
+
+  * hooks/casper: no need to copy udevinfo into the initramfs, it's already
+    there inside udevadm
+  * scripts/casper: call udevadm with trigger and settle arguments
+  * scripts/casper-bottom/23networking: call udevadm with trigger and
+    settle arguments
+  * scripts/casper-helpers: call udevadm with info and settle arguments
+
+ -- Scott James Remnant <scott@ubuntu.com>  Fri, 14 Dec 2007 15:00:29 +0000
+
+casper (1.111) hardy; urgency=low
+
+  * Remove code to set the progress bar to throbbing, this now comes as
+    standard so we don't need to duplicate it or override things that
+    attempted to set progress.  LP: #162397.
+
+ -- Scott James Remnant <scott@ubuntu.com>  Tue, 13 Nov 2007 20:49:31 +0000
+
+casper (1.110) gutsy; urgency=low
+
+  * Don't generate fglrx or the nvidia modules in the live session at boot;
+    we disable restricted-manager in the live session anyway so they aren't
+    straightforward to use (see #43706). Saves about 19 MB of memory.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Fri, 05 Oct 2007 21:28:29 +0100
+
+casper (1.109) gutsy; urgency=low
+
+  * Cache the stty binary before ejecting the CD.
+  * Skip the CD eject prompt if 'noprompt' is on the kernel command line
+    (LP: #149159).
+  * Try each of (e.g.) 2.6.22-13-generic, 2.6.22-13, and 2.6.22 in turn as
+    directory names for driver updates (LP: #122430).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Fri, 05 Oct 2007 03:24:43 +0100
+
+casper (1.108) gutsy; urgency=low
+
+  * If CASPER_GENERATE_UUID is set, generate a random UUID in the initramfs,
+    and check it against the discovered medium (unless booting with the
+    ignore_uuid parameter). This allows live CD images to be safely copied
+    to the hard disk without causing problems when booting future live CDs
+    (LP: #144800).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Thu, 04 Oct 2007 14:23:37 +0100
+
+casper (1.107) gutsy; urgency=low
+
+  * Fix gconf keys for suspend and hibernate (thanks, Oliver Grawert;
+    LP: #144790).
+  * Enable suspend again since as far as I can see we no longer need to
+    probe DMI while figuring out whether to enable it (see #61535).
+  * Add a 'textonly' boot option to disable X (LP: #65818).
+  * Write the please-remove-CD message to /dev/console so that it works even
+    if usplash isn't running, and make sure to set /dev/console into a sane
+    state so that pressing Enter doesn't just result in ^M being displayed.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 02 Oct 2007 15:12:57 +0100
+
+casper (1.106) gutsy; urgency=low
+
+  * Support preseed/early_command; code supplied here will be run using 'sh
+    -c' from casper-bottom, and can chroot to /root if needed (LP: #144845).
+  * Make sure we don't accidentally continue to boot if casper-md5check
+    fails (LP: #82856).
+  * Clear out debconf database backup files after preseeding to save memory
+    (LP: #43706).
+  * Mount everything as noatime to avoid unnecessary metadata writes.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Fri, 28 Sep 2007 15:27:52 +0100
+
+casper (1.105) gutsy; urgency=low
+
+  * scripts/casper-bottom/36disable_trackerd: Disable trackerd in the live
+    session; it's not very useful in this context and it uses a fair bit of
+    memory.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 24 Sep 2007 17:25:50 +0100
+
+casper (1.104) gutsy; urgency=low
+
+  * casper-md5check: Fall back to text output if opening the usplash FIFO
+    fails (LP: #131209).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Thu, 20 Sep 2007 01:07:45 +0100
+
+casper (1.103) gutsy; urgency=low
+
+  * Disable anacron harder so that it doesn't get started by battery events.
+  * Don't write out DHCP network interface stanzas if network-manager is
+    installed (LP: #139403).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Wed, 19 Sep 2007 12:52:21 +0100
+
+casper (1.102) gutsy; urgency=low
+
+  * Rename 42disable_cups_apparmor to 42disable_apparmor and remove AppArmor's
+    rc.d startup links instead of just disabling the cups profile. AA profiles
+    will not generally work on the live system, so disabling it completely
+    allows us to ship more profiles without worrying any further.
+    (LP: #131976)
+
+ -- Martin Pitt <martin.pitt@ubuntu.com>  Fri, 14 Sep 2007 08:37:50 +0200
+
+casper (1.101) gutsy; urgency=low
+
+  * Add scripts/casper-bottom/42disable_cups_apparmor: Disable AppArmor
+    protection for cups on the live CD by switching the profiles to complain
+    mode. This is necessary until AppArmor works properly on stacked file
+    systems. (LP: #131976)
+
+ -- Martin Pitt <martin.pitt@ubuntu.com>  Wed, 12 Sep 2007 16:44:02 +0200
+
+casper (1.100) gutsy; urgency=low
+
+  * scripts/casper-bottom/41apt_cdrom: Remove unnecessary /root/cdrom
+    mounting/unmounting code, which only serves to generate error messages
+    (scripts/casper-bottom/05mountpoints handles this already).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 11 Sep 2007 19:47:58 +0100
+
+casper (1.99) gutsy; urgency=low
+
+  [ Luke Yelavich ]
+  * scripts/casper-bottom/30accessibility &
+    ubiquity-hooks/30accessibility:
+    - Change gconf setting used to automatically start Orca (LP: #131808).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Fri, 31 Aug 2007 13:09:46 +0100
+
+casper (1.98) gutsy; urgency=low
+
+  * Load /preseed.cfg if it exists in the initramfs.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Wed, 29 Aug 2007 16:18:27 +0100
+
+casper (1.97) gutsy; urgency=low
+
+  * Fix paths in scripts/casper-bottom/10adduser and
+    scripts/casper-bottom/38disable_restricted_manager
+
+ -- Jonathan Riddell <jriddell@ubuntu.com>  Wed, 29 Aug 2007 15:26:33 +0100
+
+casper (1.96) gutsy; urgency=low
+
+  [ Colin Watson ]
+  * Fix name and executability of timezone script.
+
+  [ Jonathan Riddell ]
+  * In 10adduser add About Kubuntu document to desktop and remove
+    restricted-manager autostart files
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 07 Aug 2007 12:51:02 +0100
+
+casper (1.95) gutsy; urgency=low
+
+  * Fix regex syntax error while looking for non-CD devices for driver
+    updates.
+  * Fix ip= boot parameter, documented but not properly merged from Debian.
+    (LP: #128689).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Fri, 27 Jul 2007 15:03:41 +0100
+
+casper (1.94) gutsy; urgency=low
+
+  [ Colin Watson ]
+  * Hack around keyboard configuration not being done until after the keymap
+    is set by having /etc/init.d/usplash reconfigure the console
+    (LP: #68487).
+  * Disable pam_lastlog on the console if doing autologin (LP: #126800).
+
+  [ Luke Yelavich ]
+  * scripts/casper-bottom/30accessibility &
+    ubiquity-hooks/30accessibility:
+    - Prevent gksu from grabbing keyboard focus for the v2, v3, and m1
+      accessibility profiles. (LP: #67172)
+  * Start Orca when a Braille device is configured from choosing the
+    Braille option in the Accessibility menu. (Partially fixes Launchpad
+    bug #122024)
+  * Re-enable desktop sounds for the blindness accessibility profile, as
+    eSpeak should be able to speak alongside audio playback.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 24 Jul 2007 16:24:55 +0100
+
+casper (1.93) gutsy; urgency=low
+
+  * revert gdm-cdd.conf handling for autologin to the chrooted code
+    as we had it in feisty. not chrooting brings up problems with the
+    alternatives system (dead symlinks) used for gdm-cdd.conf
+
+ -- Oliver Grawert <ogra@ubuntu.com>  Wed, 18 Jul 2007 15:08:16 +0200
+
+casper (1.92) gutsy; urgency=low
+
+  [ Colin Watson ]
+  * Don't bother chrooting just to run test(1).
+
+  [ Evan Dandrea ]
+  * Added support for URL-based preseeding.
+  * Added 'noninteractive' option that starts ubiquity in noninteractive
+    mode on tty1.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 09 Jul 2007 15:23:51 +0100
+
+casper (1.91) gutsy; urgency=low
+
+  * Fix Maintainer field (ubuntu-devel-discuss, not ubuntu-devel).
+  * Remember to strip directories from paths when dealing with driver update
+    .debs (LP: #120217).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Thu, 14 Jun 2007 09:51:33 +0100
+
+casper (1.90) gutsy; urgency=low
+
+  * Added to 22screensaver, to stop the screen automatically locking.
+    Fixes LP: #13497 for kubuntu as well.
+
+ -- Sarah Hobbs <hobbsee@ubuntu.com>  Thu, 07 Jun 2007 00:50:42 +1000
+
+casper (1.89) UNRELEASED; urgency=low
+
+  * Update Maintainer field to reflect reality; this package is no longer
+    maintained by me.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Wed, 06 Jun 2007 14:56:46 +0200
+
+casper (1.88) gutsy; urgency=low
+
+  * Add default values for root_persistence, home_persistence,
+    root_snapshot_label, and home_snapshot_label, and parse the persistent
+    command-line option, which went missing in the last merge from Debian.
+    This goes some way towards LP #84591 but doesn't quite fix it for me
+    since the USB stick inexplicably doesn't appear until a little too late.
+  * Use 'losetup -f' instead of walking /sys/block/loop*. Requires
+    busybox-initramfs 1:1.1.3-4ubuntu3.
+  * Install temporary workaround for /dev/loop* breakage in post-2.6.21
+    kernels (LP: #118561).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 04 Jun 2007 16:26:59 +0100
+
+casper (1.87) feisty; urgency=low
+
+  [ Colin Watson ]
+  * Improve language at end of MD5 check (LP: #100088).
+
+  [ Martin Pitt ]
+  * Add casper-bottom/33enable_apport_crashes: Enable apport crash
+    notifications. They are disabled now by default in the installed system
+    for the final release.
+
+ -- Martin Pitt <martin.pitt@ubuntu.com>  Mon,  9 Apr 2007 14:31:50 +0200
+
+casper (1.86) feisty; urgency=low
+
+  [ Luke Yelavich ]
+  * scripts/casper-bottom/30accessibility &
+    ubiquity-hooks/30accessibility:
+    - Point to new settings file for gnome-orca, as package was changed
+      from python-support to pycentral. (LP: #91868)
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Thu,  5 Apr 2007 16:42:54 +0100
+
+casper (1.85) feisty; urgency=low
+
+  * Stop disabling nvidia and fglrx drivers.  LP: #94359
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Mon,  2 Apr 2007 13:16:46 +0200
+
+casper (1.84) feisty; urgency=low
+
+  [ Jani Monoses ]
+  * scripts/casper-bottom/13swap: Call /bin/dd not dd so it
+    correctly detects and uses existing swap partitions (LP: #62868)
+
+  [ Tollef Fog Heen ]
+  * Make sure that we are settled before trying to set up netbooting.
+    (LP: #96076)
+  * Bind-mount /dev too, when configuring X, this should make it easier
+    for X to be correctly configured on a lot of systems.
+  * Add /root/lib and /root/usr/lib to /etc/ld.so.conf in the initramfs.
+  * Add any sources on the CD to APT using apt-cdrom.
+  * Set the time zone to UTC.  LP: #13782
+  * Fix deletion of checkroot script.  LP: #66585.
+
+  [ Colin Watson ]
+  * Fix error message if do_netmount fails (LP: #95134).
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Fri, 30 Mar 2007 12:37:58 +0200
+
+casper (1.83) feisty; urgency=low
+
+  * Fix usplash version in Conflicts.
+  * Add XS-Vcs-Bzr field to debian/control.
+  * scripts/casper-bottom/25configure_init: Support for "respawn COMMAND"
+    has been dropped from upstart jobs; cope with /etc/event.d/tty* using
+    "respawn" plus "exec COMMAND" now instead (LP: #92928).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 19 Mar 2007 16:44:22 +0000
+
+casper (1.82) feisty; urgency=low
+
+  [ Ben Collins ]
+  * Depends on eject package, and copy it into initramfs.
+  * Add log_wait_msg function to use usplash_write INPUTENTER.
+  * Conflict with usplash older than the one that fixes INPUTENTER.
+  * Add driver-updates hooks.
+
+  [ Colin Watson ]
+  * Fix more leftover /live_media wreckage (LP: #84592).
+  * Add a ubiquity hook to install driver-updates on the target system.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon,  5 Mar 2007 11:19:48 +0000
+
+casper (1.81+debian-4) unstable; urgency=low
+
+  * Added patch from Serkan Sakar <serkan.sakar@gmx.net> to allow local keymap
+    for use with encryption.
+
+ -- Daniel Baumann <daniel@debian.org>  Wed, 11 Apr 2007 09:04:00 +0200
+
+casper (1.81+debian-3) unstable; urgency=low
+
+  * Added depends to eject.
+  * Removed recommends to live-package.
+
+ -- Daniel Baumann <daniel@debian.org>  Wed, 21 Mar 2007 00:30:00 +0100
+
+casper (1.81+debian-2) unstable; urgency=low
+
+  [ Daniel Baumann ]
+  * Applied patch from Sebastian Raveau <sebastien.raveau@epita.fr> to
+    add support for filesystem images encrypted with loop-aes.
+
+  [ Marco Amadori ]
+  * Added a "quickreboot" boot parameter, that prevent casper to eject the
+    media, useful for remote rebooting of a casper system, thanks to
+    Jonathan Hall <flimzy@flimzy.com> for the patch.
+
+ -- Marco Amadori <marco.amadori@gmail.com>  Fri, 16 Feb 2007 17:26:58 +0100
+
+casper (1.81+debian-1) unstable; urgency=low
+
+  * New upstream release.
+  * Some cleaning and renaming involved because most of the debian-only code
+    was merged in ubuntu sources, then back here.
+  * Extended manpage, thanks to Alex Owen <r.alex.owen@gmail.com> and
+    Jonathan Hall <flimzy@flimzy.com> (Closes: #409980).
+  * Included a slightly reworked and bug fixed version of "Allow specific
+    ordering of images" by Jonathan Hall <flimzy@flimzy.com> with a new boot
+    parameter: module=NAME.
+
+ -- Marco Amadori <marco.amadori@gmail.com>  Thu, 15 Feb 2007 10:21:01 +0100
+
+casper (1.81) feisty; urgency=low
+
+  * Merge in Debian's changes.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Wed,  7 Feb 2007 14:39:30 +0100
+
+casper (1.80) feisty; urgency=low
+
+  * scripts/casper-bottom/31disable_update_notifier: Allow update-notifier
+    to run for crash report handling, but disable its apt-check hook.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Thu,  1 Feb 2007 00:11:06 +0000
+
+casper (1.79+debian-3) unstable; urgency=low
+
+  * Fix DEFCONSOLE for autoserial console, thanks to
+    "Alex Owen" <r.alex.owen@gmail.com>.
+
+ -- Marco Amadori <marco.amadori@gmail.com>  Sun,  4 Feb 2007 20:12:08 +0100
+
+casper (1.79+debian-2) unstable; urgency=low
+
+  * It now depends also on "file" (Closes: #409308).
+  * Fixed LIVEMEDIA_TIMEOUT values (Closes: #409300).
+    Thanks for both to Jonathan Hall <flimzy@flimzy.com>.
+
+ -- Marco Amadori <marco.amadori@gmail.com>  Sat,  3 Feb 2007 18:29:20 +0100
+
+casper (1.79+debian-1) unstable; urgency=low
+
+  * New Upstream release.
+  * Reverted: "Mount the first squashfs as /rofs."
+
+ -- Marco Amadori <marco.amadori@gmail.com>  Tue, 16 Jan 2007 12:12:34 +0100
+
+casper (1.79) feisty; urgency=low
+
+  [ Colin Watson ]
+  * ubiquity-hooks/30accessibility: Change /root to /target in
+    kderc_addtoprefixes (thanks, Jani Monoses).
+  * Call udevsettle after udevtrigger (thanks, Matthias Urlichs; LP:
+    #77438).
+  * Send casper-reconfigure error messages to stderr rather than stdout to
+    avoid interfering with debconf.
+
+  [ Jani Monoses ]
+  * ubiquity-hooks/30accessibility, scripts/casper-bottom/30accessibility:
+    Fix v2 option to start orca in magnifier not speech mode.
+    Add v1, v2, v3, m1 and m2 Xubuntu options
+
+  [ Tollef Fog Heen ]
+  * Apply patch from Luka Renko to support kde-guidance-powermanager and
+    ksmserver instead of klaptoprc as the latter is no longer used.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Wed, 10 Jan 2007 20:37:30 +0100
+
+casper (1.78) edgy; urgency=low
+
+  * Mount the first squashfs as /rofs. Breaks showmounts and won't work
+    properly with stacked filesystems, but works around a kernel oops with
+    multiply-mounted squashfses for Edgy.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Wed, 25 Oct 2006 12:46:05 +0100
+
+casper (1.77+debian-7) testing; urgency=medium
+
+  * Backported two 1 line fixes (both serious bugs) from casper-1.79+debian-1
+    and casper-1.79+debian-3:
+    - It now depends also on "file" (Closes: #409308).
+    - Fix DEFCONSOLE for autoserial console, thanks to
+      "Alex Owen" <r.alex.owen@gmail.com>.
+
+ -- Marco Amadori <marco.amadori@gmail.com>  Thu,  8 Feb 2007 11:19:46 +0100
+
+casper (1.77+debian-6) unstable; urgency=medium
+
+  * Improved snapshots features (even still experimental).
+  * Added "live-media-offset=BYTES" boot param, to enable "hiding"
+    feature, thanks to Sebastien Raveau <sebastien.raveau@epita.fr>.
+  * Now it creates /etc/resolv.conf if netbooted.
+
+ -- Marco Amadori <marco.amadori@gmail.com>  Fri,  1 Dec 2006 17:43:30 +0100
+
+casper (1.77+debian-5) unstable; urgency=low
+
+  * Fixed preseeding locale and keyboard's variant and options.
+  * Reorganized scans of /proc/cmdline.
+  * Improved manpages, thanks to Oliver Osburg for syntax corrections.
+  * Added "nopersistent" boot option to disable the "persistent" boot param.
+  * Added "xdebconf" boot option, that uses xdebconfigurator on the
+    rootfs to configure X (experimental).
+
+ -- Marco Amadori <marco.amadori@gmail.com>  Mon, 20 Nov 2006 22:12:18 +0100
+
+casper (1.77+debian-4) unstable; urgency=medium
+
+  * Removed -phigh from casper-reconfigure, not needed anymore.
+  * Fixed netboot /etc/network/interfaces generation, thanks to Hadar
+    <whadar@gmail.com>.
+  * Fixed X keyboard setup. Thanks to <ascii_77@yahoo.fr> for the idea.
+  * Fixed keyboard setup.
+  * Allow commandline-device to show up late, thanks to Bas Wijnen
+    <wijnen@debian.org> for the code and the care (Closes: #397320).
+  * Urgency is set to medium to try reaching Etch with important
+    features/bugfixes.
+
+ -- Marco Amadori <marco.amadori@gmail.com>  Mon,  6 Nov 2006 19:00:29 +0100
+
+casper (1.77+debian-3) unstable; urgency=medium
+
+  * Fixed "todisk=" parsing.
+  * Urgency is set to medium to try reaching Etch with important
+    features/bugfixes.
+
+ -- Marco Amadori <marco.amadori@gmail.com>  Wed,  1 Nov 2006 11:15:56 +0100
+
+casper (1.77+debian-2) unstable; urgency=medium
+
+  [ Marco Amadori ]
+  * Improved snapshotting (but still experimental).
+  * Renamed "host=" boot parameter to "hostname=" and shell variable "HOST" to
+    "HOSTNAME" for consistence, with linux and with username/USERNAME, as
+    requested by many people.
+  * Fixed a "keyb=" typo.
+  * Added dependence on lsb-base (used by init-script and
+    casper-snapshot).
+  * Removed DM support (obsolete).
+  * Changed a bit locale and keyboard handling.
+  * Fixed locale generation.
+  * Urgency is set to medium to try reaching Etch with important
+    features/bugfixes.
+
+  [ Otavio Salvador ]
+  * Really lowered usplash conflicts since Debian doesn't has 0.4.
+
+ -- Marco Amadori <marco.amadori@gmail.com>  Mon, 30 Oct 2006 17:06:48 +0100
+
+casper (1.77+debian-1) unstable; urgency=low
+
+  * New upstream release.
+  * Added snapshot persistence feature (copy on boot, sync on reboot) via
+    different ways: squashfs, cpio.gz, and block device filesystems.
+  * Added boot parameter "live-media=<device>" to force trying to boot from
+    a specified device.
+  * Added support for "todisk=<device>" to copy the live media to a
+    device filesystem, subsequent boots could use "live-media=<device>".
+  * Slightly polished locales and keyboards handling.
+  * Extendend manpages.
+  * Readded a missing "sleep 1", reworked how live_media is detected,
+    thanks to Bas Wijnen <wijnen@debian.org> for the reports.
+    (Closes: #394308, #394554).
+  * Reworked casper-getty system, thanks to Alex Owen (Closes: #394686).
+  * Postint now rebuild all initramfs.
+  * Casper now Recommends also squashfs-tools and genext2fs, maybe
+    needed by casper-snapshot.
+  * Lowered usplash requirements, since usplash 0.4 is not in debian
+    yet.
+
+ -- Marco Amadori <marco.amadori@gmail.com>  Sun, 22 Oct 2006 20:25:38 +0200
+
+casper (1.77) edgy; urgency=low
+
+  * Honour console-setup/modelcode preseeding. Needed for Malone #66719,
+    #66774.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Fri, 20 Oct 2006 19:59:39 +0100
+
+casper (1.76) edgy; urgency=low
+
+  [ Colin Watson ]
+  * Copy access=m2 accessibility changes into the corresponding ubiquity
+    hook.
+  * Remove spurious quoting from accessibility script.
+  * Clear console-setup/layoutcode and console-setup/variantcode if they
+    aren't supplied on the command line.
+
+  [ Michael Vogt ]
+  * scripts/casper-bottom/35fix_language_selector:
+    - run fontconfig-voodoo if available to make sure that we have
+      optimal fontconfig settings for the CJK languages (lp: #49334)
+
+  [ Henrik Nilsen Omma ]
+  * Fix a few accessibility items that were out of date, changing
+    gnopernicus -> orca and gok -> onboard (the gok entry was missing some
+    brackets as well; patch from Malone #58836, closes: Malone #65861).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 16 Oct 2006 20:20:15 +0100
+
+casper (1.75) edgy; urgency=low
+
+  * Turn on accessibility in "Motor Difficulties - pointing devices" which
+    makes onboard start properly.  closes: Malone: #65861.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Fri, 13 Oct 2006 14:12:10 +0200
+
+casper (1.74) edgy; urgency=low
+
+  [ Tollef Fog Heen ]
+  * Sync up ubiquity-hooks/30accessibility with
+    scripts/casper-bottom/30accessibility fixing spelling errors and
+    enabling accessibility in KDE.
+
+  [ Colin Watson ]
+  * Fix check for presence of gconf2 (closes: Malone #58836).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Wed, 11 Oct 2006 11:18:00 +0100
+
+casper (1.73) edgy; urgency=low
+
+  * Never run install-keymap or preseed debian-installer/keymap if
+    console-setup is detected, even if console-setup wasn't explicitly
+    preseeded. Contributes to Malone #60067.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Sat,  7 Oct 2006 01:56:20 +0100
+
+casper (1.72) edgy; urgency=low
+
+  * Force suspend and hibernate both off, since reconfiguring
+    gnome-power-manager kills usplash here.  Fixes Malone: #61535
+    completely.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Fri,  6 Oct 2006 14:22:23 +0200
+
+casper (1.71+debian-1) unstable; urgency=low
+
+  * New upstream release.
+  * Added experimental casper-snapshot script and manpage.
+  * Tagged for debtags project.
+
+ -- Marco Amadori <marco.amadori@gmail.com>  Thu, 28 Sep 2006 16:04:54 +0200
+
+casper (1.71) edgy; urgency=low
+
+  * Use TEXT-URGENT in shutdown script to make sure we display the "please
+    remove disc and press enter" text.  Malone: #61533
+  * Increase usplash timeout since "TIMEOUT 0" no longer means "spin
+    forever".
+  * Don't move-mount all the squashfs-es into / since that confuses mono
+    (and some other apps too).  Malone: #62756
+  * Disable kwallet by default.  Malone: #47743
+  * Add -n to language selector to make it not whine about
+    not-fully-installed langpacks.  Malone. #37568
+  * Override definition of log_end_msg in casper-functions.  Make sure all
+    casper-bottom scripts use this.
+  * Pulsate bar in casper-top and casper-bottom.  Malone: #61535
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Wed,  4 Oct 2006 09:52:06 +0200
+
+casper (1.70) edgy; urgency=low
+
+  * Check for new file= alias as well as preseed/file= (closes: Malone
+    #63145).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Wed,  4 Oct 2006 08:59:53 +0100
+
+casper (1.69) edgy; urgency=low
+
+  [ Tollef Fog Heen ]
+  * Use grep -E in scripts/casper. Malone: #57620
+  * Fix syntax error in accessibility script
+
+  [ Colin Watson ]
+  * Run 'sh -n' over everything in build target to avoid future syntax
+    errors.
+  * Fix check for /etc/default/console-setup (closes: Malone #62775).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon,  2 Oct 2006 10:58:19 +0100
+
+casper (1.68+debian-3) unstable; urgency=low
+
+  * Really add casper manpage (Closes: #389867).
+  * Lintian cleanness reached.
+
+ -- Marco Amadori <marco.amadori@gmail.com>  Thu, 28 Sep 2006 12:36:29 +0200
+
+casper (1.68+debian-2) unstable; urgency=low
+
+  * Changed "staticip=" boot param to just "ip=".
+  * Added a manpage for casper.
+  * Lintian cleanings.
+
+ -- Marco Amadori <marco.amadori@gmail.com>  Tue, 26 Sep 2006 00:45:21 +0200
+
+casper (1.68+debian-1) unstable; urgency=low
+
+  * New upstream release.
+  * Added static network configuration support.
+  * Fixed gnome-screensaver-lock differences between ubuntu.
+  * username, host, and userfullname are now also settable
+    via kernel parameters.
+
+ -- Marco Amadori <marco.amadori@gmail.com>  Fri,  8 Sep 2006 11:26:02 +0200
+
+casper (1.68) edgy; urgency=low
+
+  * Honour console-setup/layoutcode and console-setup/variantcode preseeding
+    (closes: Malone #61573).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Fri, 22 Sep 2006 16:09:53 +0100
+
+casper (1.67) edgy; urgency=low
+
+  * Make sure to write xorg.conf md5sum to the installed system, not the
+    live system in ubiquity-hooks/20xconfig
+  * Implement support for setting KDE's accessibility options too, thanks
+    to Jonathan Riddell for the patch.
+  * Use usplash's TEXT-URGENT for important messages when doing md5 checks
+  * Fix flashing of progress bar on 32 bit arches
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Wed, 23 Aug 2006 14:34:57 +0200
+
+casper (1.66+debian-1) unstable; urgency=low
+
+  * Added "magic" to make it work seamlessy also on ubuntu systems.
+  * Default user password now "live".
+
+ -- Marco Amadori <marco.amadori@gmail.com>  Fri,  1 Sep 2006 17:18:07 +0200
+
+casper (1.66) edgy; urgency=low
+
+  * Fix use of db_get in ubiquity accessibility hook.
+  * Use sudo instead of su to get to the live session user from the
+    initramfs or to the newly-installed user from ubiquity. su's argument
+    handling has changed so that the previous code no longer worked, and su
+    was never all that good for arguments containing spaces anyway.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon,  4 Sep 2006 15:46:55 +0100
+
+casper (1.65+debian-1) unstable; urgency=low
+
+  * New upstream release.
+  * Re-included ubiquity sources since it is here anyway in diff.gz.
+  * Included remote getty patch from Alex Owen (enable it with "casper-getty"
+    as kernel parameter).
+
+ -- Marco Amadori <marco.amadori@gmail.com>  Thu, 17 Aug 2006 14:06:10 +0200
+
+casper (1.65) edgy; urgency=low
+
+  * Update to call udevsettle/udevtrigger instead of udevplug
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Mon, 21 Aug 2006 19:37:58 +0200
+
+casper (1.64) edgy; urgency=low
+
+  * Fix moving of squashfs mount points so that /proc/mounts in the
+    installed system refers to them correctly (closes: Malone #55019). As a
+    bonus, this lets us mount them on subdirectories of /casper/ right from
+    the start.
+  * Treat locale= as equivalent to debian-installer/locale= (closes: Malone
+    #53444).
+  * Fix ubiquity-hooks/30accessibility not to use log_end_msg, and to chroot
+    to /target instead of /root (closes: Malone #53277).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Thu,  3 Aug 2006 14:00:22 +0100
+
+casper (1.63+debian-3) unstable; urgency=low
+
+  * Really do not try to eject cd if netbooted.
+  * Fixed unionfs ro param in case of nfs netboot (Closes: 383346).
+
+ -- Marco Amadori <marco.amadori@gmail.com>  Wed, 16 Aug 2006 20:10:11 +0200
+
+casper (1.63+debian-2) unstable; urgency=low
+
+  * Working netboot support (Closes: #380506).
+  * Polished kernel parameters parsing a bit.
+
+ -- Marco Amadori <marco.amadori@gmail.com>  Sun, 13 Aug 2006 15:52:14 +0200
+
+casper (1.63+debian-1) unstable; urgency=low
+
+  [Marco Amadori]
+  * New upstream release.
+  * Fixed upstream changelog.
+  * Really fixed the user password issue, now really "debian".
+  * Reincluded casper-md5ckeck in debian/rules and 05mountpoints in
+    script/casper-bottom.
+  * Rewrote netboot support now will support all types of rootfs file images
+    (not only plain dirs) like cd/dvd one.
+  * Included a fix for USB by Davide Natalini <davide.natalini@studio.unibo.it>
+  * Included support for plain directory as RO rootfs.
+  * Removed xfs support (not implemented in make-live, maybe useless).
+
+  [Alex Owen]
+  * Added NFS netboot support (Closes: #380506).
+  * Fixed /etc/inittab editing (Closes: #380488).
+  * Do not try to eject cd if netbooted (Closes: #380502).
+
+  [Daniel Baumann]
+  * Minor debian/rules reordering.
+  * Changed "Section:" from "admin" to "misc".
+
+ -- Marco Amadori <marco.amadori@gmail.com>  Sun, 30 Jul 2006 19:10:23 +0200
+
+casper (1.63) edgy; urgency=low
+
+  [ Tollef Fog Heen ]
+  * Change "Live CD user" to "live session user" in the adduser script.
+    Malone #46882
+  * Wait for persistent devices for 30 seconds, not 1500.
+  * Make sure that readahead-list is installed before chmod -x'ing it.
+  * Only disable l-r-m and anacron if they are installed.
+  * Make sure laptop-detect is installed before trying to call it.
+  * Do not install init script from the initramfs any more.  It should
+    have rc.d links already in the squashfs.
+  * Minor build system fixes.
+  * Only copy devmapper relevant files if devmapper is installed.
+  * Remove ubuntu-specific branding from the default casper.
+  * Install default configuration file and make it end up in the
+    initramfs.
+  * Get rid of CD references and replace with medium or other appropriate
+    terms.
+  * Add stacked file system support
+
+  [ Marco Amadori ]
+  * Added possibility to set locale on chroot, not only at runtime.
+  * Updated 14locales to latest debian policy.
+
+  [ Malcolm Gilles ]
+  * USB devices can have ID_PATH with pci-*-usb, too.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Tue, 18 Jul 2006 10:20:51 +0200
+
+casper (1.61+debian-2) unstable; urgency=low
+
+  * Set password for user to 'debian'.
+
+ -- Daniel Baumann <daniel@debian.org>  Wed, 19 Jul 2006 20:56:00 +0200
+
+casper (1.61+debian-1) unstable; urgency=low
+
+  [ Daniel Baumann ]
+  * Rebuild tarball without debian directory.
+  * Using dpatch for upstream modifications.
+  * Added patch for proper GDM autologin from Arnaud Cornet
+    <arnaud.cornet@gmail.com>.
+
+  [ Marco Amadori ]
+  * New upstream release (Resynced with 1.61, bzr 258).
+  * Usb discover patch from Malcom Gilles <live@ouabain.org>.
+
+ -- Marco Amadori <marco.amadori@gmail.com>  Tue, 18 Jul 2006 23:34:59 +0200
+
+casper (1.61) edgy; urgency=low
+
+  * Move PATH setting to top of casper script to avoid silliness where
+    PATH isn't correctly set.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Mon, 17 Jul 2006 12:53:59 +0200
+
+casper (1.60) edgy; urgency=low
+
+  * Change start symlinks to kill symlinks for anacron, to avoid it being
+    started by invoke-rc.d and similar.
+  * Rearrange source package.
+  * Redo how the init script works and require it to be installed in the
+    live fs.
+  * Bump version number to be higher than Debian's so we don't
+    automatically sync.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Wed, 31 May 2006 00:01:40 +0200
+
+casper (1.59+debian-1) unstable; urgency=low
+
+  [ Daniel Baumann ]
+  * Upload to unstable (Closes: #354539).
+
+  [ Marco Amadori ]
+  * Added possibility to set locale on chroot, not only at runtime.
+  * Removed "persistent" wait.
+  * Fixed persistence lock and added "homepersistence" boot parameter.
+  * Updated locales handling to latest debian policy.
+  * Cleanups
+
+ -- Daniel Baumann <daniel@debian.org>  Thu, 22 Jun 2006 06:21:00 +0200
+
+casper (1.59+debian-0) UNRELEASED; urgency=low
+
+  * Added "toram" boot parameter.
+  * Extendend fs support to ext2 and xfs file image.
+  * Changed debian-inexistant "-Q" modprobe option with "-q".
+  * Removed ubiquity code.
+  * USERNAME and HOST defaulted to "debian".
+  * Preliminary netboot (cifs) patch by
+    "Jason D. Clinton" <me@jasonclinton.com>
+  * Lowered dependence of dmsetup code (now only Suggests).
+  * Checks for replacing "udevplug" (ubuntu-only) with "udevtrigger".
+  * Reworked xorg and anacron patches from
+    Frederic Lehobey <Frederic.Lehobey@free.fr>.
+  * scripts/casper-bottom/10adduser: configuring only the $USERNAME for sudo
+      instead of group 'admin'.
+
+ -- Marco Amadori <marco.amadori@gmail.com>  Fri, 16 Jun 2006 11:01:48 +0200
+
+casper (1.58) dapper; urgency=low
+
+  * Really rename properly, without dirname.
+
+ -- Scott James Remnant <scott@ubuntu.com>  Tue, 30 May 2006 22:47:04 +0100
+
+casper (1.57) dapper; urgency=low
+
+  * Rename the anacron rc.d/S* symlinks to K*, instead of removing them.
+    Because otherwise pbbuttonsd decides that starting anacron on the
+    LiveCD would be a clever thing to do.
+
+ -- Scott James Remnant <scott@ubuntu.com>  Wed, 24 May 2006 23:06:04 +0100
+
+casper (1.56) dapper; urgency=low
+
+  * Hopefully work a bit better when checking DVDs on 32 bit
+    architectures.
+  * Do an explicit read from /dev/console when waiting for keypress after
+    CD/DVD has been ejected.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Mon, 22 May 2006 16:43:03 +0200
+
+casper (1.55) dapper; urgency=low
+
+  * Reconfigure gnome-power-manager when doing live installations.
+    Malone #45654
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Mon, 22 May 2006 11:16:46 +0200
+
+casper (1.54) dapper; urgency=low
+
+  [ Luke Yelavich ]
+  * Set large print fonts for the v1 accessibility profile. Closes
+    Malone #45376.
+
+  [ Colin Watson ]
+  * Fix preseed/file handling (closes: Malone #43683).
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Thu, 18 May 2006 19:36:24 +0200
+
+casper (1.53) dapper; urgency=low
+
+  [ Tollef Fog Heen ]
+  * Disable fglrx and nvidida drivers by default.  Somewhat addresses
+    #43706
+
+  [ Colin Watson ]
+  * Pass all command-line preseed arguments (other than preseed/file) to
+    /root's debconf db.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Sat, 13 May 2006 10:14:36 +0200
+
+casper (1.52) dapper; urgency=low
+
+  * Export the path in casper-reconfigure so X and friends actually have
+    sbin in their path.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Thu, 11 May 2006 21:04:11 +0200
+
+casper (1.51) dapper; urgency=low
+
+  [ Luke Yelavich ]
+  * casper-bottom/30accessibility:
+    - Removed stale reference to acessx_applet.
+    - Fix some typos for gconf values that had to be set as lists.
+
+  [ Colin Watson ]
+  * Pass debian-installer/locale to /root's debconf db (closes: Malone
+    #41896).
+  * Identify ourselves as casper when communicating with debconf.
+  * Factor out preseeding code into casper-preseed; this knows that it only
+    needs to register a question if it fails to set it, which saves memory
+    by avoiding debconf having to rewrite templates.dat.
+  * Preseed kbd-chooser/method as well as debian-installer/keymap, so that
+    kbd-chooser run from ubiquity picks up the selected keyboard (closes:
+    Malone #42202).
+  * Use new dpkg-reconfigure --no-reload option (debconf 1.4.72ubuntu6) to
+    avoid needlessly rewriting templates.dat.
+
+  [ Tollef Fog Heen ]
+  * Add ... to the end of all usplash messages.  Malone #43856
+  * Add maybe_break casper-bottom to allow breaking before running bottom
+    scripts.  Malone #43860
+  * Don't show the name of the live cd user that's added.
+  * Mount COW filesystem if show-cow is present on the kernel command line.
+    Malone #43687
+  * Disable the Kubuntu update notifier too.  Malone #43806
+  * Disable hibernation and enable sleep where appropriate.  Malone #23882
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Thu, 11 May 2006 12:11:08 +0200
+
+casper (1.50) dapper; urgency=low
+
+  [ Luke Yelavich ]
+  * Fixed some typos, and added missing settings to some accessibility
+    profiles, as they were either not working properly, or at all. Malone:
+    #39472, #39473
+  * Removed the desktop wallpaper, and changed the background colour to gray
+    for the v1 accessibility profile.
+  * Set the whiteglass mouse theme for the v1 accessibility profile.
+  * Moved the gconftool-2 -s flag to individual gct calls, to allow for future
+    use of gconftool-2 flags that are incompatible with -s.
+
+  [ Daniele Favara ]
+  * Allow custom HOST, USERNAME, USERFULLNAME.  Malone: #42118
+  * Add example file
+    - debian/casper.dir: Add examples dir
+    - debian/casper.conf: Explain briefly how to use new variables
+    - debian/rules: Install casper.conf as example_conf_casper
+
+  [ Tollef Fog Heen ]
+  * Stylistic changes to Daniele's changes.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Tue,  2 May 2006 14:12:31 +0200
+
+casper (1.49) dapper; urgency=low
+
+  * Also look for hardware named wlan*
+
+ -- Scott James Remnant <scott@ubuntu.com>  Wed, 26 Apr 2006 13:37:13 +0100
+
+casper (1.48) dapper; urgency=low
+
+  * Write /etc/network/interfaces entries for eth0, eth1, eth2, ath0 and
+    wlan0 if there's no hardware detected for them; as it may be plugged
+    in after boot.
+
+ -- Scott James Remnant <scott@ubuntu.com>  Wed, 26 Apr 2006 12:31:38 +0100
+
+casper (1.47) dapper; urgency=low
+
+  [ Tollef Fog Heen ]
+  * Turn on debugging of the X config.
+  * Log to a file which gets copied to /var/log/casper.log.  Malone: #39895
+  * Only pick UTF-8 locales.  Malone: #40178
+  * Use correct /root rather than /target for seeing what version of
+    gnome-panel-data is installed.
+  * Make festival (and probably some other apps) happier by using
+    127.0.1.1 for our ubuntu hostname and 127.0.0.1 just resolves to
+    "localhost".
+  * Make casper-md5check read from tty8 since it wants to get keypresses
+    from the active console (where usplash runs).  Malone: #40490.
+  * Copy /etc/modules when installing with ubiquity.  Malone: #40311
+  * /etc/gdm/gdm-cdd.conf can be a symlink.  Cope with that.  Malone: #40767
+
+  [ Colin Watson ]
+  * ubiquity-casper conflicts/replaces espresso-casper.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Mon, 24 Apr 2006 09:41:14 +0200
+
+casper (1.46) dapper; urgency=low
+
+  * Use debian-installer/dummy for preseeding rather than espresso/dummy,
+    since the latter was removed in espresso 0.99.38.
+  * espresso is being renamed to ubiquity. Rename espresso-casper to
+    ubiquity-casper to match.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Fri, 21 Apr 2006 12:52:48 +0100
+
+casper (1.45) dapper; urgency=low
+
+  [ Matt Zimmerman ]
+  * [share/shutdown] Disable the usplash timeout and wrap the prompt to two
+    lines
+
+  [ Tollef Fog Heen ]
+  * Use devmapper for ia64, hppa and sparc.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Wed, 19 Apr 2006 11:36:49 +0200
+
+casper (1.44) dapper; urgency=low
+
+  * Reset the timeout after casper-premount has run so we're sure that the
+    timeout is what we want it to be.  Udev seems to change it too.
+  * Remove a few set -x commands to make the boot slightly less verbose.
+  * Fix 10adduser to actually install the correct icons for espresso.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Wed, 12 Apr 2006 14:20:53 +0200
+
+casper (1.43) dapper; urgency=low
+
+  * Copy espresso-kdeui.desktop file to user's desktop
+    Branch at http://kubuntu.org/~jriddell/bzr/casper/trunk/
+
+ -- Jonathan Riddell <jriddell@ubuntu.com>  Thu, 13 Apr 2006 15:37:49 +0100
+
+casper (1.42) dapper; urgency=low
+
+  [ Luke Yelavich ]
+  * casper-bottom/30accessibility:
+    - Removed some settings from accessibility profiles as these are now
+      in the relevant packages.
+
+  [ Tollef Fog Heen ]
+  * Make sure to call gconftool as the right user.  Malone #38408
+  * Write an entry for / in fstab.  Hopefully fixes Malone #34330
+  * Change gdm-cdd.conf if it exists, not gdm.conf. Malone #37467
+  * Really disable update-notifier, this time by removing the correct
+    file.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Tue, 11 Apr 2006 15:43:24 +0200
+
+casper (1.41) dapper; urgency=low
+
+  * Don't mkdir then install -D, just install -D (this should prevent
+    ~ubuntu/Desktop being owned by root)
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Wed, 29 Mar 2006 10:52:42 +0200
+
+casper (1.40) dapper; urgency=low
+
+  * Add snd_powermac to /etc/modules on ppc.  (Malone: #27862)
+  * Use chmod -x instead of mv to disable readahead in order to not
+    trigger unionfs bugs
+  * Reboot the system when a key is pressed at the end of the integrity
+    check.  (Malone: #29203)
+  * Use usplash_write too when doing shutdown.  (Malone: #34537)
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Tue, 28 Mar 2006 10:09:49 +0200
+
+casper (1.39) dapper; urgency=low
+
+  [ Tollef Fog Heen ]
+  * Disable update-notifier by default, as it won't make much sense for
+    most people.
+
+  [ Colin Watson ]
+  * Clear out user-setup questions from the debconf database after creating
+    the live CD user, to avoid confusing espresso into offering "Ubuntu
+    LiveCD user" as the user's default full name.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Mon, 13 Mar 2006 11:38:39 +0100
+
+casper (1.38) dapper; urgency=low
+
+  * Disable readahead since it breaks too much with squashfs and unionfs.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Thu,  9 Mar 2006 09:43:39 +0100
+
+casper (1.37) dapper; urgency=low
+
+  * Add support for having the squashfs directly on a device, thanks to
+    Paul Sladen for idea and a patch.
+  * If a directory "Examples" exists in ~ after we've run adduser, move it
+    to the Desktop subdirectory for greater visibility.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Sat,  4 Mar 2006 11:55:50 +0100
+
+casper (1.36) dapper; urgency=low
+
+  [ Tollef Fog Heen ]
+  * Fix typo in find_cow_device so block devices didn't work at all.
+    Malone #31639.  Thanks to Richard Nemec for the catch.
+  * Update accessibility framework, thanks to Luke Yelavich.
+
+  [ Colin Watson ]
+  * Move the /cdrom mount into the new root filesystem.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Wed,  1 Mar 2006 11:13:54 +0100
+
+casper (1.35) dapper; urgency=low
+
+  * Check for preseed/file= in /proc/cmdline and feed any given file to
+    debconf-set-selections.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 27 Feb 2006 17:32:02 +0000
+
+casper (1.34) dapper; urgency=low
+
+  [ Luke Yelavich ]
+  * Add initial accessibility support framework
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Wed, 22 Feb 2006 14:36:07 +0100
+
+casper (1.33) dapper; urgency=low
+
+  * Make sure Desktop and the espresso-$ui.desktop is owned by the Ubuntu
+    user.  Malone #31991
+  * Fix check for rc6.d/S90reboot at the bottom of 25configure_init to
+    actually look in the right place.
+  * Make me the maintainer of the package.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Mon, 20 Feb 2006 09:49:02 +0100
+
+casper (1.32) dapper; urgency=low
+
+  * Fix copying of /usr/share/applications/espresso-gtkui.desktop.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Thu, 16 Feb 2006 16:47:15 +0000
+
+casper (1.31) dapper; urgency=low
+
+  [ Tollef Fog Heen ]
+  * Print message about rebooting the system when the md5 check is
+    finished.
+  * Just have one copy of the casper shutdown scripts and symlink those
+    into the right place.  Malone #20978
+
+  [ Colin Watson ]
+  * Copy /usr/share/applications/espresso-gtkui.desktop to the live CD
+    user's desktop.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Tue, 14 Feb 2006 14:52:16 +0100
+
+casper (1.30) dapper; urgency=low
+
+  * Set a blank password for the ubuntu user.  This hopefully resolves
+    Malone #30118
+  * Pass keyboard layout information to xserver-xorg in the "new" scheme.
+  * Set up the right console keymap.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Tue, 14 Feb 2006 14:48:14 +0100
+
+casper (1.29) dapper; urgency=low
+
+  [ Tollef Fog Heen ]
+  * Fix typo in 22gnome_panel_data
+  * Configure all detected network interfaces.
+  * Add support for putting the persistent storage in a loopback file on
+    vfat volumes
+  * Configure all detected network interfaces.
+  * Allow putting the live filesystem image on a VFAT volume
+  * Allow putting the persistent storage in a loopback file on a VFAT
+    volume
+  * Lots of cleanups
+
+  [ Colin Watson ]
+  * Change casper-reconfigure to take the target root filesystem as its
+    first argument.
+  * Add espresso-casper package with hooks to repeat some things done by
+    casper in the installed system.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Wed, 25 Jan 2006 14:25:45 +0100
+
+casper (1.28) dapper; urgency=low
+
+  * Depend on user-setup
+  * First shot at IEEE1394 support.  Add sbp2 and ohci1394 as modules to
+    be copied into the initramfs.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Mon, 16 Jan 2006 22:06:35 +0100
+
+casper (1.27) dapper; urgency=low
+
+  * Try using unionfs on ppc again
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Tue, 10 Jan 2006 20:55:19 +0100
+
+casper (1.26) dapper; urgency=low
+
+  * Add persistency support
+  * Usplash integration
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Tue, 10 Jan 2006 17:53:54 +0100
+
+casper (1.25) dapper; urgency=low
+
+  * Make /rofs available to in the target system.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Mon,  9 Jan 2006 15:25:12 +0100
+
+casper (1.24) dapper; urgency=low
+
+  * For debconf-communicate, use a here-doc rather than trying to have \n
+    working in shell variables.
+  * The usplash fifo has moved, update paths accordingly.  Also conflict
+    with the old usplash and depend on new enough initramfs-tools.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Fri,  6 Jan 2006 14:20:37 +0100
+
+casper (1.23) dapper; urgency=low
+
+  * Move the building to binary-dep, since we're an arch: any package
+    now.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Thu,  5 Jan 2006 10:37:31 +0100
+
+casper (1.22) dapper; urgency=low
+
+  * Bunch debconf-communicate commands together to speed up the boot a
+    little bit.
+  * Add integrity checker, this is compiled code, so casper is now arch:
+    any
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Wed,  4 Jan 2006 12:56:13 +0100
+
+casper (1.21) dapper; urgency=low
+
+  * If locale is unset, use en_US.UTF8, not whatever comes first in the
+    list of supported locales.
+  * Generate locale and set the locale in /etc/environment
+  * Use user-setup to create the user, rather than doing it ourselves.
+  * Various cleanups and fixes, such as making debconf-communicate silent
+  * Disable checkroot when booting
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Mon,  2 Jan 2006 11:00:25 +0100
+
+casper (1.20) dapper; urgency=low
+
+  * Remove a large bunch of debugging output
+  * Depend on dmsetup so the hook script can copy in that
+  * Handle both squashfs and cloop images, with run-time detection
+  * Use devmapper + cloop on powerpc, not unionfs, since unionfs is a
+    disaster there.
+  * Make sure we have both SCSI and IDE CDROM modules available in the
+    initramfs.
+  * Do some initial keyboard setup handling so X will, at least in some
+    cases, have a chance of giving the user a sane keymap.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Mon, 19 Dec 2005 14:23:13 +0100
+
+casper (1.19) dapper; urgency=low
+
+  * Switch to initramfs, so casper only survives in spirit
+  * Use unionfs instead of a writeable devmapper snapshot
+  * Remove all debconfiscation, since we're an initramfs script now
+  * Make the postinst call update-initramfs -u
+  * Mount the CD read-only explicitly
+  * Make udevinfo silent if the device is not found.
+
+ -- Tollef Fog Heen <tfheen@ubuntu.com>  Tue, 13 Dec 2005 16:22:45 +0100
+
+casper (1.18) breezy; urgency=low
+
+  * Update translations from Rosetta: Greek, Spanish, French, Hungarian,
+    Brazilian Portuguese.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 19 Sep 2005 20:05:02 +0100
+
+casper (1.17) breezy; urgency=low
+
+  * Set /apps/gnome-screensaver/lock if gnome-screensaver is installed
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Fri, 16 Sep 2005 15:24:35 -0700
+
+casper (1.16) breezy; urgency=low
+
+  * Install a fake script in /lib/debian-installer.d/S72menu-exit after
+    pivoting that just calls sleep, to prevent scary console messages as d-i
+    tries to exit without its root filesystem.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Wed, 14 Sep 2005 10:28:06 +0100
+
+casper (1.15) breezy; urgency=low
+
+  * Neutralize branding in startup message
+  * Use clear in addition to reset, in hopes of concealing error messages on
+    the console from d-i's death throes
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Fri,  9 Sep 2005 11:24:14 -0700
+
+casper (1.14) breezy; urgency=low
+
+  * Set RUNNING_UNDER_GDM=yes in the user's environment to stop xscreensaver
+    locking the screen (Ubuntu #7150).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Thu,  8 Sep 2005 13:37:00 +0100
+
+casper (1.13) breezy; urgency=low
+
+  * Use reset, rather than clear, to clean up after the colored dialogs on vt1
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Wed,  7 Sep 2005 16:09:45 -0700
+
+casper (1.12) breezy; urgency=low
+
+  * Kill bterm after pivoting so that we can use vt1 rather than vt2,
+    thereby avoiding a fight between gdm and the X server (closes: Ubuntu
+    #14851).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Wed,  7 Sep 2005 15:48:40 +0100
+
+casper (1.11) breezy; urgency=low
+
+  * Remove debugging code which crept into 1.10
+  * Revert changes to casper-udeb.postinst which were intended for
+    starting usplash earlier (pre-1.10)
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Fri,  2 Sep 2005 13:43:03 -0700
+
+casper (1.10) breezy; urgency=low
+
+  * Instead of starting usplash directly, create an init script which will
+    start it later (after the new init), to avoid it being killed by
+    busybox init
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Mon, 29 Aug 2005 20:26:58 -0700
+
+casper (1.9) breezy; urgency=low
+
+  * Remember to re-run 30copy-dev from 94usplash, in order to preserve the
+    device nodes clobbered by udev
+  * Redirect stdin of /etc/init.d/udev from /dev/console, to avoid
+    incredibly obnoxious 60-second sleep because it thinks we're
+    interactive
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Mon, 29 Aug 2005 18:30:38 -0700
+
+casper (1.8) breezy; urgency=low
+
+  * Add usplash support
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Mon, 29 Aug 2005 17:30:57 -0700
+
+casper (1.7) breezy; urgency=low
+
+  * Set DEBUG_XORG_PACKAGE=yes when reconfiguring xserver-xorg.  The
+    output is only written to post.log and isn't visible to the user, and
+    can be invaluable for debugging
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Mon, 22 Aug 2005 10:25:38 -0700
+
+casper (1.6) breezy; urgency=low
+
+  * Use debconf-copydb again (thanks, Tollef)
+  * Rename pre.d/20xconfig to pre.d/20prexconfig so that it is distinct from
+    post.d/20xconfig for purposes of the progress bar (no text for it; it's
+    very fast)
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Wed, 17 Aug 2005 14:55:24 -0700
+
+casper (1.5) breezy; urgency=low
+
+  * Call MAKEDEV console in post.d/20xconfig as a workaround for bug
+    #13523
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Tue, 16 Aug 2005 15:24:06 -0700
+
+casper (1.4) breezy; urgency=low
+
+  * Revert to the old debconf hack; the debconf-copydb approach needs more
+    work
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Mon, 15 Aug 2005 22:48:11 -0700
+
+casper (1.3) breezy; urgency=low
+
+  * Revert unintentional release of experimental unionfs code in 1.2
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Sat, 13 Aug 2005 11:19:50 -0700
+
+casper (1.2) breezy; urgency=low
+
+  * Fix debconf-copydb regex in 20xconfig
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Sat, 13 Aug 2005 11:07:46 -0700
+
+casper (1.1) breezy; urgency=low
+
+  * Cope with xserver-xorg's rename of force_keyboard_detection to
+    autodetect_keyboard
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Mon,  4 Jul 2005 02:52:07 -0700
+
+casper (1.0) breezy; urgency=low
+
+  * Version number bump (we've been through a stable Ubuntu release, after
+    all)
+  * Rename pre.d/10snapshot to post.d/10filesystem, as it is about to
+    become more generic
+  * Seed xserver-xorg/force_keyboard_detection to true in 20xconfig, so as
+    to cause the keyboard layout to (continue to) be autodetected based on
+    d-i settings
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Thu, 16 Jun 2005 11:21:54 -0700
+
+casper (0.65) breezy; urgency=low
+
+  * As a performance optimization, only reconfigure gnome-panel-data if
+    booting on a laptop
+  * Disable the "lock screen" menu item (Ubuntu bug#7150)
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Wed,  8 Jun 2005 16:02:14 -0700
+
+casper (0.64) breezy; urgency=low
+
+  * Merge colin.watson@canonical.com--2005/casper--debconf-copydb--0
+    - Use debconf-copydb rather than our temporary hack
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Tue, 31 May 2005 12:08:51 -0700
+
+casper (0.63) breezy; urgency=low
+
+  * Merge colin.watson@canonical.com--2005/casper--cdebconf-info--0
+    - Update for cdebconf 0.75: use db_info rather than db_x_setbacktitle.
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Mon, 18 Apr 2005 20:59:58 -0700
+
+casper (0.62) hoary; urgency=low
+
+  * Updated translations from
+    colin.watson@canonical.com--2005/casper--translations--0 (nb)
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Tue,  5 Apr 2005 09:01:02 -0700
+
+casper (0.61) hoary; urgency=low
+
+  * Updated translations from
+    colin.watson@canonical.com--2005/casper--translations--0 (el, es, ro)
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Tue,  5 Apr 2005 08:06:51 -0700
+
+casper (0.60) hoary; urgency=low
+
+  * Updated translations from
+    colin.watson@canonical.com--2005/casper--translations--0 (hu, id, pl)
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Mon, 28 Mar 2005 11:26:21 -0800
+
+casper (0.59) hoary; urgency=low
+
+  * Updated translations from
+    colin.watson@canonical.com--2005/casper--translations--0 (de, pt_BR)
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Fri, 25 Mar 2005 16:51:17 -0800
+
+casper (0.58) hoary; urgency=low
+
+  * Remove postfix shutdown links, as well as startup, to avoid an ugly error
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Thu, 24 Mar 2005 18:24:03 -0800
+
+casper (0.57) hoary; urgency=low
+
+  * Merge colin.watson@canonical.com--2005/casper--translations--0 up to
+    patch-2
+  * Preseed netcfg/wireless_essid_again for noninteractive network setup, +new
+    in netcfg 1.08ubuntu3 [colin.watson@canonical.com--2005/casper--netcfg--0]
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Wed, 23 Mar 2005 08:33:46 -0800
+
+casper (0.56) hoary; urgency=low
+
+  * Suppress error output from eject
+  * Remind the user to close the CD tray if they have one (Ubuntu #6668)
+  * Add arch-build target to debian/rules
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Tue, 22 Mar 2005 10:21:41 -0800
+
+casper (0.55) hoary; urgency=low
+
+  * Remove the hack introduced in 0.54, xorg 6.8.2-5 should be fixed
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Wed, 16 Mar 2005 18:11:05 -0800
+
+casper (0.54) hoary; urgency=low
+
+  * Temporarily set RECONFIGURE=true when reconfiguring xserver-xorg, to work
+    around a bug introduced in 6.8.2-3
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Wed, 16 Mar 2005 15:08:45 -0800
+
+casper (0.53) hoary; urgency=low
+
+  * Provide target-base-system (i.e. base system installed in /target, also
+    provided by base-installer).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 15 Mar 2005 13:01:53 +0000
+
+casper (0.52) hoary; urgency=low
+
+  * Arrange for $LANG to be set after pivot_root, so that (e.g.)
+    xserver-xorg can use it to infer the keymap (Ubuntu #7138)
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Sat, 12 Mar 2005 02:10:59 -0800
+
+casper (0.51) hoary; urgency=low
+
+  * Disable kpersonalizer startup on first login
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Sat,  5 Mar 2005 13:47:13 -0800
+
+casper (0.50) hoary; urgency=low
+
+  * Add support for configuring kdm autologin
+  * Rename 15gdm-autologin to 15autologin, and the corresponding debconf template
+  * Remove obsolete XORG_FORCE_PROBE from 20xconfig
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Thu,  3 Mar 2005 10:37:31 -0800
+
+casper (0.49) hoary; urgency=low
+
+  * Fix 20xconfig harder
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Wed,  2 Mar 2005 21:20:03 -0800
+
+casper (0.48) hoary; urgency=low
+
+  * Source confmodule in 20xconfig
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Wed,  2 Mar 2005 21:02:35 -0800
+
+casper (0.47) hoary; urgency=low
+
+  * Copy over the value of debian-installer/keymap into the target system,
+    to allow the new logic in xserver-xorg.config to work
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Wed,  2 Mar 2005 20:45:38 -0800
+
+casper (0.46) hoary; urgency=low
+
+  * Lock the live user's password entirely.  Since the user is now
+    automagically logged in, continuously, both on the console and in X,
+    their password is irrelevant.
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Mon, 28 Feb 2005 08:31:13 -0800
+
+casper (0.45) hoary; urgency=low
+
+  * Enable TimedLogin in gdm, so that if the user logs out, they are
+    automatically logged back in after a few seconds (Ubuntu #6667)
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Sun, 27 Feb 2005 16:06:16 -0800
+
+casper (0.44) hoary; urgency=low
+
+  * Configure init to spawn shells on virtual consoles, rather than login
+    prompts (Ubuntu #6666)
+  * Skip X configuration if a serial console is in use
+  * Set the live user's password to be blank, rather than "ubuntu".  This
+    is, paradoxically, more secure if the user decides to install
+    openssh-server, since empty passwords are disallowed by default
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Sun, 27 Feb 2005 15:40:15 -0800
+
+casper (0.43) hoary; urgency=low
+
+  * Override localechooser progress bar text to be more appropriate for the
+    live CD (closes: Ubuntu #6664).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Thu, 24 Feb 2005 19:12:00 +0000
+
+casper (0.42) hoary; urgency=low
+
+  * Preseed netcfg/no_interfaces, to avoid prompt when no network interfaces
+    can be configured (closes: Ubuntu #6107).
+  * Remove redundant DH_COMPAT setting in debian/rules, since there's
+    already a (different) debian/compat.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 22 Feb 2005 12:43:43 +0000
+
+casper (0.41) hoary; urgency=low
+
+  * Cope with change in default /etc/sudoers (admin group).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 22 Feb 2005 09:14:30 +0000
+
+casper (0.40) hoary; urgency=low
+
+  * Copy /dev/tts to the live system as well as /dev/vc, for serial console.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 21 Feb 2005 19:03:54 +0000
+
+casper (0.39) hoary; urgency=low
+
+  * Fix reboot operation (cache the reboot binary)
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Thu, 10 Feb 2005 20:51:08 -0800
+
+casper (0.38) hoary; urgency=low
+
+  * Eject the CD during shutdown/reboot
+    - Awful hack to copy /dev/cdroms to the live system, because the CD is
+      mounted using devfs names
+    - Add /usr/share/casper/shutdown script to casper-udeb
+    - Copy /usr/share/casper/shutdown to /etc/rc[06].d in 25configure-init
+  * Remove caspermon binary package, inadvertently enabled (not even
+    remotely ready)
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Thu, 10 Feb 2005 13:43:56 -0800
+
+casper (0.37) hoary; urgency=low
+
+  * Fix casper-udeb/runlevel template
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Tue,  8 Feb 2005 19:37:43 -0800
+
+casper (0.36) hoary; urgency=low
+
+  * Rename post.d/25disable-init-scripts to 25configure-init
+  * Add casper-udeb/runlevel, to allow the default runlevel
+    to be set
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Tue,  8 Feb 2005 19:14:16 -0800
+
+casper (0.35) hoary; urgency=low
+
+  * Preseed netcfg/wireless_essid
+  * Remove obsolete confmodule load from pre.d/12fstab
+  * Don't mount a tmpfs on /var/run; it doesn't save a huge amount of
+    snapshot space, and packages expect their directories there to be
+    persistent
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Mon,  7 Feb 2005 15:46:52 -0800
+
+casper (0.34) hoary; urgency=low
+
+  * Use casper-reconfigure in 10adduser as well
+  * Add post.d/93save-logs to save copies of the bootstrap logs to
+    /var/log/casper
+  * Stop reconfiguring fontconfig; it insists on rebuilding the entire
+    font cache, and the only benefit was to unable subpixel hints
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Wed,  2 Feb 2005 10:42:19 -0800
+
+casper (0.33) hoary; urgency=low
+
+  * Re-upload to fix borked source package
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Sun, 30 Jan 2005 12:21:07 -0800
+
+casper (0.32) hoary; urgency=low
+
+  * Factor out debconf hackery into casper-reconfigure
+  * Mount sysfs earlier, so we don't need to mess with it in 20xconfig
+  * Break 22simple-reconfig into 22fontconfig and 22gnome-panel-data, and
+    create progress bar text for them
+  * Preseed netcfg/dhcp_failed, to avoid a prompt when DHCP fails
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Sat, 29 Jan 2005 14:03:36 -0800
+
+casper (0.31) hoary; urgency=low
+
+  * Clear tty2 and print a nice message, before signalling init
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Sat, 29 Jan 2005 13:15:44 -0800
+
+casper (0.30) hoary; urgency=low
+
+  * Reconfigure fontconfig, to enable subpixel rendering based on the
+    hardware in use
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Thu, 27 Jan 2005 14:21:49 -0800
+
+casper (0.29) hoary; urgency=low
+
+  * Fix the problem described in 0.28 by preseeding a default for
+    netcfg/get_hostname
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Tue, 25 Jan 2005 23:04:03 -0800
+
+casper (0.28) hoary; urgency=low
+
+  * Suppress network configuration questions
+
+    - The goal is to make a reasonable effort to configure one interface
+    automatically, but if that is not possible, fall back to no
+    configuration.  We aren't quite there yet.
+
+    - If we fail to resolve our IP into a hostname using DNS, netcfg seems
+    to fall back to an empty value, rather than the default in the
+    template.
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Tue, 25 Jan 2005 22:55:35 -0800
+
+casper (0.27) hoary; urgency=low
+
+  * Add post.d/22simple-reconfig
+    - Reconfigure gnome-panel-data if it is installed, to set up the GNOME
+      session based on whether the system is a laptop
+    - Corresponding progress template
+    - mount /proc earlier (needed for, e.g. laptop-detect)
+  * Warn about screen blanking in X configuration progress message
+  * Simplify post.d/20xconfig and pre.d/13swap a bit
+  * Update TODO
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Sat, 22 Jan 2005 15:56:49 -0800
+
+casper (0.26) hoary; urgency=low
+
+  * Set NOPASSWD in /etc/sudoers for the initial user
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Fri, 21 Jan 2005 16:53:49 -0800
+
+casper (0.25) hoary; urgency=low
+
+  * mount /proc before signalling init, as it now uses /proc to determine
+    what is and is not a kernel thread
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Fri, 21 Jan 2005 16:04:52 -0800
+
+casper (0.24) hoary; urgency=low
+
+  * Add a backtitle properly
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Fri, 21 Jan 2005 09:07:19 -0800
+
+casper (0.23) hoary; urgency=low
+
+  * Add a backtitle
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Fri, 21 Jan 2005 09:02:01 -0800
+
+casper (0.22) hoary; urgency=low
+
+  * Search for swap on SCSI disks as well as IDE
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Wed, 19 Jan 2005 14:27:09 -0800
+
+casper (0.21) unstable; urgency=low
+
+  * Cosmetic changes to debconf templates
+  * Fix 10adduser to register debconf questions before setting their
+    values and flags
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Wed, 19 Jan 2005 14:14:20 -0800
+
+casper (0.20) hoary; urgency=low
+
+  * Remove legacy symlinks from casper/pre.d; they are now contained in
+    the relevant udebs
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Wed, 19 Jan 2005 13:22:33 -0800
+
+casper (0.19) hoary; urgency=low
+
+  * Update TODO
+  * casper-udeb Depends: md-modules
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Wed, 19 Jan 2005 11:23:51 -0800
+
+casper (0.18) hoary; urgency=low
+
+  * Enable new adduser code, using db_fset ... seen to suppress the questions
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Tue, 18 Jan 2005 15:06:48 -0800
+
+casper (0.17) hoary; urgency=low
+
+  * Convert snapshot setup to use debconf instead of hardcoded parameters
+  * Remove obselete-before-being-used username template
+  * Convert post.d/10adduser to use debconf passthrough to the passwd package,
+    and thus share its user-adding code rather than duplicating it.
+    - But don't enable it yet, since we need to find a way to prevent its
+    questions from being asked
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Tue, 18 Jan 2005 13:04:48 -0800
+
+casper (0.16) hoary; urgency=low
+
+  * casper-udeb Depends: casper-check, harddrive-detection
+  * Automatically find and enable swap devices
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Tue, 18 Jan 2005 11:23:48 -0800
+
+casper (0.15) hoary; urgency=low
+
+  * Set anna/standard_modules to false at startup to suppress unnecessary
+    udeb retrieval.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 18 Jan 2005 13:41:00 +0000
+
+casper (0.14) hoary; urgency=low
+
+  * Enable X autoconfiguration(!)
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Sat, 15 Jan 2005 02:19:58 -0800
+
+casper (0.13) hoary; urgency=low
+
+  * Rename templates so that they are named after the {pre,post}.d hook
+    which uses them
+  * Remove some unused templates
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Fri, 14 Jan 2005 10:11:02 -0800
+
+casper (0.12) hoary; urgency=low
+
+  * Add debconf templates for various things that we currently hardcode.
+    Not actually used yet due to need for testing, but having the
+    templates present greatly simplifies testing the remaining integration
+    work
+
+ -- Matt Zimmerman <mdz@ubuntu.com>  Thu, 13 Jan 2005 20:32:39 -0800
+
+casper (0.11) hoary; urgency=low
+
+  * Update post.d/20xconfig to use debconf passthrough to cdebconf
+    (requires debconf 1.4.42 and cdebconf 0.75), but leave it disabled for
+    now
+  * Create /etc/fstab in the target (this also seems to solve the problem
+    with noatime disappearing, and so should reduce snapshot utilization)
+
+ -- Matt Zimmerman <mdz@debian.org>  Thu, 13 Jan 2005 18:25:36 -0800
+
+casper (0.10) hoary; urgency=low
+
+  * Remove rc?.d/K??hwclock.sh links, to avoid changing the system clock
+    during reboot or shutdown
+
+ -- Matt Zimmerman <mdz@debian.org>  Thu, 13 Jan 2005 18:13:31 -0800
+
+casper (0.9) hoary; urgency=low
+
+  * Fix gdm autologin configuration (broken in 0.8)
+
+ -- Matt Zimmerman <mdz@debian.org>  Wed, 12 Jan 2005 10:52:05 -0800
+
+casper (0.8) hoary; urgency=low
+
+  * Add debian-installer/casper-udeb/title template, to specify more
+    readable menu item text
+  * Create /usr/lib/casper/{pre,post}.d and move all of our internal logic
+    there
+  * Create temporary symlinks in pre.d for the prebaseconfig.d items we
+    want
+  * Convert errors into proper error dialogs
+  * Make some pre.d scripts idempotent, for ease of testing
+
+ -- Matt Zimmerman <mdz@debian.org>  Tue, 11 Jan 2005 16:59:35 -0800
+
+casper (0.7) hoary; urgency=low
+
+  * Disable X configuration temporarily; need to resolve debconf issues
+
+ -- Matt Zimmerman <mdz@canonical.com>  Tue, 11 Jan 2005 13:14:43 -0800
+
+casper (0.6) hoary; urgency=low
+
+  * Allow "modprobe ext2" to fail; apparently it's sometimes compiled in
+
+ -- Matt Zimmerman <mdz@debian.org>  Tue, 11 Jan 2005 12:12:28 -0800
+
+casper (0.5) hoary; urgency=low
+
+  * Attempt to configure X
+    - This doesn't work very well yet (PCI BusID doesn't seem to get
+    updated, for example), so we still don't start gdm by default)
+  * Conditionalize some of the configuration code, so we automatically do
+    the right thing if gdm or X isn't installed
+  * Add German translation from Andreas Mueller
+  * modprobe ext2, to let powerpc work (this should probably happen
+    elsewhere, but for now...)
+
+ -- Matt Zimmerman <mdz@debian.org>  Sun,  9 Jan 2005 17:49:56 -0800
+
+casper (0.4) hoary; urgency=low
+
+  * Mount tmpfs on /tmp and /var/run, should save many writes to the snapshot
+
+ -- Matt Zimmerman <mdz@debian.org>  Fri,  7 Jan 2005 18:35:26 -0800
+
+casper (0.3) hoary; urgency=low
+
+  * Disable anacron and postfix startup
+  * Don't cripple /bin/apt-install in d-i (this was a workaround to
+    prevent d-i from installing packages which should have been present in
+    the filesystem image anyway, but weren't)
+
+ -- Matt Zimmerman <mdz@debian.org>  Fri,  7 Jan 2005 18:10:55 -0800
+
+casper (0.2) hoary; urgency=low
+
+  * Use mount --move to move the cdrom mount point, so that we can unmount
+    /initrd and free up the memory used by d-i
+  * Use /dev/ram1 rather than /dev/ram0 for the COW stuff, since /dev/ram0
+    is used for initrds and we want to avoid confusion
+  * Organize casper-udeb.postinst into shell functions
+  * Add a progress bar
+  * Add a debian/compat file (version 4)
+
+ -- Matt Zimmerman <mdz@debian.org>  Fri,  7 Jan 2005 08:01:21 -0800
+
+casper (0.1) hoary; urgency=low
+
+  * Initial Release.
+
+ -- Matt Zimmerman <mdz@canonical.com>  Wed,  5 Jan 2005 14:30:28 -0800
diff --git a/docs/parameters.txt b/docs/parameters.txt
new file mode 100644 (file)
index 0000000..60ad650
--- /dev/null
@@ -0,0 +1,73 @@
+Boot Parameters for Debian Live
+-------------------------------
+
+Updated for live-initramfs 1.156.1-1 on 2009-02-08.
+
+These options (can be combined) work from the bootloader prompt:
+
+live access=ACCESS
+live console=TTY,SPEED
+live debug
+live fetch=URL
+live hostname=HOSTNAME
+live username=USER
+live userfullname=USERFULLNAME
+live integrity-check
+live ip=[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]:[DEVICE]:[AUTOCONF]  [,[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]:[DEVICE]:[AUTOCONF]]*
+live ip[=frommedia]
+live {keyb|kbd-chooser/method}=KEYBOARD
+live {klayout|console-setup/layoutcode}=LAYOUT
+live {kvariant|console-setup/variantcode}=VARIANT
+live {kmodel|console-setup/modelcode}=CODE
+live koptions=OPTIONS
+live live-getty
+live {live-media|bootfrom}=DEVICE
+live {live-media-encryption|encryption}=TYPE
+live live-media-offset=BYTES
+live live-media-path=PATH
+live live-media-timeout=SECONDS
+live {locale|debian-installer/locale}=LOCALE
+live module=NAME
+live netboot[=nfs|cifs]
+live nfsopts=
+live noautologin
+live noxautologin
+live nofastboot
+live nopersistent
+live nosudo
+live swapon
+live nouser
+live noxautoconfig
+live persistent[=nofiles]
+live persistent-path=PATH
+live {preseed/file|file}=FILE
+live package/question=VALUE
+live quickreboot
+live showmounts
+live timezone=TIMEZONE
+live todisk=DEVICE
+live toram
+live union=aufs|unionfs
+live utc=yes|no
+live xdebconf
+live xvideomode=RESOLUTION
+
+Values for the vga kernel parameter:
+
+Colours   640x400 640x480 800x600 1024x768 1152x864 1280x1024 1600x1200
+--------+--------------------------------------------------------------
+ 4 bits |    ?       ?     0x302      ?        ?        ?         ?
+ 8 bits |  0x300   0x301   0x303    0x305    0x161    0x307     0x31C
+15 bits |    ?     0x310   0x313    0x316    0x162    0x319     0x31D
+16 bits |    ?     0x311   0x314    0x317    0x163    0x31A     0x31E
+24 bits |    ?     0x312   0x315    0x318      ?      0x31B     0x31F
+32 bits |    ?       ?       ?        ?      0x164      ?
+
+Colours   640x400 640x480 800x600 1024x768 1152x864 1280x1024 1600x1200
+--------+--------------------------------------------------------------
+ 4 bits |    ?       ?      770       ?        ?        ?         ?
+ 8 bits |   768     769     771      773      353      775       796
+15 bits |    ?      784     787      790      354      793       797
+16 bits |    ?      758     788      791      355      794       798
+24 bits |    ?      786     789      792       ?       795       799
+32 bits |    ?       ?       ?        ?       356       ?
diff --git a/hooks/live b/hooks/live
new file mode 100755 (executable)
index 0000000..645b168
--- /dev/null
@@ -0,0 +1,214 @@
+#!/bin/sh
+
+# initramfs hook for live-boot (Debian Live)
+
+set -e
+
+# initramfs-tools header
+
+PREREQ=""
+
+prereqs()
+{
+       echo "${PREREQ}"
+}
+
+case "${1}" in
+       prereqs)
+               prereqs
+               exit 0
+               ;;
+esac
+
+. /usr/share/initramfs-tools/hook-functions
+
+# live-boot hook
+
+# Handling live-boot
+
+# Configuration
+if [ -r /etc/live.conf ]
+then
+       . /etc/live.conf
+
+       mkdir -p "${DESTDIR}"/etc
+       cp /etc/live.conf "${DESTDIR}"/etc
+fi
+
+mkdir -p "${DESTDIR}"/usr/share/live-boot
+cp /usr/share/live-boot/languagelist "${DESTDIR}"/usr/share/live-boot
+
+# Directories
+mkdir -p "${DESTDIR}"/lib/live-boot
+
+# Executables
+copy_exec /usr/share/live-boot/live-reconfigure /bin
+copy_exec /usr/share/live-boot/live-preseed /bin
+
+# Scripts
+cp /usr/share/initramfs-tools/scripts/live-functions "${DESTDIR}"/scripts
+cp /usr/share/initramfs-tools/scripts/live-helpers "${DESTDIR}"/scripts
+
+# klibc dependencies
+for FILE in /lib/libacl* /lib/libblkid* /lib/libuuid* /lib/libdevmapper* /lib/libattr*
+do
+       if [ ! -e "${DESTDIR}"/"${FILE}" ]
+       then
+               cp -a "${FILE}" "${DESTDIR}"/"${FILE}"
+       fi
+done
+
+# udev dependencies (squeeze and newer)
+for FILE in /lib/udev/*_id
+do
+       if [ ! -e "${DESTDIR}/${FILE}" ]
+       then
+               mkdir -p "${DESTDIR}/lib/udev"
+               copy_exec "${FILE}" /lib/udev
+       fi
+done
+
+if [ -e /lib/udev/rules.d/60-cdrom_id.rules ]
+then
+       mkdir -p ${DESTDIR}/lib/udev/rules.d
+       cp -p /lib/udev/rules.d/60-cdrom_id.rules ${DESTDIR}/lib/udev/rules.d
+fi
+
+# Handling other stuff
+
+# Configuration: keymap (usefull when using encryption)
+if [ -x /bin/loadkeys ] && [ -r /etc/console/boottime.kmap.gz ]
+then
+       copy_exec /bin/loadkeys /bin
+
+       mkdir -p "${DESTDIR}"/etc
+       cp /etc/console/boottime.kmap.gz "${DESTDIR}"/etc
+fi
+
+# Configuration: Unique ID
+if [ -n "${LIVE_GENERATE_UUID}" ]
+then
+       mkdir -p "${DESTDIR}"/conf
+       uuidgen -r > "${DESTDIR}"/conf/uuid.conf
+fi
+
+# Filesystem: cifs
+if [ -x /sbin/mount.cifs ]
+then
+       copy_exec /sbin/mount.cifs /sbin
+        manual_add_modules cifs
+fi
+
+# Filesystem: ext3/ext4
+manual_add_modules ext3
+manual_add_modules ext4
+
+# Filesystem: jffs2
+manual_add_modules jffs2
+
+if [ -x /usr/bin/rsync ]
+then
+       copy_exec /usr/bin/rsync /bin
+fi
+
+# Filesystem: squashfs
+copy_exec /sbin/losetup /sbin
+manual_add_modules loop
+manual_add_modules squashfs
+manual_add_modules sqlzma
+manual_add_modules unlzma
+
+# Filesystem: aufs/unionfs
+manual_add_modules aufs
+manual_add_modules unionfs
+
+# Filesystem: unionfs-fuse
+if [ -x /usr/bin/unionfs-fuse ]
+then
+       copy_exec /usr/bin/unionfs-fuse /bin
+fi
+
+# Filesystem: vfat
+manual_add_modules nls_cp437
+manual_add_modules nls_iso8859-1
+manual_add_modules nls_utf8
+manual_add_modules vfat
+
+# Filesystem: ntfs
+manual_add_modules ntfs
+
+# Hardware: cdrom
+manual_add_modules ide-cd
+manual_add_modules ide-generic
+manual_add_modules ohci1394
+manual_add_modules sbp2
+manual_add_modules sr_mod
+
+# Hardware: usb
+manual_add_modules sd_mod
+
+# Hardware: network
+auto_add_modules net
+
+# Program: eject
+if [ -x /usr/bin/eject ]
+then
+       copy_exec /usr/bin/eject /bin
+fi
+
+# Program: md5sum
+copy_exec /usr/bin/md5sum /bin
+
+# Program: cpio
+# busybox and klibc lacks --no-absolute-filenames and --sparse, needed for snapshots
+if [ -e "${DESTDIR}/bin/cpio" ]
+then
+       # Override already present cpio's, mostly klibc's
+       rm "${DESTDIR}/bin/cpio"
+fi
+copy_exec /bin/cpio /bin
+
+# Program: udev
+if [ -x /sbin/udevadm ]
+then
+       # lenny
+       copy_exec /sbin/udevadm /sbin
+else
+       # etch
+       copy_exec /sbin/udevtrigger /sbin
+       copy_exec /sbin/udevsettle /sbin
+fi
+if [ -x /usr/bin/udevinfo ]
+then
+       copy_exec /usr/bin/udevinfo /bin
+fi
+
+# Program: wget
+if [ -x /usr/bin/wget ]
+then
+       copy_exec /usr/bin/wget /bin
+fi
+
+# Program: blockdev
+if [ -x /sbin/blockdev ]
+then
+       copy_exec /sbin/blockdev /sbin
+fi
+
+# FUSE kernel module
+manual_add_modules fuse
+
+# FUSE filesystem: httpfs2
+if [ -x /usr/bin/httpfs2_ssl ]
+then
+       copy_exec /usr/bin/httpfs2_ssl /bin/httpfs
+elif [ -x /usr/bin/httpfs2 ]
+then
+       copy_exec /usr/bin/httpfs2 /bin/httpfs
+fi
+
+# FUSE filesystem: curlftpfs
+if [ -x /usr/bin/curlftpfs ]
+then
+       copy_exec /usr/bin/curlftpfs /bin
+fi
diff --git a/manpages/Makefile b/manpages/Makefile
new file mode 100644 (file)
index 0000000..55f27fb
--- /dev/null
@@ -0,0 +1,40 @@
+# Makefile
+
+SHELL := sh -e
+
+LANGUAGES = $(shell cd po && ls)
+
+all: build
+
+po4a.cfg:
+       echo "[po4a_langs] $(LANGUAGES)" > po4a.cfg
+       echo "[po4a_paths] pot/\$$master.pot \$$lang:po/\$$lang/\$$master.po" >> po4a.cfg
+
+       for MANPAGE in en/*; \
+       do \
+               SECTION="$$(basename $${MANPAGE} | awk -F. '{ print $$2 }')"; \
+               echo "[type: man] $${MANPAGE} \$$lang:\$$lang/$$(basename $${MANPAGE} .$${SECTION}).\$$lang.$${SECTION}" >> po4a.cfg; \
+       done
+
+update:
+       ./bin/update-version.sh
+
+build: po4a.cfg
+       @if [ ! -x "$$(which po4a 2>/dev/null)" ]; \
+       then \
+               echo "E: po4a - command not found"; \
+               echo "I: po4a can be optained from http://po4a.alioth.debian.org/"; \
+               echo "I: On Debian systems, po4a can be installed with 'apt-get install po4a'."; \
+               exit 1; \
+       fi
+
+       po4a --keep 0 --no-backups --package-name live-boot po4a.cfg
+
+clean:
+       rm -f po/*/*.po~
+
+distclean: clean
+       rm -f po4a.cfg
+       rm -rf $(LANGUAGES)
+
+rebuild: distclean update build
diff --git a/manpages/bin/update-version.sh b/manpages/bin/update-version.sh
new file mode 100755 (executable)
index 0000000..4b7fd1d
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+
+VERSION="$(cat ../VERSION)"
+
+echo "Updating version headers..."
+
+for MANPAGE in en/*
+do
+       SECTION="$(basename ${MANPAGE} | awk -F. '{ print $2 }')"
+
+       sed -i -e "s|^.TH.*$|.TH LIVE\\\-BOOT ${SECTION} $(date +%Y\\\\-%m\\\\-%d) ${VERSION} \"Debian Live Project\"|" ${MANPAGE}
+done
diff --git a/manpages/de/live-boot.de.7 b/manpages/de/live-boot.de.7
new file mode 100644 (file)
index 0000000..9bc588e
--- /dev/null
@@ -0,0 +1,282 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH LIVE\-BOOT 7 24.05.2010 2.0~a1 "Debian Live Projekt"
+
+.SH NAME
+\fBlive\-boot\fP \- System Boot Skripte
+
+.SH BESCHREIBUNG
+\fBlive\-config\fP enthaelt die Skripte welche ein Debian Live System waehrend
+des Startvorganes (early userspace) konfigurieren.
+.PP
+.\" FIXME
+live\-boot is a hook for the initramfs\-tools, used to generate a initramfs
+capable to boot live systems, such as those created by
+\fIlive\-helper\fP(7). This includes the Debian Live isos, netboot tarballs, and
+usb stick images.
+.PP
+.\" FIXME
+At boot time it will look for a (read\-only) media containing a "/live"
+directory where a root filesystems (often a compressed filesystem image like
+squashfs) is stored. If found, it will create a writable environment, using
+aufs, for Debian like systems to boot from.
+
+.SH KONFIGURATION
+\fBlive\-boot\fP kann durch Boot Parameter oder durch Konfigurationsdateien
+konfiguriert werden.
+
+.SS "Kernel Parameter"
+\fBlive\-boot\fP ist nur dann aktiv, wenn 'boot=live' als Kernel Parameter
+benutzt wird.
+.PP
+In addition, there are some more boot parameters to influence the behaviour,
+see below.
+
+.SS Konfigurationsdateien
+\fBlive\-boot\fP can be configured (but not activated) through configuration
+files. Those files can be placed either in the root filesystem itself
+(/etc/live/boot.conf, /etc/live/boot.conf.d/), or on the live media
+(live/boot.conf, live/boot.conf.d/).
+
+.SH OPTIONEN
+.\" FIXME
+\fBlive\-boot\fP currently features the following parameters.
+.IP \fBaccess\fP=\fIACCESS\fP 4
+Set the accessibility level for physically or visually impared users. ACCESS
+must be one of v1, v2, v3, m1, or m2. v1=lesser visual impairment,
+v2=moderate visual impairment, v3=blindness, m1=minor motor difficulties,
+m2=moderate motor difficulties.
+.IP \fBconsole\fP=\fITTY,SPEED\fP 4
+Set the default console to be used with the "live\-getty" option. Example:
+"console=ttyS0,115200"
+.IP \fBdebug\fP 4
+Makes initramfs boot process more verbose.
+.IP \fBfetch\fP=\fIURL\fP 4
+Another form of netboot by downloading a squashfs image from a given url,
+copying to ram and booting it. Due to current limitations in busyboxs wget
+and DNS resolution, an URL can not contain a hostname but an IP only.
+.br
+Not working: http://example.com/path/to/your_filesystem.squashfs
+.br
+Working: http://1.2.3.4/path/to/your_filesystem.squashfs
+.br
+Also note that therefore it's currently not possible to fetch an image from
+a namebased virtualhost of an httpd if it is sharing the ip with the main
+httpd instance.
+.IP "\fBhostname\fP=\fIHOSTNAME\fP, \fBusername\fP=\fIUSER\fP, \fBuserfullname\fP=\fIUSERFULLNAME\fP" 4
+Those parameters lets you override values read from the config file.
+.IP \fBignore_uuid\fP 4
+Do not check that any UUID embedded in the initramfs matches the discovered
+medium. live\-boot may be told to generate a UUID by setting
+LIVE_GENERATE_UUID=1 when building the initramfs.
+.IP \fBintegrity\-check\fP 4
+If specified, an MD5 sum is calculated on the live media during boot and
+compared to the value found in md5sum.txt found in the root directory of the
+live media.
+.IP "\fBip\fP=[\fICLIENT_IP\fP]:[\fISERVER_IP\fP]:[\fIGATEWAY_IP\fP]:[\fINETMASK\fP]:[\fIHOSTNAME\fP]:[\fIDEVICE\fP]:[\fIAUTOCONF\fP] [,[\fICLIENT_IP\fP]:[\fISERVER_IP\fP]:[\fIGATEWAY_IP\fP]:[\fINETMASK\fP]:[\fIHOSTNAME\fP]:[\fIDEVICE\fP]:[\fIAUTOCONF\fP]]" 4
+Let you specify the name(s) and the options of the interface(s) that should
+be configured at boot time. Do not specify this if you want to use dhcp
+(default). It will be changed in a future release to mimick official kernel
+boot param specification
+(e.g. ip=10.0.0.1::10.0.0.254:255.255.255.0::eth0,:::::eth1:dhcp).
+.IP \fBip\fP=[\fIfrommedia\fP] 4
+If this variable is set, dhcp and static configuration are just skipped and
+the system will use the (must be) media\-preconfigured
+/etc/network/interfaces instead.
+.IP "{\fBkeyb\fP|\fBkbd\-chooser/method\fP}=\fIKEYBOARD\fP, {\fBklayout\fP|\fBconsole\-setup/layoutcode\fP}=\fILAYOUT\fP, {\fBkvariant\fP|\fBconsole\-setup/variantcode\fP}=\fIVARIANT\fP, {\fBkmodel\fP\fI|\fP\fBconsole\-setup/modelcode\fP}=\fICODE\fP, \fBkoptions\fP=\fIOPTIONS\fP" 4
+Configure the running keyboard as specified, if this one misses live\-boot
+behaves as if "keyb=us" was specified. It will be interfered from "locale="
+if locale is only 2 lowecase letters as a special case. You could also
+specify console layout, variant, code, and options (no defaults).
+.IP \fBlive\-getty\fP 4
+This changes the auto\-login on virtual terminals to use the (experimental)
+live\-getty code. With this option set the standard kernel argument
+"console=" is parsed and if a serial console is specified then live\-getty is
+used to autologin on the serial console.
+.IP {\fBlive\-media\fP|\fBbootfrom\fP}=\fIDEVICE\fP 4
+If you specify one of this two equivalent forms, live\-boot will first try to
+find this device for the "/live" directory where the read\-only root
+filesystem should reside. If it did not find something usable, the normal
+scan for block devices is performed.
+.br
+Instead of specifing an actual device name, the keyword 'removable' can be
+used to limit the search of acceptable live media to removable type
+only. Note that if you want to further restrict the media to usb mass
+storage only, you can use the 'removable\-usb' keyword.
+.IP {\fBlive\-media\-encryption\fP|\fBencryption\fP}=\fITYPE\fP 4
+live\-boot will mount the encrypted rootfs TYPE, asking the passphrase,
+useful to build paranoid live systems :\-). TYPE supported so far are "aes"
+for loop\-aes encryption type.
+.IP \fBlive\-media\-offset\fP=\fIBYTES\fP 4
+This way you could tell live\-boot that your image starts at offset BYTES in
+the above specified or autodiscovered device, this could be useful to hide
+the Debian Live iso or image inside another iso or image, to create "clean"
+images.
+.IP \fBlive\-media\-path\fP=\fIPATH\fP 4
+Sets the path to the live filesystem on the medium. By default, it is set to
+\&'/live' and you should not change that unless you have customized your media
+accordingly.
+.IP \fBlive\-media\-timeout\fP=\fISECONDS\fP 4
+Set the timeout in seconds for the device specified by "live\-media=" to
+become ready before giving up.
+.IP {\fBlocale\fP|\fBdebian\-installer/locale\fP}=\fILOCALE\fP 4
+Configure the running locale as specified, if not present the live\-media
+rootfs configured locale will be used and if also this one misses live\-boot
+behave as "locale=en_US.UTF\-8" was specified. If only 2 lowercase letter are
+specified (like "it"), the "maybe wanted" locale is generated (like
+en:EN.UTF\-8), in this case if also "keyb=" is unspecified is set with those
+2 lowercase letters (keyb=us). Beside that facility, only UTF8 locales are
+supported by live\-boot.
+.IP \fBmodule\fP=\fINAME\fP 4
+Instead of using the default optional file "filesystem.module" (see below)
+another file could be specified without the extension ".module"; it should
+be placed on "/live" directory of the live medium.
+.IP \fBnetboot\fP[=nfs|cifs] 4
+This tells live\-boot to perform a network mount. The parameter "nfsroot="
+(with optional "nfsopts="), should specify where is the location of the root
+filesystem.  With no args, will try cifs first, and if it fails nfs.
+.IP \fBnfsopts\fP= 4
+This lets you specify custom nfs options.
+.IP \fBnoautologin\fP 4
+This parameter disables the automatic terminal login only, not touching
+gdk/kdm.
+.IP \fBnoxautologin\fP 4
+This parameter disables the automatic login of gdm/kdm only, not touching
+terminals.
+.IP \fBnofastboot\fP 4
+This parameter disables the default disabling of filesystem checks in
+/etc/fstab. If you have static filesystems on your harddisk and you want
+them to be checked at boot time, use this parameter, otherwise they are
+skipped.
+.IP \fBnopersistent\fP 4
+disables the "persistent" feature, useful if the bootloader (like syslinux)
+has been installed with persistent enabled.
+.IP \fBnoprompt\fP 4
+Do not prompt to eject the CD or remove the USB flash drive on reboot.
+.IP \fBnosudo\fP 4
+This parameter disables the automatic configuration of sudo.
+.IP \fBswapon\fP 4
+This parameter enables usage of local swap partitions.
+.IP \fBnouser\fP 4
+This parameter disables the creation of the default user completely.
+.IP \fBnoxautoconfig\fP 4
+This parameter disables Xorg auto\-reconfiguration at boot time. This is
+valuable if you either do the detection on your own, or, if you want to ship
+a custom, premade xorg.conf in your live system.
+.IP \fBpersistent\fP[=nofiles] 4
+live\-boot will look for persistent and snapshot partitions or files labeled
+"live\-rw", "home\-rw", and files called "live\-sn*", "home\-sn*" and will try
+to, in order: mount as /cow the first, mount the second in /home, and just
+copy the contents of the latter in appropriate locations
+(snapshots). Snapshots will be tried to be updated on reboot/shutdown. Look
+at live\-snapshot(1) for more informations. If "nofiles" is specified, only
+filesystems with matching labels will be searched; no filesystems will be
+traversed looking for archives or image files. This results in shorter boot
+times.
+.IP \fBpersistent\-path\fP=\fIPATH\fP 4
+live\-boot will look for persistency files in the root directory of a
+partition, with this parameter, the path can be configured so that you can
+have multiple directories on the same partition to store persistency files.
+.IP {\fBpreseed/file\fP|\fBfile\fP}=\fIFILE\fP 4
+A path to a file present on the rootfs could be used to preseed debconf
+database.
+.IP \fBpackage/question\fP=\fIVALUE\fP 4
+All debian installed packages could be preseeded from command\-line that way,
+beware of blanks spaces, they will interfere with parsing, use a preseed
+file in this case.
+.IP \fBquickreboot\fP 4
+This option causes live\-boot to reboot without attempting to eject the media
+and without asking the user to remove the boot media.
+.IP \fBshowmounts\fP 4
+This parameter will make live\-boot to show on "/" the ro filesystems (mostly
+compressed) on "/live". This is not enabled by default because could lead to
+problems by applications like "mono" which store binary paths on
+installation.
+.IP \fBsilent\fP 4
+If you boot with the normal quiet parameter, live\-boot hides most messages
+of its own. When adding silent, it hides all.
+.IP \fBtextonly\fP 4
+Start up to text\-mode shell prompts, disabling the graphical user interface.
+.IP \fBtimezone\fP=\fITIMEZONE\fP 4
+By default, timezone is set to UTC. Using the timezone parameter, you can
+set it to your local zone, e.g. Europe/Zurich.
+.IP \fBtodisk\fP=\fIDEVICE\fP 4
+Adding this parameter, live\-boot will try to copy the entire read\-only media
+to the specified device before mounting the root filesystem. It probably
+needs a lot of free space. Subsequent boots should then skip this step and
+just specify the "live\-media=DEVICE" boot parameter with the same DEVICE
+used this time.
+.IP \fBtoram\fP 4
+Adding this parameter, live\-boot will try to copy the whole read\-only media
+to the computer's RAM before mounting the root filesystem. This could need a
+lot of ram, according to the space used by the read\-only media.
+.IP \fBunion\fP=aufs|unionfs 4
+By default, live\-boot uses aufs. With this parameter, you can switch to
+unionfs.
+.IP \fButc\fP=yes|no 4
+By default, Debian systems do assume that the hardware clock is set to
+UTC. You can change or explicitly set it with this parameter.
+.IP \fBxdebconf\fP 4
+Uses xdebconfigurator, if present on the rootfs, to configure X instead of
+the standard procedure (experimental).
+.IP \fBxvideomode\fP=\fIRESOLUTION\fP 4
+.\" FIXME
+Doesn't do xorg autodetection, but enforces a given resolution.
+
+.\" FIXME
+.SH "FILES (old)"
+.IP \fB/etc/live.conf\fP 4
+Some variables can be configured via this config file (inside the live
+system).
+.IP \fBlive/filesystem.module\fP 4
+This optional file (inside the live media) contains a list of white\-space or
+carriage\-return\-separated file names corresponding to disk images in the
+"/live" directory. If this file exists, only images listed here will be
+merged into the root aufs, and they will be loaded in the order listed
+here. The first entry in this file will be the "lowest" point in the aufs,
+and the last file in this list will be on the "top" of the aufs, directly
+below /cow.  Without this file, any images in the "/live" directory are
+loaded in alphanumeric order.
+.IP \fB/etc/live\-persistence.binds\fP 4
+This optional file (which resides in the rootfs system, not in the live
+media) is used as a list of directories which not need be persistent:
+ie. their content does not need to survive reboots when using the
+persistence features.
+.br
+.\" FIXME
+This saves expensive writes and speeds up operations on volatile data such
+as web caches and temporary files (like e.g. /tmp and .mozilla) which are
+regenerated each time. This is achieved by bind mounting each listed
+directory with a tmpfs on the original path.
+
+.SH DATEIEN
+.IP \fB/etc/live/boot.conf\fP 4
+.IP \fB/etc/live/boot.conf.d/\fP 4
+.IP \fBlive/boot.conf\fP 4
+.IP \fBlive/boot.conf.d/\fP 4
+
+.SH "SIEHE AUCH"
+\fIlive\-snapshot\fP(1)
+.PP
+\fIlive\-config\fP(7)
+.PP
+\fIlive\-helper\fP(7)
+
+.SH HOMEPAGE
+Weitere Informationen ueber live\-boot und das Debian Live Projekt koennen
+auf der Homepage unter <\fIhttp://live.debian.net/\fP> und im Handbuch
+unter <\fIhttp://live.debian.net/manual/\fP> gefunden werden.
+
+.SH FEHLER
+Fehler koennen durch Einreichen eines Fehlerberichtes fuer das live\-boot
+Paket im Debian Bug Tracking System unter
+<\fIhttp://bugs.debian.org/\fP> oder durch Senden einer E\-Mail an die
+Debian Live Mailing Liste unter <\fIdebian\-live@lists.debian.org\fP>
+(englischsprachig) mitgeteilt werden.
+
+.SH AUTOR
+live\-boot wurde von Daniel Baumann <\fIdaniel@debian.org\fP> fuer das
+Debian Projekt geschrieben.
diff --git a/manpages/de/live-snapshot.de.1 b/manpages/de/live-snapshot.de.1
new file mode 100644 (file)
index 0000000..8cd94b7
--- /dev/null
@@ -0,0 +1,108 @@
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH LIVE\-BOOT 1 24.05.2010 2.0~a1 "Debian Live Projekt"
+
+.SH NAME
+\fBlive\-snapshot\fP \- simple script to ease persistence usage
+
+.SH SYNTAX
+\fBlive\-snapshot\fP [\-c|\-\-cow \fIDIRECTORY] [\-d|\-\-device DEVICE\fP]
+[\-e|\-\-exclude\-list \fIFILE\fP] [\-o|\-\-output \fIFILE\fP] [\-t|\-\-type \fITYPE\fP]
+.br
+\fBlive\-snapshot\fP [\-r|\-\-resync\-string STRING]
+.br
+\fBlive\-snapshot\fP [\-h|\-\-help]
+.br
+\fBlive\-snapshot\fP [\-u|\-\-usage]
+.br
+\fBlive\-snapshot\fP [\-v|\-\-version]
+
+.SH BESCHREIBUNG
+live\-snapshot is a script which can be used to build the right types of
+persistent image files supported by \fIlive\-boot\fP(7). It is also used on exit
+by the live\-boot init script to resync the boot\-found snapshots devices.
+
+.SH OPTIONEN
+.IP "\-c, \-\-cow \fIDIRECTORY\fP" 4
+specifies the input directory to be cloned in the image file. Its default
+value "/live/cow" should be right for most uses. However it could be handy
+to specify "/home" and type ext2 for the type to prepare an image file
+suited to be directly mounted by live\-boot as home.
+.IP "\-d, \-\-device \fIDEVICE\fP" 4
+sets the device where the media which the snapshot/persistence
+file/partition will be put. If it is not specified, a tmpfs will be used and
+linked to the user's desktop to move it where it is needed. If the device
+has no filesystem, an ext2 fs will be automatically created and labelled
+according to the values specified after the "\-\-output" value or with a sane
+default.
+.IP "\-e, \-\-exclude\-list \fIFILE\fP" 4
+a file containing a list of filenames/paths that should not be saved. This
+exclude list will be remebered on the target snapshot media for reuse.
+.IP "\-o, \-\-output \fIFILE\fP" 4
+the filename/label used for the output file/partition. If left blank,
+live\-snapshot will search for a proper file on the device or use the whole
+partition.
+.IP "\-r, \-\-resync\-string \fISTRING\fP" 4
+internally used on resyncs.
+.IP "\-f, \-\-refresh" 4
+try to do the same operation that should be done at reboot or halt,
+resyncing boot\-time auto discovered snapshots. Useful to prevent a crash or
+surge power\-off.
+.IP "\-t, \-\-type \fITYPE\fP" 4
+Type could be one of "cpio", "squashfs", "ext2", "ext3", "ext4", or "jffs2".
+.IP "\-h, \-\-help" 4
+display help and exit.
+.IP "\-u, \-\-usage" 4
+show usage and exit.
+.IP "\-v, \-\-version" 4
+output version information and exit.
+
+.SH DATEIEN
+.IP \fB/etc/live.conf\fP 4
+Some variables can be configured via this config file (inside the live
+system).
+.IP \fBlive/filesystem.module\fP 4
+This optional file (inside the live media) contains a list of white\-space or
+carriage\-return\-separated file names corresponding to disk images in the
+"/live" directory. If this file exists, only images listed here will be
+merged into the root aufs, and they will be loaded in the order listed
+here. The first entry in this file will be the "lowest" point in the aufs,
+and the last file in this list will be on the "top" of the aufs, directly
+below /cow.  Without this file, any images in the "/live" directory are
+loaded in alphanumeric order.
+.IP \fB/etc/live\-persistence.binds\fP 4
+This optional file (which resides in the rootfs system, not in the live
+media) is used as a list of directories which not need be persistent:
+ie. their content does not need to survive reboots when using the
+persistence features.
+.br
+This saves expensive writes and speeds up operations on volatile data such
+as web caches and temporary files (like e.g. /tmp and .mozilla) which are
+regenerated each time. This is achieved by bind mounting each listed
+directory with a tmpfs on the original path.
+
+.SH "SIEHE AUCH"
+\fIlive\-boot\fP(1)
+.PP
+\fIlive\-config\fP(7)
+.PP
+\fIlive\-helper\fP(7)
+
+.SH HOMEPAGE
+Weitere Informationen ueber live\-boot und das Debian Live Projekt koennen
+auf der Homepage unter <\fIhttp://live.debian.net/\fP> und im Handbuch
+unter <\fIhttp://live.debian.net/manual/\fP> gefunden werden.
+
+.SH FEHLER
+Fehler koennen durch Einreichen eines Fehlerberichtes fuer das live\-boot
+Paket im Debian Bug Tracking System unter
+<\fIhttp://bugs.debian.org/\fP> oder durch Senden einer E\-Mail an die
+Debian Live Mailing Liste unter <\fIdebian\-live@lists.debian.org\fP>
+(englischsprachig) mitgeteilt werden.
+
+.SH AUTOR
+live\-boot wurde von Daniel Baumann <\fIdaniel@debian.org\fP> fuer das
+Debian Projekt geschrieben.
diff --git a/manpages/en/live-boot.7 b/manpages/en/live-boot.7
new file mode 100644 (file)
index 0000000..2b45a6f
--- /dev/null
@@ -0,0 +1,159 @@
+.TH LIVE\-BOOT 7 2010\-05\-24 2.0~a1 "Debian Live Project"
+
+.SH NAME
+\fBlive\-boot\fR \- System Boot Scripts
+
+.SH DESCRIPTION
+\fBlive\-boot\fR contains the scripts that configure a Debian Live system during the boot process (early userspace).
+.PP
+.\" FIXME
+live\-boot is a hook for the initramfs\-tools, used to generate a initramfs capable to boot live systems, such as those created by \fIlive\-helper\fR(7). This includes the Debian Live isos, netboot tarballs, and usb stick images.
+.PP
+At boot time it will look for a (read\-only) media containing a "/live" directory where a root filesystems (often a compressed filesystem image like squashfs) is stored. If found, it will create a writable environment, using aufs, for Debian like systems to boot from.
+.\" FIXME
+
+.SH CONFIGURATION
+\fBlive\-boot\fR can be configured through a boot parameter or a configuration file.
+
+.SS Kernel Parameters
+\fBlive\-boot\fR is only activated if 'boot=live' was used as a kernel parameter.
+.PP
+In addition, there are some more boot parameters to influence the behaviour, see below.
+
+.SS Configuration Files
+\fBlive\-boot\fR can be configured (but not activated) through configuration files. Those files can be placed either in the root filesystem itself (/etc/live/boot.conf, /etc/live/boot.conf.d/), or on the live media (live/boot.conf, live/boot.conf.d/).
+
+.SH OPTIONS
+\fBlive\-boot\fR currently features the following parameters.
+.\" FIXME
+.IP "\fBaccess\fR=\fIACCESS\fR" 4
+Set the accessibility level for physically or visually impared users. ACCESS must be one of v1, v2, v3, m1, or m2. v1=lesser visual impairment, v2=moderate visual impairment, v3=blindness, m1=minor motor difficulties, m2=moderate motor difficulties.
+.IP "\fBconsole\fR=\fITTY,SPEED\fR" 4
+Set the default console to be used with the "live\-getty" option. Example: "console=ttyS0,115200"
+.IP "\fBdebug\fR" 4
+Makes initramfs boot process more verbose.
+.IP "\fBfetch\fR=\fIURL\fR" 4
+Another form of netboot by downloading a squashfs image from a given url, copying to ram and booting it. Due to current limitations in busyboxs wget and DNS resolution, an URL can not contain a hostname but an IP only.
+.br
+Not working: http://example.com/path/to/your_filesystem.squashfs
+.br
+Working: http://1.2.3.4/path/to/your_filesystem.squashfs
+.br
+Also note that therefore it's currently not possible to fetch an image from a namebased virtualhost of an httpd if it is sharing the ip with the main httpd instance.
+.IP "\fBhostname\fR=\fIHOSTNAME\fR, \fBusername\fR=\fIUSER\fR, \fBuserfullname\fR=\fIUSERFULLNAME\fR" 4
+Those parameters lets you override values read from the config file.
+.IP "\fBignore_uuid\fR" 4
+Do not check that any UUID embedded in the initramfs matches the discovered medium. live\-boot may be told to generate a UUID by setting LIVE_GENERATE_UUID=1 when building the initramfs.
+.IP "\fBintegrity\-check\fR" 4
+If specified, an MD5 sum is calculated on the live media during boot and compared to the value found in md5sum.txt found in the root directory of the live media.
+.IP "\fBip\fR=[\fICLIENT_IP\fR]:[\fISERVER_IP\fR]:[\fIGATEWAY_IP\fR]:[\fINETMASK\fR]:[\fIHOSTNAME\fR]:[\fIDEVICE\fR]:[\fIAUTOCONF\fR] [,[\fICLIENT_IP\fR]:[\fISERVER_IP\fR]:[\fIGATEWAY_IP\fR]:[\fINETMASK\fR]:[\fIHOSTNAME\fR]:[\fIDEVICE\fR]:[\fIAUTOCONF\fR]]" 4
+Let you specify the name(s) and the options of the interface(s) that should be configured at boot time. Do not specify this if you want to use dhcp (default). It will be changed in a future release to mimick official kernel boot param specification (e.g. ip=10.0.0.1::10.0.0.254:255.255.255.0::eth0,:::::eth1:dhcp).
+.IP "\fBip\fR=[\fIfrommedia\fR]" 4
+If this variable is set, dhcp and static configuration are just skipped and the system will use the (must be) media\-preconfigured /etc/network/interfaces instead.
+.IP "{\fBkeyb\fR|\fBkbd\-chooser/method\fR}=\fIKEYBOARD\fR, {\fBklayout\fR|\fBconsole\-setup/layoutcode\fR}=\fILAYOUT\fR, {\fBkvariant\fR|\fBconsole\-setup/variantcode\fR}=\fIVARIANT\fR, {\fBkmodel\fI|\fBconsole\-setup/modelcode\fR}=\fICODE\fR, \fBkoptions\fR=\fIOPTIONS\fR" 4
+Configure the running keyboard as specified, if this one misses live\-boot behaves as if "keyb=us" was specified. It will be interfered from "locale=" if locale is only 2 lowecase letters as a special case. You could also specify console layout, variant, code, and options (no defaults).
+.IP "\fBlive\-getty\fR" 4
+This changes the auto\-login on virtual terminals to use the (experimental) live\-getty code. With this option set the standard kernel argument "console=" is parsed and if a serial console is specified then live\-getty is used to autologin on the serial console.
+.IP "{\fBlive\-media\fR|\fBbootfrom\fR}=\fIDEVICE\fR" 4
+If you specify one of this two equivalent forms, live\-boot will first try to find this device for the "/live" directory where the read\-only root filesystem should reside. If it did not find something usable, the normal scan for block devices is performed.
+.br
+Instead of specifing an actual device name, the keyword 'removable' can be used to limit the search of acceptable live media to removable type only. Note that if you want to further restrict the media to usb mass storage only, you can use the 'removable\-usb' keyword.
+.IP "{\fBlive\-media\-encryption\fR|\fBencryption\fR}=\fITYPE\fI" 4
+live\-boot will mount the encrypted rootfs TYPE, asking the passphrase, useful to build paranoid live systems :\-). TYPE supported so far are "aes" for loop\-aes encryption type.
+.IP "\fBlive\-media\-offset\fR=\fIBYTES\fR" 4
+This way you could tell live\-boot that your image starts at offset BYTES in the above specified or autodiscovered device, this could be useful to hide the Debian Live iso or image inside another iso or image, to create "clean" images.
+.IP "\fBlive\-media\-path\fR=\fIPATH\fR" 4
+Sets the path to the live filesystem on the medium. By default, it is set to '/live' and you should not change that unless you have customized your media accordingly.
+.IP "\fBlive\-media\-timeout\fR=\fISECONDS\fI" 4
+Set the timeout in seconds for the device specified by "live\-media=" to become ready before giving up.
+.IP "{\fBlocale\fR|\fBdebian\-installer/locale\fR}=\fILOCALE\fR" 4
+Configure the running locale as specified, if not present the live\-media rootfs configured locale will be used and if also this one misses live\-boot behave as "locale=en_US.UTF\-8" was specified. If only 2 lowercase letter are specified (like "it"), the "maybe wanted" locale is generated (like en:EN.UTF\-8), in this case if also "keyb=" is unspecified is set with those 2 lowercase letters (keyb=us). Beside that facility, only UTF8 locales are supported by live\-boot.
+.IP "\fBmodule\fR=\fINAME\fR" 4
+Instead of using the default optional file "filesystem.module" (see below) another file could be specified without the extension ".module"; it should be placed on "/live" directory of the live medium.
+.IP "\fBnetboot\fR[=nfs|cifs]" 4
+This tells live\-boot to perform a network mount. The parameter "nfsroot=" (with optional "nfsopts="), should specify where is the location of the root filesystem.  With no args, will try cifs first, and if it fails nfs.
+.IP "\fBnfsopts\fR=" 4
+This lets you specify custom nfs options.
+.IP "\fBnoautologin\fR" 4
+This parameter disables the automatic terminal login only, not touching gdk/kdm.
+.IP "\fBnoxautologin\fR" 4
+This parameter disables the automatic login of gdm/kdm only, not touching terminals.
+.IP "\fBnofastboot\fR" 4
+This parameter disables the default disabling of filesystem checks in /etc/fstab. If you have static filesystems on your harddisk and you want them to be checked at boot time, use this parameter, otherwise they are skipped.
+.IP "\fBnopersistent\fR" 4
+disables the "persistent" feature, useful if the bootloader (like syslinux) has been installed with persistent enabled.
+.IP "\fBnoprompt\fR" 4
+Do not prompt to eject the CD or remove the USB flash drive on reboot.
+.IP "\fBnosudo\fR" 4
+This parameter disables the automatic configuration of sudo.
+.IP "\fBswapon\fR" 4
+This parameter enables usage of local swap partitions.
+.IP "\fBnouser\fR" 4
+This parameter disables the creation of the default user completely.
+.IP "\fBnoxautoconfig\fR" 4
+This parameter disables Xorg auto\-reconfiguration at boot time. This is valuable if you either do the detection on your own, or, if you want to ship a custom, premade xorg.conf in your live system.
+.IP "\fBpersistent\fR[=nofiles]" 4
+live\-boot will look for persistent and snapshot partitions or files labeled "live\-rw", "home\-rw", and files called "live\-sn*", "home\-sn*" and will try to, in order: mount as /cow the first, mount the second in /home, and just copy the contents of the latter in appropriate locations (snapshots). Snapshots will be tried to be updated on reboot/shutdown. Look at live\-snapshot(1) for more informations. If "nofiles" is specified, only filesystems with matching labels will be searched; no filesystems will be traversed looking for archives or image files. This results in shorter boot times.
+.IP "\fBpersistent\-path\fR=\fIPATH\fR" 4
+live\-boot will look for persistency files in the root directory of a partition, with this parameter, the path can be configured so that you can have multiple directories on the same partition to store persistency files.
+.IP "{\fBpreseed/file\fR|\fBfile\fR}=\fIFILE\fR" 4
+A path to a file present on the rootfs could be used to preseed debconf database.
+.IP "\fBpackage/question\fR=\fIVALUE\fR" 4
+All debian installed packages could be preseeded from command\-line that way, beware of blanks spaces, they will interfere with parsing, use a preseed file in this case.
+.IP "\fBquickreboot\fR" 4
+This option causes live\-boot to reboot without attempting to eject the media and without asking the user to remove the boot media.
+.IP "\fBshowmounts\fR" 4
+This parameter will make live\-boot to show on "/" the ro filesystems (mostly compressed) on "/live". This is not enabled by default because could lead to problems by applications like "mono" which store binary paths on installation.
+.IP "\fBsilent\fR" 4
+If you boot with the normal quiet parameter, live\-boot hides most messages of its own. When adding silent, it hides all.
+.IP "\fBtextonly\fR" 4
+Start up to text\-mode shell prompts, disabling the graphical user interface.
+.IP "\fBtimezone\fR=\fITIMEZONE\fR" 4
+By default, timezone is set to UTC. Using the timezone parameter, you can set it to your local zone, e.g. Europe/Zurich.
+.IP "\fBtodisk\fR=\fIDEVICE\fR" 4
+Adding this parameter, live\-boot will try to copy the entire read\-only media to the specified device before mounting the root filesystem. It probably needs a lot of free space. Subsequent boots should then skip this step and just specify the "live\-media=DEVICE" boot parameter with the same DEVICE used this time.
+.IP "\fBtoram\fR" 4
+Adding this parameter, live\-boot will try to copy the whole read\-only media to the computer's RAM before mounting the root filesystem. This could need a lot of ram, according to the space used by the read\-only media.
+.IP "\fBunion\fR=aufs|unionfs\fR" 4
+By default, live\-boot uses aufs. With this parameter, you can switch to unionfs.
+.IP "\fButc\fR=yes|no" 4
+By default, Debian systems do assume that the hardware clock is set to UTC. You can change or explicitly set it with this parameter.
+.IP "\fBxdebconf\fR" 4
+Uses xdebconfigurator, if present on the rootfs, to configure X instead of the standard procedure (experimental).
+.IP "\fBxvideomode\fR=\fIRESOLUTION\fR" 4
+Doesn't do xorg autodetection, but enforces a given resolution.
+.\" FIXME
+
+.\" FIXME
+.SH FILES (old)
+.IP "\fB/etc/live.conf\fR" 4
+Some variables can be configured via this config file (inside the live system).
+.IP "\fBlive/filesystem.module\fR" 4
+This optional file (inside the live media) contains a list of white\-space or carriage\-return\-separated file names corresponding to disk images in the "/live" directory. If this file exists, only images listed here will be merged into the root aufs, and they will be loaded in the order listed here. The first entry in this file will be the "lowest" point in the aufs, and the last file in this list will be on the "top" of the aufs, directly below /cow.  Without this file, any images in the "/live" directory are loaded in alphanumeric order.
+.IP "\fB/etc/live\-persistence.binds\fR" 4
+This optional file (which resides in the rootfs system, not in the live media) is used as a list of directories which not need be persistent: ie. their content does not need to survive reboots when using the persistence features.
+.br
+This saves expensive writes and speeds up operations on volatile data such as web caches and temporary files (like e.g. /tmp and .mozilla) which are regenerated each time. This is achieved by bind mounting each listed directory with a tmpfs on the original path.
+.\" FIXME
+
+.SH FILES
+.IP "\fB/etc/live/boot.conf\fR" 4
+.IP "\fB/etc/live/boot.conf.d/\fR" 4
+.IP "\fBlive/boot.conf\fR" 4
+.IP "\fBlive/boot.conf.d/\fR" 4
+
+.SH SEE ALSO
+\fIlive\-snapshot\fR(1)
+.PP
+\fIlive\-config\fR(7)
+.PP
+\fIlive\-helper\fR(7)
+
+.SH HOMEPAGE
+More information about live\-boot and the Debian Live project can be found on the homepage at <\fIhttp://live.debian.net/\fR> and in the manual at <\fIhttp://live.debian.net/manual/\fR>.
+
+.SH BUGS
+Bugs can be reported by submitting a bugreport for the live\-boot package in the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Debian Live mailing list at <\fIdebian-live@lists.debian.org\fR>.
+
+.SH AUTHOR
+live\-boot was written by Daniel Baumann <\fIdaniel@debian.org\fR> for the Debian project.
diff --git a/manpages/en/live-snapshot.1 b/manpages/en/live-snapshot.1
new file mode 100644 (file)
index 0000000..987ad1e
--- /dev/null
@@ -0,0 +1,66 @@
+.TH LIVE\-BOOT 1 2010\-05\-24 2.0~a1 "Debian Live Project"
+
+.SH NAME
+\fBlive\-snapshot\fR \- simple script to ease persistence usage
+
+.SH SYNOPSIS
+\fBlive\-snapshot\fR [\-c|\-\-cow \fIDIRECTORY\fI] [\-d|\-\-device \fIDEVICE\fR] [\-e|\-\-exclude\-list \fIFILE\fR] [\-o|\-\-output \fIFILE\fR] [\-t|\-\-type \fITYPE\fR]
+.br
+\fBlive\-snapshot\fR [\-r|\-\-resync\-string \fRSTRING\fR]
+.br
+\fBlive\-snapshot\fR [\-h|\-\-help]
+.br
+\fBlive\-snapshot\fR [\-u|\-\-usage]
+.br
+\fBlive\-snapshot\fR [\-v|\-\-version]
+
+.SH DESCRIPTION
+live\-snapshot is a script which can be used to build the right types of persistent image files supported by \fIlive\-boot\fR(7). It is also used on exit by the live\-boot init script to resync the boot\-found snapshots devices.
+
+.SH OPTIONS
+.IP "\-c, \-\-cow \fIDIRECTORY\fR" 4
+specifies the input directory to be cloned in the image file. Its default value "/live/cow" should be right for most uses. However it could be handy to specify "/home" and type ext2 for the type to prepare an image file suited to be directly mounted by live\-boot as home.
+.IP "\-d, \-\-device \fIDEVICE\fR" 4
+sets the device where the media which the snapshot/persistence file/partition will be put. If it is not specified, a tmpfs will be used and linked to the user's desktop to move it where it is needed. If the device has no filesystem, an ext2 fs will be automatically created and labelled according to the values specified after the "\-\-output" value or with a sane default.
+.IP "\-e, \-\-exclude\-list \fIFILE\fR" 4
+a file containing a list of filenames/paths that should not be saved. This exclude list will be remebered on the target snapshot media for reuse.
+.IP "\-o, \-\-output \fIFILE\fR" 4
+the filename/label used for the output file/partition. If left blank, live\-snapshot will search for a proper file on the device or use the whole partition.
+.IP "\-r, \-\-resync\-string \fISTRING\fR" 4
+internally used on resyncs.
+.IP "\-f, \-\-refresh" 4
+try to do the same operation that should be done at reboot or halt, resyncing boot\-time auto discovered snapshots. Useful to prevent a crash or surge power\-off.
+.IP "\-t, \-\-type \fITYPE\fR" 4
+Type could be one of "cpio", "squashfs", "ext2", "ext3", "ext4", or "jffs2".
+.IP "\-h, \-\-help" 4
+display help and exit.
+.IP "\-u, \-\-usage" 4
+show usage and exit.
+.IP "\-v, \-\-version" 4
+output version information and exit.
+
+.SH FILES
+.IP "\fB/etc/live.conf\fR" 4
+Some variables can be configured via this config file (inside the live system).
+.IP "\fBlive/filesystem.module\fR" 4
+This optional file (inside the live media) contains a list of white\-space or carriage\-return\-separated file names corresponding to disk images in the "/live" directory. If this file exists, only images listed here will be merged into the root aufs, and they will be loaded in the order listed here. The first entry in this file will be the "lowest" point in the aufs, and the last file in this list will be on the "top" of the aufs, directly below /cow.  Without this file, any images in the "/live" directory are loaded in alphanumeric order.
+.IP "\fB/etc/live\-persistence.binds\fR" 4
+This optional file (which resides in the rootfs system, not in the live media) is used as a list of directories which not need be persistent: ie. their content does not need to survive reboots when using the persistence features.
+.br
+This saves expensive writes and speeds up operations on volatile data such as web caches and temporary files (like e.g. /tmp and .mozilla) which are regenerated each time. This is achieved by bind mounting each listed directory with a tmpfs on the original path.
+
+.SH SEE ALSO
+\fIlive\-boot\fR(1)
+.PP
+\fIlive\-config\fR(7)
+.PP
+\fIlive\-helper\fR(7)
+
+.SH HOMEPAGE
+More information about live\-boot and the Debian Live project can be found on the homepage at <\fIhttp://live.debian.net/\fR> and in the manual at <\fIhttp://live.debian.net/manual/\fR>.
+
+.SH BUGS
+Bugs can be reported by submitting a bugreport for the live\-boot package in the Debian Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Debian Live mailing list at <\fIdebian-live@lists.debian.org\fR>.
+
+.SH AUTHOR
+live\-boot was written by Daniel Baumann <\fIdaniel@debian.org\fR> for the Debian project.
diff --git a/manpages/old/live-snapshot.it.1.txt b/manpages/old/live-snapshot.it.1.txt
new file mode 100644 (file)
index 0000000..2370de7
--- /dev/null
@@ -0,0 +1,128 @@
+live-snapshot(1)
+================
+:man source: 1.157.3
+:man manual: Debian Live
+
+Name
+----
+live-snapshot - uno script per facilitare l'uso della persistenza sui sistemi live
+
+Synopsis
+--------
+live-snapshot [-c|--cow **DIRECTORY**s] [-d|--device **DEVICE**] [-e|--exclude-list **FILE**] [-o|--output **FILE**] [-t|--type **TYPE**]
+
+live-snapshot [-r|--resync-string **STRING**]
+
+live-snapshot [-h|--help]
+
+live-snapshot [-u|--usage]
+
+live-snapshot [-v|--version]
+
+Description
+-----------
+
+live-snapshot `e uno script che pu`o essere usato per costruire un file immagine formattato
+correttamente per essere usato da live-initramfs(7); viene inoltre usato dallo script di
+init di live-initramfs in uscita per sincronizzare i device di snapshot riconosciuti al boot.
+
+Options
+-------
+
+  -c, --cow **DIRECTORY**::
+
+specifica la directory da clonare nel file immagine. Il valore di default `e
+lo stesso default usato da live-initramfs per la sua directory COW (copy on
+write, un tempo situata in "/live/cow") ed `e sufficiente per gli usi comuni.
+Pu`o essere utile tuttavia specificare "/home" e come tipo "ext2" per
+preparare un file immagine adatto per essere montato da live-initramfs come
+"/home" al boot.
+
+  -d, --device **DEVICE**::
+
+seleziona il device dove il file/partizione di snapshot o persistenza dovr`a
+essere sistemato. Se il device non ha un filesystem, ne verr`a creato uno
+automaticamente, di tipo ext2 ed etichettato (label) in base al valore
+specificato nell'opzione "--output" o con un default. Se non viene specificato
+nessun device, verr`a usato un "tmpfs" linkato sul desktop dell'utente, in
+modo che port`a essere mosso dove si vuole.
+
+  -e, --exclude-list **FILE**::
+
+un file contenente una lista di file e percorsi che NON devono essere salvati.
+Questa lista verr`a inclusa nello snapshot per essere riutilizzata.
+
+  -o, --output **FILE**::
+
+il nome del file o l'etichetta (label) da usare per il file o la partizione di
+snapshot. Se non specificata, live-snapshot cercher\`a un file all'interno
+del device oppure user`a l'intera partizione.
+
+  -r, --resync-string **STRING**::
+
+usato internamente nelle sincronizzazioni dallo script di init di
+live-initramfs. Il formato pu\`o cambiare, usatelo a vostro rischio.
+
+  -f, --refresh::
+
+scatena la stessa operazione che verrebbe fatta al reboot o all'halt della
+macchina, provando a fare il resync degli snapshot trovati al boot, usabile
+per salvare le modifiche in vista di un crash o di una mancanza di corrente.
+
+  -t, --type **TYPE**::
+
+il tipo pu`o essere "cpio", "squashfs" o "ext2".
+
+  -h, --help::
+
+mostra l'aiuto ed esce
+
+  -u, --usage::
+
+mostra l'utilizzo ed esce
+
+  -v, --version::
+
+da informazioni sulla versione ed esce
+
+Files
+-----
+
+  /etc/live-snapshot.list
+
+Facoltativo, se presente cambia completamente il funzionamento di live-snapshot; solo i files e le directory elencate verranno effettivamente inclusi nello snapshot.
+Funziona attualmente solo con gli snapshot di tipo "cpio" e "partizione intera".
+
+  /etc/live-snapshot.exclude_list
+
+Facoltativo, se presente verrà utilizzato per filtrare i file da includere negli snapshot. Tutte i file che conterranno le stringhe elecate (come "grep -F -v") non verranno salvati da live-snapshot.
+Funziona attualmente solo con gli snapshot di tipo "cpio", "partizione intera" e "squashfs"; è utile per filtrare contenuti poco significativi come i file temporanei e la cache.
+
+See also
+--------
+
+live-initramfs(8)
+
+Questo programma fa parte di live-initramfs.
+
+Bugs
+----
+
+Riportate i bug sul pacchetto live-initramfs
+link:http://packages.qa.debian.org/live-initramfs[http://packages.qa.debian.org/live-initramfs].
+
+Homepage
+--------
+
+Ulteriori informazioni su progetto Debian Live possono essere trovate su
+link:http://debian-live.alioth.debian.org/[http://debian-live.alioth.debian.org/] e
+link:http://wiki.debian.org/DebianLive/[http://wiki.debian.org/DebianLive/].
+
+Authors
+-------
+
+live-initramfs `e mantenuto da Daniel Baumann <daniel@debian.org> per il
+progetto Debian. live-initramfs `e un fork di
+link:http://packages.ubuntu.com/casper[casper]. casper `e stato scritto
+originariamente da Tollef Fog Heen <tfheen@canonical.com> e Matt Zimmerman
+<mdz@canonical.com>.
diff --git a/manpages/po/de/live-boot.7.po b/manpages/po/de/live-boot.7.po
new file mode 100644 (file)
index 0000000..04c966b
--- /dev/null
@@ -0,0 +1,940 @@
+# German translations for live-boot package
+# Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org>
+# This file is distributed under the same license as the live-boot package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: live-boot 2.0~a1\n"
+"POT-Creation-Date: 2010-05-24 12:46+0300\n"
+"PO-Revision-Date: 2010-05-24 12:34+0300\n"
+"Last-Translator: Daniel Baumann <daniel@debian.org>\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ASCII\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: en/live-boot.7:1 en/live-snapshot.1:1
+#, no-wrap
+msgid "LIVE-BOOT"
+msgstr "LIVE-BOOT"
+
+#. type: TH
+#: en/live-boot.7:1 en/live-snapshot.1:1
+#, no-wrap
+msgid "2010-05-24"
+msgstr "24.05.2010"
+
+#. type: TH
+#: en/live-boot.7:1 en/live-snapshot.1:1
+#, no-wrap
+msgid "2.0~a1"
+msgstr "2.0~a1"
+
+#. type: TH
+#: en/live-boot.7:1 en/live-snapshot.1:1
+#, no-wrap
+msgid "Debian Live Project"
+msgstr "Debian Live Projekt"
+
+#. type: SH
+#: en/live-boot.7:3 en/live-snapshot.1:3
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: Plain text
+#: en/live-boot.7:5
+msgid "B<live-boot> - System Boot Scripts"
+msgstr "B<live-boot> - System Boot Skripte"
+
+#. type: SH
+#: en/live-boot.7:6 en/live-snapshot.1:17
+#, no-wrap
+msgid "DESCRIPTION"
+msgstr "BESCHREIBUNG"
+
+#. type: Plain text
+#: en/live-boot.7:8
+msgid ""
+"B<live-boot> contains the scripts that configure a Debian Live system during "
+"the boot process (early userspace)."
+msgstr ""
+"B<live-config> enthaelt die Skripte welche ein Debian Live System waehrend "
+"des Startvorganes (early userspace) konfigurieren."
+
+#.  FIXME
+#. type: Plain text
+#: en/live-boot.7:11
+msgid ""
+"live-boot is a hook for the initramfs-tools, used to generate a initramfs "
+"capable to boot live systems, such as those created by I<live-helper>(7). "
+"This includes the Debian Live isos, netboot tarballs, and usb stick images."
+msgstr ""
+
+#.  FIXME
+#. type: Plain text
+#: en/live-boot.7:14
+msgid ""
+"At boot time it will look for a (read-only) media containing a \"/live\" "
+"directory where a root filesystems (often a compressed filesystem image like "
+"squashfs) is stored. If found, it will create a writable environment, using "
+"aufs, for Debian like systems to boot from."
+msgstr ""
+
+#. type: SH
+#: en/live-boot.7:15
+#, no-wrap
+msgid "CONFIGURATION"
+msgstr "KONFIGURATION"
+
+#. type: Plain text
+#: en/live-boot.7:17
+msgid ""
+"B<live-boot> can be configured through a boot parameter or a configuration "
+"file."
+msgstr ""
+"B<live-boot> kann durch Boot Parameter oder durch Konfigurationsdateien "
+"konfiguriert werden."
+
+#. type: SS
+#: en/live-boot.7:18
+#, no-wrap
+msgid "Kernel Parameters"
+msgstr "Kernel Parameter"
+
+#. type: Plain text
+#: en/live-boot.7:20
+msgid ""
+"B<live-boot> is only activated if 'boot=live' was used as a kernel parameter."
+msgstr ""
+"B<live-boot> ist nur dann aktiv, wenn 'boot=live' als Kernel Parameter "
+"benutzt wird."
+
+#. type: Plain text
+#: en/live-boot.7:22
+msgid ""
+"In addition, there are some more boot parameters to influence the behaviour, "
+"see below."
+msgstr ""
+
+#. type: SS
+#: en/live-boot.7:23
+#, no-wrap
+msgid "Configuration Files"
+msgstr "Konfigurationsdateien"
+
+#. type: Plain text
+#: en/live-boot.7:25
+msgid ""
+"B<live-boot> can be configured (but not activated) through configuration "
+"files. Those files can be placed either in the root filesystem itself (/etc/"
+"live/boot.conf, /etc/live/boot.conf.d/), or on the live media (live/boot."
+"conf, live/boot.conf.d/)."
+msgstr ""
+
+#. type: SH
+#: en/live-boot.7:26 en/live-snapshot.1:20
+#, no-wrap
+msgid "OPTIONS"
+msgstr "OPTIONEN"
+
+#.  FIXME
+#. type: Plain text
+#: en/live-boot.7:29
+msgid "B<live-boot> currently features the following parameters."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:29
+#, no-wrap
+msgid "B<access>=I<ACCESS>"
+msgstr "B<access>=I<ACCESS>"
+
+#. type: Plain text
+#: en/live-boot.7:31
+msgid ""
+"Set the accessibility level for physically or visually impared users. ACCESS "
+"must be one of v1, v2, v3, m1, or m2. v1=lesser visual impairment, "
+"v2=moderate visual impairment, v3=blindness, m1=minor motor difficulties, "
+"m2=moderate motor difficulties."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:31
+#, no-wrap
+msgid "B<console>=I<TTY,SPEED>"
+msgstr "B<console>=I<TTY,SPEED>"
+
+#. type: Plain text
+#: en/live-boot.7:33
+msgid ""
+"Set the default console to be used with the \"live-getty\" option. Example: "
+"\"console=ttyS0,115200\""
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:33
+#, no-wrap
+msgid "B<debug>"
+msgstr "B<debug>"
+
+#. type: Plain text
+#: en/live-boot.7:35
+msgid "Makes initramfs boot process more verbose."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:35
+#, no-wrap
+msgid "B<fetch>=I<URL>"
+msgstr "B<fetch>=I<URL>"
+
+#. type: Plain text
+#: en/live-boot.7:37
+msgid ""
+"Another form of netboot by downloading a squashfs image from a given url, "
+"copying to ram and booting it. Due to current limitations in busyboxs wget "
+"and DNS resolution, an URL can not contain a hostname but an IP only."
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:39
+msgid "Not working: http://example.com/path/to/your_filesystem.squashfs"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:41
+msgid "Working: http://1.2.3.4/path/to/your_filesystem.squashfs"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:43
+msgid ""
+"Also note that therefore it's currently not possible to fetch an image from "
+"a namebased virtualhost of an httpd if it is sharing the ip with the main "
+"httpd instance."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:43
+#, no-wrap
+msgid "B<hostname>=I<HOSTNAME>, B<username>=I<USER>, B<userfullname>=I<USERFULLNAME>"
+msgstr "B<hostname>=I<HOSTNAME>, B<username>=I<USER>, B<userfullname>=I<USERFULLNAME>"
+
+#. type: Plain text
+#: en/live-boot.7:45
+msgid "Those parameters lets you override values read from the config file."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:45
+#, no-wrap
+msgid "B<ignore_uuid>"
+msgstr "B<ignore_uuid>"
+
+#. type: Plain text
+#: en/live-boot.7:47
+msgid ""
+"Do not check that any UUID embedded in the initramfs matches the discovered "
+"medium. live-boot may be told to generate a UUID by setting "
+"LIVE_GENERATE_UUID=1 when building the initramfs."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:47
+#, no-wrap
+msgid "B<integrity-check>"
+msgstr "B<integrity-check>"
+
+#. type: Plain text
+#: en/live-boot.7:49
+msgid ""
+"If specified, an MD5 sum is calculated on the live media during boot and "
+"compared to the value found in md5sum.txt found in the root directory of the "
+"live media."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:49
+#, no-wrap
+msgid "B<ip>=[I<CLIENT_IP>]:[I<SERVER_IP>]:[I<GATEWAY_IP>]:[I<NETMASK>]:[I<HOSTNAME>]:[I<DEVICE>]:[I<AUTOCONF>] [,[I<CLIENT_IP>]:[I<SERVER_IP>]:[I<GATEWAY_IP>]:[I<NETMASK>]:[I<HOSTNAME>]:[I<DEVICE>]:[I<AUTOCONF>]]"
+msgstr "B<ip>=[I<CLIENT_IP>]:[I<SERVER_IP>]:[I<GATEWAY_IP>]:[I<NETMASK>]:[I<HOSTNAME>]:[I<DEVICE>]:[I<AUTOCONF>] [,[I<CLIENT_IP>]:[I<SERVER_IP>]:[I<GATEWAY_IP>]:[I<NETMASK>]:[I<HOSTNAME>]:[I<DEVICE>]:[I<AUTOCONF>]]"
+
+#. type: Plain text
+#: en/live-boot.7:51
+msgid ""
+"Let you specify the name(s) and the options of the interface(s) that should "
+"be configured at boot time. Do not specify this if you want to use dhcp "
+"(default). It will be changed in a future release to mimick official kernel "
+"boot param specification (e.g. ip=10.0.0.1::10.0.0.254:255.255.255.0::"
+"eth0,:::::eth1:dhcp)."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:51
+#, no-wrap
+msgid "B<ip>=[I<frommedia>]"
+msgstr "B<ip>=[I<frommedia>]"
+
+#. type: Plain text
+#: en/live-boot.7:53
+msgid ""
+"If this variable is set, dhcp and static configuration are just skipped and "
+"the system will use the (must be) media-preconfigured /etc/network/"
+"interfaces instead."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:53
+#, no-wrap
+msgid "{B<keyb>|B<kbd-chooser/method>}=I<KEYBOARD>, {B<klayout>|B<console-setup/layoutcode>}=I<LAYOUT>, {B<kvariant>|B<console-setup/variantcode>}=I<VARIANT>, {B<kmodel>I<|>B<console-setup/modelcode>}=I<CODE>, B<koptions>=I<OPTIONS>"
+msgstr "{B<keyb>|B<kbd-chooser/method>}=I<KEYBOARD>, {B<klayout>|B<console-setup/layoutcode>}=I<LAYOUT>, {B<kvariant>|B<console-setup/variantcode>}=I<VARIANT>, {B<kmodel>I<|>B<console-setup/modelcode>}=I<CODE>, B<koptions>=I<OPTIONS>"
+
+#. type: Plain text
+#: en/live-boot.7:55
+msgid ""
+"Configure the running keyboard as specified, if this one misses live-boot "
+"behaves as if \"keyb=us\" was specified. It will be interfered from \"locale="
+"\" if locale is only 2 lowecase letters as a special case. You could also "
+"specify console layout, variant, code, and options (no defaults)."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:55
+#, no-wrap
+msgid "B<live-getty>"
+msgstr "B<live-getty>"
+
+#. type: Plain text
+#: en/live-boot.7:57
+msgid ""
+"This changes the auto-login on virtual terminals to use the (experimental) "
+"live-getty code. With this option set the standard kernel argument \"console="
+"\" is parsed and if a serial console is specified then live-getty is used to "
+"autologin on the serial console."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:57
+#, no-wrap
+msgid "{B<live-media>|B<bootfrom>}=I<DEVICE>"
+msgstr "{B<live-media>|B<bootfrom>}=I<DEVICE>"
+
+#. type: Plain text
+#: en/live-boot.7:59
+msgid ""
+"If you specify one of this two equivalent forms, live-boot will first try to "
+"find this device for the \"/live\" directory where the read-only root "
+"filesystem should reside. If it did not find something usable, the normal "
+"scan for block devices is performed."
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:61
+msgid ""
+"Instead of specifing an actual device name, the keyword 'removable' can be "
+"used to limit the search of acceptable live media to removable type only. "
+"Note that if you want to further restrict the media to usb mass storage "
+"only, you can use the 'removable-usb' keyword."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:61
+#, no-wrap
+msgid "{B<live-media-encryption>|B<encryption>}=I<TYPE>"
+msgstr "{B<live-media-encryption>|B<encryption>}=I<TYPE>"
+
+#. type: Plain text
+#: en/live-boot.7:63
+msgid ""
+"live-boot will mount the encrypted rootfs TYPE, asking the passphrase, "
+"useful to build paranoid live systems :-). TYPE supported so far are \"aes\" "
+"for loop-aes encryption type."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:63
+#, no-wrap
+msgid "B<live-media-offset>=I<BYTES>"
+msgstr "B<live-media-offset>=I<BYTES>"
+
+#. type: Plain text
+#: en/live-boot.7:65
+msgid ""
+"This way you could tell live-boot that your image starts at offset BYTES in "
+"the above specified or autodiscovered device, this could be useful to hide "
+"the Debian Live iso or image inside another iso or image, to create \"clean"
+"\" images."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:65
+#, no-wrap
+msgid "B<live-media-path>=I<PATH>"
+msgstr "B<live-media-path>=I<PATH>"
+
+#. type: Plain text
+#: en/live-boot.7:67
+msgid ""
+"Sets the path to the live filesystem on the medium. By default, it is set to "
+"'/live' and you should not change that unless you have customized your media "
+"accordingly."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:67
+#, no-wrap
+msgid "B<live-media-timeout>=I<SECONDS>"
+msgstr "B<live-media-timeout>=I<SECONDS>"
+
+#. type: Plain text
+#: en/live-boot.7:69
+msgid ""
+"Set the timeout in seconds for the device specified by \"live-media=\" to "
+"become ready before giving up."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:69
+#, no-wrap
+msgid "{B<locale>|B<debian-installer/locale>}=I<LOCALE>"
+msgstr "{B<locale>|B<debian-installer/locale>}=I<LOCALE>"
+
+#. type: Plain text
+#: en/live-boot.7:71
+msgid ""
+"Configure the running locale as specified, if not present the live-media "
+"rootfs configured locale will be used and if also this one misses live-boot "
+"behave as \"locale=en_US.UTF-8\" was specified. If only 2 lowercase letter "
+"are specified (like \"it\"), the \"maybe wanted\" locale is generated (like "
+"en:EN.UTF-8), in this case if also \"keyb=\" is unspecified is set with "
+"those 2 lowercase letters (keyb=us). Beside that facility, only UTF8 locales "
+"are supported by live-boot."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:71
+#, no-wrap
+msgid "B<module>=I<NAME>"
+msgstr "B<module>=I<NAME>"
+
+#. type: Plain text
+#: en/live-boot.7:73
+msgid ""
+"Instead of using the default optional file \"filesystem.module\" (see below) "
+"another file could be specified without the extension \".module\"; it should "
+"be placed on \"/live\" directory of the live medium."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:73
+#, no-wrap
+msgid "B<netboot>[=nfs|cifs]"
+msgstr "B<netboot>[=nfs|cifs]"
+
+#. type: Plain text
+#: en/live-boot.7:75
+msgid ""
+"This tells live-boot to perform a network mount. The parameter \"nfsroot="
+"\" (with optional \"nfsopts=\"), should specify where is the location of the "
+"root filesystem.  With no args, will try cifs first, and if it fails nfs."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:75
+#, no-wrap
+msgid "B<nfsopts>="
+msgstr "B<nfsopts>="
+
+#. type: Plain text
+#: en/live-boot.7:77
+msgid "This lets you specify custom nfs options."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:77
+#, no-wrap
+msgid "B<noautologin>"
+msgstr "B<noautologin>"
+
+#. type: Plain text
+#: en/live-boot.7:79
+msgid ""
+"This parameter disables the automatic terminal login only, not touching gdk/"
+"kdm."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:79
+#, no-wrap
+msgid "B<noxautologin>"
+msgstr "B<noxautologin>"
+
+#. type: Plain text
+#: en/live-boot.7:81
+msgid ""
+"This parameter disables the automatic login of gdm/kdm only, not touching "
+"terminals."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:81
+#, no-wrap
+msgid "B<nofastboot>"
+msgstr "B<nofastboot>"
+
+#. type: Plain text
+#: en/live-boot.7:83
+msgid ""
+"This parameter disables the default disabling of filesystem checks in /etc/"
+"fstab. If you have static filesystems on your harddisk and you want them to "
+"be checked at boot time, use this parameter, otherwise they are skipped."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:83
+#, no-wrap
+msgid "B<nopersistent>"
+msgstr "B<nopersistent>"
+
+#. type: Plain text
+#: en/live-boot.7:85
+msgid ""
+"disables the \"persistent\" feature, useful if the bootloader (like "
+"syslinux) has been installed with persistent enabled."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:85
+#, no-wrap
+msgid "B<noprompt>"
+msgstr "B<noprompt>"
+
+#. type: Plain text
+#: en/live-boot.7:87
+msgid "Do not prompt to eject the CD or remove the USB flash drive on reboot."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:87
+#, no-wrap
+msgid "B<nosudo>"
+msgstr "B<nosudo>"
+
+#. type: Plain text
+#: en/live-boot.7:89
+msgid "This parameter disables the automatic configuration of sudo."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:89
+#, no-wrap
+msgid "B<swapon>"
+msgstr "B<swapon>"
+
+#. type: Plain text
+#: en/live-boot.7:91
+msgid "This parameter enables usage of local swap partitions."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:91
+#, no-wrap
+msgid "B<nouser>"
+msgstr "B<nouser>"
+
+#. type: Plain text
+#: en/live-boot.7:93
+msgid "This parameter disables the creation of the default user completely."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:93
+#, no-wrap
+msgid "B<noxautoconfig>"
+msgstr "B<noxautoconfig>"
+
+#. type: Plain text
+#: en/live-boot.7:95
+msgid ""
+"This parameter disables Xorg auto-reconfiguration at boot time. This is "
+"valuable if you either do the detection on your own, or, if you want to ship "
+"a custom, premade xorg.conf in your live system."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:95
+#, no-wrap
+msgid "B<persistent>[=nofiles]"
+msgstr "B<persistent>[=nofiles]"
+
+#. type: Plain text
+#: en/live-boot.7:97
+msgid ""
+"live-boot will look for persistent and snapshot partitions or files labeled "
+"\"live-rw\", \"home-rw\", and files called \"live-sn*\", \"home-sn*\" and "
+"will try to, in order: mount as /cow the first, mount the second in /home, "
+"and just copy the contents of the latter in appropriate locations "
+"(snapshots). Snapshots will be tried to be updated on reboot/shutdown. Look "
+"at live-snapshot(1) for more informations. If \"nofiles\" is specified, only "
+"filesystems with matching labels will be searched; no filesystems will be "
+"traversed looking for archives or image files. This results in shorter boot "
+"times."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:97
+#, no-wrap
+msgid "B<persistent-path>=I<PATH>"
+msgstr "B<persistent-path>=I<PATH>"
+
+#. type: Plain text
+#: en/live-boot.7:99
+msgid ""
+"live-boot will look for persistency files in the root directory of a "
+"partition, with this parameter, the path can be configured so that you can "
+"have multiple directories on the same partition to store persistency files."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:99
+#, no-wrap
+msgid "{B<preseed/file>|B<file>}=I<FILE>"
+msgstr "{B<preseed/file>|B<file>}=I<FILE>"
+
+#. type: Plain text
+#: en/live-boot.7:101
+msgid ""
+"A path to a file present on the rootfs could be used to preseed debconf "
+"database."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:101
+#, no-wrap
+msgid "B<package/question>=I<VALUE>"
+msgstr "B<package/question>=I<VALUE>"
+
+#. type: Plain text
+#: en/live-boot.7:103
+msgid ""
+"All debian installed packages could be preseeded from command-line that way, "
+"beware of blanks spaces, they will interfere with parsing, use a preseed "
+"file in this case."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:103
+#, no-wrap
+msgid "B<quickreboot>"
+msgstr "B<quickreboot>"
+
+#. type: Plain text
+#: en/live-boot.7:105
+msgid ""
+"This option causes live-boot to reboot without attempting to eject the media "
+"and without asking the user to remove the boot media."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:105
+#, no-wrap
+msgid "B<showmounts>"
+msgstr "B<showmounts>"
+
+#. type: Plain text
+#: en/live-boot.7:107
+msgid ""
+"This parameter will make live-boot to show on \"/\" the ro filesystems "
+"(mostly compressed) on \"/live\". This is not enabled by default because "
+"could lead to problems by applications like \"mono\" which store binary "
+"paths on installation."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:107
+#, no-wrap
+msgid "B<silent>"
+msgstr "B<silent>"
+
+#. type: Plain text
+#: en/live-boot.7:109
+msgid ""
+"If you boot with the normal quiet parameter, live-boot hides most messages "
+"of its own. When adding silent, it hides all."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:109
+#, no-wrap
+msgid "B<textonly>"
+msgstr "B<textonly>"
+
+#. type: Plain text
+#: en/live-boot.7:111
+msgid ""
+"Start up to text-mode shell prompts, disabling the graphical user interface."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:111
+#, no-wrap
+msgid "B<timezone>=I<TIMEZONE>"
+msgstr "B<timezone>=I<TIMEZONE>"
+
+#. type: Plain text
+#: en/live-boot.7:113
+msgid ""
+"By default, timezone is set to UTC. Using the timezone parameter, you can "
+"set it to your local zone, e.g. Europe/Zurich."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:113
+#, no-wrap
+msgid "B<todisk>=I<DEVICE>"
+msgstr "B<todisk>=I<DEVICE>"
+
+#. type: Plain text
+#: en/live-boot.7:115
+msgid ""
+"Adding this parameter, live-boot will try to copy the entire read-only media "
+"to the specified device before mounting the root filesystem. It probably "
+"needs a lot of free space. Subsequent boots should then skip this step and "
+"just specify the \"live-media=DEVICE\" boot parameter with the same DEVICE "
+"used this time."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:115
+#, no-wrap
+msgid "B<toram>"
+msgstr "B<toram>"
+
+#. type: Plain text
+#: en/live-boot.7:117
+msgid ""
+"Adding this parameter, live-boot will try to copy the whole read-only media "
+"to the computer's RAM before mounting the root filesystem. This could need a "
+"lot of ram, according to the space used by the read-only media."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:117
+#, no-wrap
+msgid "B<union>=aufs|unionfs"
+msgstr "B<union>=aufs|unionfs"
+
+#. type: Plain text
+#: en/live-boot.7:119
+msgid ""
+"By default, live-boot uses aufs. With this parameter, you can switch to "
+"unionfs."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:119
+#, no-wrap
+msgid "B<utc>=yes|no"
+msgstr "B<utc>=yes|no"
+
+#. type: Plain text
+#: en/live-boot.7:121
+msgid ""
+"By default, Debian systems do assume that the hardware clock is set to UTC. "
+"You can change or explicitly set it with this parameter."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:121
+#, no-wrap
+msgid "B<xdebconf>"
+msgstr "B<xdebconf>"
+
+#. type: Plain text
+#: en/live-boot.7:123
+msgid ""
+"Uses xdebconfigurator, if present on the rootfs, to configure X instead of "
+"the standard procedure (experimental)."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:123
+#, no-wrap
+msgid "B<xvideomode>=I<RESOLUTION>"
+msgstr "B<xvideomode>=I<RESOLUTION>"
+
+#.  FIXME
+#. type: Plain text
+#: en/live-boot.7:126
+msgid "Doesn't do xorg autodetection, but enforces a given resolution."
+msgstr ""
+
+#.  FIXME
+#. type: SH
+#: en/live-boot.7:128
+#, no-wrap
+msgid "FILES (old)"
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:129 en/live-snapshot.1:43
+#, no-wrap
+msgid "B</etc/live.conf>"
+msgstr "B</etc/live.conf>"
+
+#. type: Plain text
+#: en/live-boot.7:131 en/live-snapshot.1:45
+msgid ""
+"Some variables can be configured via this config file (inside the live "
+"system)."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:131 en/live-snapshot.1:45
+#, no-wrap
+msgid "B<live/filesystem.module>"
+msgstr "B<live/filesystem.module>"
+
+#. type: Plain text
+#: en/live-boot.7:133 en/live-snapshot.1:47
+msgid ""
+"This optional file (inside the live media) contains a list of white-space or "
+"carriage-return-separated file names corresponding to disk images in the \"/"
+"live\" directory. If this file exists, only images listed here will be "
+"merged into the root aufs, and they will be loaded in the order listed here. "
+"The first entry in this file will be the \"lowest\" point in the aufs, and "
+"the last file in this list will be on the \"top\" of the aufs, directly "
+"below /cow.  Without this file, any images in the \"/live\" directory are "
+"loaded in alphanumeric order."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:133 en/live-snapshot.1:47
+#, no-wrap
+msgid "B</etc/live-persistence.binds>"
+msgstr "B</etc/live-persistence.binds>"
+
+#. type: Plain text
+#: en/live-boot.7:135 en/live-snapshot.1:49
+msgid ""
+"This optional file (which resides in the rootfs system, not in the live "
+"media) is used as a list of directories which not need be persistent: ie. "
+"their content does not need to survive reboots when using the persistence "
+"features."
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:138 en/live-snapshot.1:51
+msgid ""
+"This saves expensive writes and speeds up operations on volatile data such "
+"as web caches and temporary files (like e.g. /tmp and .mozilla) which are "
+"regenerated each time. This is achieved by bind mounting each listed "
+"directory with a tmpfs on the original path."
+msgstr ""
+
+#. type: SH
+#: en/live-boot.7:139 en/live-snapshot.1:42
+#, no-wrap
+msgid "FILES"
+msgstr "DATEIEN"
+
+#. type: IP
+#: en/live-boot.7:140
+#, no-wrap
+msgid "B</etc/live/boot.conf>"
+msgstr "B</etc/live/boot.conf>"
+
+#. type: IP
+#: en/live-boot.7:141
+#, no-wrap
+msgid "B</etc/live/boot.conf.d/>"
+msgstr "B</etc/live/boot.conf.d/>"
+
+#. type: IP
+#: en/live-boot.7:142
+#, no-wrap
+msgid "B<live/boot.conf>"
+msgstr "B<live/boot.conf>"
+
+#. type: IP
+#: en/live-boot.7:143
+#, no-wrap
+msgid "B<live/boot.conf.d/>"
+msgstr "B<live/boot.conf.d/>"
+
+#. type: SH
+#: en/live-boot.7:145 en/live-snapshot.1:52
+#, no-wrap
+msgid "SEE ALSO"
+msgstr "SIEHE AUCH"
+
+#. type: Plain text
+#: en/live-boot.7:147
+msgid "I<live-snapshot>(1)"
+msgstr "I<live-snapshot>(1)"
+
+#. type: Plain text
+#: en/live-boot.7:149 en/live-snapshot.1:56
+msgid "I<live-config>(7)"
+msgstr "I<live-config>(7)"
+
+#. type: Plain text
+#: en/live-boot.7:151 en/live-snapshot.1:58
+msgid "I<live-helper>(7)"
+msgstr "I<live-helper>(7)"
+
+#. type: SH
+#: en/live-boot.7:152 en/live-snapshot.1:59
+#, no-wrap
+msgid "HOMEPAGE"
+msgstr "HOMEPAGE"
+
+#. type: Plain text
+#: en/live-boot.7:154 en/live-snapshot.1:61
+msgid ""
+"More information about live-boot and the Debian Live project can be found on "
+"the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
+"E<lt>I<http://live.debian.net/manual/>E<gt>."
+msgstr ""
+"Weitere Informationen ueber live-boot und das Debian Live Projekt koennen "
+"auf der Homepage unter E<lt>I<http://live.debian.net/>E<gt> und im Handbuch "
+"unter E<lt>I<http://live.debian.net/manual/>E<gt> gefunden werden."
+
+#. type: SH
+#: en/live-boot.7:155 en/live-snapshot.1:62
+#, no-wrap
+msgid "BUGS"
+msgstr "FEHLER"
+
+#. type: Plain text
+#: en/live-boot.7:157 en/live-snapshot.1:64
+msgid ""
+"Bugs can be reported by submitting a bugreport for the live-boot package in "
+"the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or by "
+"writing a mail to the Debian Live mailing list at E<lt>I<debian-live@lists."
+"debian.org>E<gt>."
+msgstr ""
+"Fehler koennen durch Einreichen eines Fehlerberichtes fuer das live-boot "
+"Paket im Debian Bug Tracking System unter E<lt>I<http://bugs.debian.org/"
+">E<gt> oder durch Senden einer E-Mail an die Debian Live Mailing Liste unter "
+"E<lt>I<debian-live@lists.debian.org>E<gt> (englischsprachig) mitgeteilt "
+"werden."
+
+#. type: SH
+#: en/live-boot.7:158 en/live-snapshot.1:65
+#, no-wrap
+msgid "AUTHOR"
+msgstr "AUTOR"
+
+#. type: Plain text
+#: en/live-boot.7:159 en/live-snapshot.1:66
+msgid ""
+"live-boot was written by Daniel Baumann E<lt>I<daniel@debian.org>E<gt> for "
+"the Debian project."
+msgstr ""
+"live-boot wurde von Daniel Baumann E<lt>I<daniel@debian.org>E<gt> fuer das "
+"Debian Projekt geschrieben."
diff --git a/manpages/po/de/live-snapshot.1.po b/manpages/po/de/live-snapshot.1.po
new file mode 100644 (file)
index 0000000..3bdfc7b
--- /dev/null
@@ -0,0 +1,371 @@
+# German translations for live-boot package
+# Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org>
+# This file is distributed under the same license as the live-boot package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: live-boot 2.0~a1\n"
+"POT-Creation-Date: 2010-05-24 12:46+0300\n"
+"PO-Revision-Date: 2010-05-24 12:34+0300\n"
+"Last-Translator: Daniel Baumann <daniel@debian.org>\n"
+"Language-Team: none\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ASCII\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. type: TH
+#: en/live-boot.7:1 en/live-snapshot.1:1
+#, no-wrap
+msgid "LIVE-BOOT"
+msgstr "LIVE-BOOT"
+
+#. type: TH
+#: en/live-boot.7:1 en/live-snapshot.1:1
+#, no-wrap
+msgid "2010-05-24"
+msgstr "24.05.2010"
+
+#. type: TH
+#: en/live-boot.7:1 en/live-snapshot.1:1
+#, no-wrap
+msgid "2.0~a1"
+msgstr "2.0~a1"
+
+#. type: TH
+#: en/live-boot.7:1 en/live-snapshot.1:1
+#, no-wrap
+msgid "Debian Live Project"
+msgstr "Debian Live Projekt"
+
+#. type: SH
+#: en/live-boot.7:3 en/live-snapshot.1:3
+#, no-wrap
+msgid "NAME"
+msgstr "NAME"
+
+#. type: SH
+#: en/live-boot.7:6 en/live-snapshot.1:17
+#, no-wrap
+msgid "DESCRIPTION"
+msgstr "BESCHREIBUNG"
+
+#. type: SH
+#: en/live-boot.7:26 en/live-snapshot.1:20
+#, no-wrap
+msgid "OPTIONS"
+msgstr "OPTIONEN"
+
+#. type: IP
+#: en/live-boot.7:129 en/live-snapshot.1:43
+#, no-wrap
+msgid "B</etc/live.conf>"
+msgstr "B</etc/live.conf>"
+
+#. type: Plain text
+#: en/live-boot.7:131 en/live-snapshot.1:45
+msgid ""
+"Some variables can be configured via this config file (inside the live "
+"system)."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:131 en/live-snapshot.1:45
+#, no-wrap
+msgid "B<live/filesystem.module>"
+msgstr "B<live/filesystem.module>"
+
+#. type: Plain text
+#: en/live-boot.7:133 en/live-snapshot.1:47
+msgid ""
+"This optional file (inside the live media) contains a list of white-space or "
+"carriage-return-separated file names corresponding to disk images in the \"/"
+"live\" directory. If this file exists, only images listed here will be "
+"merged into the root aufs, and they will be loaded in the order listed here. "
+"The first entry in this file will be the \"lowest\" point in the aufs, and "
+"the last file in this list will be on the \"top\" of the aufs, directly "
+"below /cow.  Without this file, any images in the \"/live\" directory are "
+"loaded in alphanumeric order."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:133 en/live-snapshot.1:47
+#, no-wrap
+msgid "B</etc/live-persistence.binds>"
+msgstr "B</etc/live-persistence.binds>"
+
+#. type: Plain text
+#: en/live-boot.7:135 en/live-snapshot.1:49
+msgid ""
+"This optional file (which resides in the rootfs system, not in the live "
+"media) is used as a list of directories which not need be persistent: ie. "
+"their content does not need to survive reboots when using the persistence "
+"features."
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:138 en/live-snapshot.1:51
+msgid ""
+"This saves expensive writes and speeds up operations on volatile data such "
+"as web caches and temporary files (like e.g. /tmp and .mozilla) which are "
+"regenerated each time. This is achieved by bind mounting each listed "
+"directory with a tmpfs on the original path."
+msgstr ""
+
+#. type: SH
+#: en/live-boot.7:139 en/live-snapshot.1:42
+#, no-wrap
+msgid "FILES"
+msgstr "DATEIEN"
+
+#. type: SH
+#: en/live-boot.7:145 en/live-snapshot.1:52
+#, no-wrap
+msgid "SEE ALSO"
+msgstr "SIEHE AUCH"
+
+#. type: Plain text
+#: en/live-boot.7:149 en/live-snapshot.1:56
+msgid "I<live-config>(7)"
+msgstr "I<live-config>(7)"
+
+#. type: Plain text
+#: en/live-boot.7:151 en/live-snapshot.1:58
+msgid "I<live-helper>(7)"
+msgstr "I<live-helper>(7)"
+
+#. type: SH
+#: en/live-boot.7:152 en/live-snapshot.1:59
+#, no-wrap
+msgid "HOMEPAGE"
+msgstr "HOMEPAGE"
+
+#. type: Plain text
+#: en/live-boot.7:154 en/live-snapshot.1:61
+msgid ""
+"More information about live-boot and the Debian Live project can be found on "
+"the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
+"E<lt>I<http://live.debian.net/manual/>E<gt>."
+msgstr ""
+"Weitere Informationen ueber live-boot und das Debian Live Projekt koennen "
+"auf der Homepage unter E<lt>I<http://live.debian.net/>E<gt> und im Handbuch "
+"unter E<lt>I<http://live.debian.net/manual/>E<gt> gefunden werden."
+
+#. type: SH
+#: en/live-boot.7:155 en/live-snapshot.1:62
+#, no-wrap
+msgid "BUGS"
+msgstr "FEHLER"
+
+#. type: Plain text
+#: en/live-boot.7:157 en/live-snapshot.1:64
+msgid ""
+"Bugs can be reported by submitting a bugreport for the live-boot package in "
+"the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or by "
+"writing a mail to the Debian Live mailing list at E<lt>I<debian-live@lists."
+"debian.org>E<gt>."
+msgstr ""
+"Fehler koennen durch Einreichen eines Fehlerberichtes fuer das live-boot "
+"Paket im Debian Bug Tracking System unter E<lt>I<http://bugs.debian.org/"
+">E<gt> oder durch Senden einer E-Mail an die Debian Live Mailing Liste unter "
+"E<lt>I<debian-live@lists.debian.org>E<gt> (englischsprachig) mitgeteilt "
+"werden."
+
+#. type: SH
+#: en/live-boot.7:158 en/live-snapshot.1:65
+#, no-wrap
+msgid "AUTHOR"
+msgstr "AUTOR"
+
+#. type: Plain text
+#: en/live-boot.7:159 en/live-snapshot.1:66
+msgid ""
+"live-boot was written by Daniel Baumann E<lt>I<daniel@debian.org>E<gt> for "
+"the Debian project."
+msgstr ""
+"live-boot wurde von Daniel Baumann E<lt>I<daniel@debian.org>E<gt> fuer das "
+"Debian Projekt geschrieben."
+
+#. type: Plain text
+#: en/live-snapshot.1:5
+msgid "B<live-snapshot> - simple script to ease persistence usage"
+msgstr ""
+
+#. type: SH
+#: en/live-snapshot.1:6
+#, no-wrap
+msgid "SYNOPSIS"
+msgstr "SYNTAX"
+
+#. type: Plain text
+#: en/live-snapshot.1:8
+msgid ""
+"B<live-snapshot> [-c|--cow I<DIRECTORY] [-d|--device DEVICE>] [-e|--exclude-"
+"list I<FILE>] [-o|--output I<FILE>] [-t|--type I<TYPE>]"
+msgstr ""
+"B<live-snapshot> [-c|--cow I<DIRECTORY] [-d|--device DEVICE>] [-e|--exclude-"
+"list I<FILE>] [-o|--output I<FILE>] [-t|--type I<TYPE>]"
+
+#. type: Plain text
+#: en/live-snapshot.1:10
+msgid "B<live-snapshot> [-r|--resync-string STRING]"
+msgstr "B<live-snapshot> [-r|--resync-string STRING]"
+
+#. type: Plain text
+#: en/live-snapshot.1:12
+msgid "B<live-snapshot> [-h|--help]"
+msgstr "B<live-snapshot> [-h|--help]"
+
+#. type: Plain text
+#: en/live-snapshot.1:14
+msgid "B<live-snapshot> [-u|--usage]"
+msgstr "B<live-snapshot> [-u|--usage]"
+
+#. type: Plain text
+#: en/live-snapshot.1:16
+msgid "B<live-snapshot> [-v|--version]"
+msgstr "B<live-snapshot> [-v|--version]"
+
+#. type: Plain text
+#: en/live-snapshot.1:19
+msgid ""
+"live-snapshot is a script which can be used to build the right types of "
+"persistent image files supported by I<live-boot>(7). It is also used on exit "
+"by the live-boot init script to resync the boot-found snapshots devices."
+msgstr ""
+
+#. type: IP
+#: en/live-snapshot.1:21
+#, no-wrap
+msgid "-c, --cow I<DIRECTORY>"
+msgstr "-c, --cow I<DIRECTORY>"
+
+#. type: Plain text
+#: en/live-snapshot.1:23
+msgid ""
+"specifies the input directory to be cloned in the image file. Its default "
+"value \"/live/cow\" should be right for most uses. However it could be handy "
+"to specify \"/home\" and type ext2 for the type to prepare an image file "
+"suited to be directly mounted by live-boot as home."
+msgstr ""
+
+#. type: IP
+#: en/live-snapshot.1:23
+#, no-wrap
+msgid "-d, --device I<DEVICE>"
+msgstr "-d, --device I<DEVICE>"
+
+#. type: Plain text
+#: en/live-snapshot.1:25
+msgid ""
+"sets the device where the media which the snapshot/persistence file/"
+"partition will be put. If it is not specified, a tmpfs will be used and "
+"linked to the user's desktop to move it where it is needed. If the device "
+"has no filesystem, an ext2 fs will be automatically created and labelled "
+"according to the values specified after the \"--output\" value or with a "
+"sane default."
+msgstr ""
+
+#. type: IP
+#: en/live-snapshot.1:25
+#, no-wrap
+msgid "-e, --exclude-list I<FILE>"
+msgstr "-e, --exclude-list I<FILE>"
+
+#. type: Plain text
+#: en/live-snapshot.1:27
+msgid ""
+"a file containing a list of filenames/paths that should not be saved. This "
+"exclude list will be remebered on the target snapshot media for reuse."
+msgstr ""
+
+#. type: IP
+#: en/live-snapshot.1:27
+#, no-wrap
+msgid "-o, --output I<FILE>"
+msgstr "-o, --output I<FILE>"
+
+#. type: Plain text
+#: en/live-snapshot.1:29
+msgid ""
+"the filename/label used for the output file/partition. If left blank, live-"
+"snapshot will search for a proper file on the device or use the whole "
+"partition."
+msgstr ""
+
+#. type: IP
+#: en/live-snapshot.1:29
+#, no-wrap
+msgid "-r, --resync-string I<STRING>"
+msgstr "-r, --resync-string I<STRING>"
+
+#. type: Plain text
+#: en/live-snapshot.1:31
+msgid "internally used on resyncs."
+msgstr ""
+
+#. type: IP
+#: en/live-snapshot.1:31
+#, no-wrap
+msgid "-f, --refresh"
+msgstr "-f, --refresh"
+
+#. type: Plain text
+#: en/live-snapshot.1:33
+msgid ""
+"try to do the same operation that should be done at reboot or halt, "
+"resyncing boot-time auto discovered snapshots. Useful to prevent a crash or "
+"surge power-off."
+msgstr ""
+
+#. type: IP
+#: en/live-snapshot.1:33
+#, no-wrap
+msgid "-t, --type I<TYPE>"
+msgstr "-t, --type I<TYPE>"
+
+#. type: Plain text
+#: en/live-snapshot.1:35
+msgid ""
+"Type could be one of \"cpio\", \"squashfs\", \"ext2\", \"ext3\", \"ext4\", "
+"or \"jffs2\"."
+msgstr ""
+
+#. type: IP
+#: en/live-snapshot.1:35
+#, no-wrap
+msgid "-h, --help"
+msgstr "-h, --help"
+
+#. type: Plain text
+#: en/live-snapshot.1:37
+msgid "display help and exit."
+msgstr ""
+
+#. type: IP
+#: en/live-snapshot.1:37
+#, no-wrap
+msgid "-u, --usage"
+msgstr "-u, --usage"
+
+#. type: Plain text
+#: en/live-snapshot.1:39
+msgid "show usage and exit."
+msgstr ""
+
+#. type: IP
+#: en/live-snapshot.1:39
+#, no-wrap
+msgid "-v, --version"
+msgstr "-v, --version"
+
+#. type: Plain text
+#: en/live-snapshot.1:41
+msgid "output version information and exit."
+msgstr ""
+
+#. type: Plain text
+#: en/live-snapshot.1:54
+msgid "I<live-boot>(1)"
+msgstr "I<live-boot>(1)"
diff --git a/manpages/po4a.cfg b/manpages/po4a.cfg
new file mode 100644 (file)
index 0000000..c0b056e
--- /dev/null
@@ -0,0 +1,4 @@
+[po4a_langs] de
+[po4a_paths] pot/$master.pot $lang:po/$lang/$master.po
+[type: man] en/live-boot.7 $lang:$lang/live-boot.$lang.7
+[type: man] en/live-snapshot.1 $lang:$lang/live-snapshot.$lang.1
diff --git a/manpages/pot/live-boot.7.pot b/manpages/pot/live-boot.7.pot
new file mode 100644 (file)
index 0000000..f799d62
--- /dev/null
@@ -0,0 +1,924 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the live-boot package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: live-boot VERSION\n"
+"POT-Creation-Date: 2010-05-24 12:46+0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: ENCODING"
+
+#. type: TH
+#: en/live-boot.7:1 en/live-snapshot.1:1
+#, no-wrap
+msgid "LIVE-BOOT"
+msgstr ""
+
+#. type: TH
+#: en/live-boot.7:1 en/live-snapshot.1:1
+#, no-wrap
+msgid "2010-05-24"
+msgstr ""
+
+#. type: TH
+#: en/live-boot.7:1 en/live-snapshot.1:1
+#, no-wrap
+msgid "2.0~a1"
+msgstr ""
+
+#. type: TH
+#: en/live-boot.7:1 en/live-snapshot.1:1
+#, no-wrap
+msgid "Debian Live Project"
+msgstr ""
+
+#. type: SH
+#: en/live-boot.7:3 en/live-snapshot.1:3
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:5
+msgid "B<live-boot> - System Boot Scripts"
+msgstr ""
+
+#. type: SH
+#: en/live-boot.7:6 en/live-snapshot.1:17
+#, no-wrap
+msgid "DESCRIPTION"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:8
+msgid ""
+"B<live-boot> contains the scripts that configure a Debian Live system during "
+"the boot process (early userspace)."
+msgstr ""
+
+#.  FIXME
+#. type: Plain text
+#: en/live-boot.7:11
+msgid ""
+"live-boot is a hook for the initramfs-tools, used to generate a initramfs "
+"capable to boot live systems, such as those created by I<live-helper>(7). "
+"This includes the Debian Live isos, netboot tarballs, and usb stick images."
+msgstr ""
+
+#.  FIXME
+#. type: Plain text
+#: en/live-boot.7:14
+msgid ""
+"At boot time it will look for a (read-only) media containing a \"/live\" "
+"directory where a root filesystems (often a compressed filesystem image like "
+"squashfs) is stored. If found, it will create a writable environment, using "
+"aufs, for Debian like systems to boot from."
+msgstr ""
+
+#. type: SH
+#: en/live-boot.7:15
+#, no-wrap
+msgid "CONFIGURATION"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:17
+msgid ""
+"B<live-boot> can be configured through a boot parameter or a configuration "
+"file."
+msgstr ""
+
+#. type: SS
+#: en/live-boot.7:18
+#, no-wrap
+msgid "Kernel Parameters"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:20
+msgid ""
+"B<live-boot> is only activated if 'boot=live' was used as a kernel parameter."
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:22
+msgid ""
+"In addition, there are some more boot parameters to influence the behaviour, "
+"see below."
+msgstr ""
+
+#. type: SS
+#: en/live-boot.7:23
+#, no-wrap
+msgid "Configuration Files"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:25
+msgid ""
+"B<live-boot> can be configured (but not activated) through configuration "
+"files. Those files can be placed either in the root filesystem itself (/etc/"
+"live/boot.conf, /etc/live/boot.conf.d/), or on the live media (live/boot."
+"conf, live/boot.conf.d/)."
+msgstr ""
+
+#. type: SH
+#: en/live-boot.7:26 en/live-snapshot.1:20
+#, no-wrap
+msgid "OPTIONS"
+msgstr ""
+
+#.  FIXME
+#. type: Plain text
+#: en/live-boot.7:29
+msgid "B<live-boot> currently features the following parameters."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:29
+#, no-wrap
+msgid "B<access>=I<ACCESS>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:31
+msgid ""
+"Set the accessibility level for physically or visually impared users. ACCESS "
+"must be one of v1, v2, v3, m1, or m2. v1=lesser visual impairment, "
+"v2=moderate visual impairment, v3=blindness, m1=minor motor difficulties, "
+"m2=moderate motor difficulties."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:31
+#, no-wrap
+msgid "B<console>=I<TTY,SPEED>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:33
+msgid ""
+"Set the default console to be used with the \"live-getty\" option. Example: "
+"\"console=ttyS0,115200\""
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:33
+#, no-wrap
+msgid "B<debug>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:35
+msgid "Makes initramfs boot process more verbose."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:35
+#, no-wrap
+msgid "B<fetch>=I<URL>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:37
+msgid ""
+"Another form of netboot by downloading a squashfs image from a given url, "
+"copying to ram and booting it. Due to current limitations in busyboxs wget "
+"and DNS resolution, an URL can not contain a hostname but an IP only."
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:39
+msgid "Not working: http://example.com/path/to/your_filesystem.squashfs"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:41
+msgid "Working: http://1.2.3.4/path/to/your_filesystem.squashfs"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:43
+msgid ""
+"Also note that therefore it's currently not possible to fetch an image from "
+"a namebased virtualhost of an httpd if it is sharing the ip with the main "
+"httpd instance."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:43
+#, no-wrap
+msgid "B<hostname>=I<HOSTNAME>, B<username>=I<USER>, B<userfullname>=I<USERFULLNAME>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:45
+msgid "Those parameters lets you override values read from the config file."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:45
+#, no-wrap
+msgid "B<ignore_uuid>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:47
+msgid ""
+"Do not check that any UUID embedded in the initramfs matches the discovered "
+"medium. live-boot may be told to generate a UUID by setting "
+"LIVE_GENERATE_UUID=1 when building the initramfs."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:47
+#, no-wrap
+msgid "B<integrity-check>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:49
+msgid ""
+"If specified, an MD5 sum is calculated on the live media during boot and "
+"compared to the value found in md5sum.txt found in the root directory of the "
+"live media."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:49
+#, no-wrap
+msgid "B<ip>=[I<CLIENT_IP>]:[I<SERVER_IP>]:[I<GATEWAY_IP>]:[I<NETMASK>]:[I<HOSTNAME>]:[I<DEVICE>]:[I<AUTOCONF>] [,[I<CLIENT_IP>]:[I<SERVER_IP>]:[I<GATEWAY_IP>]:[I<NETMASK>]:[I<HOSTNAME>]:[I<DEVICE>]:[I<AUTOCONF>]]"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:51
+msgid ""
+"Let you specify the name(s) and the options of the interface(s) that should "
+"be configured at boot time. Do not specify this if you want to use dhcp "
+"(default). It will be changed in a future release to mimick official kernel "
+"boot param specification (e.g. ip=10.0.0.1::10.0.0.254:255.255.255.0::"
+"eth0,:::::eth1:dhcp)."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:51
+#, no-wrap
+msgid "B<ip>=[I<frommedia>]"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:53
+msgid ""
+"If this variable is set, dhcp and static configuration are just skipped and "
+"the system will use the (must be) media-preconfigured /etc/network/"
+"interfaces instead."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:53
+#, no-wrap
+msgid "{B<keyb>|B<kbd-chooser/method>}=I<KEYBOARD>, {B<klayout>|B<console-setup/layoutcode>}=I<LAYOUT>, {B<kvariant>|B<console-setup/variantcode>}=I<VARIANT>, {B<kmodel>I<|>B<console-setup/modelcode>}=I<CODE>, B<koptions>=I<OPTIONS>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:55
+msgid ""
+"Configure the running keyboard as specified, if this one misses live-boot "
+"behaves as if \"keyb=us\" was specified. It will be interfered from \"locale="
+"\" if locale is only 2 lowecase letters as a special case. You could also "
+"specify console layout, variant, code, and options (no defaults)."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:55
+#, no-wrap
+msgid "B<live-getty>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:57
+msgid ""
+"This changes the auto-login on virtual terminals to use the (experimental) "
+"live-getty code. With this option set the standard kernel argument \"console="
+"\" is parsed and if a serial console is specified then live-getty is used to "
+"autologin on the serial console."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:57
+#, no-wrap
+msgid "{B<live-media>|B<bootfrom>}=I<DEVICE>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:59
+msgid ""
+"If you specify one of this two equivalent forms, live-boot will first try to "
+"find this device for the \"/live\" directory where the read-only root "
+"filesystem should reside. If it did not find something usable, the normal "
+"scan for block devices is performed."
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:61
+msgid ""
+"Instead of specifing an actual device name, the keyword 'removable' can be "
+"used to limit the search of acceptable live media to removable type only. "
+"Note that if you want to further restrict the media to usb mass storage "
+"only, you can use the 'removable-usb' keyword."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:61
+#, no-wrap
+msgid "{B<live-media-encryption>|B<encryption>}=I<TYPE>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:63
+msgid ""
+"live-boot will mount the encrypted rootfs TYPE, asking the passphrase, "
+"useful to build paranoid live systems :-). TYPE supported so far are \"aes\" "
+"for loop-aes encryption type."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:63
+#, no-wrap
+msgid "B<live-media-offset>=I<BYTES>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:65
+msgid ""
+"This way you could tell live-boot that your image starts at offset BYTES in "
+"the above specified or autodiscovered device, this could be useful to hide "
+"the Debian Live iso or image inside another iso or image, to create \"clean"
+"\" images."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:65
+#, no-wrap
+msgid "B<live-media-path>=I<PATH>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:67
+msgid ""
+"Sets the path to the live filesystem on the medium. By default, it is set to "
+"'/live' and you should not change that unless you have customized your media "
+"accordingly."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:67
+#, no-wrap
+msgid "B<live-media-timeout>=I<SECONDS>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:69
+msgid ""
+"Set the timeout in seconds for the device specified by \"live-media=\" to "
+"become ready before giving up."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:69
+#, no-wrap
+msgid "{B<locale>|B<debian-installer/locale>}=I<LOCALE>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:71
+msgid ""
+"Configure the running locale as specified, if not present the live-media "
+"rootfs configured locale will be used and if also this one misses live-boot "
+"behave as \"locale=en_US.UTF-8\" was specified. If only 2 lowercase letter "
+"are specified (like \"it\"), the \"maybe wanted\" locale is generated (like "
+"en:EN.UTF-8), in this case if also \"keyb=\" is unspecified is set with "
+"those 2 lowercase letters (keyb=us). Beside that facility, only UTF8 locales "
+"are supported by live-boot."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:71
+#, no-wrap
+msgid "B<module>=I<NAME>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:73
+msgid ""
+"Instead of using the default optional file \"filesystem.module\" (see below) "
+"another file could be specified without the extension \".module\"; it should "
+"be placed on \"/live\" directory of the live medium."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:73
+#, no-wrap
+msgid "B<netboot>[=nfs|cifs]"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:75
+msgid ""
+"This tells live-boot to perform a network mount. The parameter \"nfsroot="
+"\" (with optional \"nfsopts=\"), should specify where is the location of the "
+"root filesystem.  With no args, will try cifs first, and if it fails nfs."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:75
+#, no-wrap
+msgid "B<nfsopts>="
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:77
+msgid "This lets you specify custom nfs options."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:77
+#, no-wrap
+msgid "B<noautologin>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:79
+msgid ""
+"This parameter disables the automatic terminal login only, not touching gdk/"
+"kdm."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:79
+#, no-wrap
+msgid "B<noxautologin>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:81
+msgid ""
+"This parameter disables the automatic login of gdm/kdm only, not touching "
+"terminals."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:81
+#, no-wrap
+msgid "B<nofastboot>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:83
+msgid ""
+"This parameter disables the default disabling of filesystem checks in /etc/"
+"fstab. If you have static filesystems on your harddisk and you want them to "
+"be checked at boot time, use this parameter, otherwise they are skipped."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:83
+#, no-wrap
+msgid "B<nopersistent>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:85
+msgid ""
+"disables the \"persistent\" feature, useful if the bootloader (like "
+"syslinux) has been installed with persistent enabled."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:85
+#, no-wrap
+msgid "B<noprompt>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:87
+msgid "Do not prompt to eject the CD or remove the USB flash drive on reboot."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:87
+#, no-wrap
+msgid "B<nosudo>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:89
+msgid "This parameter disables the automatic configuration of sudo."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:89
+#, no-wrap
+msgid "B<swapon>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:91
+msgid "This parameter enables usage of local swap partitions."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:91
+#, no-wrap
+msgid "B<nouser>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:93
+msgid "This parameter disables the creation of the default user completely."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:93
+#, no-wrap
+msgid "B<noxautoconfig>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:95
+msgid ""
+"This parameter disables Xorg auto-reconfiguration at boot time. This is "
+"valuable if you either do the detection on your own, or, if you want to ship "
+"a custom, premade xorg.conf in your live system."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:95
+#, no-wrap
+msgid "B<persistent>[=nofiles]"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:97
+msgid ""
+"live-boot will look for persistent and snapshot partitions or files labeled "
+"\"live-rw\", \"home-rw\", and files called \"live-sn*\", \"home-sn*\" and "
+"will try to, in order: mount as /cow the first, mount the second in /home, "
+"and just copy the contents of the latter in appropriate locations "
+"(snapshots). Snapshots will be tried to be updated on reboot/shutdown. Look "
+"at live-snapshot(1) for more informations. If \"nofiles\" is specified, only "
+"filesystems with matching labels will be searched; no filesystems will be "
+"traversed looking for archives or image files. This results in shorter boot "
+"times."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:97
+#, no-wrap
+msgid "B<persistent-path>=I<PATH>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:99
+msgid ""
+"live-boot will look for persistency files in the root directory of a "
+"partition, with this parameter, the path can be configured so that you can "
+"have multiple directories on the same partition to store persistency files."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:99
+#, no-wrap
+msgid "{B<preseed/file>|B<file>}=I<FILE>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:101
+msgid ""
+"A path to a file present on the rootfs could be used to preseed debconf "
+"database."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:101
+#, no-wrap
+msgid "B<package/question>=I<VALUE>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:103
+msgid ""
+"All debian installed packages could be preseeded from command-line that way, "
+"beware of blanks spaces, they will interfere with parsing, use a preseed "
+"file in this case."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:103
+#, no-wrap
+msgid "B<quickreboot>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:105
+msgid ""
+"This option causes live-boot to reboot without attempting to eject the media "
+"and without asking the user to remove the boot media."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:105
+#, no-wrap
+msgid "B<showmounts>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:107
+msgid ""
+"This parameter will make live-boot to show on \"/\" the ro filesystems "
+"(mostly compressed) on \"/live\". This is not enabled by default because "
+"could lead to problems by applications like \"mono\" which store binary "
+"paths on installation."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:107
+#, no-wrap
+msgid "B<silent>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:109
+msgid ""
+"If you boot with the normal quiet parameter, live-boot hides most messages "
+"of its own. When adding silent, it hides all."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:109
+#, no-wrap
+msgid "B<textonly>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:111
+msgid ""
+"Start up to text-mode shell prompts, disabling the graphical user interface."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:111
+#, no-wrap
+msgid "B<timezone>=I<TIMEZONE>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:113
+msgid ""
+"By default, timezone is set to UTC. Using the timezone parameter, you can "
+"set it to your local zone, e.g. Europe/Zurich."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:113
+#, no-wrap
+msgid "B<todisk>=I<DEVICE>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:115
+msgid ""
+"Adding this parameter, live-boot will try to copy the entire read-only media "
+"to the specified device before mounting the root filesystem. It probably "
+"needs a lot of free space. Subsequent boots should then skip this step and "
+"just specify the \"live-media=DEVICE\" boot parameter with the same DEVICE "
+"used this time."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:115
+#, no-wrap
+msgid "B<toram>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:117
+msgid ""
+"Adding this parameter, live-boot will try to copy the whole read-only media "
+"to the computer's RAM before mounting the root filesystem. This could need a "
+"lot of ram, according to the space used by the read-only media."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:117
+#, no-wrap
+msgid "B<union>=aufs|unionfs"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:119
+msgid ""
+"By default, live-boot uses aufs. With this parameter, you can switch to "
+"unionfs."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:119
+#, no-wrap
+msgid "B<utc>=yes|no"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:121
+msgid ""
+"By default, Debian systems do assume that the hardware clock is set to UTC. "
+"You can change or explicitly set it with this parameter."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:121
+#, no-wrap
+msgid "B<xdebconf>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:123
+msgid ""
+"Uses xdebconfigurator, if present on the rootfs, to configure X instead of "
+"the standard procedure (experimental)."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:123
+#, no-wrap
+msgid "B<xvideomode>=I<RESOLUTION>"
+msgstr ""
+
+#.  FIXME
+#. type: Plain text
+#: en/live-boot.7:126
+msgid "Doesn't do xorg autodetection, but enforces a given resolution."
+msgstr ""
+
+#.  FIXME
+#. type: SH
+#: en/live-boot.7:128
+#, no-wrap
+msgid "FILES (old)"
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:129 en/live-snapshot.1:43
+#, no-wrap
+msgid "B</etc/live.conf>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:131 en/live-snapshot.1:45
+msgid ""
+"Some variables can be configured via this config file (inside the live "
+"system)."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:131 en/live-snapshot.1:45
+#, no-wrap
+msgid "B<live/filesystem.module>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:133 en/live-snapshot.1:47
+msgid ""
+"This optional file (inside the live media) contains a list of white-space or "
+"carriage-return-separated file names corresponding to disk images in the \"/"
+"live\" directory. If this file exists, only images listed here will be "
+"merged into the root aufs, and they will be loaded in the order listed here. "
+"The first entry in this file will be the \"lowest\" point in the aufs, and "
+"the last file in this list will be on the \"top\" of the aufs, directly "
+"below /cow.  Without this file, any images in the \"/live\" directory are "
+"loaded in alphanumeric order."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:133 en/live-snapshot.1:47
+#, no-wrap
+msgid "B</etc/live-persistence.binds>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:135 en/live-snapshot.1:49
+msgid ""
+"This optional file (which resides in the rootfs system, not in the live "
+"media) is used as a list of directories which not need be persistent: ie. "
+"their content does not need to survive reboots when using the persistence "
+"features."
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:138 en/live-snapshot.1:51
+msgid ""
+"This saves expensive writes and speeds up operations on volatile data such "
+"as web caches and temporary files (like e.g. /tmp and .mozilla) which are "
+"regenerated each time. This is achieved by bind mounting each listed "
+"directory with a tmpfs on the original path."
+msgstr ""
+
+#. type: SH
+#: en/live-boot.7:139 en/live-snapshot.1:42
+#, no-wrap
+msgid "FILES"
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:140
+#, no-wrap
+msgid "B</etc/live/boot.conf>"
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:141
+#, no-wrap
+msgid "B</etc/live/boot.conf.d/>"
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:142
+#, no-wrap
+msgid "B<live/boot.conf>"
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:143
+#, no-wrap
+msgid "B<live/boot.conf.d/>"
+msgstr ""
+
+#. type: SH
+#: en/live-boot.7:145 en/live-snapshot.1:52
+#, no-wrap
+msgid "SEE ALSO"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:147
+msgid "I<live-snapshot>(1)"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:149 en/live-snapshot.1:56
+msgid "I<live-config>(7)"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:151 en/live-snapshot.1:58
+msgid "I<live-helper>(7)"
+msgstr ""
+
+#. type: SH
+#: en/live-boot.7:152 en/live-snapshot.1:59
+#, no-wrap
+msgid "HOMEPAGE"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:154 en/live-snapshot.1:61
+msgid ""
+"More information about live-boot and the Debian Live project can be found on "
+"the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
+"E<lt>I<http://live.debian.net/manual/>E<gt>."
+msgstr ""
+
+#. type: SH
+#: en/live-boot.7:155 en/live-snapshot.1:62
+#, no-wrap
+msgid "BUGS"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:157 en/live-snapshot.1:64
+msgid ""
+"Bugs can be reported by submitting a bugreport for the live-boot package in "
+"the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or by "
+"writing a mail to the Debian Live mailing list at E<lt>I<debian-live@lists."
+"debian.org>E<gt>."
+msgstr ""
+
+#. type: SH
+#: en/live-boot.7:158 en/live-snapshot.1:65
+#, no-wrap
+msgid "AUTHOR"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:159 en/live-snapshot.1:66
+msgid ""
+"live-boot was written by Daniel Baumann E<lt>I<daniel@debian.org>E<gt> for "
+"the Debian project."
+msgstr ""
diff --git a/manpages/pot/live-snapshot.1.pot b/manpages/pot/live-snapshot.1.pot
new file mode 100644 (file)
index 0000000..190028b
--- /dev/null
@@ -0,0 +1,359 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the live-boot package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: live-boot VERSION\n"
+"POT-Creation-Date: 2010-05-24 12:46+0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: ENCODING"
+
+#. type: TH
+#: en/live-boot.7:1 en/live-snapshot.1:1
+#, no-wrap
+msgid "LIVE-BOOT"
+msgstr ""
+
+#. type: TH
+#: en/live-boot.7:1 en/live-snapshot.1:1
+#, no-wrap
+msgid "2010-05-24"
+msgstr ""
+
+#. type: TH
+#: en/live-boot.7:1 en/live-snapshot.1:1
+#, no-wrap
+msgid "2.0~a1"
+msgstr ""
+
+#. type: TH
+#: en/live-boot.7:1 en/live-snapshot.1:1
+#, no-wrap
+msgid "Debian Live Project"
+msgstr ""
+
+#. type: SH
+#: en/live-boot.7:3 en/live-snapshot.1:3
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: SH
+#: en/live-boot.7:6 en/live-snapshot.1:17
+#, no-wrap
+msgid "DESCRIPTION"
+msgstr ""
+
+#. type: SH
+#: en/live-boot.7:26 en/live-snapshot.1:20
+#, no-wrap
+msgid "OPTIONS"
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:129 en/live-snapshot.1:43
+#, no-wrap
+msgid "B</etc/live.conf>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:131 en/live-snapshot.1:45
+msgid ""
+"Some variables can be configured via this config file (inside the live "
+"system)."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:131 en/live-snapshot.1:45
+#, no-wrap
+msgid "B<live/filesystem.module>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:133 en/live-snapshot.1:47
+msgid ""
+"This optional file (inside the live media) contains a list of white-space or "
+"carriage-return-separated file names corresponding to disk images in the \"/"
+"live\" directory. If this file exists, only images listed here will be "
+"merged into the root aufs, and they will be loaded in the order listed here. "
+"The first entry in this file will be the \"lowest\" point in the aufs, and "
+"the last file in this list will be on the \"top\" of the aufs, directly "
+"below /cow.  Without this file, any images in the \"/live\" directory are "
+"loaded in alphanumeric order."
+msgstr ""
+
+#. type: IP
+#: en/live-boot.7:133 en/live-snapshot.1:47
+#, no-wrap
+msgid "B</etc/live-persistence.binds>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:135 en/live-snapshot.1:49
+msgid ""
+"This optional file (which resides in the rootfs system, not in the live "
+"media) is used as a list of directories which not need be persistent: ie. "
+"their content does not need to survive reboots when using the persistence "
+"features."
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:138 en/live-snapshot.1:51
+msgid ""
+"This saves expensive writes and speeds up operations on volatile data such "
+"as web caches and temporary files (like e.g. /tmp and .mozilla) which are "
+"regenerated each time. This is achieved by bind mounting each listed "
+"directory with a tmpfs on the original path."
+msgstr ""
+
+#. type: SH
+#: en/live-boot.7:139 en/live-snapshot.1:42
+#, no-wrap
+msgid "FILES"
+msgstr ""
+
+#. type: SH
+#: en/live-boot.7:145 en/live-snapshot.1:52
+#, no-wrap
+msgid "SEE ALSO"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:149 en/live-snapshot.1:56
+msgid "I<live-config>(7)"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:151 en/live-snapshot.1:58
+msgid "I<live-helper>(7)"
+msgstr ""
+
+#. type: SH
+#: en/live-boot.7:152 en/live-snapshot.1:59
+#, no-wrap
+msgid "HOMEPAGE"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:154 en/live-snapshot.1:61
+msgid ""
+"More information about live-boot and the Debian Live project can be found on "
+"the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
+"E<lt>I<http://live.debian.net/manual/>E<gt>."
+msgstr ""
+
+#. type: SH
+#: en/live-boot.7:155 en/live-snapshot.1:62
+#, no-wrap
+msgid "BUGS"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:157 en/live-snapshot.1:64
+msgid ""
+"Bugs can be reported by submitting a bugreport for the live-boot package in "
+"the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or by "
+"writing a mail to the Debian Live mailing list at E<lt>I<debian-live@lists."
+"debian.org>E<gt>."
+msgstr ""
+
+#. type: SH
+#: en/live-boot.7:158 en/live-snapshot.1:65
+#, no-wrap
+msgid "AUTHOR"
+msgstr ""
+
+#. type: Plain text
+#: en/live-boot.7:159 en/live-snapshot.1:66
+msgid ""
+"live-boot was written by Daniel Baumann E<lt>I<daniel@debian.org>E<gt> for "
+"the Debian project."
+msgstr ""
+
+#. type: Plain text
+#: en/live-snapshot.1:5
+msgid "B<live-snapshot> - simple script to ease persistence usage"
+msgstr ""
+
+#. type: SH
+#: en/live-snapshot.1:6
+#, no-wrap
+msgid "SYNOPSIS"
+msgstr ""
+
+#. type: Plain text
+#: en/live-snapshot.1:8
+msgid ""
+"B<live-snapshot> [-c|--cow I<DIRECTORY] [-d|--device DEVICE>] [-e|--exclude-"
+"list I<FILE>] [-o|--output I<FILE>] [-t|--type I<TYPE>]"
+msgstr ""
+
+#. type: Plain text
+#: en/live-snapshot.1:10
+msgid "B<live-snapshot> [-r|--resync-string STRING]"
+msgstr ""
+
+#. type: Plain text
+#: en/live-snapshot.1:12
+msgid "B<live-snapshot> [-h|--help]"
+msgstr ""
+
+#. type: Plain text
+#: en/live-snapshot.1:14
+msgid "B<live-snapshot> [-u|--usage]"
+msgstr ""
+
+#. type: Plain text
+#: en/live-snapshot.1:16
+msgid "B<live-snapshot> [-v|--version]"
+msgstr ""
+
+#. type: Plain text
+#: en/live-snapshot.1:19
+msgid ""
+"live-snapshot is a script which can be used to build the right types of "
+"persistent image files supported by I<live-boot>(7). It is also used on exit "
+"by the live-boot init script to resync the boot-found snapshots devices."
+msgstr ""
+
+#. type: IP
+#: en/live-snapshot.1:21
+#, no-wrap
+msgid "-c, --cow I<DIRECTORY>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-snapshot.1:23
+msgid ""
+"specifies the input directory to be cloned in the image file. Its default "
+"value \"/live/cow\" should be right for most uses. However it could be handy "
+"to specify \"/home\" and type ext2 for the type to prepare an image file "
+"suited to be directly mounted by live-boot as home."
+msgstr ""
+
+#. type: IP
+#: en/live-snapshot.1:23
+#, no-wrap
+msgid "-d, --device I<DEVICE>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-snapshot.1:25
+msgid ""
+"sets the device where the media which the snapshot/persistence file/"
+"partition will be put. If it is not specified, a tmpfs will be used and "
+"linked to the user's desktop to move it where it is needed. If the device "
+"has no filesystem, an ext2 fs will be automatically created and labelled "
+"according to the values specified after the \"--output\" value or with a "
+"sane default."
+msgstr ""
+
+#. type: IP
+#: en/live-snapshot.1:25
+#, no-wrap
+msgid "-e, --exclude-list I<FILE>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-snapshot.1:27
+msgid ""
+"a file containing a list of filenames/paths that should not be saved. This "
+"exclude list will be remebered on the target snapshot media for reuse."
+msgstr ""
+
+#. type: IP
+#: en/live-snapshot.1:27
+#, no-wrap
+msgid "-o, --output I<FILE>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-snapshot.1:29
+msgid ""
+"the filename/label used for the output file/partition. If left blank, live-"
+"snapshot will search for a proper file on the device or use the whole "
+"partition."
+msgstr ""
+
+#. type: IP
+#: en/live-snapshot.1:29
+#, no-wrap
+msgid "-r, --resync-string I<STRING>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-snapshot.1:31
+msgid "internally used on resyncs."
+msgstr ""
+
+#. type: IP
+#: en/live-snapshot.1:31
+#, no-wrap
+msgid "-f, --refresh"
+msgstr ""
+
+#. type: Plain text
+#: en/live-snapshot.1:33
+msgid ""
+"try to do the same operation that should be done at reboot or halt, "
+"resyncing boot-time auto discovered snapshots. Useful to prevent a crash or "
+"surge power-off."
+msgstr ""
+
+#. type: IP
+#: en/live-snapshot.1:33
+#, no-wrap
+msgid "-t, --type I<TYPE>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-snapshot.1:35
+msgid ""
+"Type could be one of \"cpio\", \"squashfs\", \"ext2\", \"ext3\", \"ext4\", "
+"or \"jffs2\"."
+msgstr ""
+
+#. type: IP
+#: en/live-snapshot.1:35
+#, no-wrap
+msgid "-h, --help"
+msgstr ""
+
+#. type: Plain text
+#: en/live-snapshot.1:37
+msgid "display help and exit."
+msgstr ""
+
+#. type: IP
+#: en/live-snapshot.1:37
+#, no-wrap
+msgid "-u, --usage"
+msgstr ""
+
+#. type: Plain text
+#: en/live-snapshot.1:39
+msgid "show usage and exit."
+msgstr ""
+
+#. type: IP
+#: en/live-snapshot.1:39
+#, no-wrap
+msgid "-v, --version"
+msgstr ""
+
+#. type: Plain text
+#: en/live-snapshot.1:41
+msgid "output version information and exit."
+msgstr ""
+
+#. type: Plain text
+#: en/live-snapshot.1:54
+msgid "I<live-boot>(1)"
+msgstr ""
diff --git a/scripts/live b/scripts/live
new file mode 100755 (executable)
index 0000000..4169c90
--- /dev/null
@@ -0,0 +1,1840 @@
+#!/bin/sh
+
+# set -e
+
+export PATH="/root/usr/bin:/root/usr/sbin:/root/bin:/root/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
+
+echo "/root/lib" >> /etc/ld.so.conf
+echo "/root/usr/lib" >> /etc/ld.so.conf
+
+mountpoint="/live/image"
+LIVE_MEDIA_PATH="live"
+
+root_persistence="live-rw"
+home_persistence="home-rw"
+root_snapshot_label="live-sn"
+home_snapshot_label="home-sn"
+
+USERNAME="user"
+USERFULLNAME="Live user"
+HOSTNAME="host"
+
+mkdir -p "${mountpoint}"
+tried="/tmp/tried"
+
+# Create /etc/mtab for debug purpose and future syncs
+if [ ! -d /etc ]
+then
+       mkdir /etc/
+fi
+
+if [ ! -f /etc/mtab ]
+then
+       touch /etc/mtab
+fi
+
+[ -f /etc/live.conf ] && . /etc/live.conf
+export USERNAME USERFULLNAME HOSTNAME
+
+. /scripts/live-helpers
+
+if [ ! -f /live.vars ]
+then
+       touch /live.vars
+fi
+
+Arguments ()
+{
+       PRESEEDS=""
+       LOCATIONS=""
+
+       for ARGUMENT in $(cat /proc/cmdline)
+       do
+               case "${ARGUMENT}" in
+                       skipconfig)
+                               NOACCESSIBILITY="Yes"
+                               NOAPTCDROM="Yes"
+                               NOAUTOLOGIN="Yes"
+                               NOCONSOLEKEYBOARD="Yes"
+                               NOFASTBOOT="Yes"
+                               NOFSTAB="Yes"
+                               NOHOSTS="Yes"
+                               NOLOCALES="Yes"
+                               NONETWORKING="Yes"
+                               NOTIMEZONE="Yes"
+                               NOXAUTOCONFIG="Yes"
+                               NOXAUTOLOGIN="Yes"
+
+                               export NOACCESSIBILITY NOAPTCDROM NOAUTOLOGIN NOCONSOLEKEYBOARD NOFASTBOOT NOFSTAB NOHOSTS NOLOCALES NONETWORKING NOTIMEZONE NOXAUTOCONFIG NOXAUTOLOGIN
+                               ;;
+
+                       access=*)
+                               ACCESS="${ARGUMENT#access=}"
+                               export ACCESS
+                               ;;
+
+                       console=*)
+                               DEFCONSOLE="${ARGUMENT#*=}"
+                               export DEFCONSOLE
+                               ;;
+
+                       debug)
+                               DEBUG="Yes"
+                               export DEBUG
+
+                               set -x
+                               ;;
+
+                       ethdevice=*)
+                               DEVICE="${ARGUMENT#ethdevice=}"
+                               export DEVICE
+                               ;;
+
+                       ethdevice=*)
+                               ETHDEVICE="${ARGUMENT#ethdevice=}"
+                               export ETHDEVICE
+                               ;;
+
+                       ethdevice-timeout=*)
+                               ETHDEV_TIMEOUT="${ARGUMENT#ethdevice-timeout=}"
+                               export ETHDEV_TIMEOUT
+                               ;;
+
+                       fetch=*)
+                                FETCH="${ARGUMENT#fetch=}"
+                                export FETCH
+                                ;;
+
+                       forcepersistentfsck)
+                               FORCEPERSISTENTFSCK="Yes"
+                               export FORCEPERSISTENTFSCK
+                               ;;
+
+                       ftpfs=*)
+                               FTPFS="${ARGUMENT#ftpfs=}"
+                               export FTPFS
+                               ;;
+
+                       httpfs=*)
+                               HTTPFS="${ARGUMENT#httpfs=}"
+                               export HTTPFS
+                               ;;
+
+                       isofrom=*|fromiso=*)
+                               FROMISO="${ARGUMENT#*=}"
+                               export FROMISO
+                               ;;
+
+                       username=*)
+                               USERNAME="${ARGUMENT#username=}"
+                               LIVECONF="changed"
+                               export USERNAME LIVECONF
+                               ;;
+
+                       userfullname=*)
+                               USERFULLNAME="${ARGUMENT#userfullname=}"
+                               LIVECONF="changed"
+                               export USERFULLNAME LIVECONF
+                               ;;
+
+                       ignore_uuid)
+                               IGNORE_UUID="Yes"
+                               export IGNORE_UUID
+                               ;;
+
+                       integrity-check)
+                               INTEGRITY_CHECK="Yes"
+                               export INTEGRITY_CHECK
+                               ;;
+
+                       ip=*)
+                               STATICIP="${ARGUMENT#ip=}"
+
+                               if [ -z "${STATICIP}" ]
+                               then
+                                       STATICIP="frommedia"
+                               fi
+
+                               export STATICIP
+                               ;;
+
+                       keyb=*|kbd-chooser/method=*)
+                               KBD="${ARGUMENT#*=}"
+                               export KBD
+                               ;;
+
+                       klayout=*|console-setup/layoutcode=*)
+                               KLAYOUT="${ARGUMENT#*=}"
+                               export KLAYOUT
+                               ;;
+
+                       kvariant=*|console-setup/variantcode=*)
+                               KVARIANT="${ARGUMENT#*=}"
+                               export KVARIANT
+                               ;;
+
+                       kmodel=*|console-setup/modelcode=*)
+                               KMODEL="${ARGUMENT#*=}"
+                               export KMODEL
+                               ;;
+
+                       koptions=*)
+                               KOPTIONS="${ARGUMENT#koptions=}"
+                               export KOPTIONS
+                               ;;
+
+                       live-getty)
+                               LIVE_GETTY="1"
+                               export LIVE_GETTY
+                               ;;
+
+                       live-media=*|bootfrom=*)
+                               LIVE_MEDIA="${ARGUMENT#*=}"
+                               export LIVE_MEDIA
+                               ;;
+
+                       live-media-encryption=*|encryption=*)
+                               LIVE_MEDIA_ENCRYPTION="${ARGUMENT#*=}"
+                               export LIVE_MEDIA_ENCRYPTION
+                               ;;
+
+                       live-media-offset=*)
+                               LIVE_MEDIA_OFFSET="${ARGUMENT#live-media-offset=}"
+                               export LIVE_MEDIA_OFFSET
+                               ;;
+
+                       live-media-path=*)
+                               LIVE_MEDIA_PATH="${ARGUMENT#live-media-path=}"
+                               export LIVE_MEDIA_PATH
+                               ;;
+
+                       live-media-timeout=*)
+                               LIVE_MEDIA_TIMEOUT="${ARGUMENT#live-media-timeout=}"
+                               export LIVE_MEDIA_TIMEOUT
+                               ;;
+
+                       language=*|debian-installer/language=*)
+                               language=${x#debian-installer/language=}
+                               locale="$(lang2locale "$language")"
+                               set_locale="true"
+                               ;;
+
+                       locale=*|debian-installer/locale=*)
+                               LOCALE="${ARGUMENT#*=}"
+                               export LOCALE
+                               ;;
+
+                       module=*)
+                               MODULE="${ARGUMENT#module=}"
+                               export MODULE
+                               ;;
+
+                       netboot=*)
+                               NETBOOT="${ARGUMENT#netboot=}"
+                               export NETBOOT
+                               ;;
+
+                       nfsopts=*)
+                               NFSOPTS="${ARGUMENT#nfsopts=}"
+                               export NFSOPTS
+                               ;;
+
+                       nfscow=*)
+                               NFS_COW="${ARGUMENT#nfscow=}"
+                               export NFS_COW
+                               ;;
+
+                       noaccessibility)
+                               NOACCESSIBILITY="Yes"
+                               export NOACCESSIBILITY
+                               ;;
+
+                       noaptcdrom)
+                               NOAPTCDROM="Yes"
+                               export NOAPTCDROM
+                               ;;
+
+                       noautologin)
+                               NOAUTOLOGIN="Yes"
+                               export NOAUTOLOGIN
+                               ;;
+
+                       noxautologin)
+                               NOXAUTOLOGIN="Yes"
+                               export NOXAUTOLOGIN
+                               ;;
+
+                       noconsolekeyboard)
+                               NOCONSOLEKEYBOARD="Yes"
+                               export NOCONSOLEKEYBOARD
+                               ;;
+
+                       nofastboot)
+                               NOFASTBOOT="Yes"
+                               export NOFASTBOOT
+                               ;;
+
+                       nofstab)
+                               NOFSTAB="Yes"
+                               export NOFSTAB
+                               ;;
+
+                       nohosts)
+                               NOHOSTS="Yes"
+                               export NOHOSTS
+                               ;;
+
+                       nolocales)
+                               NOLOCALES="Yes"
+                               export NOLOCALES
+                               ;;
+
+                       nonetworking)
+                               NONETWORKING="Yes"
+                               export NONETWORKING
+                               ;;
+
+                       swapon)
+                               SWAPON="Yes"
+                               export SWAPON
+                               ;;
+
+                       noxautoconfig)
+                               NOXAUTOCONFIG="Yes"
+                               export NOXAUTOCONFIG
+                               ;;
+
+                       noxscreensaver)
+                               NOXSCREENSAVER="Yes"
+                               export NOXSCREENSAVER
+                               ;;
+
+                       persistent)
+                               PERSISTENT="Yes"
+                               export PERSISTENT
+                               ;;
+
+                       persistent=*)
+                               PERSISTENT="${ARGUMENT#persistent=}"
+                               if [ -z "${PERSISTENT}" ]
+                               then
+                                       PERSISTENT="Yes"
+                               fi
+                               export PERSISTENT
+                               ;;
+
+                       persistent-path=*)
+                               PERSISTENT_PATH="${ARGUMENT#persistent-path=}"
+                               export PERSISTENT_PATH
+                               ;;
+
+                       persistent-subtext=*)
+                               root_persistence="${root_persistence}-${ARGUMENT#persistent-subtext=}"
+                               home_persistence="${home_persistence}-${ARGUMENT#persistent-subtext=}"
+                               root_snapshot_label="${root_snapshot_label}-${ARGUMENT#persistent-subtext=}"
+                               home_snapshot_label="${home_snapshot_label}-${ARGUMENT#persistent-subtext=}"
+                               ;;
+
+                       nopersistent)
+                               NOPERSISTENT="Yes"
+                               export NOPERSISTENT
+                               ;;
+
+                       quickusbmodules)
+                               QUICKUSBMODULES="Yes"
+                               export QUICKUSBMODULES
+                               ;;
+
+                       preseed/file=*|file=*)
+                               LOCATIONS="${ARGUMENT#*=} ${LOCATIONS}"
+                               export LOCATIONS
+                               ;;
+
+                       nopreseed)
+                               NOPRESEED="Yes"
+                               export NOPRESEED
+                               ;;
+
+                       url=*)
+                               URL_LOCATION="${ARGUMENT#url=}"
+
+                               mount -o bind /sys /root/sys
+                               mount -o bind /proc /root/proc
+                               mount -o bind /dev /root/dev
+
+                               mkdir -p /root/var/run/network
+                               [ "${NETBOOT}" ] || chroot /root dhclient eth0
+                               chroot /root wget -P /tmp "${URL_LOCATION}"
+                               [ "${NETBOOT}" ] || chroot /root ifconfig eth0 down
+
+                               umount /root/sys
+                               umount /root/proc
+                               umount /root/dev
+
+                               LOCATIONS="/tmp/$(basename ${URL_LOCATION}) ${LOCATIONS}"
+                               ;;
+
+                       */*=*)
+                               question="${ARGUMENT%%=*}"
+                               value="${ARGUMENT#*=}"
+                               PRESEEDS="${PRESEEDS}\"${question}=${value}\" "
+                               export PRESEEDS
+                               ;;
+
+                       showmounts)
+                               SHOWMOUNTS="Yes"
+                               export SHOWMOUNTS
+                               ;;
+
+                       silent)
+                               SILENT="Yes"
+                               export SILENT
+                               ;;
+
+                       textonly)
+                               TEXTONLY="Yes"
+                               export TEXTONLY
+                               ;;
+
+                       timezone=*)
+                               TIMEZONE="${ARGUMENT#timezone=}"
+                               export TIMEZONE
+                               ;;
+
+                       notimezone)
+                               NOTIMEZONE="Yes"
+                               export NOTIMEZONE
+                               ;;
+
+                       todisk=*)
+                               TODISK="${ARGUMENT#todisk=}"
+                               export TODISK
+                               ;;
+
+                       toram)
+                               TORAM="Yes"
+                               export TORAM
+                               ;;
+
+                       toram=*)
+                               TORAM="Yes"
+                               MODULETORAM="${ARGUMENT#toram=}"
+                               export TORAM MODULETORAM
+                               ;;
+
+                       exposedroot)
+                               EXPOSED_ROOT="Yes"
+                               export EXPOSED_ROOT
+                               ;;
+
+                       plainroot)
+                               PLAIN_ROOT="Yes"
+                               export PLAIN_ROOT
+                               ;;
+
+                       skipunion)
+                                SKIP_UNION_MOUNTS="Yes"
+                                export SKIP_UNION_MOUNTS
+                                ;;
+
+                       root=*)
+                               ROOT="${ARGUMENT#root=}"
+                               export ROOT
+                               ;;
+
+                       union=*)
+                               UNIONTYPE="${ARGUMENT#union=}"
+                               export UNIONTYPE
+                               ;;
+
+                       xdebconf)
+                               XDEBCONF="Yes"
+                               export XDEBCONF
+                               ;;
+
+                       xdriver=*)
+                               XDRIVER="${ARGUMENT#xdriver=}"
+                               export XDRIVER
+                               ;;
+
+                       xvideomode=*)
+                               XVIDEOMODE="${ARGUMENT#xvideomode=}"
+                               export XVIDEOMODE
+                               ;;
+               esac
+       done
+
+       # sort of compatibility with netboot.h from linux docs
+       if [ -z "${NETBOOT}" ]
+       then
+               if [ "${ROOT}" = "/dev/nfs" ]
+               then
+                       NETBOOT="nfs"
+                       export NETBOOT
+               elif [ "${ROOT}" = "/dev/cifs" ]
+               then
+                       NETBOOT="cifs"
+                       export NETBOOT
+               fi
+       fi
+
+       if [ -z "${MODULE}" ]
+       then
+               MODULE="filesystem"
+               export MODULE
+       fi
+
+       if [ -z "${UNIONTYPE}" ]
+       then
+               UNIONTYPE="aufs"
+               export UNIONTYPE
+       fi
+}
+
+is_live_path ()
+{
+       DIRECTORY="${1}"
+
+       if [ -d "${DIRECTORY}"/"${LIVE_MEDIA_PATH}" ]
+       then
+               for FILESYSTEM in squashfs ext2 ext3 ext4 xfs dir jffs2
+               do
+                       if [ "$(echo ${DIRECTORY}/${LIVE_MEDIA_PATH}/*.${FILESYSTEM})" != "${DIRECTORY}/${LIVE_MEDIA_PATH}/*.${FILESYSTEM}" ]
+                       then
+                               return 0
+                       fi
+               done
+       fi
+
+       return 1
+}
+
+matches_uuid ()
+{
+       if [ "${IGNORE_UUID}" ] || [ ! -e /conf/uuid.conf ]
+       then
+               return 0
+       fi
+
+       path="${1}"
+       uuid="$(cat /conf/uuid.conf)"
+
+       for try_uuid_file in "${path}/.disk/live-uuid"*
+       do
+               [ -e "${try_uuid_file}" ] || continue
+
+               try_uuid="$(cat "${try_uuid_file}")"
+
+               if [ "${uuid}" = "${try_uuid}" ]
+               then
+                       return 0
+               fi
+       done
+
+       return 1
+}
+
+get_backing_device ()
+{
+       case "${1}" in
+               *.squashfs|*.ext2|*.ext3|*.ext4|*.jffs2)
+                       echo $(setup_loop "${1}" "loop" "/sys/block/loop*" '0' "${LIVE_MEDIA_ENCRYPTION}" "${2}")
+                       ;;
+
+               *.dir)
+                       echo "directory"
+                       ;;
+
+               *)
+                       panic "Unrecognized live filesystem: ${1}"
+                       ;;
+       esac
+}
+
+match_files_in_dir ()
+{
+       # Does any files match pattern ${1} ?
+       local pattern="${1}"
+
+       if [ "$(echo ${pattern})" != "${pattern}" ]
+       then
+               return 0
+       fi
+
+       return 1
+}
+
+mount_images_in_directory ()
+{
+       directory="${1}"
+       rootmnt="${2}"
+       mac="${3}"
+
+
+       if match_files_in_dir "${directory}/${LIVE_MEDIA_PATH}/*.squashfs" ||
+               match_files_in_dir "${directory}/${LIVE_MEDIA_PATH}/*.ext2" ||
+               match_files_in_dir "${directory}/${LIVE_MEDIA_PATH}/*.ext3" ||
+               match_files_in_dir "${directory}/${LIVE_MEDIA_PATH}/*.ext4" ||
+               match_files_in_dir "${directory}/${LIVE_MEDIA_PATH}/*.jffs2" ||
+               match_files_in_dir "${directory}/${LIVE_MEDIA_PATH}/*.dir"
+       then
+               [ -n "${mac}" ] && adddirectory="${directory}/${LIVE_MEDIA_PATH}/${mac}"
+               setup_unionfs "${directory}/${LIVE_MEDIA_PATH}" "${rootmnt}" "${adddirectory}"
+       else
+               panic "No supported filesystem images found at /${LIVE_MEDIA_PATH}."
+       fi
+}
+
+is_nice_device ()
+{
+       sysfs_path="${1#/sys}"
+
+       if /lib/udev/path_id "${sysfs_path}" | egrep -q "ID_PATH=(usb|pci-|platform-orion-ehci|platform-mmc|platform-mxsdhci|)"
+       then
+               return 0
+       elif echo "${sysfs_path}" | grep -q '^/block/vd[a-z]$'
+       then
+               return 0
+       elif echo ${sysfs_path} | grep -q "^/block/dm-"
+       then
+               return 0
+       fi
+
+       return 1
+}
+
+copy_live_to ()
+{
+       copyfrom="${1}"
+       copytodev="${2}"
+       copyto="${copyfrom}_swap"
+
+       if [ -z "${MODULETORAM}" ]
+       then
+               size=$(fs_size "" ${copyfrom}/${LIVE_MEDIA_PATH} "used")
+       else
+               MODULETORAMFILE="${copyfrom}/${LIVE_MEDIA_PATH}/${MODULETORAM}"
+
+               if [ -f "${MODULETORAMFILE}" ]
+               then
+                       size=$( expr $(ls -la ${MODULETORAMFILE} | awk '{print $5}') / 1024 + 5000 )
+               else
+                       log_warning_msg "Error: toram-module ${MODULETORAM} (${MODULETORAMFILE}) could not be read."
+                       return 1
+               fi
+       fi
+
+       if [ "${copytodev}" = "ram" ]
+       then
+               # copying to ram:
+               freespace=$(awk '/^MemFree:/{f=$2} /^Cached:/{c=$2} END{print f+c}' /proc/meminfo)
+               mount_options="-o size=${size}k"
+               free_string="memory"
+               fstype="tmpfs"
+               dev="/dev/shm"
+       else
+               # it should be a writable block device
+               if [ -b "${copytodev}" ]
+               then
+                       dev="${copytodev}"
+                       free_string="space"
+                       fstype=$(get_fstype "${dev}")
+                       freespace=$(fs_size "${dev}")
+               else
+                       log_warning_msg "${copytodev} is not a block device."
+                       return 1
+               fi
+       fi
+
+       if [ "${freespace}" -lt "${size}" ]
+       then
+               log_warning_msg "Not enough free ${free_string} (${freespace}k free, ${size}k needed) to copy live media in ${copytodev}."
+               return 1
+       fi
+
+       # begin copying (or uncompressing)
+       mkdir "${copyto}"
+       log_begin_msg "mount -t ${fstype} ${mount_options} ${dev} ${copyto}"
+       mount -t "${fstype}" ${mount_options} "${dev}" "${copyto}"
+
+       if [ "${extension}" = "tgz" ]
+       then
+               cd "${copyto}"
+               tar zxf "${copyfrom}/${LIVE_MEDIA_PATH}/$(basename ${FETCH})"
+               rm -f "${copyfrom}/${LIVE_MEDIA_PATH}/$(basename ${FETCH})"
+               mount -r -o move "${copyto}" "${rootmnt}"
+               cd "${OLDPWD}"
+       else
+               if [ -n "${MODULETORAMFILE}" ]
+               then
+                       if [ -x /bin/rsync ]
+                       then
+                               echo " * Copying $MODULETORAMFILE to RAM" 1>/dev/console
+                               rsync -a --progress ${MODULETORAMFILE} ${copyto} 1>/dev/console # copy only the filesystem module
+                       else
+                               cp ${MODULETORAMFILE} ${copyto} # copy only the filesystem module
+                       fi
+               else
+                       if [ -x /bin/rsync ]
+                       then
+                               echo " * Copying whole medium to RAM" 1>/dev/console
+                               rsync -a --progress ${copyfrom}/* ${copyto} 1>/dev/console  # "cp -a" from busybox also copies hidden files
+                       else
+                               mkdir -p ${copyto}/${LIVE_MEDIA_PATH}
+                               cp -a ${copyfrom}/${LIVE_MEDIA_PATH}/* ${copyto}/${LIVE_MEDIA_PATH}
+                               if [ -e ${copyfrom}/${LIVE_MEDIA_PATH}/.disk ]
+                               then
+                                       cp -a ${copyfrom}/${LIVE_MEDIA_PATH}/.disk ${copyto}
+                               fi
+                       fi
+               fi
+
+               umount ${copyfrom}
+               mount -r -o move ${copyto} ${copyfrom}
+       fi
+
+       rmdir ${copyto}
+       return 0
+}
+
+do_netmount ()
+{
+       rc=1
+
+       modprobe -q af_packet # For DHCP
+
+       udevadm trigger
+       udevadm settle
+
+       if [ -z "${NETBOOT}" ] && [ -z "${FETCH}" ] && \
+          [ -z "${HTTPFS}" ] && [ -z "${FTPFS}" ]
+       then
+
+       # if ethdevice was not specified on the kernel command line
+       # make sure we try to get a working network configuration
+       # for *every* present network device (except for loopback of course)
+       if [ -z "$ETHDEVICE" ] ; then
+               echo "If you want to boot from a specific device use bootoption ethdevice=..."
+               for device in /sys/class/net/*; do
+                       dev=${device##*/} ;
+                       if [ "$dev" != "lo" ] ; then
+                               ETHDEVICE="$ETHDEVICE $dev"
+                       fi
+               done
+       fi
+
+       # split args of ethdevice=eth0,eth1 into "eth0 eth1"
+       for device in $(echo $ETHDEVICE | sed 's/,/ /g') ; do
+               devlist="$devlist $device"
+       done
+
+       [ -n "$ETHDEV_TIMEOUT" ] || ETHDEV_TIMEOUT=15
+       echo "Using timeout of $ETHDEV_TIMEOUT seconds for network configuration."
+
+       # this is tricky (and ugly) because ipconfig sometimes just hangs/runs into
+       # an endless loop; iff execution fails give it two further tries, that's
+       # why we use '$devlist $devlist $devlist' for the other for loop
+       for dev in $devlist $devlist $devlist ; do
+               echo "Executing ipconfig -t $ETHDEV_TIMEOUT $dev"
+               ipconfig -t "$ETHDEV_TIMEOUT" $dev | tee -a /netboot.config &
+               jobid=$!
+               sleep "$ETHDEV_TIMEOUT" ; sleep 1
+               if [ -r /proc/"$jobid"/status ] ; then
+                       echo "Killing job $jobid for device $dev as ipconfig ran into recursion..."
+                       kill -9 $jobid
+               fi
+
+               # if configuration of device worked we should have an assigned
+               # IP address, iff so let's use the according as $DEVICE for later usage
+               # simple and primitive approach which seems to work fine
+               if ifconfig $dev | grep -q 'inet.*addr:' ; then
+                       export DEVICE="$dev"
+                       break
+               fi
+       done
+
+       else
+       ipconfig ${DEVICE} | tee /netboot.config
+       fi
+
+       # source relevant ipconfig output
+       OLDHOSTNAME=${HOSTNAME}
+       . /tmp/net-${DEVICE}.conf
+       [ -z ${HOSTNAME} ] && HOSTNAME=${OLDHOSTNAME}
+       export HOSTNAME
+
+       # Check if we have a network device at all
+       if ! ls /sys/class/net/"$DEVICE" > /dev/null 2>&1 && \
+          ! ls /sys/class/net/eth0 > /dev/null 2>&1 && \
+          ! ls /sys/class/net/wlan0 > /dev/null 2>&1 && \
+          ! ls /sys/class/net/ath0 > /dev/null 2>&1 && \
+          ! ls /sys/class/net/ra0 > /dev/null 2>&1
+       then
+               panic "No supported network device found, maybe a non-mainline driver is required."
+       fi
+
+       if [ "${NFSROOT}" = "auto" ]
+       then
+               NFSROOT=${ROOTSERVER}:${ROOTPATH}
+       fi
+
+       if ( [ -n "${FETCH}" ] || [ -n "${HTTPFS}" ] || [ -n "${FTPFS}" ] ) && do_httpmount
+       then
+               rc=0
+               return ${rc}
+       fi
+
+       if [ "${NFSROOT#*:}" = "${NFSROOT}" ] && [ "$NETBOOT" != "cifs" ]
+       then
+               NFSROOT=${ROOTSERVER}:${NFSROOT}
+       fi
+
+       log_begin_msg "Trying netboot from ${NFSROOT}"
+
+       if [ "${NETBOOT}" != "nfs" ] && do_cifsmount
+       then
+               rc=0
+       elif do_nfsmount
+       then
+               NETBOOT="nfs"
+               export NETBOOT
+               rc=0
+       fi
+
+       log_end_msg
+       return ${rc}
+}
+
+do_httpmount ()
+{
+       rc=1
+       dest="${mountpoint}/${LIVE_MEDIA_PATH}"
+       mount -t ramfs ram "${mountpoint}"
+       mkdir -p "${dest}"
+
+       for webfile in HTTPFS FTPFS FETCH
+       do
+               url="$(eval echo \"\$\{${webfile}\}\")"
+               extension="$(echo "${url}" | sed 's/\(.*\)\.\(.*\)/\2/')"
+
+               if [ -n "$url" ]
+               then
+                       case "${extension}" in
+                               squashfs|tgz|tar)
+                                       if [ "${webfile}" = "FETCH" ]
+                                       then
+                                               case "$url" in
+                                                       tftp*)
+                                                               ip="$(dirname $url | sed -e 's|tftp://||g' -e 's|/.*$||g')"
+                                                               rfile="$(echo $url | sed -e "s|tftp://$ip||g")"
+                                                               lfile="$(basename $url)"
+                                                               log_begin_msg "Trying tftp -g -b 10240 -r $rfile -l ${dest}/$lfile $ip"
+                                                               tftp -g -b 10240 -r $rfile -l ${dest}/$lfile $ip
+                                                       ;;
+
+                                                       *)
+                                                               log_begin_msg "Trying wget ${url} -O ${dest}/$(basename ${url})"
+                                                               wget "${url}" -O "${dest}/$(basename ${url})"
+                                                               ;;
+                                               esac
+                                       else
+                                               log_begin_msg "Trying to mount ${url} on ${dest}/$(basename ${url})"
+                                               if [ "${webfile}" = "FTPFS" ]
+                                               then
+                                                       FUSE_MOUNT="curlftpfs"
+                                                       url="$(dirname ${url})"
+                                               else
+                                                       FUSE_MOUNT="httpfs"
+                                               fi
+                                               modprobe fuse
+                                               $FUSE_MOUNT "${url}" "${dest}"
+                                       fi
+                                       [ ${?} -eq 0 ] && rc=0
+                                       [ "${extension}" = "tgz" ] && live_dest="ram"
+                                       break
+                                       ;;
+
+                               *)
+                                       log_begin_msg "Unrecognized archive extension for ${url}"
+                                       ;;
+                       esac
+               fi
+       done
+
+       if [ ${rc} != 0 ]
+       then
+           umount "${mountpoint}"
+       fi
+
+       return ${rc}
+}
+
+do_nfsmount ()
+{
+       rc=1
+
+       modprobe -q nfs
+
+       if [ -z "${NFSOPTS}" ]
+       then
+               NFSOPTS=""
+       fi
+
+       log_begin_msg "Trying nfsmount -o nolock -o ro ${NFSOPTS} ${NFSROOT} ${mountpoint}"
+
+       # FIXME: This while loop is an ugly HACK round an nfs bug
+       i=0
+       while [ "$i" -lt 60 ]
+       do
+               nfsmount -o nolock -o ro ${NFSOPTS} "${NFSROOT}" "${mountpoint}" && rc=0 && break
+               sleep 1
+               i="$(($i + 1))"
+       done
+
+       return ${rc}
+}
+
+do_cifsmount ()
+{
+       rc=1
+
+       if [ -x "/sbin/mount.cifs" ]
+       then
+               if [ -z "${NFSOPTS}" ]
+               then
+                       CIFSOPTS="-ouser=root,password="
+               else
+                       CIFSOPTS="${NFSOPTS}"
+               fi
+
+               log_begin_msg "Trying mount.cifs ${NFSROOT} ${mountpoint} ${CIFSOPTS}"
+               modprobe -q cifs
+
+               if mount.cifs "${NFSROOT}" "${mountpoint}" "${CIFSOPTS}"
+               then
+                       rc=0
+               fi
+       fi
+
+       return ${rc}
+}
+
+do_snap_copy ()
+{
+       fromdev="${1}"
+       todir="${2}"
+       snap_type="${3}"
+       size=$(fs_size "${fromdev}" "" "used")
+
+       if [ -b "${fromdev}" ]
+       then
+               # look for free mem
+               if [ -n "${HOMEMOUNTED}" -a "${snap_type}" = "HOME" ]
+               then
+                       todev=$(awk -v pat="$(base_path ${todir})" '$2 == pat { print $1 }' /proc/mounts)
+                       freespace=$(df -k | awk '/'${todev}'/{print $4}')
+               else
+                       freespace=$(awk '/^MemFree:/{f=$2} /^Cached:/{c=$2} END{print f+c}' /proc/meminfo)
+               fi
+
+               tomount="/mnt/tmpsnap"
+
+               if [ ! -d "${tomount}" ]
+               then
+                       mkdir -p "${tomount}"
+               fi
+
+               fstype=$(get_fstype "${fromdev}")
+
+               if [ -n "${fstype}" ]
+               then
+                       # Copying stuff...
+                       mount -o ro -t "${fstype}" "${fromdev}" "${tomount}" || log_warning_msg "Error in mount -t ${fstype} -o ro ${fromdev} ${tomount}"
+                       cp -a "${tomount}"/* ${todir}
+                       umount "${tomount}"
+               else
+                       log_warning_msg "Unrecognized fstype: ${fstype} on ${fromdev}:${snap_type}"
+               fi
+
+               rmdir "${tomount}"
+
+               if echo ${fromdev} | grep -qs loop
+               then
+                       losetup -d "${fromdev}"
+               fi
+
+               return 0
+       else
+               return 1
+
+               log_warning_msg "Unable to find the snapshot ${snap_type} medium"
+       fi
+}
+
+find_snap ()
+{
+       # Look for ${snap_label}.* in block devices
+       snap_label="${1}"
+
+       if [ "${PERSISTENT}" != "nofiles" ]
+       then
+               # search for image files
+               snapdata=$(find_files "${PERSISTENT_PATH}${snap_label}.squashfs ${PERSISTENT_PATH}${snap_label}.cpio.gz ${PERSISTENT_PATH}${snap_label}.ext2 ${PERSISTENT_PATH}${snap_label}.ext3 ${PERSISTENT_PATH}${snap_label}.ext4 ${PERSISTENT_PATH}${snap_label}.jffs2")
+       fi
+
+       if [ -z "${snapdata}" ]
+       then
+               snapdata=$(find_cow_device "${snap_label}")
+       fi
+       echo "${snapdata}"
+}
+
+try_snap ()
+{
+        # copy the contents of previously found snapshot to ${snap_mount}
+       # and remember the device and filename for resync on exit in live-boot.init
+
+       snapdata="${1}"
+       snap_mount="${2}"
+       snap_type="${3}"
+
+       if [ -n "${snapdata}" ] && [ ! -b "${snapdata}" ]
+       then
+               log_success_msg "found snapshot: ${snapdata}"
+               snapdev="$(echo ${snapdata} | cut -f1 -d ' ')"
+               snapback="$(echo ${snapdata} | cut -f2 -d ' ')"
+               snapfile="$(echo ${snapdata} | cut -f3 -d ' ')"
+
+               RES=""
+               if ! try_mount "${snapdev}" "${snapback}" "ro"
+               then
+                       break
+               fi
+
+               if echo "${snapfile}" | grep -qs '\(squashfs\|ext2\|ext3\|ext4\|jffs2\)'
+               then
+                       # squashfs, jffs2 or ext2/ext3/ext4 snapshot
+                       dev=$(get_backing_device "${snapback}/${snapfile}")
+
+                       do_snap_copy "${dev}" "${snap_mount}" "${snap_type}"
+                       RES=$?
+               else
+                       # cpio.gz snapshot
+
+                       # Unfortunately klibc's cpio is incompatible with the
+                       # rest of the world; everything else requires -u -d,
+                       # while klibc doesn't implement them. Try to detect
+                       # whether it's in use.
+                       cpiopath="$(which cpio)" || true
+                       if [ "$cpiopath" ] && grep -aq /lib/klibc "$cpiopath"
+                       then
+                               cpioargs=
+                       else
+                               cpioargs='--unconditional --make-directories'
+                       fi
+
+                       if ! (cd "${snap_mount}" && zcat "${snapback}/${snapfile}" | cpio $cpioargs --extract --preserve-modification-time --no-absolute-filenames --sparse 2>/dev/null)
+                       then
+                               log_warning_msg "failure to \"zcat ${snapback}/${snapfile} | cpio $cpioargs --extract --preserve-modification-time --no-absolute-filenames --sparse\""
+                       fi
+               fi
+
+               umount "${snapback}" ||  log_warning_msg "failure to \"umount ${snapback}\""
+
+               if [ "${RES}" != "0" ]
+               then
+                       log_warning_msg "Impossible to include the ${snapfile} Snapshot file"
+               fi
+
+       elif [ -b "${snapdata}" ]
+       then
+               # Try to find if it could be a snapshot partition
+               dev="${snapdata}"
+               log_success_msg "found snapshot ${snap_type} device on ${dev}"
+               if echo "${dev}" | grep -qs loop
+               then
+                       # strange things happens, user confused?
+                       snaploop=$( losetup ${dev} | awk '{print $3}' | tr -d '()' )
+                       snapfile=$(basename ${snaploop})
+                       snapdev=$(awk -v pat="$( dirname ${snaploop})" '$2 == pat { print $1 }' /proc/mounts)
+               else
+                       snapdev="${dev}"
+               fi
+
+               if ! do_snap_copy "${dev}" "${snap_mount}" "${snap_type}"
+               then
+                       log_warning_msg "Impossible to include the ${snap_type} Snapshot"
+                       return 1
+               else
+                       if [ -n "${snapfile}" ]
+                       then
+                               # it was a loop device, user confused
+                               umount ${snapdev}
+                       fi
+               fi
+       else
+               log_warning_msg "Impossible to include the ${snap_type} Snapshot"
+               return 1
+       fi
+
+       echo "export ${snap_type}SNAP="/cow${snap_mount#$rootmnt}":${snapdev}:${snapfile}" >> /etc/live.conf # for resync on reboot/halt
+       return 0
+}
+
+setup_unionfs ()
+{
+       image_directory="${1}"
+       rootmnt="${2}"
+        addimage_directory="${3}"
+
+       case ${UNIONTYPE} in
+               aufs|unionfs)
+                       modprobe -q -b ${UNIONTYPE}
+
+                       if ! cut -f2 /proc/filesystems | grep -q "^${UNIONTYPE}\$" && [ -x /bin/unionfs-fuse ]
+                       then
+                               echo "${UNIONTYPE} not available, falling back to unionfs-fuse."
+                               echo "This might be really slow."
+
+                               UNIONTYPE="unionfs-fuse"
+                       fi
+                       ;;
+       esac
+
+       if [ "${UNIONTYPE}" = unionfs-fuse ]
+       then
+               modprobe fuse
+       fi
+
+       # run-init can't deal with images in a subdir, but we're going to
+       # move all of these away before it runs anyway.  No, we're not,
+       # put them in / since move-mounting them into / breaks mono and
+       # some other apps.
+
+       croot="/"
+
+       # Let's just mount the read-only file systems first
+       rofsstring=""
+       rofslist=""
+
+       if [ "${UNIONTYPE}" = "aufs" ]
+       then
+               roopt="rr"
+               noxino_opt="noxino,"
+       elif [ "${UNIONTYPE}" = "unionfs-fuse" ]
+       then
+               roopt="RO"
+       else
+               roopt="ro"
+       fi
+
+       if [ -z "${PLAIN_ROOT}" ]
+       then
+               # Read image names from ${MODULE}.module if it exists
+               if [ -e "${image_directory}/filesystem.${MODULE}.module" ]
+               then
+                       for IMAGE in $(cat ${image_directory}/filesystem.${MODULE}.module)
+                       do
+                               image_string="${image_string} ${image_directory}/${IMAGE}"
+                       done
+               elif [ -e "${image_directory}/${MODULE}.module" ]
+               then
+                       for IMAGE in $(cat ${image_directory}/${MODULE}.module)
+                       do
+                               image_string="${image_string} ${image_directory}/${IMAGE}"
+                       done
+               else
+                       # ${MODULE}.module does not exist, create a list of images
+                       for FILESYSTEM in squashfs ext2 ext3 ext4 xfs jffs2 dir
+                       do
+                               for IMAGE in "${image_directory}"/*."${FILESYSTEM}"
+                               do
+                                       if [ -e "${IMAGE}" ]
+                                       then
+                                               image_string="${image_string} ${IMAGE}"
+                                       fi
+                               done
+                       done
+
+                       if [ -n "${addimage_directory}" ] && [ -d "${addimage_directory}" ]
+                       then
+                               for FILESYSTEM in squashfs ext2 ext3 ext4 xfs jffs2 dir
+                               do
+                                       for IMAGE in "${addimage_directory}"/*."${FILESYSTEM}"
+                                       do
+                                               if [ -e "${IMAGE}" ]
+                                               then
+                                                       image_string="${image_string} ${IMAGE}"
+                                               fi
+                                       done
+                               done
+                       fi
+
+                       # Now sort the list
+                       image_string="$(echo ${image_string} | sed -e 's/ /\n/g' | sort )"
+               fi
+
+       [ -n "${MODULETORAMFILE}" ] && image_string="${image_directory}/$(basename ${MODULETORAMFILE})"
+
+               mkdir -p "${croot}"
+
+               for image in ${image_string}
+               do
+                       imagename=$(basename "${image}")
+
+                       export image devname
+                       maybe_break live-realpremount
+                       log_begin_msg "Running /scripts/live-realpremount"
+                       run_scripts /scripts/live-realpremount
+                       log_end_msg
+
+                       if [ -d "${image}" ]
+                       then
+                               # it is a plain directory: do nothing
+                               rofsstring="${image}=${roopt}:${rofsstring}"
+                               rofslist="${image} ${rofslist}"
+                       elif [ -f "${image}" ]
+                       then
+                               if losetup --help 2>&1 | grep -q -- "-r\b"
+                               then
+                                       backdev=$(get_backing_device "${image}" "-r")
+                               else
+                                       backdev=$(get_backing_device "${image}")
+                               fi
+                               fstype=$(get_fstype "${backdev}")
+
+                               if [ "${fstype}" = "unknown" ]
+                               then
+                                       panic "Unknown file system type on ${backdev} (${image})"
+                               fi
+
+                               if [ -z "${fstype}" ]
+                               then
+                                       fstype="${imagename##*.}"
+                                       log_warning_msg "Unknown file system type on ${backdev} (${image}), assuming ${fstype}."
+                               fi
+
+                               mkdir -p "${croot}/${imagename}"
+                               log_begin_msg "Mounting \"${image}\" on \"${croot}${imagename}\" via \"${backdev}\""
+                               mount -t "${fstype}" -o ro,noatime "${backdev}" "${croot}/${imagename}" || panic "Can not mount ${backdev} (${image}) on ${croot}/${imagename}" && rofsstring="${croot}/${imagename}=${roopt}:${rofsstring}" && rofslist="${croot}/${imagename} ${rofslist}"
+                               log_end_msg
+                       fi
+               done
+       else
+               # we have a plain root system
+               mkdir -p "${croot}/filesystem"
+               log_begin_msg "Mounting \"${image_directory}\" on \"${croot}/filesystem\""
+               mount -t $(get_fstype "${image_directory}") -o ro,noatime "${image_directory}" "${croot}/filesystem" || panic "Can not mount ${image_directory} on ${croot}/filesystem" && rofsstring="${croot}/filesystem=${roopt}:${rofsstring}" && rofslist="${croot}/filesystem ${rofslist}"
+               # probably broken:
+               mount -o bind ${croot}/filesystem $mountpoint
+               log_end_msg
+       fi
+
+       rofsstring=${rofsstring%:}
+
+       mkdir -p /cow
+
+       # Looking for "${root_persistence}" device or file
+       if [ -n "${PERSISTENT}" ] && [ -z "${NOPERSISTENT}" ]
+       then
+               if [ -z "${QUICKUSBMODULES}" ]
+               then
+                       # Load USB modules
+                       num_block=$(ls -l /sys/block | wc -l)
+                       for module in sd_mod uhci-hcd ehci-hcd ohci-hcd usb-storage
+                       do
+                               modprobe -q -b ${module}
+                       done
+
+                       udevadm trigger
+                       udevadm settle
+
+                       # For some reason, udevsettle does not block in this scenario,
+                       # so we sleep for a little while.
+                       #
+                       # See https://bugs.launchpad.net/ubuntu/+source/casper/+bug/84591
+                       for timeout in 5 4 3 2 1
+                       do
+                               sleep 1
+
+                               if [ $(ls -l /sys/block | wc -l) -gt ${num_block} ]
+                               then
+                                       break
+                               fi
+                       done
+               fi
+
+               # search for label and files (this could be hugely optimized)
+               cowprobe=$(find_cow_device "${root_persistence}")
+               if [ -b "${cowprobe}" ]
+               then
+                       # Blacklist /cow device, to avoid inconsistent setups for overlapping snapshots
+                       # makes sense to have both persistence for /cow and /home mounted, maybe also with
+                       # snapshots to be sure to really store some e.g key config files,
+                       # but not on the same media
+                       blacklistdev="${cowprobe}"
+                       PERSISTENCE_IS_ON="1"
+                       export PERSISTENCE_IS_ON
+               fi
+               # homecow just mount something on /home, this should be generalized some way
+               homecow=$(find_cow_device "${home_persistence}" "${blacklistdev}")
+               if [ -b "${homecow}" ]
+               then
+                       PERSISTENCE_IS_ON="1"
+                       export PERSISTENCE_IS_ON
+               fi
+               root_snapdata=$(find_snap "${root_snapshot_label}" "${blacklistdev}")
+               # This second type should be removed when snapshot will get smarter,
+               # hence when "/etc/live-snapshot*list" will be supported also by
+               # ext2|ext3|ext4|jffs2 snapshot types.
+               home_snapdata=$(find_snap "${home_snapshot_label}" "${blacklistdev}")
+
+               if [ -b "${cowprobe}" ]
+               then
+                       cowdevice=${cowprobe}
+                       cow_fstype=$(get_fstype "${cowprobe}")
+                       cow_mountopt="rw,noatime"
+
+                       if [ "${FORCEPERSISTENTFSCK}" = "Yes" ]
+                       then
+                               fsck -y ${cowdevice}
+                       fi
+               else
+                       log_warning_msg "Unable to find the persistent medium"
+                       cowdevice="tmpfs"
+                       cow_fstype="tmpfs"
+                       cow_mountopt="rw,noatime,mode=755"
+               fi
+       elif [ -n "${NFS_COW}" ] && [ -z "${NOPERSISTENT}" ]
+       then
+               # check if there are any nfs options
+               if echo ${NFS_COW}|grep -q ','
+               then
+                       nfs_cow_opts="-o nolock,$(echo ${NFS_COW}|cut -d, -f2-)"
+                       nfs_cow=$(echo ${NFS_COW}|cut -d, -f1)
+               else
+                       nfs_cow_opts="-o nolock"
+                       nfs_cow=${NFS_COW}
+               fi
+               mac="$(get_mac)"
+               if [ -n "${mac}" ]
+               then
+                       cowdevice=$(echo ${nfs_cow}|sed "s/client_mac_address/${mac}/")
+                       cow_fstype="nfs"
+               else
+                       panic "unable to determine mac address"
+               fi
+       else
+               cowdevice="tmpfs"
+               cow_fstype="tmpfs"
+               cow_mountopt="rw,noatime,mode=755"
+       fi
+
+       if [ "${cow_fstype}" = "nfs" ]
+       then
+               log_begin_msg \
+                       "Trying nfsmount ${nfs_cow_opts} ${cowdevice} /cow"
+               nfsmount ${nfs_cow_opts} ${cowdevice} /cow || \
+                       panic "Can not mount ${cowdevice} (n: ${cow_fstype}) on /cow"
+       else
+               mount -t ${cow_fstype} -o ${cow_mountopt} ${cowdevice} /cow || \
+                       panic "Can not mount ${cowdevice} (o: ${cow_fstype}) on /cow"
+       fi
+
+       rofscount=$(echo ${rofslist} |wc -w)
+
+       if [ -n "${EXPOSED_ROOT}" ]
+       then
+               if [ ${rofscount} -ne 1 ]
+               then
+                       panic "only one RO file system supported with exposedroot: ${rofslist}"
+               fi
+               exposedrootfs=${rofslist%% }
+
+               mount --bind ${exposedrootfs} ${rootmnt} || \
+                       panic "bind mount of ${exposedrootfs} failed"
+
+               if [ -z "${SKIP_UNION_MOUNTS}" ]
+               then
+                       cow_dirs='/var/tmp /var/lock /var/run /var/log /var/spool /home /var/lib/live'
+               else
+                       cow_dirs=''
+               fi
+
+               for dir in ${cow_dirs}; do
+                       mkdir -p /cow${dir}
+
+                       case "${UNIONTYPE}" in
+                               unionfs-fuse)
+                                       (ulimit -n 16384; unionfs-fuse -o cow -o noinitgroups -o default_permissions -o allow_other -o use_ino -o suid /cow=RW:${exposedrootfs}${dir} "${rootmnt}${dir}" || panic "mount ${UNIONTYPE} on ${rootmnt}${dir} failed with option cow,noinitgroups,default_permissions,allow_other,use_ino,suid=/cow=RW:${exposedrootfs}${dir}")
+                                       mkdir -p /dev/.initramfs/varrun
+                                       pidof unionfs-fuse >> /dev/.initramfs/varrun/sendsigs.omit || true
+                                       ;;
+
+                               *)
+                                       mount -t ${UNIONTYPE} -o rw,noatime,dirs=/cow${dir}=rw:${exposedrootfs}${dir}=ro ${UNIONTYPE} "${rootmnt}${dir}" || panic "mount ${UNIONTYPE} on ${rootmnt}${dir} failed with option rw,noatime,dirs=/cow${dir}=rw:${exposedrootfs}${dir}=ro"
+                                       ;;
+                       esac
+               done
+       else
+               case "${UNIONTYPE}" in
+                       unionfs-fuse)
+                               (ulimit -n 16384; unionfs-fuse -o cow -o noinitgroups -o default_permissions -o allow_other -o use_ino -o suid /cow=RW:${rofsstring} "${rootmnt}" || panic "mount ${UNIONTYPE} on ${rootmnt} failed with option cow,noinitgroups,default_permissions,allow_other,use_ino,suid=/cow:RW:${rofsstring}")
+                               mkdir -p /dev/.initramfs/varrun
+                               pidof unionfs-fuse >> /dev/.initramfs/varrun/sendsigs.omit || true
+                               ;;
+
+                       *)
+                               mount -t ${UNIONTYPE} -o noatime,${noxino_opt}dirs=/cow=rw:${rofsstring} ${UNIONTYPE} "${rootmnt}" || panic "mount ${UNIONTYPE} on ${rootmnt} failed with option noatime,${noxino_opt}dirs=/cow=rw:${rofsstring}"
+                               ;;
+               esac
+       fi
+
+       # Correct the permissions of /:
+       chmod 0755 "${rootmnt}"
+
+       # tmpfs file systems
+       touch /etc/fstab
+       mkdir -p "${rootmnt}/live"
+       mount -t tmpfs tmpfs ${rootmnt}/live
+
+       # Adding other custom mounts
+       if [ -n "${PERSISTENT}" ] && [ -z "${NOPERSISTENT}" ]
+       then
+               # directly mount /home
+               # FIXME: add a custom mounts configurable system
+
+               if [ -b "${homecow}" ]
+               then
+                       mount -t $(get_fstype "${homecow}") -o rw,noatime "${homecow}" "${rootmnt}/home"
+                       export HOMEMOUNTED=1 # used to proper calculate free space in do_snap_copy()
+               else
+                       log_warning_msg "Unable to find the persistent home medium"
+               fi
+
+               # Look for other snapshots to copy in
+               try_snap "${root_snapdata}" "${rootmnt}" "ROOT"
+               # This second type should be removed when snapshot grow smarter
+               try_snap "${home_snapdata}" "${rootmnt}/home" "HOME"
+       fi
+
+       if [ -n "${SHOWMOUNTS}" ]
+       then
+               for d in ${rofslist}
+               do
+                       mkdir -p "${rootmnt}/live/${d##*/}"
+
+                       case d in
+                               *.dir)
+                                       # do nothing # mount -o bind "${d}" "${rootmnt}/live/${d##*/}"
+                                       ;;
+
+                               *)
+                                       case "${UNIONTYPE}" in
+                                               unionfs-fuse)
+                                                       mount -o bind "${d}" "${rootmnt}/live/${d##*/}"
+                                                       ;;
+
+                                               *)
+                                                       mount -o move "${d}" "${rootmnt}/live/${d##*/}"
+                                                       ;;
+                                       esac
+                                       ;;
+                       esac
+               done
+       fi
+
+       # shows cow fs on /cow for use by live-snapshot
+       mkdir -p "${rootmnt}/live/cow"
+       mount -o move /cow "${rootmnt}/live/cow" >/dev/null 2>&1 || mount -o bind /cow "${rootmnt}/live/cow" || log_warning_msg "Unable to move or bind /cow to ${rootmnt}/live/cow"
+}
+
+check_dev ()
+{
+       sysdev="${1}"
+       devname="${2}"
+       skip_uuid_check="${3}"
+
+       # support for fromiso=.../isofrom=....
+       if [ -n "$FROMISO" ]
+       then
+               ISO_DEVICE=$(dirname $FROMISO)
+               if ! [ -b $ISO_DEVICE ]
+               then
+                       # to support unusual device names like /dev/cciss/c0d0p1
+                       # as well we have to identify the block device name, let's
+                       # do that for up to 15 levels
+                       i=15
+                       while [ -n "$ISO_DEVICE" ] && [ "$i" -gt 0 ]
+                       do
+                               ISO_DEVICE=$(dirname ${ISO_DEVICE})
+                               [ -b "$ISO_DEVICE" ] && break
+                               i=$(($i -1))
+                       done
+               fi
+
+               if [ "$ISO_DEVICE" = "/" ]
+               then
+                       echo "Warning: device for bootoption isofrom= ($FROMISO) not found.">>/live.log
+               else
+                       mkdir /isofrom
+                       mount "$ISO_DEVICE" /isofrom
+                       ISO_NAME="$(echo $FROMISO | sed "s|$ISO_DEVICE||")"
+                       loopdevname=$(setup_loop "/isofrom/${ISO_NAME}" "loop" "/sys/block/loop*" "" '')
+                       devname="${loopdevname}"
+               fi
+       fi
+
+       if [ -z "${devname}" ]
+       then
+               devname=$(sys2dev "${sysdev}")
+       fi
+
+       if [ -d "${devname}" ]
+       then
+               mount -o bind "${devname}" $mountpoint || continue
+
+               if is_live_path $mountpoint
+               then
+                       echo $mountpoint
+                       return 0
+               else
+                       umount $mountpoint
+               fi
+       fi
+       [ -e "$devname" ] || continue
+
+       if [ -n "${LIVE_MEDIA_OFFSET}" ]
+       then
+               loopdevname=$(setup_loop "${devname}" "loop" "/sys/block/loop*" "${LIVE_MEDIA_OFFSET}" '')
+               devname="${loopdevname}"
+       fi
+
+       fstype=$(get_fstype "${devname}")
+
+       if is_supported_fs ${fstype}
+       then
+               devuid=$(blkid -o value -s UUID "$devname")
+               [ -n "$devuid" ] && grep -qs "\<$devuid\>" $tried && continue
+               mount -t ${fstype} -o ro,noatime "${devname}" ${mountpoint} || continue
+               [ -n "$devuid" ] && echo "$devuid" >> $tried
+
+               if is_live_path ${mountpoint} && \
+                       ([ "${skip_uuid_check}" ] || matches_uuid ${mountpoint})
+               then
+                       echo ${mountpoint}
+                       return 0
+               else
+                       umount ${mountpoint}
+               fi
+       fi
+
+       if [ -n "${LIVE_MEDIA_OFFSET}" ]
+       then
+               losetup -d "${loopdevname}"
+       fi
+
+       return 1
+}
+
+find_livefs ()
+{
+       timeout="${1}"
+
+       # don't start autodetection before timeout has expired
+       if [ -n "${LIVE_MEDIA_TIMEOUT}" ]
+       then
+               if [ "${timeout}" -lt "${LIVE_MEDIA_TIMEOUT}" ]
+               then
+                       return 1
+               fi
+       fi
+
+       # first look at the one specified in the command line
+       case "${LIVE_MEDIA}" in
+               removable-usb)
+                       for sysblock in $(echo /sys/block/* | tr ' ' '\n' | grep -vE "/(loop|ram|dm-|fd)")
+                       do
+                               if [ "$(cat ${sysblock}/removable)" = "1" ]
+                               then
+                                       if readlink ${sysblock} | grep -q usb ||
+                                          readlink ${sysblock}/device | grep -q usb # linux < 2.6.29
+                                       then
+                                               for dev in $(subdevices "${sysblock}")
+                                               do
+                                                       if check_dev "${dev}"
+                                                       then
+                                                               return 0
+                                                       fi
+                                               done
+                                       fi
+                               fi
+                       done
+                       return 1
+                       ;;
+
+               removable)
+                       for sysblock in $(echo /sys/block/* | tr ' ' '\n' | grep -vE "/(loop|ram|dm-|fd)")
+                       do
+                               if [ "$(cat ${sysblock}/removable)" = "1" ]
+                               then
+                                       for dev in $(subdevices "${sysblock}")
+                                       do
+                                               if check_dev "${dev}"
+                                               then
+                                                       return 0
+                                               fi
+                                       done
+                               fi
+                       done
+                       return 1
+                       ;;
+
+               *)
+                       if [ ! -z "${LIVE_MEDIA}" ]
+                       then
+                               if check_dev "null" "${LIVE_MEDIA}" "skip_uuid_check"
+                               then
+                                       return 0
+                               fi
+                       fi
+                       ;;
+       esac
+
+       # or do the scan of block devices
+       # prefer removable devices over non-removable devices, so scan them first
+       for sysblock in $(echo /sys/block/* | tr ' ' '\n' | egrep -v "/(loop|ram|dm-|fd)")
+       do
+               if [ "$(cat ${sysblock}/removable)" = "1" ]
+               then
+                       removable_devices_to_scan="$removable_devices_to_scan $sysblock"
+               else
+                       nonremovable_devices_to_scan="$nonremovable_devices_to_scan $sysblock"
+               fi
+       done
+       devices_to_scan="$removable_devices_to_scan $nonremovable_devices_to_scan"
+
+       for sysblock in $devices_to_scan
+       do
+               devname=$(sys2dev "${sysblock}")
+               [ -e "$devname" ] || continue
+               fstype=$(get_fstype "${devname}")
+
+               if /lib/udev/cdrom_id ${devname} > /dev/null
+               then
+                       if check_dev "null" "${devname}"
+                       then
+                               return 0
+                       fi
+               elif is_nice_device "${sysblock}"
+               then
+                       for dev in $(subdevices "${sysblock}")
+                       do
+                               if check_dev "${dev}"
+                               then
+                                       return 0
+                               fi
+                       done
+               elif [ "${fstype}" = "squashfs" -o \
+                       "${fstype}" = "ext2" -o \
+                       "${fstype}" = "ext3" -o \
+                       "${fstype}" = "ext4" -o \
+                       "${fstype}" = "jffs2" ]
+               then
+                       # This is an ugly hack situation, the block device has
+                       # an image directly on it.  It's hopefully
+                       # live-boot, so take it and run with it.
+                       ln -s "${devname}" "${devname}.${fstype}"
+                       echo "${devname}.${fstype}"
+                       return 0
+               fi
+       done
+
+       return 1
+}
+
+set_usplash_timeout ()
+{
+       if [ -x /sbin/usplash_write ]
+       then
+               /sbin/usplash_write "TIMEOUT 120"
+       else if [ -x /sbin/splashy_update ] ; then
+               /sbin/splashy_update "TIMEOUT 120"
+       fi ; fi
+}
+
+integrity_check ()
+{
+       media_mountpoint="${1}"
+
+       log_begin_msg "Checking media integrity"
+
+       cd ${media_mountpoint}
+       /bin/md5sum -c md5sum.txt < /dev/tty8 > /dev/tty8
+       RC="${?}"
+
+       log_end_msg
+
+       if [ "${RC}" -eq 0 ]
+       then
+               log_success_msg "Everything ok, will reboot in 10 seconds."
+               sleep 10
+               cd /
+               umount ${media_mountpoint}
+               sync
+               echo u > /proc/sysrq-trigger
+               echo b > /proc/sysrq-trigger
+       else
+               panic "Not ok, a media defect is likely, switch to VT8 for details."
+       fi
+}
+
+start_usplash_pulse ()
+{
+       if [ -x /sbin/usplash_write ]
+       then
+               /sbin/usplash_write "PULSELOGO"
+       fi
+}
+
+mountroot ()
+{
+        if [ -x /scripts/local-top/cryptroot ]; then
+           /scripts/local-top/cryptroot
+       fi
+
+       exec 6>&1
+       exec 7>&2
+       exec > live.log
+       exec 2>&1
+       tail -f live.log >&7 &
+       tailpid="${!}"
+
+       # Ensure 'panic' function is overridden
+       . /scripts/live-functions
+
+       Arguments
+
+       set_usplash_timeout
+       start_usplash_pulse
+
+       maybe_break live-premount
+       log_begin_msg "Running /scripts/live-premount"
+       run_scripts /scripts/live-premount
+       log_end_msg
+
+       # Needed here too because some things (*cough* udev *cough*)
+       # changes the timeout
+
+       set_usplash_timeout
+
+       if [ ! -z "${NETBOOT}" ] || [ ! -z "${FETCH}" ] || [ ! -z "${HTTPFS}" ] || [ ! -z "${FTPFS}" ]
+       then
+               if do_netmount
+               then
+                       livefs_root="${mountpoint}"
+               else
+                       panic "Unable to find a live file system on the network"
+               fi
+       else
+               if [ -n "${PLAIN_ROOT}" ] && [ -n "${ROOT}" ]
+               then
+                       # Do a local boot from hd
+                       livefs_root=${ROOT}
+               else
+                       # Scan local devices for the image
+                       i=0
+                       while [ "$i" -lt 60 ]
+                       do
+                               livefs_root=$(find_livefs ${i})
+
+                               if [ -n "${livefs_root}" ]
+                               then
+                                       break
+                               fi
+
+                               sleep 1
+                               i="$(($i + 1))"
+                       done
+               fi
+       fi
+
+       if [ -z "${livefs_root}" ]
+       then
+               panic "Unable to find a medium containing a live file system"
+       fi
+
+       if [ "${INTEGRITY_CHECK}" ]
+       then
+               integrity_check "${livefs_root}"
+       fi
+
+       if [ "${TORAM}" ]
+       then
+               live_dest="ram"
+       elif [ "${TODISK}" ]
+       then
+               live_dest="${TODISK}"
+       fi
+
+       if [ "${live_dest}" ]
+       then
+               log_begin_msg "Copying live media to ${live_dest}"
+               copy_live_to "${livefs_root}" "${live_dest}"
+               log_end_msg
+       fi
+
+       # if we do not unmount the ISO we can't run "fsck /dev/ice" later on
+       # because the mountpoint is left behind in /proc/mounts, so let's get
+       # rid of it when running from RAM
+       if [ -n "$FROMISO" ] && [ "${TORAM}" ]
+       then
+         losetup -d /dev/loop0
+         grep -q /isofrom /proc/mounts && umount /isofrom
+       fi
+
+       if [ -n "${MODULETORAMFILE}" ] || [ -n "${PLAIN_ROOT}" ]
+       then
+               setup_unionfs "${livefs_root}" "${rootmnt}"
+       else
+               mac="$(get_mac)"
+               mac="$(echo ${mac} | sed 's/-//g')"
+               mount_images_in_directory "${livefs_root}" "${rootmnt}" "${mac}"
+       fi
+
+       log_end_msg
+
+       # unionfs-fuse needs /dev to be bind-mounted for the duration of
+       # live-bottom; udev's init script will take care of things after that
+       if [ "${UNIONTYPE}" = unionfs-fuse ]
+       then
+               mount -n -o bind /dev "${rootmnt}/dev"
+       fi
+
+       # Move to the new root filesystem so that programs there can get at it.
+       if [ ! -d /root/live/image ]
+       then
+               mkdir -p /root/live/image
+               mount --move /live/image /root/live/image
+       fi
+
+       maybe_break live-bottom
+       log_begin_msg "Running /scripts/live-bottom\n"
+
+       run_scripts /scripts/live-bottom
+       log_end_msg
+
+       if [ "${UNIONFS}" = unionfs-fuse ]
+       then
+               umount "${rootmnt}/dev"
+       fi
+
+       exec 1>&6 6>&-
+       exec 2>&7 7>&-
+       kill ${tailpid}
+       [ -w "${rootmnt}/var/log/" ] && cp live.log "${rootmnt}/var/log/" 2>/dev/null
+       if [ -f /etc/live.conf ]
+       then
+               cp /etc/live.conf "${rootmnt}/etc/"
+       fi
+}
diff --git a/scripts/live-bottom/02etc_live_conf b/scripts/live-bottom/02etc_live_conf
new file mode 100755 (executable)
index 0000000..8309a15
--- /dev/null
@@ -0,0 +1,51 @@
+#!/bin/sh
+
+#set -e
+
+# initramfs-tools header
+
+PREREQ=""
+
+prereqs()
+{
+       echo "${PREREQ}"
+}
+
+case "${1}" in
+       prereqs)
+               prereqs
+               exit 0
+               ;;
+esac
+
+# live-boot header
+
+. /scripts/live-functions
+
+log_begin_msg "Copying config on real root fs"
+
+# live-boot script
+
+if [ -f /etc/live.conf ]
+then
+       if [ ! -z "${LIVECONF}" ]
+       then
+               # Updating live.conf
+               sed -i -e 's/\(USERNAME="\).*"/\1'"${USERNAME}"'"/g' \
+                      -e 's/\(USERFULLNAME="\).*"/\1'"${USERFULLNAME}"'"/g' \
+                      -e 's/\(HOSTNAME="\).*"/\1'"${HOSTNAME}"'"/g' \
+               /etc/live.conf
+       fi
+
+       cp -p /etc/live.conf /root/etc/live.conf
+else
+
+cat > /root/etc/live.conf << EOF
+export USERNAME="${USERNAME}"
+export USERFULLNAME="${USERFULLNAME}"
+export HOSTNAME="${HOSTNAME}"
+EOF
+
+fi
+
+log_end_msg
diff --git a/scripts/live-bottom/08persistence_excludes b/scripts/live-bottom/08persistence_excludes
new file mode 100755 (executable)
index 0000000..43639f9
--- /dev/null
@@ -0,0 +1,77 @@
+#!/bin/sh
+
+# Persistence enhancer script
+# This script saves precious time on slow persistence devices/image files
+# and writes on flash based device.
+# a tmpfs on $PERSTMP is mounted and directories listed in
+# /etc/live-persistence.binds will be copied there and then bind mounted back.
+
+#set -e
+
+# initramfs-tools header
+
+PREREQ=""
+
+prereqs()
+{
+       echo "${PREREQ}"
+}
+
+case "${1}" in
+       prereqs)
+               prereqs
+               exit 0
+               ;;
+esac
+
+# live-boot header
+
+if [ -z "${PERSISTENT}" ] || [ -n "${NOPERSISTENT}" ] || [ -z "${PERSISTENCE_IS_ON}" ] || [ ! -f /root/etc/live-persistence.binds ]
+then
+       exit 0
+fi
+
+. /scripts/live-functions
+
+# live-boot script
+
+dirs="$(sed -e '/^ *$/d' -e '/^#.*$/d' /root/etc/live-persistence.binds | tr '\n' '\0')"
+if [ -z "${dirs}" ]
+then
+       exit 0
+fi
+
+log_begin_msg "Moving persistence bind mounts"
+
+PERSTMP="/root/live/persistence-binds"
+CPIO="/bin/cpio"
+
+if [ ! -d "${PERSTMP}" ]
+then
+       mkdir -p "${PERSTMP}"
+fi
+
+mount -t tmpfs tmpfs "${PERSTMP}"
+
+for dir in $(echo "${dirs}" | tr '\0' '\n')
+do
+       if [ ! -e "/root/${dir}" ] && [ ! -L "/root/${dir}" ]
+       then
+               # directory do not exists, create it
+               mkdir -p "/root/${dir}"
+       elif [ ! -d "/root/${dir}" ]
+       then
+               # it is not a directory, skip it
+               break
+       fi
+
+       # Copy previous content if any
+       cd "/root/${dir}"
+       find . -print0 | ${CPIO} -pumd0 "${PERSTMP}/${dir}"
+       cd "${OLDPWD}"
+
+       # Bind mount it to origin
+       mount -o bind "${PERSTMP}/${dir}" "/root/${dir}"
+done
+
+log_end_msg
diff --git a/scripts/live-bottom/12fstab b/scripts/live-bottom/12fstab
new file mode 100755 (executable)
index 0000000..31e1e72
--- /dev/null
@@ -0,0 +1,110 @@
+#!/bin/sh
+
+#set -e
+
+# initramfs-tools header
+
+PREREQ=""
+FSTAB=/root/etc/fstab
+
+prereqs()
+{
+       echo "${PREREQ}"
+}
+
+case "${1}" in
+       prereqs)
+               prereqs
+               exit 0
+               ;;
+esac
+
+# live-boot header
+
+. /scripts/live-functions
+
+if [ -n "${NOFSTAB}" ]
+then
+       exit 0
+fi
+
+log_begin_msg "Configuring fstab"
+
+# live-boot script
+
+# Create a fake fstab only if it doesn't exist or if its the debootstrap template
+if [ ! -f "${FSTAB}" ] || grep -qs 'UNCONFIGURED FSTAB FOR BASE SYSTEM' "${FSTAB}"
+then
+
+cat > ${FSTAB} << EOF
+# /etc/fstab: static file system information.
+#
+# <file system> <mount point>   <type>  <options>       <dump>  <pass>
+
+EOF
+
+fi
+
+if ! grep -qs  "^${UNIONTYPE}" "${FSTAB}"
+then
+       echo "${UNIONTYPE} / ${UNIONTYPE} rw 0 0" >> "${FSTAB}"
+fi
+
+if ! grep -qs "^tmpfs /tmp" "${FSTAB}"
+then
+       echo "tmpfs /tmp tmpfs nosuid,nodev 0 0" >> "${FSTAB}"
+fi
+
+if [ -n "${SWAPON}" ]
+then
+       devices=""
+
+       for device in /dev/[hs]d[a-z][0-9]*
+       do
+               if ! [ -b "${device}" ]
+               then
+                       continue
+               fi
+
+               # udev (>= 146) no longer provides vol_id
+               if [ -x /lib/udev/vol_id ]
+               then
+                       # lenny
+                       /lib/udev/vol_id ${device%%[0-9]*} 2>/dev/null | grep -q "^ID_FS_USAGE=raid" && continue
+               else
+                       # squeeze
+                       /sbin/blkid -o udev -p ${device%%[0-9]*} | grep -q "^ID_FS_USAGE=raid" && continue
+               fi
+
+               magic=$(/bin/dd if="${device}" bs=4086 skip=1 count=1 2>/dev/null | /bin/dd bs=10 count=1 2>/dev/null) || continue
+
+               if [ "${magic}" = "SWAPSPACE2" -o "${magic}" = "SWAP-SPACE" ]
+               then
+                       #log "Found ${device}"
+                       devices="${devices} ${device}"
+               fi
+       done
+
+       # Remove all auto swap entries
+       if grep -qs  "swap swap" "${FSTAB}"
+       then
+               grep -v "swap swap" "${FSTAB}" > "${FSTAB}".tmp
+               mv "${FSTAB}".tmp "${FSTAB}"
+       fi
+
+       # Add new swap entries
+       for device in ${devices}
+       do
+               echo "${device} swap swap defaults 0 0" >> "${FSTAB}"
+       done
+fi
+
+# disabled for now
+#rm -f /root/etc/rcS.d/S*checkroot.sh
+
+if [ "${NOFASTBOOT}" != "Yes" ]
+then
+       touch root/fastboot
+fi
+
+log_end_msg
diff --git a/scripts/live-bottom/14locales b/scripts/live-bottom/14locales
new file mode 100755 (executable)
index 0000000..e53e487
--- /dev/null
@@ -0,0 +1,131 @@
+#!/bin/sh
+
+#set -e
+
+# initramfs-tools header
+
+PREREQ=""
+
+prereqs()
+{
+       echo "${PREREQ}"
+}
+
+case "${1}" in
+       prereqs)
+               prereqs
+               exit 0
+               ;;
+esac
+
+# live-boot header
+
+if [ -n "${NOLOCALES}" ]
+then
+       exit 0
+fi
+
+. /scripts/live-functions
+
+log_begin_msg "Setting up locales"
+
+# Cosmetic line wrapping for output of local-gen
+echo
+
+# live-boot script
+
+if [ -e /root/etc/default/locale ]
+then
+       grep_file=/root/etc/default/locale
+elif [ -e /root/etc/environment ]
+then
+       # Old locales policy
+       grep_file=/root/etc/environment
+fi
+
+if [ -n "${grep_file}" ]
+then
+       # use rootfs configured locale
+       locale=$(grep -s 'LANG=' ${grep_file} | sed s/'LANG='// | tr -d '"' )
+fi
+
+if [ -n "${LOCALE}" ]
+then
+       locale="${LOCALE}"
+       set_locale="true"
+fi
+
+if [ -z "${locale}" ]
+then
+       # Set a default one
+       locale=en_US.UTF-8
+       set_locale="true"
+fi
+
+if [ "${set_locale}" ]
+then
+       if echo "${locale}" | grep -sqE '^[[:lower:]]{2}$'
+       then
+               # input is like "locale=it", so we will convert and setup also the keyboard if not already set
+               if [ -z "${KBD}" ]
+               then
+                       # FIXME: look if this keyb is supported
+                       KBD="${locale}"
+                       really_export KBD
+               fi
+
+               uploc=$(echo "${locale}" | tr '[a-z]' '[A-Z]')
+               locale="${locale}_${uploc}.UTF-8"
+       fi
+
+       LANG=
+       language="$(echo ${locale} | cut -d. -f1)"
+       eval $(awk '/^'"${locale}"'/ { print "LANG=" $1 " codepage=" $2; exit; }' /root/usr/share/i18n/SUPPORTED)
+
+       if [ -z "${LANG}" ]
+       then
+               # Try and fallback to another codepage for this language.
+               eval $(awk '/^'"${language}"'/ { print "LANG=" $1 " codepage=" $2; exit; }' /root/usr/share/i18n/SUPPORTED)
+
+               if [ -n "${LANG}" ]
+               then
+                       log_warning_msg "Choosing locale '${LANG}' as '${locale}' is unsupported."
+               fi
+       fi
+
+       if [ -z "${LANG}" ]
+       then
+               log_warning_msg "Locale '${locale}' is unsupported."
+               codepage="UTF-8"
+               language="en_US"
+               locale="${language}.${codepage}"
+               LANG="${language}.${codepage}"
+       fi
+
+       if [ -d /root/etc/default/kdm.d/ ]
+       then
+               if ! grep -qs "^LANGUAGE" "${LANG}"
+               then
+                       printf 'LANGUAGE=%s\n' "${LANG}" >> /root/etc/default/kdm.d/live-autologin
+               fi
+       elif [ -f /root/etc/kde3/kdm/kdmrc ]
+       then
+               sed -i -r -e "s/#Language=.*/Language=${language}/" \
+                       /root/etc/kde3/kdm/kdmrc
+       fi
+
+       really_export LANG
+
+       printf 'LANG="%s"\n' "${LANG}" > /root/etc/default/locale
+       printf 'LANG="%s"\n' "${LANG}" > /root/etc/environment
+       printf '%s %s\n' "${LANG}" "${codepage}" > /root/etc/locale.gen
+
+       if [ -z "${SILENT}" ]
+       then
+               chroot /root /usr/sbin/locale-gen
+       else
+               chroot /root /usr/sbin/locale-gen > /dev/null 2>&1
+       fi
+fi
+
+log_end_msg
diff --git a/scripts/live-bottom/16umountfs b/scripts/live-bottom/16umountfs
new file mode 100755 (executable)
index 0000000..055c3f6
--- /dev/null
@@ -0,0 +1,38 @@
+#!/bin/sh
+
+#set -e
+
+# initramfs-tools header
+
+PREREQ=""
+
+prereqs()
+{
+       echo "${PREREQ}"
+}
+
+case "${1}" in
+       prereqs)
+               prereqs
+               exit 0
+               ;;
+esac
+
+# live-boot header
+
+. /live.vars
+
+. /scripts/live-functions
+
+log_begin_msg "Disabling umountfs for live specific filesystems"
+
+# live-boot script
+
+if [ -e /root/etc/init.d/umountfs ]
+then
+       sed -i  -e 's#pioodl $TMPFS_MTPTS)#pioodl $TMPFS_MTPTS | sed -e "s@\\ @\\n@" | grep -v ^/live)#' \
+               -e 's#pioodl $REG_MTPTS)#pioodl $REG_MTPTS | sed -e "s@\\ @\\n@" | grep -v ^/live | grep -v ^/filesystem) /#' \
+       /root/etc/init.d/umountfs
+fi
+
+log_end_msg
diff --git a/scripts/live-bottom/19keyboard b/scripts/live-bottom/19keyboard
new file mode 100755 (executable)
index 0000000..5a262fa
--- /dev/null
@@ -0,0 +1,123 @@
+#!/bin/sh
+
+#set -e
+
+# initramfs-tools header
+
+PREREQ=""
+
+prereqs()
+{
+       echo "${PREREQ}"
+}
+
+case "${1}" in
+       prereqs)
+               prereqs
+               exit 0
+               ;;
+esac
+
+# live-boot header
+
+if [ -n "${NOCONSOLEKEYBOARD}" ]
+then
+       exit 0
+fi
+
+. /scripts/live-functions
+
+log_begin_msg "Setting up console keyboard"
+
+# live-boot script
+
+kbd=
+cslayout=
+csvariant=
+csmodel=
+
+# commandline
+if [ -n "${KBD}" ]
+then
+       kbd="${KBD}"
+else
+       kbd=us
+fi
+
+really_export kbd
+
+if [ -n "${KLAYOUT}" ]
+then
+       cslayout="${KLAYOUT}"
+fi
+
+if [ -n "${KVARIANT}" ]
+then
+       csvariant="${KVARIANT}"
+fi
+
+if [ -n "${KMODEL}" ]
+then
+       csmodel="${KMODEL}"
+fi
+
+if [ -x /root/bin/setupcon ]
+then
+       if [ -f /root/etc/default/keyboard ]
+       then
+               # squeeze
+               KEYBOARD_FILE="/etc/default/keyboard"
+       elif [ -f /root/etc/default/console-setup ]
+       then
+               # lenny
+               KEYBOARD_FILE="/etc/default/console-setup"
+       fi
+
+       if [ -n "/root${KEYBOARD_FILE}" ]
+       then
+               if [ "${cslayout}" ]
+               then
+                       chroot /root sed -i "s/^XKBLAYOUT=.*/XKBLAYOUT=\"${cslayout}\"/" \
+                       ${KEYBOARD_FILE}
+
+                       if [ "${csvariant}" ]
+                       then
+                               chroot /root sed -i "s/^XKBVARIANT=.*/XKBVARIANT=\"${csvariant}\"/" \
+                               ${KEYBOARD_FILE}
+                       else
+                               live-preseed /root console-setup/variantcode '' false
+                       fi
+
+                       if [ "${csmodel}" ]
+                       then
+                               chroot /root sed -i "s/^XKBMODEL=.*/XKBMODEL=\"${csmodel}\"/" \
+                               ${KEYBOARD_FILE}
+                       else
+                               live-preseed /root console-setup/modelcode '' false
+                       fi
+               else
+                       live-preseed /root console-setup/layoutcode '' false
+                       live-preseed /root console-setup/variantcode '' false
+                       live-preseed /root console-setup/modelcode '' false
+               fi
+
+               live-preseed /root console-setup/optionscode '' false
+               live-preseed /root console-setup/codesetcode '' false
+
+               if [ -f /root/etc/init.d/usplash ]
+               then
+                       sed -i 's/CONSOLE_SCREEN=$/CONSOLE_SCREEN=setupcon/; t END; b; : END; n; b END' /root/etc/init.d/usplash
+               elif [ -f /root/etc/init/usplash.conf ]
+               then
+                       sed -i '/^post-stop script/a\
+    setupcon' /root/etc/init/usplash.conf
+               fi
+       fi
+elif [ -e /root/usr/sbin/install-keymap ]
+then
+       chroot /root /usr/sbin/install-keymap ${kbd}
+       live-preseed /root debian-installer/keymap "${kbd}"
+       live-preseed /root kbd-chooser/method "${kbd}"
+fi
+
+log_end_msg
diff --git a/scripts/live-bottom/20xconfig b/scripts/live-bottom/20xconfig
new file mode 100755 (executable)
index 0000000..abd9661
--- /dev/null
@@ -0,0 +1,121 @@
+#!/bin/sh
+
+#set -e
+
+# initramfs-tools header
+
+PREREQ=""
+
+prereqs()
+{
+       echo "${PREREQ}"
+}
+
+case "${1}" in
+       prereqs)
+               prereqs
+               exit 0
+               ;;
+esac
+
+# live-boot header
+
+if [ -n "${NOXAUTOCONFIG}" ]
+then
+       exit 0
+fi
+
+. /scripts/live-functions
+
+# live-boot script
+
+if [ -n "${TEXTONLY}" ]
+then
+       exit 0
+fi
+
+if [ ! -x /root/usr/bin/X ]
+then
+       exit 0
+fi
+
+log_begin_msg "Configuring X"
+
+if ! grep -q xforcevesa /proc/cmdline 2>&1 >/dev/null
+then
+       if [ "${TERM_TYPE}" = "serial" ]
+       then
+               # Don't bother trying to configure or start X on a serial
+               # console
+               rm -f /root/etc/rc?.d/S??[gkx]dm
+               exit 0
+       fi
+
+       locale=en_US.UTF-8
+
+       mount -o bind /sys /root/sys
+       mount -o bind /proc /root/proc
+       mount -o bind /dev /root/dev
+
+       if [ -n "${XDEBCONF}" -a -x /root/usr/sbin/xdebconfigurator ]
+       then
+               # xdebconfigurator
+               chroot /root /usr/sbin/xdebconfigurator
+       fi
+
+       if [ -n "${KOPTIONS}" ]
+       then
+               setoptions="set xserver-xorg/config/inputdevice/keyboard/options ${KOPTIONS}"
+       fi
+
+       if [ -n "${KVARIANT}" ]
+       then
+               setvariant="set xserver-xorg/config/inputdevice/keyboard/variant ${KVARIANT}"
+       fi
+
+       if [ -n "${KMODEL}" ]
+       then
+               setmodel="set xserver-xorg/config/inputdevice/keyboard/model ${KMODEL}"
+       fi
+
+       if [ -n "${KLAYOUT}" ]
+       then
+               setlayout="set xserver-xorg/config/inputdevice/keyboard/layout ${KLAYOUT}"
+       fi
+
+chroot /root debconf-communicate -fnoninteractive live-boot > /dev/null << EOF
+${setlayout}
+${setvariant}
+${setmodel}
+${setoptions}
+EOF
+
+       live-reconfigure /root xserver-xorg 2>&1 \
+               | grep -v "overwriting possibly-customised configuration" \
+               | grep -v "file; backup in /etc/X11/xorg.conf"
+
+       umount /root/sys
+       umount /root/proc
+       umount /root/dev
+else
+
+cat > /root/etc/X11/xorg.conf << EOF
+Section "Device"
+       Identifier      "Configured Video Device"
+       Driver          "vesa"
+EndSection
+
+Section "Monitor"
+       Identifier      "Configured Monitor"
+EndSection
+
+Section "Screen"
+       Identifier      "Default Screen"
+       Monitor         "Configured Monitor"
+       Device          "Configured Video Device"
+EndSection
+EOF
+
+fi
+
+log_end_msg
diff --git a/scripts/live-bottom/21xdriver b/scripts/live-bottom/21xdriver
new file mode 100755 (executable)
index 0000000..92bbd4f
--- /dev/null
@@ -0,0 +1,56 @@
+#!/bin/sh
+
+#set -e
+
+# initramfs-tools header
+
+PREREQ=""
+
+prereqs()
+{
+       echo "${PREREQ}"
+}
+
+case "${1}" in
+       prereqs)
+               prereqs
+               exit 0
+               ;;
+esac
+
+# live-boot header
+
+if [ -n "${NOXAUTOCONFIG}" ] || [ ! -x /root/usr/bin/X ] || [ -z "${XDRIVER}" ]
+then
+       exit 0
+fi
+
+. /scripts/live-functions
+
+log_begin_msg "Configuring X video driver"
+
+# live-boot script
+
+. /live.vars
+
+mount -o bind /sys /root/sys
+mount -o bind /proc /root/proc
+mount -o bind /dev /root/dev
+
+if [ "${XDRIVER}" != "dexconf" ]
+then
+
+chroot /root debconf-communicate -fnoninteractive live-boot > /dev/null << EOF
+set xserver-xorg/autodetect_video_card false
+set xserver-xorg/config/device/driver ${XDRIVER}
+EOF
+
+fi
+
+chroot /root dexconf
+
+umount /root/sys
+umount /root/proc
+umount /root/dev
+
+log_end_msg
diff --git a/scripts/live-bottom/21xvidemode b/scripts/live-bottom/21xvidemode
new file mode 100755 (executable)
index 0000000..ac28fad
--- /dev/null
@@ -0,0 +1,55 @@
+#!/bin/sh
+
+#set -e
+
+# initramfs-tools header
+
+PREREQ=""
+
+prereqs()
+{
+       echo "${PREREQ}"
+}
+
+case "${1}" in
+       prereqs)
+               prereqs
+               exit 0
+               ;;
+esac
+
+# live-boot header
+
+if [ -n "${NOXAUTOCONFIG}" ]
+then
+       exit 0
+fi
+
+if [ ! -x /root/usr/bin/X ]
+then
+       exit 0
+fi
+
+[ -n "$XVIDEOMODE" ] || exit
+
+. /scripts/live-functions
+
+log_begin_msg "Configuring X video modes"
+
+# live-boot script
+
+. /live.vars
+
+if [ "${XVIDEOMODE}" = "auto" ]
+then
+       rm -f /root/etc/X11/Xsession.d/21xvidemode
+
+       exit 0
+fi
+
+if [ -x "$(which xrandr 2>/dev/null)" ]
+then
+       echo "xrandr -s ${XVIDEOMODE} || /bin/true" >> /root/etc/X11/Xsession.d/21xvidemode
+fi
+
+log_end_msg
diff --git a/scripts/live-bottom/22serialtty b/scripts/live-bottom/22serialtty
new file mode 100755 (executable)
index 0000000..ee9ddb1
--- /dev/null
@@ -0,0 +1,52 @@
+#!/bin/sh
+
+#set -e
+
+# initramfs-tools header
+
+PREREQ=""
+
+prereqs()
+{
+       echo "${PREREQ}"
+}
+
+case "${1}" in
+       prereqs)
+               prereqs
+               exit 0
+               ;;
+esac
+
+# live-boot header
+
+# this bottom script currently only works with upstart
+if [ ! -d /root/etc/init ]
+then
+       exit 0
+fi
+
+. /scripts/live-functions
+
+# live-boot script
+
+for ARGUMENT in $(cat /proc/cmdline)
+do
+       case ${ARGUMENT} in
+               serialtty=*)
+                       tty="${ARGUMENT#serialtty=}"
+
+                       log_begin_msg "Setting up a serial tty..."
+
+cat > /root/etc/init/${tty}.conf <<EOF
+start on stopped rc RUNLEVEL=[2345]
+stop on runlevel [!2345]
+
+respawn
+exec /sbin/getty -L 115200 ${tty} vt100
+EOF
+
+                       log_end_msg
+                       ;;
+       esac
+done
diff --git a/scripts/live-bottom/23networking b/scripts/live-bottom/23networking
new file mode 100755 (executable)
index 0000000..d73f63b
--- /dev/null
@@ -0,0 +1,149 @@
+#!/bin/sh
+
+#set -e
+
+# initramfs-tools header
+
+PREREQ=""
+
+prereqs()
+{
+       echo "${PREREQ}"
+}
+
+case "${1}" in
+       prereqs)
+               prereqs
+               exit 0
+               ;;
+esac
+
+# live-boot header
+
+if [ -n "${NONETWORKING}" ]
+then
+       exit 0
+fi
+
+. /scripts/live-functions
+
+log_begin_msg "Preconfiguring networking"
+
+# live-boot script
+
+IFFILE="/root/etc/network/interfaces"
+
+if [ "${STATICIP}" = "frommedia" -a -e  "${IFFILE}" ]
+then
+       # will use existent /etc/network/interfaces
+       log_end_msg
+       exit 0
+fi
+
+cat > "${IFFILE}" << EOF
+auto lo
+iface lo inet loopback
+
+EOF
+
+udevadm trigger
+udevadm settle
+
+if [ -z "${NETBOOT}" -a -n "${STATICIP}" -a "${STATICIP}" != "frommedia" ]
+then
+       parsed=$(echo "${STATICIP}" | sed -e 's/:/ /g')
+
+       for ifline in ${parsed}
+       do
+               ifname="$(echo ${ifline} | cut -f1 -d ',')"
+               ifaddress="$(echo ${ifline} | cut -f2 -d ',')"
+               ifnetmask="$(echo ${ifline} | cut -f3 -d ',')"
+               ifgateway="$(echo ${ifline} | cut -f4 -d ',')"
+
+cat >> "${IFFILE}" << EOF
+auto ${ifname}
+iface ${ifname} inet static
+    address ${ifaddress}
+    netmask ${ifnetmask}
+    gateway ${ifgateway}
+
+EOF
+
+       done
+else
+       if [ -z "${NETBOOT}" ]
+       then
+               # default, dhcp assigned
+               method="dhcp"
+       else
+               # make sure that the preconfigured interface would not get reassigned by dhcp
+               # on startup by ifup script - otherwise our root fs might be disconnected!
+               method="manual"
+       fi
+
+       # iterate the physical interfaces and add them to the interfaces list
+       if [ "${method}" != dhcp ] || ([ ! -x /root/usr/sbin/NetworkManager ] && [ ! -x /root/usr/sbin/wicd ])
+       then
+               for interface in /sys/class/net/eth* /sys/class/net/ath* /sys/class/net/wlan*
+               do
+                       [ -e ${interface} ] || continue
+                       i="$(basename ${interface})"
+
+cat >> "${IFFILE}" << EOF
+auto ${i}
+iface ${i} inet ${method}
+
+EOF
+
+               done
+       fi
+
+       if [ ! -f /root/etc/resolv.conf ] || [ -z "$(cat /root/etc/resolv.conf)" ]
+       then
+               if [ -f /netboot.config ]
+               then
+                       # create a resolv.conf if it is not present or empty
+                       cp /netboot.config /root/var/log/netboot.config
+
+                       rc_search=$(cat netboot.config | awk '/domain/{print $3}')
+                       rc_server0=$(cat netboot.config | awk '/dns0/{print $5}')
+                       rc_server1=$(cat netboot.config | awk '/dns0/{print $8}')
+                       rc_server0="nameserver ${rc_server0}"
+
+                       if [ "${rc_server1}" = "0.0.0.0" ]
+                       then
+                               rc_server1=""
+                       else
+                               rc_server1="nameserver ${rc_server1}"
+                       fi
+
+cat > /root/etc/resolv.conf << EOF
+# /etc/resolv.conf
+# Autogenerated by live-boot
+search ${rc_search}
+domain ${rc_search}
+${rc_server0}
+${rc_server1}
+EOF
+
+                       cat /root/etc/resolv.conf >> /root/var/log/netboot.config
+               fi
+       fi
+fi
+
+#if [ ! -x /root/usr/sbin/NetworkManager ]
+#then
+#      for i in eth0 eth1 eth2 ath0 wlan0
+#      do
+#              grep -q "iface ${i}" ${IFFILE} && continue
+#
+#cat >> "${IFFILE}" << EOF
+#auto ${i}
+#iface ${i} inet dhcp
+#
+#EOF
+#
+#      done
+#fi
+
+log_end_msg
diff --git a/scripts/live-bottom/24preseed b/scripts/live-bottom/24preseed
new file mode 100755 (executable)
index 0000000..85c6494
--- /dev/null
@@ -0,0 +1,71 @@
+#!/bin/sh
+
+#set -e
+
+# initramfs-tools header
+
+PREREQ=""
+
+prereqs()
+{
+       echo "${PREREQ}"
+}
+
+case "${1}" in
+       prereqs)
+               prereqs
+               exit 0
+               ;;
+esac
+
+# live-boot header
+
+if [ -n "${NOPRESEED}" ]
+then
+       exit 0
+fi
+
+. /scripts/live-functions
+
+log_begin_msg "Loading preseed file"
+
+# live-boot script
+
+if [ -e /preseed.cfg ]
+then
+       chroot /root debconf-set-selections < /preseed.cfg
+fi
+
+if [ -n "${LOCATIONS}" ]
+then
+       for item in ${LOCATIONS}
+       do
+               chroot /root debconf-set-selections < "/root${item}"
+       done
+fi
+
+if [ -n "${PRESEEDS}" ]
+then
+       for preseed in ${PRESEEDS}
+       do
+               question="${preseed%%=*}"
+               value="${preseed#*=}"
+
+               live-preseed /root "${question}" "${value}"
+       done
+fi
+
+reply="$(echo "GET preseed/early_command" | chroot /root debconf-communicate -fnoninteractive live-boot)"
+
+if [ "${reply#0 }" != "${reply}" ]
+then
+       reply="${reply#0 }"
+       sh -c "${reply}"
+fi
+
+# Clear out debconf database backup files to save memory.
+rm -f /root/var/cache/debconf/*.dat-old
+
+log_end_msg
+
+exit 0
diff --git a/scripts/live-bottom/25configure_init b/scripts/live-bottom/25configure_init
new file mode 100755 (executable)
index 0000000..a84eb75
--- /dev/null
@@ -0,0 +1,118 @@
+#!/bin/sh
+
+#set -e
+
+# initramfs-tools header
+
+PREREQ=""
+
+prereqs()
+{
+       echo "${PREREQ}"
+}
+
+case "${1}" in
+       prereqs)
+               prereqs
+               exit 0
+               ;;
+esac
+
+# live-boot header
+
+. /scripts/live-functions
+
+log_begin_msg "Setting up init"
+
+# live-boot script
+
+# Arrange for shells on virtual consoles, rather than login prompts
+
+if [ -z "${NOAUTOLOGIN}" ] && [ -n "${USERNAME}" ]
+then
+       if [ ! -z "${LIVE_GETTY}" ]
+       then
+               if echo "${DEFCONSOLE}" | grep -qs ttyS
+               then
+                       # AUTOMATIC SERIAL CONSOLE #
+                       PORT=$(echo "${DEFCONSOLE}" | \
+                               sed -e 's%,.*%%')
+                       SPEED=$(echo "${DEFCONSOLE}" | \
+                               sed -e 's%ttyS[0-9]\+,%%' \
+                               -e's%\([0-9]\+\).*%\1%')
+
+                       if ! ( sed -n -e'/^[^#]/p' /root/etc/inittab | grep -qs ":respawn:/sbin/getty.*${PORT}" )
+                       then
+                               IDs="A B C D E F G H I J K L M N O P Q R S T Q U V V X Y Z 0 1 2 3 4 5 6 7 8 9"
+
+                               for ID1 in ${IDs}
+                               do
+                                       for ID2 in ${IDs}
+                                       do
+                                               ID="${ID1}${ID2}"
+
+                                               if ! grep "^${ID}:" /etc/inittab
+                                               then
+                                                       #make sure it is not already in use
+                                                       break 2
+                                               fi
+                                       done
+                               done
+
+                               echo "${ID}:2345:respawn:/sbin/live-getty -L ${PORT} ${SPEED} vt100" >> /root/etc/inittab
+                       fi
+               fi
+
+               if [ -f /root/etc/inittab ]
+               then
+                       sed -i -e'/^[^#]/s%respawn:/sbin/getty%respawn:/sbin/live-getty%' /root/etc/inittab
+               fi
+       else
+               if [ -f /root/etc/inittab ]
+               then
+                       sed -i -e "s|^\([^:]*:[^:]*:[^:]*\):.*getty.*\<\(tty[0-9]*\).*$|\1:/bin/login -f ${USERNAME} </dev/\2 >/dev/\2 2>\&1|" /root/etc/inittab
+               fi
+
+               if [ "/root/etc/init/tty*" != "$(echo /root/etc/init/tty*)" ]
+               then
+                       for f in /root/etc/init/tty*
+                       do
+                               sed -i -e "s|^exec.*|exec /bin/login -f $USERNAME </dev/$(basename $f .conf) > /dev/$(basename $f .conf) 2>\&1|" $f
+                       done
+               fi
+       fi
+
+       # Since we use autologin, lastlog doesn't make sense on the console.
+       sed -i '/^[^#].*pam_lastlog\.so/s/^/# /' /root/etc/pam.d/login
+fi
+
+# do not try to remove files if using file-rc
+if [ -d /root/etc/rc0.d ]
+then
+       # This has the nice side effect of the cron.{daily,weekly,monthly} jobs in
+       # /etc/crontab remaining disabled, yet also not run by anacron
+       if [ -x /root/usr/sbin/anacron ]
+       then
+               chroot /root dpkg-divert --add --rename --quiet /usr/sbin/anacron
+               ln -s /bin/true /root/usr/sbin/anacron
+       fi
+
+       # Avoid clobbering the user's clock
+       rm -f /root/etc/rc?.d/K??hwclock.sh /root/etc/init/hwclock-save.conf
+fi
+
+# Disable readahead since it doesn't play well with squashfs + unionfs
+# use chmod instead of mv to not trigger unionfs bugs.
+if [ -e /root/sbin/readahead-list ]
+then
+       chmod -x /root/sbin/readahead-list
+fi
+
+# Disable ureadahead too since we don't ship a pack file for it anyway, so
+# all we'll end up doing is profiling the live CD boot. ureadahead also
+# breaks partman occasionally by reading from its synchronisation FIFOs.
+rm -f /root/etc/init/ureadahead.conf
+
+log_end_msg
+
+exit 0
diff --git a/scripts/live-bottom/30accessibility b/scripts/live-bottom/30accessibility
new file mode 100755 (executable)
index 0000000..ef83c72
--- /dev/null
@@ -0,0 +1,182 @@
+#!/bin/sh
+
+#set -e
+
+# initramfs-tools header
+
+PREREQ=""
+
+prereqs()
+{
+       echo "${PREREQ}"
+}
+
+case "${1}" in
+       prereqs)
+               prereqs
+               exit 0
+               ;;
+esac
+
+# live-boot header
+
+if [ -n "${NOACCESSIBILITY}" ]
+then
+       exit 0
+fi
+
+. /scripts/live-functions
+
+if [ -z "${USERNAME}" ]
+then
+       echo "No default user for accessibility options."
+       exit 0
+fi
+
+log_begin_msg "Configuring accessibility options"
+
+# live-boot script
+
+gconf_version=$(chroot /root /usr/bin/dpkg-query -W --showformat='${Version}' gconf2 2>/dev/null) || gconf_version=""
+
+gct ()
+{
+       if [ "${gconf_version}" ]
+       then
+               chroot /root sudo -u "${USERNAME}" gconftool-2 "${@}"
+       fi
+}
+
+remove_applet ()
+{
+       # Code to remove an applet from the default panel setup
+       # This is rather hacky, but I can't think of a one or two line regular
+       # expression to do this any more efficiently. Patches welcome. In
+       # addition, setting these via gconf also doesn't work for some reason.
+
+       local line_no prior_line next_line
+
+       line_no="$(grep -n "<string>$1</string>" /root/usr/share/gconf/defaults/05_panel-default-setup.entries | cut -f 1 -d :)"
+       [ "$line_no" ] || return
+       prior_line="$((line_no-1))"
+       next_line="$((line_no+1))"
+
+       sed -i -n "${prior_line},${next_line}!p" /root/usr/share/gconf/defaults/05_panel-default-setup.entries
+
+       chroot /root update-gconf-defaults
+}
+
+case ${ACCESS} in
+       access=v1)
+               # Lesser Visual Impairment
+               gct -s -t string /desktop/gnome/interface/gtk_theme HighContrastLargePrint
+               gct -s -t string /desktop/gnome/interface/icon_theme HighContrast
+               gct -s -t string /desktop/gnome/interface/monospace_font_name "monospace 18"
+               gct -s -t string /desktop/gnome/interface/font_name "sans 18"
+               gct -s -t string /apps/metacity/general/theme Atlanta
+               gct -s -t string /desktop/gnome/background/picture_filename ""
+               gct -s -t string /desktop/gnome/background/picture_options none
+               gct -s -t string /desktop/gnome/background/primary_color \#666666
+               gct -s -t string /desktop/gnome/background/secondary_color \#7F7F7F
+               gct -s -t string /desktop/gnome/background/color_shading_type solid
+               gct -s -t int /desktop/gnome/peripherals/mouse/cursor_size 48
+               gct -s -t string /desktop/gnome/peripherals/mouse/cursor_theme whiteglass
+               ;;
+
+       access=v2)
+               # Moderate Visual Impairment
+               gct -s -t bool /desktop/gnome/interface/accessibility true
+               gct -s -t bool /desktop/gnome/applications/at/visual/startup true
+               gct -s -t string /desktop/gnome/applications/at/visual/exec orca
+               gct -s -t bool /apps/gksu/disable-grab true
+               gct -s -t string /desktop/gnome/applications/window_manager/default /usr/bin/metacity
+               sed -i -e 's/# Host alias specification/Defaults\tenv_keep = "ORBIT_SOCKETDIR XDG_SESSION_COOKIE GTK_MODULES"\n\n# Host alias specification/g' /root/etc/sudoers
+
+               if [ -x /root/usr/bin/orca ]
+               then
+                       mkdir -p /root/home/${USERNAME}/.orca
+                       echo "import orca.settings" >> /root/home/${USERNAME}/.orca/user-settings.py
+                       echo "orca.settings.enableSpeech = False" >> /root/home/${USERNAME}/.orca/user-settings.py
+                       echo "orca.settings.enableMagnifier = True" >> /root/home/${USERNAME}/.orca/user-settings.py
+                       chroot /root chown -R ${USERNAME}:${USERNAME} /home/${USERNAME}/.orca
+               fi
+               ;;
+
+       access=v3)
+               # Blindness
+               # Disabled for now, until we know eSpeak works.
+               #gct -s -t bool /desktop/gnome/sound/enable_esd false
+               gct -s -t bool /desktop/gnome/interface/accessibility true
+               gct -s -t bool /desktop/gnome/applications/at/visual/startup true
+               gct -s -t string /desktop/gnome/applications/at/visual/exec orca
+               gct -s -t string /apps/empathy/conversation/theme classic
+               gct -s -t bool /apps/gksu/disable-grab true
+               gct -s -t string /desktop/gnome/applications/window_manager/default /usr/bin/metacity
+               sed -i -e 's/# Host alias specification/Defaults\tenv_keep = "ORBIT_SOCKETDIR XDG_SESSION_COOKIE GTK_MODULES"\n\n# Host alias specification/g' /root/etc/sudoers
+
+               remove_applet fast_user_switch
+               if [ -x /root/usr/bin/orca ]
+               then
+                       mkdir -p /root/home/$USERNAME/.orca
+                       chroot /root chown -R $USERNAME.$USERNAME /home/$USERNAME/.orca
+               fi
+               ;;
+
+       braille=ask)
+               # Braille
+               gct -s -t bool /desktop/gnome/interface/accessibility true
+               gct -s -t bool /desktop/gnome/applications/at/visual/startup true
+               gct -s -t string /desktop/gnome/applications/at/visual/exec orca
+               gct -s -t bool /apps/gksu/disable-grab true
+               gct -s -t string /desktop/gnome/applications/window_manager/default /usr/bin/metacity
+               gct -s -t string /apps/empathy/conversation/theme classic
+               sed -i -e 's/# Host alias specification/Defaults\tenv_keep = "ORBIT_SOCKETDIR XDG_SESSION_COOKIE GTK_MODULES"\n\n# Host alias specification/g' /root/etc/sudoers
+
+               if [ -x /root/usr/bin/orca ]
+               then
+                       mkdir -p /root/home/${USERNAME}/.orca
+                       echo "import orca.settings" >> /root/home/${USERNAME}/.orca/user-settings.py
+                       echo "orca.settings.enableSpeech = False" >> /root/home/${USERNAME}/.orca/user-settings.py
+                       echo "orca.settings.enableBraille = True" >> /root/home/${USERNAME}/.orca/user-settings.py
+                       laptop_detect
+                       chroot /root chown -R ${USERNAME}:${USERNAME} /home/${USERNAME}/.orca
+               fi
+
+               remove_applet fast_user_switch
+               ;;
+
+       access=m1)
+               # Minor Motor Difficulties
+               gct -s -t bool /desktop/gnome/accessibility/keyboard/enable true
+               gct -s -t bool /desktop/gnome/accessibility/keyboard/mousekeys_enable true
+               gct -s -t bool /desktop/gnome/accessibility/keyboard/stickykeys_enable true
+               gct -s -t bool /desktop/gnome/accessibility/keyboard/stickykeys_modifier_beep true
+               gct -s -t bool /desktop/accessibility/gnome/keyboard/stickykeys_two_key_off false
+               gct -s -t bool /desktop/gnome/peripherals/keyboard/repeat true
+               gct -s -t int /desktop/gnome/peripherals/keyboard/delay 700
+               gct -s -t int /desktop/gnome/peripherals/keyboard/rate 10
+               gct -s -t bool /apps/gksu/disable-grab true
+
+               if [ -e /root/etc/xdg/xfce4/mcs_settings/keyboard.xml ]
+               then
+                       sed -i 's/0/1/' /root/etc/xdg/xfce4/mcs_settings/keyboard.xml
+               fi
+               ;;
+
+       access=m2)
+               # Motor Difficulties - pointing devices
+               gct -s -t bool /desktop/gnome/accessibility/keyboard/enable true
+               gct -s -t bool /desktop/gnome/interface/accessibility true
+               gct -s -t bool /desktop/gnome/accessibility/keyboard/stickykeys_enable true
+               gct -s -t bool /desktop/gnome/accessibility/keyboard/stickykeys_modifier_beep false
+               gct -s -t bool /desktop/accessibility/gnome/keyboard/stickykeys_two_key_off false
+               gct -s -t list --list-type=string /desktop/gnome/accessibility/startup/exec_ats [onboard]
+
+               if [ -e /root/etc/xdg/xfce4/mcs_settings/keyboard.xml ]
+               then
+                       sed -i '/Sticky/ s/0/1/' /root/etc/xdg/xfce4/mcs_settings/keyboard.xml
+               fi
+               ;;
+esac
+
+log_end_msg
diff --git a/scripts/live-bottom/41apt_cdrom b/scripts/live-bottom/41apt_cdrom
new file mode 100755 (executable)
index 0000000..1a36e7f
--- /dev/null
@@ -0,0 +1,47 @@
+#!/bin/sh
+
+#set -e
+
+# initramfs-tools header
+
+PREREQ=""
+
+prereqs()
+{
+       echo "${PREREQ}"
+}
+
+case "${1}" in
+       prereqs)
+               prereqs
+               exit 0
+               ;;
+esac
+
+# live-boot header
+
+if [ -n "${NOAPTCDROM}" ]
+then
+       exit 0
+fi
+
+. /scripts/live-functions
+
+log_begin_msg "Adding APT-CDROM source"
+
+# live-boot script
+
+if [ -d /root/cdrom ]
+then
+       mount -n -o bind /sys /root/sys
+       mount -n -o bind /proc /root/proc
+       mount -n -o bind /dev /root/dev
+
+       chroot /root apt-cdrom -o Acquire::cdrom::AutoDetect=false -m add
+
+       umount /root/dev
+       umount /root/proc
+       umount /root/sys
+fi
+
+log_end_msg
diff --git a/scripts/live-functions b/scripts/live-functions
new file mode 100644 (file)
index 0000000..b1d7503
--- /dev/null
@@ -0,0 +1,117 @@
+
+. /scripts/functions
+. /live.vars
+
+log_wait_msg ()
+{
+       # Print a message and wait for enter
+       if [ -x /bin/plymouth ] && plymouth --ping
+       then
+               plymouth message --text="$@"
+               plymouth watch-keystroke | read nunya
+       elif [ -x /sbin/usplash_write ]
+       then
+               /sbin/usplash_write "INPUTENTER ${@}"
+               read nunya < /dev/.initramfs/usplash_outfifo
+       else if [ -x /sbin/splashy_update ] ; then
+               /sbin/splashy_update "getstring ${@}" | read nunya
+       fi ; fi
+
+       _log_msg "Waiting: ${@} ... \n"
+}
+
+really_export ()
+{
+       STRING="${1}"
+       VALUE="$(eval echo -n \${$STRING})"
+
+       if [ -f /live.vars ] && grep -sq "export ${STRING}" /live.vars
+       then
+               sed -i -e 's/\('${STRING}'=\).*$/\1'${VALUE}'/' /live.vars
+       else
+               echo "export ${STRING}=\"${VALUE}\"" >> /live.vars
+       fi
+
+       eval export "${STRING}"="${VALUE}"
+}
+
+lang2locale() {
+       langpart="${1%%_*}"
+       if [ "$1" != "C" ]; then
+               # Match the language code with 3rd field in languagelist
+               line=$(grep -v "^#" /usr/share/live-boot/languagelist | cut -f1,3,6 -d\; | grep -v ';C$' | grep "^$langpart;")
+               if [ -n "$line" ]; then
+                       if [ "$(echo "$line" | grep -c '')" -gt 1 ]; then
+                               # More than one match; try matching the
+                               # country as well.
+                               countrypart="${1#*_}"
+                               if [ "$countrypart" = "$1" ]; then
+                                       countryline="$(echo "$line" | head -n1)"
+                                       echo "${countryline##*;}"
+                                       return
+                               fi
+                               countrypart="${countrypart%%[@.]*}"
+                               countryline="$(echo "$line" | grep ";$countrypart;" | head -n1 || true)"
+                               if [ "$countryline" ]; then
+                                       echo "${countryline##*;}"
+                                       return
+                               fi
+                       fi
+                       echo "${line##*;}"
+               fi
+       else
+               echo "C"
+       fi
+}
+
+# Override maybe_break from scripts/functions
+maybe_break()
+{
+       if [ "${break}" = "$1" ]; then
+               # Call original panic
+               . /scripts/functions
+               panic "Spawning shell within the initramfs"
+       fi
+}
+
+# Override panic from scripts/functions
+panic() {
+
+       DEB_1="\033[1;31m .''\`.  \033[0m"
+       DEB_2="\033[1;31m: :'  : \033[0m"
+       DEB_3="\033[1;31m\`. \`'\`  \033[0m"
+       DEB_4="\033[1;31m  \`-    \033[0m"
+
+       LIVELOG="\033[1;37m/live.log\033[0m"
+       DEBUG="\033[1;37mdebug\033[0m"
+
+       # Reset redirections to avoid buffering
+       exec 1>&6 6>&-
+       exec 2>&7 7>&-
+       kill ${tailpid}
+
+       printf "\n\n"
+       printf "     ${DEB_1}\n"
+       printf "     ${DEB_2}  \033[1;37mBOOT FAILED!\033[0m\n"
+       printf "     ${DEB_3}\n"
+       printf "     ${DEB_4}  This Debian Live image failed to boot.\n\n"
+
+       printf "  Please file a bug against the 'live-boot' package or email the Debian\n"
+       printf "  Live mailing list at <debian-live@lists.debian.org>, making sure to note the\n"
+       printf "  exact version, name and distribution of the image you were attempting to boot.\n\n"
+
+       printf "  The file ${LIVELOG} contains some debugging information but booting with the\n"
+       printf "  ${DEBUG} command-line parameter will greatly increase its verbosity which is\n"
+       printf "  extremely useful when diagnosing issues.\n\n"
+
+       if [ -n "${panic}" ]; then
+               printf "  live-boot will now restart your system. "
+       else
+               printf "  live-boot will now start a shell. "
+       fi
+       printf "The error message was:\n\n    "
+
+       # Call original panic
+       . /scripts/functions
+       panic "$@"
+}
diff --git a/scripts/live-helpers b/scripts/live-helpers
new file mode 100644 (file)
index 0000000..314c33f
--- /dev/null
@@ -0,0 +1,469 @@
+# live-boot helper functions, used by live-boot on boot and by live-snapshot
+
+if [ ! -x "/bin/fstype" ]
+then
+       # klibc not in path -> not in initramfs
+       export PATH="${PATH}:/usr/lib/klibc/bin"
+fi
+
+# handle upgrade path from old udev (using udevinfo) to
+# recent versions of udev (using udevadm info)
+if [ -x /sbin/udevadm ]
+then
+       udevinfo='/sbin/udevadm info'
+else
+       udevinfo='udevinfo'
+fi
+
+sys2dev ()
+{
+       sysdev=${1#/sys}
+       echo "/dev/$($udevinfo -q name -p ${sysdev} 2>/dev/null|| echo ${sysdev##*/})"
+}
+
+subdevices ()
+{
+       sysblock=${1}
+       r=""
+
+       for dev in "${sysblock}" "${sysblock}"/*
+       do
+               if [ -e "${dev}/dev" ]
+               then
+                       r="${r} ${dev}"
+               fi
+       done
+
+       echo ${r}
+}
+
+is_supported_fs ()
+{
+       fstype="${1}"
+
+       # Validate input first
+       if [ -z "${fstype}" ]
+       then
+               return 1
+       fi
+
+       # Try to look if it is already supported by the kernel
+       if grep -q ${fstype} /proc/filesystems
+       then
+               return 0
+       else
+               # Then try to add support for it the gentle way using the initramfs capabilities
+               modprobe ${fstype}
+               if grep -q ${fstype} /proc/filesystems
+               then
+                       return 0
+               # Then try the hard way if /root is already reachable
+               else
+                       kmodule="/root/lib/modules/`uname -r`/${fstype}/${fstype}.ko"
+                       if [ -e "${kmodule}" ]
+                       then
+                               insmod "${kmodule}"
+                               if grep -q ${fstype} /proc/filesystems
+                               then
+                                       return 0
+                               fi
+                       fi
+               fi
+       fi
+
+       return 1
+}
+
+get_fstype ()
+{
+       # udev (>= 146) no longer provides vol_id
+       if [ -x /lib/udev/vol_id ]
+       then
+               # lenny
+               /lib/udev/vol_id -t ${1} 2>/dev/null
+       else
+               # squeeze
+               /sbin/blkid -s TYPE -o value $1 2>/dev/null
+       fi
+}
+
+where_is_mounted ()
+{
+       device=${1}
+
+       if grep -q "^${device} " /proc/mounts
+       then
+               # return the first found
+               grep -m1 "^${device} " /proc/mounts | cut -f2 -d ' '
+       fi
+}
+
+lastline ()
+{
+       while read lines
+       do
+               line=${lines}
+       done
+
+       echo "${line}"
+}
+
+base_path ()
+{
+       testpath="${1}"
+       mounts="$(awk '{print $2}' /proc/mounts)"
+       testpath="$(busybox realpath ${testpath})"
+
+       while true
+       do
+               if echo "${mounts}" | grep -qs "^${testpath}"
+               then
+                       set -- $(echo "${mounts}" | grep "^${testpath}" | lastline)
+                       echo ${1}
+                       break
+               else
+                       testpath=$(dirname $testpath)
+               fi
+       done
+}
+
+fs_size ()
+{
+       # Returns used/free fs kbytes + 5% more
+       # You could pass a block device as ${1} or the mount point as ${2}
+
+       dev="${1}"
+       mountp="${2}"
+       used="${3}"
+
+       if [ -z "${mountp}" ]
+       then
+               mountp="$(where_is_mounted ${dev})"
+
+               if [ -z "${mountp}" ]
+               then
+                       mountp="/mnt/tmp_fs_size"
+
+                       mkdir -p "${mountp}"
+                       mount -t $(get_fstype "${dev}") -o ro "${dev}" "${mountp}" || log_warning_msg "cannot mount -t $(get_fstype ${dev}) -o ro ${dev} ${mountp}"
+
+                       doumount=1
+               fi
+       fi
+
+       if [ "${used}" = "used" ]
+       then
+               size=$(du -ks ${mountp} | cut -f1)
+               size=$(expr ${size} + ${size} / 20 ) # FIXME: 5% more to be sure
+       else
+               # free space
+               size="$(df -k | grep -s ${mountp} | awk '{print $4}')"
+       fi
+
+       if [ -n "${doumount}" ]
+       then
+               umount "${mountp}" || log_warning_msg "cannot umount ${mountp}"
+               rmdir "${mountp}"
+       fi
+
+       echo "${size}"
+}
+
+load_keymap ()
+{
+       # Load custom keymap
+       if [ -x /bin/loadkeys -a -r /etc/boottime.kmap.gz ]
+       then
+               loadkeys /etc/boottime.kmap.gz
+       fi
+}
+
+setup_loop ()
+{
+       local fspath=${1}
+       local module=${2}
+       local pattern=${3}
+       local offset=${4}
+       local encryption=${5}
+       local readonly=${6}
+
+       # the output of setup_loop is evaluated in other functions,
+       # modprobe leaks kernel options like "libata.dma=0"
+       # as "options libata dma=0" on stdout, causing serious
+       # problems therefor, so instead always avoid output to stdout
+       modprobe -q -b "${module}" 1>/dev/null
+
+       udevadm settle
+
+       for loopdev in ${pattern}
+       do
+               if [ "$(cat ${loopdev}/size)" -eq 0 ]
+               then
+                       dev=$(sys2dev "${loopdev}")
+                       options=''
+
+                       if [ -n "${readonly}" ]
+                       then
+                               if losetup --help 2>&1 | grep -q -- "-r\b"
+                               then
+                                       options="${options} -r"
+                               fi
+                       fi
+
+                       if [ 0 -lt "${offset}" ]
+                       then
+                               options="${options} -o ${offset}"
+                       fi
+
+                       if [ -z "${encryption}" ]
+                       then
+                               losetup ${options} "${dev}" "${fspath}"
+                       else
+                               # Loop AES encryption
+                               while true
+                               do
+                                       load_keymap
+
+                                       echo -n "Enter passphrase for root filesystem: " >&6
+                                       read -s passphrase
+                                       echo "${passphrase}" > /tmp/passphrase
+                                       unset passphrase
+                                       exec 9</tmp/passphrase
+                                       /sbin/losetup ${options} -e "${encryption}" -p 9 "${dev}" "${fspath}"
+                                       error=${?}
+                                       exec 9<&-
+                                       rm -f /tmp/passphrase
+
+                                       if [ 0 -eq ${error} ]
+                                       then
+                                               unset error
+                                               break
+                                       fi
+
+                                       echo
+                                       echo -n "There was an error decrypting the root filesystem ... Retry? [Y/n] " >&6
+                                       read answer
+
+                                       if [ "$(echo "${answer}" | cut -b1 | tr A-Z a-z)" = "n" ]
+                                       then
+                                               unset answer
+                                               break
+                                       fi
+                               done
+                       fi
+
+                       echo "${dev}"
+                       return 0
+               fi
+       done
+
+       panic "No loop devices available"
+}
+
+try_mount ()
+{
+       dev="${1}"
+       mountp="${2}"
+       opts="${3}"
+       fstype="${4}"
+
+       old_mountp="$(where_is_mounted ${dev})"
+
+       if [ -n "${old_mountp}" ]
+       then
+               if [ "${opts}" != "ro" ]
+               then
+                       mount -o remount,"${opts}" "${dev}" "${old_mountp}" || panic "Remounting ${dev} ${opts} on ${old_mountp} failed"
+               fi
+
+               mount -o bind "${old_mountp}" "${mountp}" || panic "Cannot bind-mount ${old_mountp} on ${mountp}"
+       else
+               if [ -z "${fstype}" ]
+               then
+                       fstype=$(get_fstype "${dev}")
+               fi
+               mount -t "${fstype}" -o "${opts}" "${dev}" "${mountp}" || \
+               ( echo "SKIPPING: Cannot mount ${dev} on ${mountp}, fstype=${fstype}, options=${opts}" > live.log && return 0 )
+       fi
+}
+
+find_cow_device ()
+{
+       # Returns a device containing a partition labeled "${pers_label}" or containing a file named the same way
+       #  in the latter case the partition containing the file is left mounted
+       #  if is not in black_listed_devices
+       pers_label="${1}"
+       cow_backing="/${pers_label}-backing"
+       black_listed_devices="${2}"
+
+       if [ -z "${PERSISTENT_PATH}" ]
+       then
+               pers_fpath=${cow_backing}/${pers_label}
+       else
+               pers_fpath=${cow_backing}/${PERSISTENT_PATH}/${pers_label}
+       fi
+
+       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}")
+
+                       if echo "${black_listed_devices}" | grep -q "${devname}"
+                       then
+                               # skip this device enterely
+                               break
+                       fi
+
+                       # Checking for a luks device
+                       if [ "${PERSISTENT}" = "cryptsetup" ] && [ -e /sbin/cryptsetup ] && /sbin/cryptsetup isLuks ${devname}
+                       then
+                               while true
+                               do
+                                       load_keymap
+
+                                       /lib/cryptsetup/askpass "Enter passphrase for ${pers_label} on ${devname}: " | /sbin/cryptsetup -T 1 luksOpen ${devname} $(basename ${devname}) --key-file=-
+                                       error=${?}
+
+                                       devname="/dev/mapper/$(basename ${devname})"
+
+                                       if [ 0 -eq ${error} ]
+                                       then
+                                               unset error
+                                               break
+                                       fi
+
+                                       echo
+                                       echo -n "There was an error decrypting ${devname} ... Retry? [Y/n] " >&6
+                                       read answer
+
+                                       if [ "$(echo "${answer}" | cut -b1 | tr A-Z a-z)" = "n" ]
+                                       then
+                                               unset answer
+                                               break
+                                       fi
+                               done
+                       fi
+
+                       # udev (>= 146) no longer provides vol_id
+                       if [ -x /lib/udev/vol_id ]
+                       then
+                               # lenny
+                               if [ "$(/lib/udev/vol_id -l ${devname} 2>/dev/null)" = "${pers_label}" ]
+                               then
+                                       echo "${devname}"
+                                       return 0
+                               fi
+                       else
+                               # squeeze
+                               if [ "$(/sbin/blkid -s LABEL -o value $devname 2>/dev/null)" = "${pers_label}" ]
+                               then
+                                       echo "${devname}"
+                                       return 0
+                               fi
+                       fi
+
+                       if [ "${PERSISTENT}" = "nofiles" ]
+                       then
+                               # do not mount the device to find for image files
+                               # just skip this
+                               continue
+                       fi
+
+                       case "$(get_fstype ${devname})" in
+                               vfat|ext2|ext3|ext4|jffs2)
+                                       mkdir -p "${cow_backing}"
+                                       if try_mount "${devname}" "${cow_backing}" "rw"
+                                       then
+                                               if [ -f "${pers_fpath}" ]
+                                               then
+                                                       echo $(setup_loop "${pers_fpath}" "loop" "/sys/block/loop*")
+                                                       return 0
+                                               else
+                                                       umount ${cow_backing} > /dev/null 2>&1 || true
+                                               fi
+                                       fi
+                                       ;;
+                               *)
+                                       ;;
+                       esac
+               done
+       done
+       return 1
+}
+
+find_files ()
+{
+       # return the a string composed by device name, mountpoint an the first of ${filenames} found on a supported partition
+       # FIXME: merge with above function
+
+       filenames="${1}"
+       snap_backing="/snap-backing"
+       black_listed_devices="${2}"
+
+       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}")
+                       devfstype="$(get_fstype ${devname})"
+
+                       if echo "${black_listed_devices}" | grep -q "${devname}"
+                       then
+                               # skip this device enterely
+                               break
+                       fi
+
+                       if is_supported_fs ${devfstype}
+                       then
+                               mkdir -p "${snap_backing}"
+
+                               if try_mount "${devname}" "${snap_backing}" "ro" "${devfstype}"
+                               then
+                                       for filename in ${filenames}
+                                       do
+                                               if [ -f "${snap_backing}/${filename}" ]
+                                               then
+                                                       echo "${devname} ${snap_backing} ${filename}"
+                                                       umount ${snap_backing}
+                                                       return 0
+                                               fi
+                                       done
+                               fi
+
+                               umount ${snap_backing}
+                       fi
+               done
+       done
+}
+
+get_mac ()
+{
+       mac=""
+
+       for adaptor in /sys/class/net/*
+       do
+               status="$(cat ${adaptor}/iflink)"
+
+               if [ "${status}" -eq 2 ]
+               then
+                       mac="$(cat ${adaptor}/address)"
+                       mac="$(echo ${mac} | sed 's/:/-/g' | tr '[a-z]' '[A-Z]')"
+               fi
+       done
+
+       echo ${mac}
+}
+
+is_luks()
+{
+    devname="${1}"
+    if [ -x /sbin/cryptsetup ]
+    then
+       /sbin/cryptsetup isLuks "${devname}" 2>/dev/null || ret=${?}
+       return ${ret}
+    else
+       return 1
+    fi
+
+}
diff --git a/scripts/live-premount/modules b/scripts/live-premount/modules
new file mode 100755 (executable)
index 0000000..1af7a9e
--- /dev/null
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+#set -e
+
+# initramfs-tools header
+
+PREREQ="udev"
+
+prereqs()
+{
+       echo "${PREREQ}"
+}
+
+case "${1}" in
+       prereqs)
+               prereqs
+               exit 0
+               ;;
+esac
+
+# live-boot script
+
+# The following modprobe entry is a workaround to live-boot not
+# finding the root filesytem.
+#
+# See also:
+#  * http://lists.alioth.debian.org/pipermail/debian-live-devel/2007-May/001459.html
+#  * http://lists.alioth.debian.org/pipermail/debian-live-devel/2007-June/001517.html
+#  * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=363047
+
+modprobe -q ide-generic
+modprobe -q esp
diff --git a/scripts/live-premount/readonly b/scripts/live-premount/readonly
new file mode 100755 (executable)
index 0000000..71483bd
--- /dev/null
@@ -0,0 +1,35 @@
+#!/bin/sh
+
+#set -e
+
+# initramfs-tools header
+
+PREREQ="udev"
+
+prereqs()
+{
+       echo "${PREREQ}"
+}
+
+case "${1}" in
+       prereqs)
+               prereqs
+               exit 0
+               ;;
+esac
+
+# live-boot script
+
+# make sure all harddisk devices are read-only
+# this is important for forensic investigations
+if grep -qe forensic -qe readonly /proc/cmdline
+then
+       for device in /dev/hd* /dev/sd* /dev/vd*
+       do
+               if [ -b "$device" ]
+               then
+                       printf " * Setting device %-9s to read-only mode: " $device >/dev/console
+                       blockdev --setro $device && printf "done [ execute \"blockdev --setrw %-9s\" to unlock]\n" $device >/dev/console || printf "failed\n" >/dev/console
+               fi
+       done
+fi
diff --git a/scripts/live-premount/select_eth_device b/scripts/live-premount/select_eth_device
new file mode 100755 (executable)
index 0000000..dfeac3d
--- /dev/null
@@ -0,0 +1,97 @@
+#!/bin/sh
+
+# Original script by Andreas Teuchert <ant+dl@hsg-kl.de>
+# Modified by Frédéric Boiteux <fboiteux@calistel.com>
+
+PREREQ="blacklist udev"
+
+prereqs()
+{
+       echo "$PREREQ"
+}
+
+case $1 in
+# get pre-requisites
+prereqs)
+       prereqs
+       exit 0
+       ;;
+esac
+
+# Boot type in initramfs's config
+bootconf=$(egrep '^BOOT=' /conf/initramfs.conf | tail -1)
+
+# can be superseded by command line (used by Debian-Live's netboot for example)
+for ARGUMENT in $(cat /proc/cmdline); do
+       case "${ARGUMENT}" in
+               netboot=*)
+                       NETBOOT="${ARGUMENT#netboot=}"
+                       ;;
+       esac
+done
+
+if [ "$bootconf" != "BOOT=nfs" ] &&
+   [ "$NETBOOT" = "" ] &&
+   [ "$FETCH" = "" ] &&
+   [ "$FTPFS" = "" ] &&
+   [ "$HTTPFS" = "" ]
+then
+    # Not a net boot : nothing to do
+    exit 0
+fi
+
+# we want to do some basic IP
+modprobe -q af_packet
+
+# Available Ethernet interfaces ?
+l_interfaces=""
+echo "Waiting for ethernet card(s) up... If this fails, maybe the ethernet card is not supported by the kernel `uname -r`?"
+while [ -z "$l_interfaces" ]; do
+  l_interfaces="$(cd /sys/class/net/ && ls -d eth* 2>/dev/null)"
+done
+
+if [ $(echo $l_interfaces | wc -w) -lt 2 ]; then
+       # only one interface : no choice
+       echo "DEVICE=$l_interfaces" >> /conf/param.conf
+       exit 0
+fi
+
+# If user force to use specific device, write it
+for ARGUMENT in $(cat /proc/cmdline); do
+    case "${ARGUMENT}" in
+        live-netdev=*)
+        NETDEV="${ARGUMENT#live-netdev=}"
+        echo "DEVICE=$NETDEV" >> /conf/param.conf
+       echo "Found live-netdev parameter in /proc/cmdline. Force to use network device $NETDEV."
+        exit 0
+        ;;
+    esac
+done
+
+while true; do
+       echo -n "Looking for a connected Ethernet interface ..."
+
+       for interface in $l_interfaces; do
+               # ATTR{carrier} is not set if this is not done
+               echo -n " $interface ?"
+               ipconfig -c none -d $interface -t 1 >/dev/null 2>&1
+       done
+
+       echo ''
+
+       for step in 1 2 3 4 5; do
+               for interface in $l_interfaces; do
+                       carrier=$(cat /sys/class/net/$interface/carrier \
+                               2>/dev/null)
+                       # link detected
+                       if [ "$carrier" = 1 ]; then
+                               echo " found $interface."
+                               # inform initrd's init script :
+                               echo "DEVICE=$interface" >> /conf/param.conf
+                               exit 0
+                       fi
+               done
+               # wait a bit
+               sleep 1
+       done
+done