summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-01-10 17:04:50 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-01-10 17:04:50 +0000
commit30b77de5ca55825dfe10e129491756d8435751f4 (patch)
tree421ac046940481deae717dbac7777a4ca4018a3a /perl-install
parent1ca1c190ef2531a6fc4f1011ef60168c5624e3db (diff)
downloaddrakx-30b77de5ca55825dfe10e129491756d8435751f4.tar
drakx-30b77de5ca55825dfe10e129491756d8435751f4.tar.gz
drakx-30b77de5ca55825dfe10e129491756d8435751f4.tar.bz2
drakx-30b77de5ca55825dfe10e129491756d8435751f4.tar.xz
drakx-30b77de5ca55825dfe10e129491756d8435751f4.zip
dont_run_directly_stage2 and trace_stage2 needs the live, not the clp
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index 221ba4d9e..77da601f1 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -287,10 +287,12 @@ nuke_perl:
find ../$(PACKAGE)-$(PKGVERSION)/standalone -type f | xargs perl -pi -e 's/\s*use\s+(diagnostics|strict|vars|warnings).*//g'
dont_run_directly_stage2:
+ [ -d $(DEST) ] || $(MISC_DEST)/mdkinst_stage2_tool $(STAGE2_DEST)
echo -e '#!/bin/sh\n\nexec /usr/bin/busybox sh' > $(DEST)/usr/bin/runinstall2.sh
chmod a+x $(DEST)/usr/bin/runinstall2.sh
ln -sf runinstall2.sh $(DEST)/usr/bin/runinstall2
trace_stage2:
+ [ -d $(DEST) ] || $(MISC_DEST)/mdkinst_stage2_tool $(STAGE2_DEST)
f=`perldoc -l Devel::Trace`; install -m 644 -D $$f $(DEST)$$f
perl -pi -e 's|(#!/usr/bin/perl).*|$$1 -d:Trace|' $(DEST)/usr/bin/runinstall2