summaryrefslogtreecommitdiffstats
path: root/bin/g-i-installation.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-04-28 15:32:54 +0200
committerHolger Levsen <holger@layer-acht.org>2014-04-28 15:32:54 +0200
commitfae844d5747e16e7497ed2402427947f7e18de2f (patch)
tree67813497e426839a66856ea19f615e73ad9e69f3 /bin/g-i-installation.sh
parent138ee87e3bc2f9095f5b582bea13de638700403d (diff)
downloadjenkins.debian.net-fae844d5747e16e7497ed2402427947f7e18de2f.tar.xz
g-i: put serial.log in the right place
Diffstat (limited to 'bin/g-i-installation.sh')
-rwxr-xr-xbin/g-i-installation.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
index 7ef22016..daaf019c 100755
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -46,7 +46,8 @@ rm -rf results
mkdir -p results
WORKSPACE=$(pwd)
RESULTS=$WORKSPACE/results
-QEMU_SERIAL_OUT=${WORKSPACE}/serial-out.log
+mkdir -p $RESULTS/log
+QEMU_SERIAL_OUT=${RESULTS}/log/serial-out.log
#
# language
@@ -107,6 +108,7 @@ cleanup_all() {
rm $i
done
fi
+
}
show_preseed() {
@@ -938,9 +940,7 @@ save_logs() {
# copy logs (and continue if some logs cannot be copied)
#
set +e
- mkdir -p $RESULTS/log
sudo cp -r $SYSTEM_MNT/var/log/installer $SYSTEM_MNT/etc/fstab $RESULTS/log/
- mv $QEMU_SERIAL_OUT $RESULTS/log/
#
# get list of installed packages
#