--- /dev/null
+TODO list for grml-debootstrap
+------------------------------
+
+* test cdebootstrap instead of debootstrap
+* test all possibilities of customization
+* support tarballs for customization
+* test sarge + sid as $RELEASE
# 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 03 15:24:53 CET 2006 [mika]
+# Latest change: Fre Nov 03 17:15:42 CET 2006 [mika]
################################################################################
set -e # exit on any error
echo "$CHROOTMIRROR" > /etc/apt/sources.list
fi
-#if ! [ -n /etc/kernel-img.conf ] ; then
+# if ! [ -n /etc/kernel-img.conf ] ; then
# echo "do_initrd = Yes" > /etc/kernel-img.conf
-#fi
+# fi
# install additional packages
if [ "$PACKAGES" = 'yes' ] ; then
sed -i "s/^savedefault.*/# &/g" /boot/grub/menu.lst
update-grub -y
+ if [ -z "$MBR" ] ; then
+ echo "Notice: \$MBR not set, not install grub therefore."
+ else
+ cp /proc/mounts /etc/mtab
+ grub-install "$MBR"
+ rm /etc/mtab
+ fi
fi
# unmount all filesystems in chroot, make sure nothing is left...
# 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 03 15:23:37 CET 2006 [mika]
+# Latest change: Fre Nov 03 17:14:33 CET 2006 [mika]
################################################################################
################################################################################
# Important: you definitely have to adjust the following variables!
################################################################################
# target partition (where should Debian be installed to)
+# usage example:
+# TARGET='/dev/hda1'
TARGET=''
# where do you want to install grub to?
+# notice: hd0,0 is *first* partition on *first* disk (/dev/sda1 + /dev/hda1)
# usage example:
# GROOT='hd0,0'
GROOT=''
+# partition for use with grub-install
+# usage example:
+# MBR='/dev/hda'
+MBR=''
+
################################################################################
# kernel version
Description: wrapper around debootstrap for installing plain Debian via grml
This package provides a wrapper suite around deboostrap and
cdebootstrap for installing a plain Debian system via grml.
+ .
+ All you have to do is adjust a few variables in configuration
+ file /etc/debootstrap/config and invoke grml-debootstrap then.
+ A plain and base Debian system will be installed on the given
+ device then. Customization of this process is possible as well.
dh_testdir
dh_testroot
dh_installchangelogs
- dh_installdocs
- dh_installexamples
+ dh_installdocs TODO
dh_installman debian/grml-debootstrap.8
dh_link
dh_strip