echo
einfo "Valid options:"
echo "
- -h|--help Print this usage information and exit.
- -v|--version Show summary of options and exit.
-
- -t|--target <target> Target partition (/dev/...) or directory.
- -r|--release <release> Specify release of new Debian system. Supported relases: sarge, etch, lenny and sid.
- -m|--mirror <URL> Specify mirror which should be used for apt-get/aptitude.
- -p|--mntpoint <mnt> Specify mountpoint that should be used for mounting the target system.
- --groot <device> Specify root device for usage in grub (corresponds with \$TARGET).
- --grub <device> Where do you want to install grub to? Use grub syntax for specifying.
- --password <pwd> Use specified password as password for user root. Use with caution.
+ -h|--help Print this usage information and exit.
+ -v|--version Show summary of options and exit.
+
+ -t|--target <target> Target partition (/dev/...) or directory.
+ -r|--release <release> Specify release of new Debian system. Supported relases: sarge, etch, lenny and sid.
+ -m|--mirror <URL> Specify mirror which should be used for apt-get/aptitude.
+ -p|--mntpoint <mnt> Specify mountpoint that should be used for mounting the target system.
+ --groot <device> Specify root device for usage in grub (corresponds with \$TARGET).
+ --grub <device> Where do you want to install grub to? Use grub syntax for specifying.
+ --password <pwd> Use specified password as password for user root. Use with caution.
+ --boot_append <appendline> Add specified appendline to kernel whilst booting
"
}
cp /etc/debootstrap/packages $MNTPOINT/etc/debootstrap/packages
cp /etc/debootstrap/variables $MNTPOINT/etc/debootstrap/variables
+ cp -a /etc/debootstrap/extrapackages/ $MNTPOINT/etc/debootstrap/
+
# make sure we can access network [relevant for cdebootstrap]
[ -f "$MNTPOINT/etc/resolv.conf" ] || cp /etc/resolv.conf $MNTPOINT/etc/resolv.conf