summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-08-27 10:58:06 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-08-27 10:58:06 +0000
commit69907ed1e861483d4063a1eec3662690681651a7 (patch)
tree57be1d65269228481701e476bcf25c4a06ba6366 /perl-install/Makefile
parent0a2ecf8b913dea899159f455cd5b9db7d39e6031 (diff)
downloaddrakx-69907ed1e861483d4063a1eec3662690681651a7.tar
drakx-69907ed1e861483d4063a1eec3662690681651a7.tar.gz
drakx-69907ed1e861483d4063a1eec3662690681651a7.tar.bz2
drakx-69907ed1e861483d4063a1eec3662690681651a7.tar.xz
drakx-69907ed1e861483d4063a1eec3662690681651a7.zip
no_comment
Diffstat (limited to 'perl-install/Makefile')
-rw-r--r--perl-install/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index 2d4ca11f8..aef4c2bd0 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -1,8 +1,10 @@
VERSION = 2.2.10-BOOT
+SUDO = sudo
SO_FILES = c/blib/arch/auto/c/c.so
PMS = *.pm c/*.pm resize_fat/*.pm po/*.pm pci_probing/*.pm commands install2 diskdrake XFdrake
ROOTDEST = /export
DEST = $(ROOTDEST)/Mandrake/mdkinst
+STAGE2 = $(ROOTDEST)/Mandrake/base/mdkinst_stage2
DESTREP4PMS = $(DEST)/usr/bin/perl-install
PERL = perl
LOCALFILES = $(PERL) mouseconfig
@@ -158,6 +160,13 @@ full_stage2:
stage2:
$(MAKE) install_pms
+
+ dd if=/dev/zero of=$(STAGE2) bs=1M count=16
+ echo y | /sbin/mke2fs $(STAGE2)
+ $(SUDO) mount $(STAGE2) /mnt/stage2 -o loop
+ $(SUDO) cp -a $(DEST)/* /mnt/stage2
+ $(SUDO) umount $(STAGE2)
+ gzip -f -9 $(STAGE2)
# cd $(ROOTDEST) ; tar cfz /tmp/instimage-full.tgz Mandrake
# cd $(ROOTDEST) ; tar cfz /tmp/instimage-light.tgz Mandrake/base/compss Mandrake/mdkinst/usr/[bl]*