TODO list for grml-debootstrap
------------------------------
-* support installation into directories as well (not only /dev/ice)
* support tarballs for customization
* support automatic installation of grml packages:
* grml-etc-core
* grml-x + xserver-xorg
* support *full* automatic installation where not a single keypress is necessary
-> support bootoption debian2hd for installation through bootoption on live-cd
-* support for LVM + SW-RAID
+* support for LVM + SW-RAID [should work through installation into directory, needs testing though]
* should we support mkinitrd for initrd creation in sarge?
# 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.
-# Latest change: Mon Nov 06 15:33:28 CET 2006 [mika]
+# Latest change: Sam Nov 18 10:32:33 CET 2006 [mika]
################################################################################
set -e # exit on any error
echo "deb $CHROOTMIRROR $RELEASE main contrib non-free" > /etc/apt/sources.list
fi
+if [ -n "$GRMLREPOS" ] ; then
+ echo 'deb http://grml.org/repos/ ./' >> /etc/apt/sources.list
+fi
+
if ! [ -r /etc/kernel-img.conf ] ; then
echo "Setting up /etc/kernel-img.conf"
cat > /etc/kernel-img.conf << EOF
exit 1
else
apt-get update
- apt-get --force-yes -y install $(cat /etc/debootstrap/packages)
+ apt-get --force-yes -y install $(cat /etc/debootstrap/packages) $GRMLPACKAGES
fi
fi
# 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.
-# Latest change: Fre Nov 17 22:58:32 CET 2006 [mika]
+# Latest change: Sam Nov 18 10:32:30 CET 2006 [mika]
################################################################################
################################################################################
# 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
+GRMLREPOS='yes'
+
+# install packages from grml-pool? requires activated $GRMLREPOS from above
+# if empty nothing will be added
+GRMLPACKAGES='grml-etc-core'
+
# release (which Debian version should be installed)
# supported values: sarge etch sid
RELEASE='etch'