[pkg-fso-commits] [SCM] Various non-packaged files branch, master, updated. e77a82fb2faa4201f57dcaf80a19f3facff18497
Steffen Moeller
moeller at debian.org
Tue Mar 10 23:07:42 UTC 2009
The following commit has been merged in the master branch:
commit 4278e6d12fffb475a05f216f34915db2c45c1c96
Author: Steffen Moeller <moeller at debian.org>
Date: Sun Mar 8 22:37:39 2009 +0100
Allow for installation of localepurge.
diff --git a/install.sh b/install.sh
index e20eb36..334cfec 100755
--- a/install.sh
+++ b/install.sh
@@ -49,6 +49,7 @@ FSO_DEVICE=${FSO_DEVICE:-gta02}
HOSTNAME=${HOSTNAME:-debian-gta02}
INST_DIR=${INST_DIR:-/mnt/debian}
INST_MIRROR=${INST_MIRROR:-http://ftp2.de.debian.org/debian}
+LOCALEPURGE=${LOCALEPURGE:-}
QI=${QI:-false}
QI_VERBOSE_BOOT=${QI_VERBOSE_BOOT:-false}
SD_DEVICE=${SD_DEVICE:-/dev/mmcblk0}
@@ -211,6 +212,10 @@ ENVIRONMENT
should be set to a mirror nearby that carries armel
binaries for unstable and experimental (set to
'$INST_MIRROR')
+ LOCALEPURGE Set to 'true' iff the package of the same name shall
+ be installed. It reduces disk space enormously,
+ but needs user interaction for the install (set to
+ '$LOCALEPURGE').
APT_RECOMMENDS control if APT should install recommends by default
(set to '$APT_RECOMMENDS', possible values are false/true)
DASH_BINSH configure dash as default /bin/sh (set to '$DASH_BINSH',
@@ -265,10 +270,11 @@ ENVIRONMENT
moment)
PHONE zhone (always selected)
WEB midori
- WIFI wicd, udhcpc, wireless-tools, wpasupplicant
+ WIFI wicd, wireless-tools, wpasupplicant
and the transfer of a local wpa configuration
To specify the tasks shall be assigned to the TASKS
- environment variable as a comma separated list.
+ environment variable as a comma separated list (set to
+ '$TASKS').
configuration Configures various parts of the system, such as
the X server
kernel Downloads and installs the Debian kernel package
@@ -298,6 +304,8 @@ OPTIONS
sets the SD_SWAP_SIZE variable
--with-tasks <tasks>
sets the TASKS variable
+ --with-localepurge
+ will install the localepurge package
EXAMPLE
@@ -841,6 +849,10 @@ action_tasks () {
action_configuration () {
echo "Configuring system files for ${FSO_DEVICE}"
+ if [ "true" = "$LOCALEPURGE" ]; then
+ chroot "$INST_DIR" apt-get $APT_OPTIONS install localepurge
+ if
+
echo " * Installing the fso-config-${FSO_DEVICE} package"
chroot "$INST_DIR" apt-get $APT_OPTIONS install fso-config-${FSO_DEVICE}
@@ -1259,6 +1271,9 @@ do
assignNumeric="true"
assignVariablename="SD_SWAP_SIZE"
;;
+ "--with-localepurge")
+ LOCALEPURGE="true"
+ ;;
"--with-tasks")
assignParametername="$i"
assignVariablename="TASKS"
--
Various non-packaged files
More information about the pkg-fso-commits
mailing list