summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-05-17 10:15:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-05-17 10:15:51 +0000
commit22929a5d77d04640c683d17102ec4b84121af833 (patch)
tree8ad8cb51456044a1afa31e5a625f5410eb1da6d0 /perl-install
parente9ca6ad2d9ed4903ecbb53c797a7cce160e40039 (diff)
downloaddrakx-backup-do-not-use-22929a5d77d04640c683d17102ec4b84121af833.tar
drakx-backup-do-not-use-22929a5d77d04640c683d17102ec4b84121af833.tar.gz
drakx-backup-do-not-use-22929a5d77d04640c683d17102ec4b84121af833.tar.bz2
drakx-backup-do-not-use-22929a5d77d04640c683d17102ec4b84121af833.tar.xz
drakx-backup-do-not-use-22929a5d77d04640c683d17102ec4b84121af833.zip
instead of keeping stage1 (mostly as temporary space but with a fixed size, and for the background init),
exit the stage1 giving hand to stage2 in a tmpfs (same as what was done for Mandrakemove)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index 129063f7b..e68ab44a4 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -200,16 +200,16 @@ endif
find $(DEST) -name CVS | xargs rm -rf
full_stage2:
- if [ `id -u` = 0 ]; then rm -rf $(DEST); else $(SUDO) rm -rf $(DEST); fi
- mkdir -p $(DEST)
- $(MAKE) get_needed_files
$(MAKE) stage2
+ $(ROOTDEST)/misc/make_mdkinst_stage2 $(DEST) $(ROOTDEST)/Mandrake/base/mdkinst_stage2
stage2:
+ if [ `id -u` = 0 ]; then rm -rf $(DEST); else $(SUDO) rm -rf $(DEST); fi
+ mkdir -p $(DEST)
+ $(MAKE) get_needed_files
$(MAKE) install_pms
find $(DEST)/usr -name "*.pm" | xargs gzip -9f
cd $(DEST)/usr/lib/perl5 ; gunzip 5.*/{PerlIO,Exporter}.pm.gz 5.*/*-linux-thread-multi/{XSLoader,lib}.pm.gz vendor_perl/*/*-linux-thread-multi/PerlIO/gzip.pm.gz
- $(ROOTDEST)/misc/make_mdkinst_stage2 $(DEST) $(ROOTDEST)/Mandrake/base/mdkinst_stage2
# rules to build a test rpm