* Support setting aptitude/apt-get options through $DPKG_OPTIONS.
* Bugfix: make sure to ignore /dev/md* devices if not using SW-RAID
* Bugfix: do not fail in chrootmirror() when using $ISO variable.
+ * Bugfix: change order of checkconfiguration() so we get the prompt/
+ display for checking configuration again.
* Bump Standard Version to 3.8.1 (no further changes).
- -- Michael Prokop <mika@grml.org> Fri, 08 May 2009 14:28:27 +0200
+ -- Michael Prokop <mika@grml.org> Fri, 08 May 2009 14:46:44 +0200
grml-debootstrap (0.26) unstable; urgency=low
}
# }}}
+# user should recheck his configuration {{{
+# support full automatic installation:
+checkforrun() {
+ dialog --timeout 10 --title "$PN" \
+ --yesno "Do you want to stop at this stage?
+
+Notice: you are running ${PN} in non-interactive mode.
+${PN} will install Debian ${RELEASE} on ${TARGET}.
+Last chance to quit. Timeout of 10 seconds running....
+
+Do you want to stop now?" 0 0 2>/dev/null
+}
+
# make sure the user is aware of the used configuration {{{
checkconfiguration()
{
fi
prompt_for_mirror
-
- checkconfiguration
}
# run interactive mode if we didn't get the according configuration yet
fi
# }}}
+checkconfiguration
+
# finally make sure at least $TARGET is set [the partition for the new system] {{{
if [ -n "$TARGET" ] ; then
SHORT_TARGET="${TARGET##*/}"
}
# }}}
-# user should recheck his configuration {{{
-# support full automatic installation:
-checkforrun() {
- dialog --timeout 10 --title "$PN" \
- --yesno "Do you want to stop at this stage?
-
-Notice: you are running ${PN} in non-interactive mode.
-${PN} will install Debian ${RELEASE} on ${TARGET}.
-Last chance to quit. Timeout of 10 seconds running....
-
-Do you want to stop now?" 0 0 2>/dev/null
-}
-
# create filesystem {{{
mkfs() {
if [ -n "$MKFS" ] ; then