X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=d4451cb0239c94eda401a21248da8ba46e47b100;hp=5e15790557298209b13ec2763afddd4e147a20c6;hb=4647bed2a9b9008b2ade191ccbb754d3aa4e4f9c;hpb=f2117b5c1ffca1d1832e0b2867eb4a054ccbe198 diff --git a/grml-debootstrap b/grml-debootstrap index 5e15790..d4451cb 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -4,7 +4,7 @@ # 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: Mon Apr 16 19:35:55 CEST 2007 [mika] +# Latest change: Mon Apr 16 20:39:13 CEST 2007 [mika] ################################################################################ # http://www.debian.org/releases/stable/i386/index.html.en @@ -41,16 +41,17 @@ usage() { echo einfo "Valid options:" echo " - -h|--help Print this usage information and exit. - -v|--version Show summary of options and exit. - - -t|--target Target partition (/dev/...) or directory. - -r|--release Specify release of new Debian system. Supported relases: sarge, etch, lenny and sid. - -m|--mirror Specify mirror which should be used for apt-get/aptitude. - -p|--mntpoint Specify mountpoint that should be used for mounting the target system. - --groot Specify root device for usage in grub (corresponds with \$TARGET). - --grub Where do you want to install grub to? Use grub syntax for specifying. - --password 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 partition (/dev/...) or directory. + -r|--release Specify release of new Debian system. Supported relases: sarge, etch, lenny and sid. + -m|--mirror Specify mirror which should be used for apt-get/aptitude. + -p|--mntpoint Specify mountpoint that should be used for mounting the target system. + --groot Specify root device for usage in grub (corresponds with \$TARGET). + --grub Where do you want to install grub to? Use grub syntax for specifying. + --password Use specified password as password for user root. Use with caution. + --boot_append Add specified appendline to kernel whilst booting " } @@ -161,7 +162,7 @@ chmod 600 /etc/debootstrap/variables # make sure nobody except root can read it [ -n "$GROOT" ] && echo "GROOT=$GROOT" >> /etc/debootstrap/variables [ -n "$TARGET" ] && echo "TARGET=$TARGET" >> /etc/debootstrap/variables [ -n "$MIRROR" ] && echo "MIRROR=$MIRROR" >> /etc/debootstrap/variables -[ -n "$MIRROR" ] && echo "MIRROR=$MIRROR" >> /etc/debootstrap/variables +[ -n "$MIRROR" ] && echo "CHROOTMIRROR=$MIRROR" >> /etc/debootstrap/variables [ -n "$ROOTPASSWORD" ] && echo "ROOTPASSWORD=$ROOTPASSWORD" >> /etc/debootstrap/variables # make sure at least $TARGET is set [the partition for the new system] @@ -387,7 +388,13 @@ done echo done > $STAGES/grml-debootstrap # }}} - einfo "Finished execution of $0 - enjoy your Debian system." ; eend 0 +if [ -n "$AUTOINSTALL" ] ; then + dialog --title "$0" --msgbox \ + "Finished execution of ${0}. +Enjoy your Debian system." 6 60 +else + einfo "Finished execution of $0 - enjoy your Debian system." ; eend 0 +fi ## END OF FILE ################################################################# # vim: ai tw=100 expandtab foldmethod=marker