summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-05-13 08:34:50 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-05-13 08:34:50 +0000
commite79950d93af06b735b86548120dc60b2c5be6ee0 (patch)
treecd0d96ad02a9febbbf7b00071c84d89adf81fdc0 /perl-install/Makefile
parent29a2a329574efc2b945de3d9f2dc08803c6dafd9 (diff)
downloaddrakx-backup-do-not-use-e79950d93af06b735b86548120dc60b2c5be6ee0.tar
drakx-backup-do-not-use-e79950d93af06b735b86548120dc60b2c5be6ee0.tar.gz
drakx-backup-do-not-use-e79950d93af06b735b86548120dc60b2c5be6ee0.tar.bz2
drakx-backup-do-not-use-e79950d93af06b735b86548120dc60b2c5be6ee0.tar.xz
drakx-backup-do-not-use-e79950d93af06b735b86548120dc60b2c5be6ee0.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/Makefile')
-rw-r--r--perl-install/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index 612cf79d5..129063f7b 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -12,6 +12,8 @@ OTHERS = $(OTHERDIRS) $(OTHERFILES)
OTHERDIRS = tools/ddcprobe tools/serial_probe
OTHERFILES = tools/rpcinfo-flushed.c
+STAGE1 = ../mdk-stage1
+
.PHONY: all $(DIRS) install clean stage2 full_stage2
all: list_modules.pm TAGS $(DIRS)
@@ -172,7 +174,7 @@ endif
gzip -9f $(DEST)/usr/share/ldetect-lst/*
- cd share ; cp -a consolefonts $(DEST)/usr/share
+ cd share ; cp -a consolefonts devices symlinks $(DEST)/usr/share
-cd share ; cp -f *.png $(DEST)/usr/share
-cd pixmaps ; cp -af *.png *.xpm langs $(DEST)/usr/share ; rm -f $(DEST)/usr/share/wiz_*
unneeded=`perl -I. -Mlang -e 'lang::get_unneeded_png_lang_files'`; cd $(DEST)/usr/share; rm -f $$unneeded
@@ -193,6 +195,8 @@ ifeq (i386,$(ARCH))
../tools/patch_pcmcia_config.pl $(DEST)/etc/pcmcia/config ../kernel/all.modules/`cat ../kernel/all.kernels/.main`/modules.dep
endif
+ cp -f $(STAGE1)/init-stage2 $(DEST)/usr/bin/init
+
find $(DEST) -name CVS | xargs rm -rf
full_stage2: