summaryrefslogtreecommitdiffstats
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
parent6c479462a4d90c60348396e2f13375391f22d96a (diff)
downloaddrakx-899f1c008d5f254f7395aeef697b34be81b7d573.tar
drakx-899f1c008d5f254f7395aeef697b34be81b7d573.tar.gz
drakx-899f1c008d5f254f7395aeef697b34be81b7d573.tar.bz2
drakx-899f1c008d5f254f7395aeef697b34be81b7d573.tar.xz
drakx-899f1c008d5f254f7395aeef697b34be81b7d573.zip
add support for strace
-rw-r--r--perl-install/install/NEWS2
-rwxr-xr-xtools/drakx-in-chroot2
2 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 397d5ea0e..ce3063960 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- drakx-in-chroot:
+ o add --strace option, enabling to pinpoint missing modules
- include missing module for upcasing UTF-8 characters (mga#8475)
- media step:
o prevent selecting an update medium without its parent medium
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, '');