X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=config;h=7b275f67354ae46ab6335f8ee5ad608da6a9e510;hp=8b5120d8152c26e6bd1d9408b08df62d4f11a761;hb=60a9691e1df16b1204cb5f39307ea63a8c643681;hpb=07d374a69706794827d04e79ad0ab5a823edafb1 diff --git a/config b/config index 8b5120d..7b275f6 100644 --- a/config +++ b/config @@ -3,34 +3,81 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Fre Nov 03 14:23:32 CET 2006 [mika] +# Latest change: Mon Apr 09 14:42:58 CEST 2007 [mika] ################################################################################ ################################################################################ # Important: you definitely have to adjust the following variables! ################################################################################ -# target partition (where should Debian be installed to) +## The most important question: target of the new Debian system +## Where should Debian be installed to? +# +# Usually you want to use a partition. If you specify a string *without* /dev/ +# in the beginning, grml-debootstrap assumes you want to install Debian into a +# directory. If so then MKFS, TUNE2FS, GRUB, GROOT and FSCK won't apply, no +# matter of the configuration variables. Make sure the TARGET-directory is on a +# partition with present dev and exec mount options. +# +# usage examples: +# TARGET='/dev/hda1' +# TARGET='/mnt/grml' TARGET='' -# which bootmanager do you want to use? [grub|lilo] -BOOTMGR='grub' +## Do you want to install grub? Then adjust the variables GRUB and GROOT. +## If you do not set the variables grub will not be installed. +# Where do you want to install grub to? Use grub syntax for specifying +# hints: hd0,0 is the first partition on the first disk +# hd0 is the MBR of the first disk +# usage example: +# GRUB='hd0' +GRUB='' -# if using grub, where do you want to install grub to? +# specify root device for usage in grub (corresponds with $TARGET) +# notice: if you install Debian for example to /dev/hda1 use hd0,0 +# hd0,0 is the first partition on the first disk +# hd0 is the MBR of the first disk # usage example: # GROOT='hd0,0' GROOT='' -# if using lilo, where do you want to install lilo to? -# usage example: -# BOOT='/dev/hda1' -BOOT='' - ################################################################################ +# Now the variables you might want to adjust, but need not to... + +# set mirror where debootstrap should download packages from +MIRROR='ftp://ftp.debian.de/debian' + +# specify entry which should be used for /etc/apt/sources.list, +# if empty then any existing /etc/apt/sources.list will be taken +CHROOTMIRROR='ftp://ftp.debian.de/debian' + +# add grml repository to /etc/apt/sources.list +# if empty then the repository won't be added (notice: in testing phase) +# GRMLREPOS='yes' + +# install packages from grml-pool? requires activated $GRMLREPOS from above +# if empty nothing will be added (notice: in testing phase) +# GRMLPACKAGES='grml-etc-core' + +# release (which Debian version should be installed) +# supported values: sarge etch sid +RELEASE='etch' + +# architecture +# if unset the default of the running system (see 'dpkg --print-architecture') will be taken +# notice: installing an amd64 system requires a 64bit kernel +# do not forget to adjust $KERNEL for selected architecture as well +# ARCH='amd64' + +# hostname of new system +HOSTNAME='grml' -# kernel version -KERNEL='linux-image-686' +# kernel version which should be installed +# do not forget to adjust according to architecture, for example +# use 2.6-686 for i386 and 2.6-amd64 for amd64 +KERNEL='2.6-686' # name of debootstrap executable +# supported values: debootstrap cdebootstrap DEBOOTSTRAP='debootstrap' # install packages defined in /etc/debootstrap/packages? @@ -42,29 +89,31 @@ CONFFILES='/etc/debootstrap/' # mount point where chroot actions should take place MNTPOINT='/mnt/test' -# set mirror where debootstrap should download packages from -MIRROR='ftp://ftp.tugraz.at/mirror/debian' +# executable which should be run on $TARGET +# unset it if you do not want to use it +MKFS='mkfs.ext3' -# specify entry which should be used for /etc/apt/sources.list, -# if empty then any existing /etc/apt/sources.list will be taken -CHROOTMIRROR='deb ftp://ftp.tugraz.at/mirror/debian unstable main contrib non-free' +# deactivate automatic filesystem check on $TARGET? +# unset it if you do not want to use it +TUNE2FS='tune2fs -c0 -i0' -# release (which Debian version should be installed) -RELEASE='etch' +# check filesystem when chroot stuff finished? +FSCK='yes' -# hostname of new system -HOSTNAME='grml' - -# executable which should be run on $TARGET -MKFS='mkfs.ext3' +# which tool should be used for fsck? if unset the tool will be guesst based on $MKFS +# FSCKTOOL='' # which packages do you want do dpkg-reconfigure? RECONFIGURE='locales console-data' +# use /etc/debootstrap/locale.gen for configuration of locales? +LOCALES='yes' + # use /usr/share/zoneinfo/$TIMEZONE for /etc/localtime TIMEZONE='Europe/Vienna' -# generate initrd? +# generate initrd via update-initramfs? +# notice: won't do anything when release is sarge as update-initramfs does not exist there INITRD='yes' ## END OF FILE #################################################################