summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-06-15 15:21:17 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-06-15 15:21:17 +0000
commit46b1995265e459270c87ca745342db96abb4602f (patch)
treecb4f22aca86a7f748c7e361fa495ba951eb2dc88
parent0063ef098cf9f2f0eb5fe31451d2efac580d2550 (diff)
downloaddrakx-backup-do-not-use-46b1995265e459270c87ca745342db96abb4602f.tar
drakx-backup-do-not-use-46b1995265e459270c87ca745342db96abb4602f.tar.gz
drakx-backup-do-not-use-46b1995265e459270c87ca745342db96abb4602f.tar.bz2
drakx-backup-do-not-use-46b1995265e459270c87ca745342db96abb4602f.tar.xz
drakx-backup-do-not-use-46b1995265e459270c87ca745342db96abb4602f.zip
allow easy tracing of stage2
-rw-r--r--perl-install/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index a97391518..d0274441d 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -261,3 +261,7 @@ dont_run_directly_stage2:
rm -f $(DEST)/usr/bin/runinstall2
echo -e '#!/bin/sh\n\nexec /usr/bin/busybox sh' > $(DEST)/usr/bin/runinstall2
chmod a+x $(DEST)/usr/bin/runinstall2
+
+trace_stage2:
+ eval `perl -V:vendorlib`; install -m 644 -D $$vendorlib/Devel/Trace.pm $(DEST)$$vendorlib/Devel/Trace.pm
+ perl -pi -e 's|(#!/usr/bin/perl).*|$$1 -d:Trace|' $(DEST)/usr/bin/runinstall2