summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-11-11 12:26:21 +0100
committerHolger Levsen <holger@layer-acht.org>2014-11-11 12:26:21 +0100
commit6c1e094870b5d0cac534c7ec689c9ee9d13bc5e3 (patch)
treefed4277a37b474db241c78b18e54bae59fbce4bd /bin
parent3939a9a2d1a70335b604d801bf413fadf36dbda7 (diff)
downloadjenkins.debian.net-6c1e094870b5d0cac534c7ec689c9ee9d13bc5e3.tar.xz
g-i: refactor
Diffstat (limited to 'bin')
-rw-r--r--bin/g-i-installation.sh23
1 files changed, 13 insertions, 10 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
index bf5d2447..6fa1495c 100644
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -77,6 +77,15 @@ VIDEOBGCOLOR=gray10
FRAMERATE=24 # this is the input framerate
CONVERTOPTS="-gravity center -background $VIDEOBGCOLOR -extent $VIDEOSIZE"
+#
+# Debian Edu -test images usually show a screen with known problems
+# if in EDUTESTMODE we'll acknowledge these
+#
+EDUTESTMODE=false
+if [[ "$NAME" =~ ^debian-edu_.*-test.*$ ]] ; then
+ EDUTESTMODE=true
+fi
+
fetch_if_newer() {
url="$2"
file="$1"
@@ -384,12 +393,6 @@ post_install_boot() {
# debian-edu installations differ too much, login individually
*) ;;
esac
- # Debian Edu -test images usually show a screen with known problems
- # if in EDUTESTMODE we'll acknowledge these
- EDUTESTMODE=false
- if [[ "$NAME" =~ ^debian-edu_.*-test.*$ ]] ; then
- EDUTESTMODE=true
- fi
#
# actions depending on the type of installation
#
@@ -839,13 +842,13 @@ post_install_boot() {
# debian-edu installations report error found during installation, go forward
0100) ! $EDUTESTMODE || do_and_report move 760 560 click 1
;;
- 0110) do_and_report type jenkins
+ 0150) do_and_report type jenkins
;;
- 0120) do_and_report key enter
+ 0160) do_and_report key enter
;;
- 0130) do_and_report type insecure
+ 0170) do_and_report type insecure
;;
- 0140) do_and_report key enter
+ 0180) do_and_report key enter
;;
*) ;;
esac