~ubuntu-branches/debian/sid/ltsp/sid

« back to all changes in this revision

Viewing changes to .pc/debian-changes-5.2.3-2/server/plugins/ltsp-build-client/Debian/099-mount-cdrom

  • Committer: Bazaar Package Importer
  • Author(s): Petter Reinholdtsen
  • Date: 2010-07-21 21:44:40 UTC
  • mfrom: (51.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100721214440-5rvai0qgjg3x9evu
Tags: 5.2.3-2
* Change /cdrom to /media/cdrom, to work with the new d-i paths
  (Closes: #589646).  Using urgency=high to fix this RC bug.
* Disable package signature checking when installing from CD using
  the ltsp-client-builder udeb.
* Use sleep 1 instead of sleep 0.1 to work with busybox
  (Closes: 589820).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# FIXME: this plugin is a hack to mount the cdrom, used by ltsp-client-builder
 
2
# udeb in debian-installer.
 
3
case "$MODE" in
 
4
    commandline)
 
5
        add_option "mount-cdrom" "`eval_gettext "mounts CDROM before installation"`" "advanced" "false"
 
6
        ;;
 
7
    configure)
 
8
        if [ -n "$option_mount_cdrom_value" ]; then
 
9
            MOUNT_CDROM="true"
 
10
        fi
 
11
        ;;
 
12
    before-install)
 
13
        if [ "$MOUNT_CDROM" = "true" ]; then
 
14
            mount /cdrom
 
15
        fi
 
16
        ;;
 
17
    finalization)
 
18
        if [ "$MOUNT_CDROM" = "true" ]; then
 
19
            umount /cdrom
 
20
        fi
 
21
        ;;
 
22
esac