From 46b1995265e459270c87ca745342db96abb4602f Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 15 Jun 2004 15:21:17 +0000 Subject: allow easy tracing of stage2 --- perl-install/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl-install') 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 -- cgit v1.2.1