summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/drakx-in-chroot3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/drakx-in-chroot b/tools/drakx-in-chroot
index 852792349..0992b49c2 100755
--- a/tools/drakx-in-chroot
+++ b/tools/drakx-in-chroot
@@ -26,6 +26,7 @@ my ($disk_iso_repository, $repository_uri);
--resolution=XXXxYYYY (eg: --resolution=1024x768)\n
--repository=<path> path of packages repository
--text text mode installer
+ --depth=XX set screen color depth
";
(my $repository, my $dir, @ARGV) = @ARGV;
@@ -41,6 +42,8 @@ foreach (@ARGV) {
$wrapper = "gdb -q --args";
} elsif (/--strace/) {
$wrapper = "strace -e file";
+ } elsif (/--depth=(.*)/) {
+ $resolution .= "x$1";
}
}
my ($repository_without_arch, $repository_arch) = basename($repository) eq arch() ? (dirname($repository), '/' . arch()) : ($repository, '');