~ubuntu-branches/debian/squeeze/live-installer/squeeze

« back to all changes in this revision

Viewing changes to launcher/debconf.sh

  • Committer: Bazaar Package Importer
  • Author(s): Chris Lamb, Otavio Salvador, Daniel Baumann, Updated translations
  • Date: 2009-08-12 22:00:51 UTC
  • Revision ID: james.westby@ubuntu.com-20090812220051-cujzxlchyjlxmd2o
Tags: 12
[ Otavio Salvador ]
* Use a single supporting code for ext[234].
* Fix shebang to use -e in dir supporting code. (Closes: #540731)
* Calls autogen.sh in case configure isn't found to make sure it
  properly builds the print-inodes binary.
* Add support for Lenny.
* Exit installer in case we're running it in live mode (requires
  rootskel 1.79).

[ Daniel Baumann ]
* Mounting extX images read-only in order to not 'corrupt' images in case
  of a power-loss when installing from a read-write capable installation
  media, such as usb sticks.
* Using dh7 tiny rules and getting rid of cdbs.
* Using own in-target like function to call xserver-xorg reconfiguration
  in order to have it run noninteractively.
* Updating year in copyright file.
* Initial import of live-installer-launcher.

[ Otavio Salvador ]
* Fix permission of live-installer-launcher's scripts.

[ Daniel Baumann ]
* Always adding 'plainroot' to the boot parameters when installing the
  system in live mode, this is the only supported boot method in
  live-initramfs for live systems installed to the harddisk.

[ Updated translations ]
* Czech (cs.po) by Miroslav Kure
* Esperanto (eo.po) by Felipe Castro
* Estonian (et.po) by Mattias Põldaru
* Basque (eu.po) by Piarres Beobide
* Hindi (hi.po)
* Italian (it.po) by Milo Casagrande

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# The following debconf stuff needs to be in an own child. For some reason,
 
4
# debconf is messing with the FD and the environment, so that cdebconf in the
 
5
# installer is failing (will not react to any input).
 
6
#
 
7
# To avoid that, we're calling it in an own script. Calling it in a subshell
 
8
# did not work either.
 
9
 
 
10
set -e
 
11
 
 
12
. /usr/share/debconf/confmodule
 
13
 
 
14
db_version 2.0
 
15
 
 
16
db_input critical live-installer-launcher/mode || true
 
17
db_go
 
18
 
 
19
db_get live-installer-launcher/mode
 
20
MODE=$RET
 
21
 
 
22
FRONTEND=$(echo $MODE | awk -F- '{ print $1 }')
 
23
PRIORITY=$(echo $MODE | awk -F- '{ print $2 }')
 
24
 
 
25
db_fset live-installer-launcher/mode seen false
 
26
db_purge
 
27
 
 
28
# Write values to temporary file that can be sourced from the parent script.
 
29
echo "FRONTEND=$FRONTEND" > /tmp/live-installer
 
30
echo "PRIORITY=$PRIORITY" >> /tmp/live-installer