summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install/NEWS2
-rwxr-xr-xtools/drakx-in-chroot2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 6ce8a9957..a1a9fe58c 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- drakx-in-chroot:
+ o do not start an X server if using --text
- continue installing if an advertising image is corrupted (#37674)
Version 11.68 - 3 October 2008
diff --git a/tools/drakx-in-chroot b/tools/drakx-in-chroot
index 5feac78e9..6494c39f4 100755
--- a/tools/drakx-in-chroot
+++ b/tools/drakx-in-chroot
@@ -100,7 +100,7 @@ eval { cp_af($_, "$SLASH_LOCATION$_") } foreach qw(/etc/resolv.conf);
my $Xnest_pid;
my $Xnest_bin = find { whereis_binary($_) } 'Xephyr', 'Xnest';
-if (!-f ($SLASH_LOCATION . $AUTO_INSTALL_ROOTED) && $Xnest_bin) {
+if (!-f ($SLASH_LOCATION . $AUTO_INSTALL_ROOTED) && $Xnest_bin && (join('', @ARGV) !~ /--text/)) {
my $DISPLAY = ':8';
$Xnest_pid = fork();
if (!$Xnest_pid) {