# Filename:      /etc/grml2hd/customization
# Purpose:       configuration file for customization of grml2hd
# Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports:   see http://grml.org/bugs/
# License:       This file is licensed under the GPL v2.
################################################################################
# Notice: this file allows customized execution of grml2hd.
# The variables correspond with the function used in grml2hd -
# for example GRML2HD_CHECK4ROOT is the function check4root defined
# in grml2hd itself.
################################################################################

## First of all configure the stuff in grml2hd itself

# run mkfs/tune2fs on the target partition?
GRML2HD_CREATE_FILESYSTEM='yes'

# check for root-permissions
GRML2HD_CHECK4ROOT='yes'

# check for free memory (60248kB)
GRML2HD_CHECK4MEM='yes'

# display welcome screen
GRML2HD_WELCOME_SCREEN='yes'

# display partition selection dialog
GRML2HD_PARTITION_SELECT='yes'

# check whether provided partition really exists
GRML2HD_CHECK4PARTITION='yes'

# check for enough space on the provided partition
GRML2HD_CHECK4SPACE='yes'

# check where lilo should be installed to (mbr vs. partition)
GRML2HD_CHECK4MBR='yes'

# check and use raid-extra-boot-option in lilo.conf
GRML2HD_LILO_SW_RAID='yes'

# display filesystem selection dialog (ext3/ext2/xfs/jfs/reiserfs)
GRML2HD_GETFS='yes'

# mount target partition
GRML2HD_INITIALIZE='yes'

# copy files to target partition
GRML2HD_COPY_FILES='yes'

# check for grml-small and execute grmlsmall_fixes
GRML2HD_IS_GRML_SMALL='yes'

# generate /etc/fstab for hd-installation system
GRML2HD_CREATE_FSTAB='yes'

# generate /etc/inittab file for hd-installation system
GRML2HD_CREATE_INITTAB='yes'

# execute script grml2hd-bootparams
GRML2HD_GET_BOOTPARAMS='yes'

# generate /etc/lilo.conf for hd-installation system
GRML2HD_CREATE_LILOCONFIG='yes'

# chroot into hd-installation system and execute script grml2hd-chrooted, see CHROOT_* variables below
GRML2HD_CALL_CHROOT='yes'

## configure stuff executed in script grml2hd-chrooted (see $GRML2HD_CALL_CHROOT)
# initialize system for use (mount /proc and /sys)
CHROOT_INITIALIZE='yes'

# set hostname via script grml-hostname (interactive) or 'hostname' (non-interactive)
CHROOT_SETHOSTNAME='yes'

# run scripts grml-setkeyboard and grml-setlang in interactive mode
CHROOT_SETLANGUAGE='yes'

# adjust /etc/default/rcS according to bootoption utc/gmt and /etc/localtime according to bootoption tz
CHROOT_ADJUSTTIMEZONE='yes'

# adjust some important settings of /etc/runlevel.conf via dialog interface
CHROOT_ADJUSTSERVICES='yes'

# ask for generation of /etc/X11/xorg.conf via grml-x if /etc/X11/xorg.conf not yet present
CHROOT_XCONFIG='yes'

# set up root account
CHROOT_ROOT_ACCOUNT='yes'

# set up user account
CHROOT_NEWUSER='yes'

# set up /etc/sudoers
CHROOT_CREATE_SUDOERS='yes'

# purge grml-sysvinit and adjust /etc/runlevel.conf
CHROOT_FIX_SYSVINIT='yes'

# remove unwanted packages (grml-firefox)
CHROOT_REMOVE_UNWANTED_PACKAGES='yes'

# run script grml-autoconfig in interactive mode
CHROOT_GRML_AUTOCONFIG='yes'

# run script remove-packages-server in interactive mode if $NOSWREMOVAL is not set
CHROOT_REMOVE_PACKAGES_SERVER='yes'

# create initrd through update-initramfs
CHROOT_CREATE_INITRD='yes'

# install bootmanager (grub/lilo)
CHROOT_INSTALL_BOOTMANAGER='yes'

# finalize installation (unmount /proc, /sys and sync)
CHROOT_FINALIZE='yes'

# finalize installation (rm /etc/grml_cd, sync && unmount)
GRML2HD_FINALIZE='yes'

## END OF FILE #################################################################
