diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-12-23 18:01:07 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-12-23 18:01:07 +0000 |
commit | 899f1c008d5f254f7395aeef697b34be81b7d573 (patch) | |
tree | c6bc72d8707630a27c6788f2528c154eba7f4a9a /tools/drakx-in-chroot | |
parent | 6c479462a4d90c60348396e2f13375391f22d96a (diff) | |
download | drakx-899f1c008d5f254f7395aeef697b34be81b7d573.tar drakx-899f1c008d5f254f7395aeef697b34be81b7d573.tar.gz drakx-899f1c008d5f254f7395aeef697b34be81b7d573.tar.bz2 drakx-899f1c008d5f254f7395aeef697b34be81b7d573.tar.xz drakx-899f1c008d5f254f7395aeef697b34be81b7d573.zip |
add support for strace
Diffstat (limited to 'tools/drakx-in-chroot')
-rwxr-xr-x | tools/drakx-in-chroot | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/drakx-in-chroot b/tools/drakx-in-chroot index 0df251933..2a4b525ff 100755 --- a/tools/drakx-in-chroot +++ b/tools/drakx-in-chroot @@ -39,6 +39,8 @@ foreach (@ARGV) { $repository_uri = $1; } elsif (/--gdb/) { $wrapper = "gdb -q --args"; + } elsif (/--strace/) { + $wrapper = "strace -e file"; } } my ($repository_without_arch, $repository_arch) = basename($repository) eq arch() ? (dirname($repository), '/' . arch()) : ($repository, ''); |