~ubuntu-branches/ubuntu/lucid/ltsp/lucid

« back to all changes in this revision

Viewing changes to server/plugins/ltsp-build-client/common/020-rootpath

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Graber
  • Date: 2010-01-04 19:20:29 UTC
  • mfrom: (111.1.39 upstream)
  • Revision ID: james.westby@ubuntu.com-20100104192029-8kisjo9jwe3ix1ps
Tags: 5.1.99-0ubuntu1
* New upstream version (5.1.99)
 * Implement nbd-proxy for more stability
 * Force netcat to wait for data
 * Properly save/restore IFS
 * Lots of code cleanup
 * Implement vendor specific functions in ltsp-build-client
 * Update translations
 * Optimize localapps rc.d scripts
 * Update add_mirrors and make use of it
 * Implement a caching infrastructure
 * Add Fat client support for Ubuntu
 * Get rid of some awk calls
 * Respect ltsp-build-client.conf defaults
 * Speed up boot process by starting more functions in background
 * Fix tty/vt detection for flickerless boot
 * Make ltsp-build-client usage more consistent.
 * Improve ltsp-logout-action
 *
 * LOTS of other changes and fixes I forgot.

* Get rid of USPLASH=y
* Add two upstart jobs to force a reboot (avoid squashfs errors)
* Trigger update-initramfs post install
* Depend on pciutils and usbutils (as no longer in minimal)
* Move tftpd-hpa from depend to recommend
* Drop dependency on openssh-client | ssh in ltsp-server

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
    commandline)
3
3
        add_option "purge-chroot" "`eval_gettext "purge existing LTSP chroot if present"`" "advanced" "false"
4
4
        ;;
 
5
    configure)
 
6
        if [ "true" = "$option_purge_chroot_value" ]; then
 
7
            PURGE_CHROOT="true"
 
8
        fi
 
9
        ;;
5
10
    before-install)
6
11
        export ROOT=$BASE/$CHROOT
7
12
        if [ -d $ROOT ] ; then
8
 
            if [ "true" = "$option_purge_chroot_value" ]; then
 
13
            if [ "true" = "$PURGE_CHROOT" ]; then
9
14
                # wipe it out, so we can try again
10
15
                rm --force --recursive --one-file-system "$ROOT"
11
16
            else