summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2014-11-13 01:47:14 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2014-11-13 01:47:14 +0100
commit638355a2b83d54c525003edba0025ae173b396a0 (patch)
tree2c15c99744bc27c00f5d8b0a62d7a01a6c46f111
parentd7f86a2d85edd5688cf5492953453c5c42b55a0d (diff)
downloadjenkins.debian.net-638355a2b83d54c525003edba0025ae173b396a0.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).