summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-12-23 18:01:07 +0000
committerThierry Vignaud <tv@mageia.org>2012-12-23 18:01:07 +0000
commit899f1c008d5f254f7395aeef697b34be81b7d573 (patch)
treec6bc72d8707630a27c6788f2528c154eba7f4a9a /tools
parent6c479462a4d90c60348396e2f13375391f22d96a (diff)
downloaddrakx-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')
-rwxr-xr-xtools/drakx-in-chroot2
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, '');