summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2014-11-13 09:27:35 +0100
committerHolger Levsen <holger@layer-acht.org>2014-11-13 11:58:13 +0100
commit40a6457a1c9d445c4f9a65afd372c3ce69dbc5d5 (patch)
tree2c15c99744bc27c00f5d8b0a62d7a01a6c46f111
parentd671df5919be8c7878d5a56573af0792cd39781f (diff)
downloadjenkins.debian.net-40a6457a1c9d445c4f9a65afd372c3ce69dbc5d5.tar.xz
g-i hurd: redirect kernel and syslog to serial port
-rw-r--r--bin/g-i-installation.sh2
-rw-r--r--d-i-preseed-cfgs/debian_sid_daily_hurd_lxde_preseed.cfg1
2 files changed, 2 insertions, 1 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
index d1a27c84..f4775c12 100644
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -318,7 +318,7 @@ bootstrap_system() {
# timeouts, so rather avoid them
# completely, in qemu PIO is actually
# not slower than DMA anyway.
- APPEND="hd0=nodma $APPEND"
+ APPEND="hd0=nodma console=dom0 $APPEND"
;;
*) ;;
esac
diff --git a/d-i-preseed-cfgs/debian_sid_daily_hurd_lxde_preseed.cfg b/d-i-preseed-cfgs/debian_sid_daily_hurd_lxde_preseed.cfg
index b8d822c5..9cb53f7e 100644
--- a/d-i-preseed-cfgs/debian_sid_daily_hurd_lxde_preseed.cfg
+++ b/d-i-preseed-cfgs/debian_sid_daily_hurd_lxde_preseed.cfg
@@ -362,6 +362,7 @@ d-i debian-installer/exit/poweroff boolean true
# This first command is run as early as possible, just after
# preseeding is read.
#d-i preseed/early_command string anna-install some-udeb
+d-i preseed/early_command string sed -ie s/tty4/com0/ /etc/inittab ; kill -HUP 1
# This command is run immediately before the partitioner starts. It may be
# useful to apply dynamic partitioner preseeding that depends on the state
# of the disks (which may not be visible when preseed/early_command runs).