Debian: Move FANCYTTY=0 setting from preseed_create to preseed_base
PATCH 1/1 Debian: Move FANCYTTY=0 setting from preseed_create to preseed_base
This makes the console logs of any HVM or debian-installer created easier to parse by omitting the escape characters.
Signed-off-by Ian Campbell <[email protected]>
--- Osstest/Debian.pm | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-)
Osstest/Debian.pm +8 -7
@@ -807,6 +807,14 @@ in-target apt-get install -y sysvinit-core END } + preseed_hook_command($ho, 'late_command', $sfx, <<END); +#!/bin/sh +set -ex + +echo FANCYTTY=0 >> /target/etc/lsb-base-logging.sh +END + + preseed_ssh($ho, $sfx); preseed_hook_command($ho, 'late_command', '', <<'END');
@@ -1058,13 +1066,6 @@ ls -l /dev/sd* true END - preseed_hook_command($ho, 'late_command', $sfx, <<END); -#!/bin/sh -set -ex - -echo FANCYTTY=0 >> /target/etc/lsb-base-logging.sh -END - my $dtbs = "$d_i/dtbs.tar.gz"; if (!stat $dtbs) { $!==&ENOENT or die "dtbs $!";
Signature · 1 line
2.6.1
Ian Campbell writes ("[PATCH OSSTEST] Debian: Move FANCYTTY=0 setting from preseed_create to preseed_base"):
Quoted 2 lines
This makes the console logs of any HVM or debian-installer created easier to parse by omitting the escape characters.
Acked-by Ian Jackson <[email protected]>