diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-07 18:31:30 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-24 23:28:16 +0100 |
commit | 4604550867df4dd5e2cea4fd5f934a037a6a9e97 (patch) | |
tree | 9b96d3e0b9e5e7eb53f30ca62ad2df980a69d756 /tools/drakx-in-chroot | |
parent | 847c743fa76267f8e58df6882222ea8b2cae9a13 (diff) | |
download | drakx-4604550867df4dd5e2cea4fd5f934a037a6a9e97.tar drakx-4604550867df4dd5e2cea4fd5f934a037a6a9e97.tar.gz drakx-4604550867df4dd5e2cea4fd5f934a037a6a9e97.tar.bz2 drakx-4604550867df4dd5e2cea4fd5f934a037a6a9e97.tar.xz drakx-4604550867df4dd5e2cea4fd5f934a037a6a9e97.zip |
add --depth in order to force 16bit colors mode
Diffstat (limited to 'tools/drakx-in-chroot')
-rwxr-xr-x | tools/drakx-in-chroot | 3 |
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, ''); |