From ae9c9f6b41cbd5f7a6eec1e2415671048e321f8a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 18 Apr 2010 18:54:06 +0200 Subject: [PATCH] Adding upstream version 1.87.1. --- COPYING | 339 +++++ casper-md5check/casper-md5check.c | 6 +- doc/ChangeLog | 28 + doc/ChangeLog.casper | 1604 ++++++++++++++++++++++++ hooks/casper | 1 + scripts/casper | 8 +- scripts/casper-bottom/02_timezone | 21 + scripts/casper-bottom/12fstab | 2 +- scripts/casper-bottom/13swap | 2 +- scripts/casper-bottom/20xconfig | 2 + scripts/casper-bottom/25configure_init | 2 +- scripts/casper-bottom/30accessibility | 4 +- scripts/casper-bottom/33disable_binary_drivers | 27 - scripts/casper-bottom/33enable_apport_crashes | 28 + scripts/casper-bottom/40install_driver_updates | 40 + scripts/casper-bottom/41apt_cdrom | 24 + scripts/casper-functions | 9 + scripts/casper-premount/10driver_updates | 163 +++ ubiquity-hooks/20xconfig | 11 - ubiquity-hooks/22gnome_panel_data | 8 - ubiquity-hooks/25modules | 8 - ubiquity-hooks/30accessibility | 95 -- ubiquity-hooks/32gnome_power_manager | 6 - 23 files changed, 2276 insertions(+), 162 deletions(-) create mode 100644 COPYING create mode 100644 doc/ChangeLog create mode 100644 doc/ChangeLog.casper mode change 100644 => 100755 scripts/casper create mode 100755 scripts/casper-bottom/02_timezone delete mode 100755 scripts/casper-bottom/33disable_binary_drivers create mode 100755 scripts/casper-bottom/33enable_apport_crashes create mode 100755 scripts/casper-bottom/40install_driver_updates create mode 100755 scripts/casper-bottom/41apt_cdrom create mode 100755 scripts/casper-premount/10driver_updates delete mode 100755 ubiquity-hooks/20xconfig delete mode 100755 ubiquity-hooks/22gnome_panel_data delete mode 100755 ubiquity-hooks/25modules delete mode 100755 ubiquity-hooks/30accessibility delete mode 100755 ubiquity-hooks/32gnome_power_manager diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..d511905 --- /dev/null +++ b/COPYING @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) 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 +this service 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 make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. 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. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute 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 and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +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 +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the 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 a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, 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. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE 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. + + 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 +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 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 program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision 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, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This 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. diff --git a/casper-md5check/casper-md5check.c b/casper-md5check/casper-md5check.c index 1e9d1bb..8dfd577 100644 --- a/casper-md5check/casper-md5check.c +++ b/casper-md5check/casper-md5check.c @@ -255,7 +255,11 @@ int main(int argc, char **argv) { free(checksum); free(checkfile); } - usplash_urgent(pipe_fd, "Check finished, %d checksums failed", failed); + if (failed) { + usplash_urgent(pipe_fd, "Check finished: errors found in %d files!", failed); + } else { + usplash_urgent(pipe_fd, "Check finished: no errors found"); + } usplash_urgent(pipe_fd, "Press any key to reboot your system"); usplash_timeout(pipe_fd, 86400); set_nocanonical_tty(0); diff --git a/doc/ChangeLog b/doc/ChangeLog new file mode 100644 index 0000000..af2cf53 --- /dev/null +++ b/doc/ChangeLog @@ -0,0 +1,28 @@ +2007-04-30 Daniel Baumann + + * 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/doc/ChangeLog.casper b/doc/ChangeLog.casper new file mode 100644 index 0000000..5e5f2c8 --- /dev/null +++ b/doc/ChangeLog.casper @@ -0,0 +1,1604 @@ +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 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 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 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 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 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 Mon, 5 Mar 2007 11:19:48 +0000 + +casper (1.81) feisty; urgency=low + + * Merge in Debian's changes. + + -- Tollef Fog Heen 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 Thu, 1 Feb 2007 00:11:06 +0000 + +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 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 Wed, 25 Oct 2006 12:46:05 +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 . + * Now it creates /etc/resolv.conf if netbooted. + + -- Marco Amadori 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 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 + . + * Fixed X keyboard setup. Thanks to for the idea. + * Fixed keyboard setup. + * Allow commandline-device to show up late, thanks to Bas Wijnen + for the code and the care (Closes: #397320). + * Urgency is set to medium to try reaching Etch with important + features/bugfixes. + + -- Marco Amadori 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 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 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=" to force trying to boot from + a specified device. + * Added support for "todisk=" to copy the live media to a + device filesystem, subsequent boots could use "live-media=". + * Slightly polished locales and keyboards handling. + * Extendend manpages. + * Readded a missing "sleep 1", reworked how live_media is detected, + thanks to Bas Wijnen 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 + * 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 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 Tue, 18 Jul 2006 10:20:51 +0200 + +casper (1.61+debian-2) unstable; urgency=low + + * Set password for user to 'debian'. + + -- Daniel Baumann 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 + . + + [ Marco Amadori ] + * New upstream release (Resynced with 1.61, bzr 258). + * Usb discover patch from Malcom Gilles . + -- Marco Amadori 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 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 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 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" + * Lowered dependence of dmsetup code (now only Suggests). + * Checks for replacing "udevplug" (ubuntu-only) with "udevtrigger". + * Reworked xorg and anacron patches from + Frederic Lehobey . + * scripts/casper-bottom/10adduser: configuring only the $USERNAME for sudo + instead of group 'admin'. + + -- Marco Amadori Fri, 16 Jun 2006 11:01:48 +0200 + +casper (1.58) dapper; urgency=low + + * Really rename properly, without dirname. + + -- Scott James Remnant 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 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 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 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 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 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 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 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 Tue, 2 May 2006 14:12:31 +0200 + +casper (1.49) dapper; urgency=low + + * Also look for hardware named wlan* + + -- Scott James Remnant 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Mon, 27 Feb 2006 17:32:02 +0000 + +casper (1.34) dapper; urgency=low + + [ Luke Yelavich ] + * Add initial accessibility support framework + + -- Tollef Fog Heen 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 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 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 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 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 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 Mon, 16 Jan 2006 22:06:35 +0100 + +casper (1.27) dapper; urgency=low + + * Try using unionfs on ppc again + + -- Tollef Fog Heen Tue, 10 Jan 2006 20:55:19 +0100 + +casper (1.26) dapper; urgency=low + + * Add persistency support + * Usplash integration + + -- Tollef Fog Heen 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Mon, 29 Aug 2005 18:30:38 -0700 + +casper (1.8) breezy; urgency=low + + * Add usplash support + + -- Matt Zimmerman 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 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 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 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 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 Sat, 13 Aug 2005 11:19:50 -0700 + +casper (1.2) breezy; urgency=low + + * Fix debconf-copydb regex in 20xconfig + + -- Matt Zimmerman 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Sat, 12 Mar 2005 02:10:59 -0800 + +casper (0.51) hoary; urgency=low + + * Disable kpersonalizer startup on first login + + -- Matt Zimmerman 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 Thu, 3 Mar 2005 10:37:31 -0800 + +casper (0.49) hoary; urgency=low + + * Fix 20xconfig harder + + -- Matt Zimmerman Wed, 2 Mar 2005 21:20:03 -0800 + +casper (0.48) hoary; urgency=low + + * Source confmodule in 20xconfig + + -- Matt Zimmerman 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 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 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 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 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 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 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 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 Mon, 21 Feb 2005 19:03:54 +0000 + +casper (0.39) hoary; urgency=low + + * Fix reboot operation (cache the reboot binary) + + -- Matt Zimmerman 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 Thu, 10 Feb 2005 13:43:56 -0800 + +casper (0.37) hoary; urgency=low + + * Fix casper-udeb/runlevel template + + -- Matt Zimmerman 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 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 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 Wed, 2 Feb 2005 10:42:19 -0800 + +casper (0.33) hoary; urgency=low + + * Re-upload to fix borked source package + + -- Matt Zimmerman 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 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 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 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 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 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 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 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 Fri, 21 Jan 2005 16:04:52 -0800 + +casper (0.24) hoary; urgency=low + + * Add a backtitle properly + + -- Matt Zimmerman Fri, 21 Jan 2005 09:07:19 -0800 + +casper (0.23) hoary; urgency=low + + * Add a backtitle + + -- Matt Zimmerman 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 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 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 Wed, 19 Jan 2005 13:22:33 -0800 + +casper (0.19) hoary; urgency=low + + * Update TODO + * casper-udeb Depends: md-modules + + -- Matt Zimmerman 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 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 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 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 Tue, 18 Jan 2005 13:41:00 +0000 + +casper (0.14) hoary; urgency=low + + * Enable X autoconfiguration(!) + + -- Matt Zimmerman 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 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 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 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 Thu, 13 Jan 2005 18:13:31 -0800 + +casper (0.9) hoary; urgency=low + + * Fix gdm autologin configuration (broken in 0.8) + + -- Matt Zimmerman 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 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 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 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 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 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 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 Fri, 7 Jan 2005 08:01:21 -0800 + +casper (0.1) hoary; urgency=low + + * Initial Release. + + -- Matt Zimmerman Wed, 5 Jan 2005 14:30:28 -0800 diff --git a/hooks/casper b/hooks/casper index a7ed803..78a3cfb 100755 --- a/hooks/casper +++ b/hooks/casper @@ -33,6 +33,7 @@ copy_exec /lib/udev/cdrom_id /lib/udev copy_exec /lib/udev/vol_id /lib/udev copy_exec /lib/udev/path_id /lib/udev copy_exec /usr/bin/udevinfo /bin +copy_exec /usr/bin/eject /bin # cifs boot if [ -x /sbin/mount.cifs ]; then diff --git a/scripts/casper b/scripts/casper old mode 100644 new mode 100755 index 352cca9..a4c78b3 --- a/scripts/casper +++ b/scripts/casper @@ -4,6 +4,9 @@ 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=/cdrom USERNAME=casper @@ -136,6 +139,9 @@ do_netmount() { modprobe "${MP_QUIET}" af_packet # For DHCP + udevtrigger + udevsettle + ipconfig ${DEVICE} /tmp/net-${DEVICE}.conf | tee /netboot.config if [ "${NFSROOT}" = "auto" ]; then @@ -498,7 +504,7 @@ mountroot() { if do_netmount ; then livefs_root="${mountpoint}" else - panic "Unable to find a the network rootfs live file system" + panic "Unable to find a live file system on the network" fi else # Scan local devices for the image diff --git a/scripts/casper-bottom/02_timezone b/scripts/casper-bottom/02_timezone new file mode 100755 index 0000000..1cb6402 --- /dev/null +++ b/scripts/casper-bottom/02_timezone @@ -0,0 +1,21 @@ +#! /bin/sh + +PREREQ="" +DESCRIPTION="Adding APT-CDROM source..." + +. /scripts/casper-functions + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +cp -f /root/usr/share/zoneinfo/UTC /root/etc/localtime diff --git a/scripts/casper-bottom/12fstab b/scripts/casper-bottom/12fstab index ac39396..616216a 100755 --- a/scripts/casper-bottom/12fstab +++ b/scripts/casper-bottom/12fstab @@ -26,6 +26,6 @@ unionfs / unionfs rw 0 0 tmpfs /tmp tmpfs nosuid,nodev 0 0 EOF -rm -f /root/etc/rcS.d/S10checkroot.sh +rm -f /root/etc/rcS.d/S*checkroot.sh log_end_msg diff --git a/scripts/casper-bottom/13swap b/scripts/casper-bottom/13swap index 986b079..9c5d0c9 100755 --- a/scripts/casper-bottom/13swap +++ b/scripts/casper-bottom/13swap @@ -27,7 +27,7 @@ for device in /dev/[hs]d[a-z][0-9]*; do continue fi - magic=$(dd if="$device" bs=4086 skip=1 count=1 2>/dev/null | dd bs=10 count=1 2>/dev/null) || continue + 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" diff --git a/scripts/casper-bottom/20xconfig b/scripts/casper-bottom/20xconfig index b6e7550..c5563ed 100755 --- a/scripts/casper-bottom/20xconfig +++ b/scripts/casper-bottom/20xconfig @@ -41,6 +41,7 @@ done mount -n -o bind /sys /root/sys mount -n -o bind /proc /root/proc +mount -n -o bind /dev /root/dev if [ -n "${XDEBCONF}" -a -x /root/usr/sbin/xdebconfigurator ]; then # xdebconfigurator @@ -55,5 +56,6 @@ EOF DEBUG_XORG_PACKAGE=1 DEBUG_XORG_DEBCONF=1 LANG=$(grep "^${locale}" /root/usr/share/i18n/SUPPORTED | grep UTF-8 | sed -e 's, .*,,' -e q) casper-reconfigure /root xserver-xorg umount /root/sys umount /root/proc +umount /root/dev log_end_msg diff --git a/scripts/casper-bottom/25configure_init b/scripts/casper-bottom/25configure_init index 3578545..f9a8626 100755 --- a/scripts/casper-bottom/25configure_init +++ b/scripts/casper-bottom/25configure_init @@ -28,7 +28,7 @@ if [ -n "$USERNAME" ]; then fi if [ "/root/etc/event.d/tty*" != "$(echo /root/etc/event.d/tty*)" ]; then for f in /root/etc/event.d/tty*; do - sed -i -e "s|^respawn.*|respawn /bin/login -f $USERNAME /dev/$(basename $f) 2>\&1|" $f + sed -i -e "s|^exec.*|exec /bin/login -f $USERNAME /dev/$(basename $f) 2>\&1|" $f done fi fi diff --git a/scripts/casper-bottom/30accessibility b/scripts/casper-bottom/30accessibility index f2462e3..01c2386 100755 --- a/scripts/casper-bottom/30accessibility +++ b/scripts/casper-bottom/30accessibility @@ -60,8 +60,8 @@ for x in $(cat /proc/cmdline); do access=v2) gct -s -t bool /desktop/gnome/interface/accessibility true gct -s -t list --list-type=string /desktop/gnome/accessibility/startup/exec_ats [orca] - if [ -e /root/usr/share/python-support/gnome-orca/orca/settings.py ]; then - sed -i '/^enableSpeech\W/ s/True/False/;/^enableMagnifier/ s/False/True/' /root/usr/share/python-support/gnome-orca/orca/settings.py + if [ -e /root/usr/share/pycentral/gnome-orca/site-packages/orca/settings.py ]; then + sed -i '/^enableSpeech\W/ s/True/False/;/^enableMagnifier/ s/False/True/' /root/usr/share/pycentral/gnome-orca/site-packages/orca/settings.py fi kderc_addtoprefixes /usr/share/kubuntu-default-settings/kde-profile/lesser-visual-impairment/,/usr/share/kubuntu-default-settings/kde-profile/moderate-visual-impairment/ ;; diff --git a/scripts/casper-bottom/33disable_binary_drivers b/scripts/casper-bottom/33disable_binary_drivers deleted file mode 100755 index 971ce8e..0000000 --- a/scripts/casper-bottom/33disable_binary_drivers +++ /dev/null @@ -1,27 +0,0 @@ -#! /bin/sh - -PREREQ="" -DESCRIPTION="Configuring some drivers..." - -. /scripts/casper-functions - -prereqs() -{ - echo "$PREREQ" -} - -case $1 in -# get pre-requisites -prereqs) - prereqs - exit 0 - ;; -esac - -log_begin_msg "$DESCRIPTION" - -if [ -e /root/etc/default/linux-restricted-modules-common ]; then - echo 'DISABLED_MODULES="fglrx nv"' >> /root/etc/default/linux-restricted-modules-common -fi - -log_end_msg \ No newline at end of file diff --git a/scripts/casper-bottom/33enable_apport_crashes b/scripts/casper-bottom/33enable_apport_crashes new file mode 100755 index 0000000..d1c8829 --- /dev/null +++ b/scripts/casper-bottom/33enable_apport_crashes @@ -0,0 +1,28 @@ +#!/bin/sh + +PREREQ="" +DESCRIPTION="Enabling notifications about program crashes..." + +. /scripts/casper-functions + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +log_begin_msg "$DESCRIPTION" + +update_notifier_version=$(chroot /root dpkg-query -W --showformat='${Version}' update-notifier 2>/dev/null) || update_notifier_version="" +if [ -n "$update_notifier_version" ]; then + chroot /root sudo -u "$USERNAME" gconftool-2 -t bool -s /apps/update-notifier/show_apport_crashes true +fi + +log_end_msg diff --git a/scripts/casper-bottom/40install_driver_updates b/scripts/casper-bottom/40install_driver_updates new file mode 100755 index 0000000..272a0ed --- /dev/null +++ b/scripts/casper-bottom/40install_driver_updates @@ -0,0 +1,40 @@ +#! /bin/sh + +PREREQ="" +DESCRIPTION="Installing driver updates..." + +. /scripts/casper-functions + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +if [ ! -d /tmp/driver-updates ]; then + exit 0 +fi + +log_begin_msg "$DESCRIPTION" + +install_dir=/var/cache/driver-updates + +mkdir "/root$install_dir" +cp -a /tmp/driver-updates/*.deb "/root$install_dir/" + +# We cannot leave packages in a bad state. So if the install fails, remove +# it. This will get caught in casper.log. +for deb in "/root$install_dir"/*; do + if ! chroot /root dpkg -i "$install_dir/$deb"; then + chroot /root dpkg -P "${deb%%_*}" + fi +done + +log_end_msg diff --git a/scripts/casper-bottom/41apt_cdrom b/scripts/casper-bottom/41apt_cdrom new file mode 100755 index 0000000..b4ab643 --- /dev/null +++ b/scripts/casper-bottom/41apt_cdrom @@ -0,0 +1,24 @@ +#! /bin/sh + +PREREQ="" +DESCRIPTION="Adding APT-CDROM source..." + +. /scripts/casper-functions + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +mkdir -p /root/cdrom +mount -n -o bind /cdrom /root/cdrom +chroot /root apt-cdrom -m add +umount /root/cdrom diff --git a/scripts/casper-functions b/scripts/casper-functions index 9e36db7..60721b4 100644 --- a/scripts/casper-functions +++ b/scripts/casper-functions @@ -10,3 +10,12 @@ log_end_msg() _log_msg "Done." } +# Print a message and wait for enter +log_wait_msg() +{ + if [ -x /sbin/usplash_write ]; then + /sbin/usplash_write "INPUTENTER $@" + read nunya < /dev/.initramfs/usplash_outfifo + fi + _log_msg "Waiting: $@ ..." +} diff --git a/scripts/casper-premount/10driver_updates b/scripts/casper-premount/10driver_updates new file mode 100755 index 0000000..8009849 --- /dev/null +++ b/scripts/casper-premount/10driver_updates @@ -0,0 +1,163 @@ +#!/bin/sh + +PREREQ="" +. /scripts/casper-functions +. /scripts/casper-helpers + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +mountpoint=/cdrom + +is_updates_path() { + # Driver packages are stored in ubuntu-drivers// + # subdirectory. Each package contains a module for a specific + # kernel flavour. + path=$1 + kbase=$(uname -r | sed 's/^\([0-9]*\.[0-9]*\.[0-9]*\)-.*/\1/') + update_dir="$path/ubuntu-drivers/$kbase" + if [ -d "$update_dir" ]; then + if [ "$(echo $update_dir/*_$DPKG_ARCH.deb)" != \ + "$update_dir/*_$DPKG_ARCH.deb" ]; then + echo "$update_dir" + return 0; + fi + fi + return 1; +} + +is_nice_device() { + sysfs_path="${1#/sys}" + if /lib/udev/path_id "${sysfs_path}" | grep -E -q "ID_PATH=(usb|pci-[^-]*-[ide|scsi|usb])"; then + return 0 + fi + return 1 +} + +is_supported_fs () { + # FIXME: do something better like the scan of supported filesystems + fstype="${1}" + case ${fstype} in + vfat|iso9660|udf|ext2|ext3|ntfs) + return 0 + ;; + esac + return 1 +} + +check_dev_updates () +{ + sysdev="${1}" + devname="${2}" + if [ -z "${devname}" ]; then + devname=$(sys2dev "${sysdev}") + fi + + fstype=$(get_fstype "${devname}") + if is_supported_fs ${fstype}; then + mount -t ${fstype} -o ro "${devname}" $mountpoint || continue + if is_updates_path $mountpoint; then + return 0 + else + umount $mountpoint + fi + fi + + return 1 +} + +find_driver_updates() { + for sysblock in $(echo /sys/block/* | tr ' ' '\n' | grep -v loop | grep -v ram); do + devname=$(sys2dev "${sysblock}") + fstype=$(get_fstype "${devname}") + if /lib/udev/cdrom_id ${devname} > /dev/null; then + if check_dev_updates "null" "${devname}" ; then + return 0 + fi + elif is_nice_device "${sysblock}" ; then + for dev in $(subdevices "${sysblock}"); do + if check_dev_updates "${dev}" ; then + return 0 + fi + done + fi + done + return 1 +} + +pulsate() { + if [ -x /sbin/usplash_write ]; then + /sbin/usplash_write "PULSATE" + fi +} + + +updates="false" + +for x in $(cat /proc/cmdline); do + case $x in + debian-installer/driver-update=*) + updates=${x#debian-installer/driver-update=} + ;; + esac +done + +if [ "$updates" != "true" ]; then + log_end_msg + exit 0 +fi + +# Not sure what to do for network installs. I assume there isn't even a CD +# for this anyway, so fail. +if [ -n "${NETBOOT}" ]; then + log_end_msg + exit 0; +fi + +#if chroot /root [ -f /etc/gdm/gdm-cdd.conf ]; then +# GDMCONF=/etc/gdm/gdm-cdd.conf +#else +# GDMCONF=/etc/gdm/gdm.conf +#fi + +eject +log_wait_msg "Insert a driver CD and press ENTER ($DPKG_ARCH)" + +log_begin_msg "Looking for driver update CD" + +for i in 0 1 2 3 4 5 6 7 8 9 a b c d e f 10 11 12 13; do + updates_root=$(find_driver_updates) + if [ "${updates_root}" ]; then + break; + fi + sleep 1 +done + +log_end_msg + +if [ -z "${updates_root}" ]; then + log_begin_msg "Could not find driver updates" + log_wait_msg "Re-insert install CD and press ENTER" + exit 0 +fi + +log_begin_msg "Copying driver updates to temporary location" + +mkdir -p /tmp/driver-updates +cp $updates_root/*_$DPKG_ARCH.deb /tmp/driver-updates/ +umount $mountpoint +eject + +log_end_msg + +log_wait_msg "Re-insert install CD and press ENTER." diff --git a/ubiquity-hooks/20xconfig b/ubiquity-hooks/20xconfig deleted file mode 100755 index 92d7097..0000000 --- a/ubiquity-hooks/20xconfig +++ /dev/null @@ -1,11 +0,0 @@ -#! /bin/sh -set -e - -if [ -f /etc/X11/xorg.conf ]; then - cp -a /etc/X11/xorg.conf /target/etc/X11/xorg.conf - # requires x11-common (>= 7.0.0-0ubuntu1) - mkdir -p /target/var/lib/x11 - chroot /target sh -c 'md5sum /etc/X11/xorg.conf > /var/lib/x11/xorg.conf.md5sum' -fi - -exit 0 diff --git a/ubiquity-hooks/22gnome_panel_data b/ubiquity-hooks/22gnome_panel_data deleted file mode 100755 index 2c1059f..0000000 --- a/ubiquity-hooks/22gnome_panel_data +++ /dev/null @@ -1,8 +0,0 @@ -#! /bin/sh -set -e - -if laptop-detect; then - casper-reconfigure /target gnome-panel-data -fi - -exit 0 diff --git a/ubiquity-hooks/25modules b/ubiquity-hooks/25modules deleted file mode 100755 index 59a0d15..0000000 --- a/ubiquity-hooks/25modules +++ /dev/null @@ -1,8 +0,0 @@ -#! /bin/sh -set -e - -if [ -f /etc/modules ]; then - cp -a /etc/modules /target/etc/modules -fi - -exit 0 diff --git a/ubiquity-hooks/30accessibility b/ubiquity-hooks/30accessibility deleted file mode 100755 index 51f85e0..0000000 --- a/ubiquity-hooks/30accessibility +++ /dev/null @@ -1,95 +0,0 @@ -#!/bin/sh - -. /usr/share/debconf/confmodule - -PREREQ="" -DESCRIPTION="Configuring accessibility options..." -db_get passwd/username -USERNAME="$RET" - -gct() { - chroot /target sudo -u "$USERNAME" gconftool-2 "$@" -} - -kderc_addtoprefixes() { - if [ -e "/target/etc/kderc" ]; then - sed -i "s|\\(prefixes=/usr/share/kubuntu-default-settings/kde-profile/default/\\)|\\1,$1|" /target/etc/kderc - fi -} - -for x in $(cat /proc/cmdline); do - case $x in - # Lesser Visual Impairment - access=v1) - 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 - kderc_addtoprefixes /usr/share/kubuntu-default-settings/kde-profile/lesser-visual-impairment/ - if [ -d /target/usr/share/xubuntu-default-settings/accessibility ]; then - cp -a /target/usr/share/xubuntu-default-settings/accessibility/* /target/etc/xdg/ - fi - ;; - # Moderate Visual Impairment - access=v2) - gct -s -t bool /desktop/gnome/interface/accessibility true - gct -s -t list --list-type=string /desktop/gnome/accessibility/startup/exec_ats [orca] - - if [ -d /usr/share/xubuntu-default-settings ]; then - apt-install gnome-orca gnome-mag - fi - - if [ -e /target/usr/share/python-support/gnome-orca/orca/settings.py ]; then - sed -i '/^enableSpeech\W/ s/True/False/;/^enableMagnifier/ s/False/True/' /target/usr/share/python-support/gnome-orca/orca/settings.py - fi - - kderc_addtoprefixes /usr/share/kubuntu-default-settings/kde-profile/lesser-visual-impairment/,/usr/share/kubuntu-default-settings/kde-profile/moderate-visual-impairment/ - ;; - # Blindness - access=v3) - gct -s -t bool /desktop/gnome/sound/enable_esd false - gct -s -t bool /desktop/gnome/interface/accessibility true - gct -s -t list --list-type=string /desktop/gnome/accessibility/startup/exec_ats [orca] - - if [ -d /usr/share/xubuntu-default-settings ]; then - apt-install gnome-orca - fi - ;; - # Minor Motor Difficulties - access=m1) - 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 - kderc_addtoprefixes /usr/share/kubuntu-default-settings/kde-profile/minor-motor-difficulties/ - if [ -e /target/etc/xdg/xfce4/mcs_settings/keyboard.xml ]; then - sed -i 's/0/1/' /target/etc/xdg/xfce4/mcs_settings/keyboard.xml - fi - ;; - # Motor Difficulties - pointing devices - access=m2) - 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] - kderc_addtoprefixes /usr/share/kubuntu-default-settings/kde-profile/minor-motor-difficulties/,/usr/share/kubuntu-default-settings/kde-profile/motor-difficulties-pointing-devices/ - if [ -e /target/etc/xdg/xfce4/mcs_settings/keyboard.xml ]; then - sed -i '/Sticky/ s/0/1/' /target/etc/xdg/xfce4/mcs_settings/keyboard.xml - fi - ;; - esac -done diff --git a/ubiquity-hooks/32gnome_power_manager b/ubiquity-hooks/32gnome_power_manager deleted file mode 100755 index 213a917..0000000 --- a/ubiquity-hooks/32gnome_power_manager +++ /dev/null @@ -1,6 +0,0 @@ -#! /bin/sh -set -e - -casper-reconfigure /target gnome-power-manager - -exit 0 -- 2.1.4