#!/bin/bash
## Debian live config script

## Set authoring data
NAME="PoolpituX"
VERSION="2011.5"

## Set the base distribution
DISTRIBUTION="wheezy"

## Set the repositories
REPOSITORIES="live.debian.net"

## Select apt mode
APT="apt"

## Select installer mode
INSTALLER="live"
INSTALLER_GUI="true"

## Set a list of packages
## See the directory /usr/share/live/build/lists to choose a list
#PACKAGES_LISTS="standard-x11"
PACKAGES_LISTS="gnome-desktop"

## Select additionnal packages
#PACKAGES="debian-installer-launcher gnome-core gdm3 iceweasel"

## Select locales
LOCALES="fr_FR.UTF-8"
KBLAYOUT="fr"

lb config noauto                            \
    --clean                                 \
    --apt $APT                              \
    --distribution $DISTRIBUTION            \
    --repositories $REPOSITORIES            \
    --debian-installer $INSTALLER           \
    --debian-installer-gui $INSTALLER_GUI   \
    --debian-installer-distribution "daily" \
    --iso-application $NAME                 \
    --iso-volume "$NAME $VERSION"           \
    --packages-list "$PACKAGES_LISTS"       \
    --packages "$PACKAGES"                  \
    --bootappend-live "locales=$LOCALES keyboard-layouts=$KBLAYOUT"
    $@

