summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-04-04 08:33:50 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-04-04 08:34:05 +0200
commit35cca5121af72afcf5d93304f5cd9861542c4162 (patch)
tree1f9458e10e9eee1637cdfdecc2c497c13d438906
parent8d4a16f8aa0e7293207cbb65e18aac573a25419f (diff)
downloaddrakx-35cca5121af72afcf5d93304f5cd9861542c4162.tar
drakx-35cca5121af72afcf5d93304f5cd9861542c4162.tar.gz
drakx-35cca5121af72afcf5d93304f5cd9861542c4162.tar.bz2
drakx-35cca5121af72afcf5d93304f5cd9861542c4162.tar.xz
drakx-35cca5121af72afcf5d93304f5cd9861542c4162.zip
enable to control strace behaviour
-rw-r--r--perl-install/install/NEWS3
-rwxr-xr-xtools/drakx-in-chroot2
2 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 9d4ff3f56..dd11abbec 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,6 @@
+- drakx-in-chroot:
+ o enable to control strace behaviour
+
Version 17.26 - 3 April 2016
- add minimal CSD support (mga#17702)
diff --git a/tools/drakx-in-chroot b/tools/drakx-in-chroot
index 680db41ed..d0672617d 100755
--- a/tools/drakx-in-chroot
+++ b/tools/drakx-in-chroot
@@ -42,7 +42,7 @@ foreach (@ARGV) {
} elsif (/--gdb/) {
$wrapper = "gdb -q --args";
} elsif (/--strace/) {
- $wrapper = "strace -e file";
+ $wrapper = "strace -e file $ENV{STRACE_OPTIONS}";
} elsif (/--depth=(.*)/) {
$resolution .= "x$1";
}