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
"
}
fi
else # if not running automatic installation display configuration and prompt for execution:
einfo "$0 - Please recheck configuration before execution:"
- echo "
- Target: $TARGET"
+ echo
+ echo " Target: $TARGET"
case "$MNTPOINT" in "$TARGET") ;; *) echo " Mount-point: $MNTPOINT" ;; esac
[ -n "$GRUB" ] && echo " Install grub to: $GROOT / $GRUB"
[ -n "$MIRROR" ] && echo " Using mirror: $MIRROR"
- case "$MNTPOINT" in "$TARGET") ;; *) echo " Important! Continuing will delete all data from ${TARGET}!" ;; esac
+ case "$MNTPOINT" in "$TARGET") ;; *) echo " Important! Continuing will delete all data from ${TARGET}!" ;; esac
echo
einfon "Is this ok for you? [y/N] "
read a
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