diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-07-21 16:59:18 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-07-21 16:59:18 +0000 |
commit | 5a5ec8d18c04f2077622bce50e7024e0749e4da8 (patch) | |
tree | 4449a44fc54d7f3e039045a476ecb14522ee5992 /perl-install/Makefile | |
parent | dd40621fa1311c9bce97902e2db57f8b15fab449 (diff) | |
download | drakx-backup-do-not-use-5a5ec8d18c04f2077622bce50e7024e0749e4da8.tar drakx-backup-do-not-use-5a5ec8d18c04f2077622bce50e7024e0749e4da8.tar.gz drakx-backup-do-not-use-5a5ec8d18c04f2077622bce50e7024e0749e4da8.tar.bz2 drakx-backup-do-not-use-5a5ec8d18c04f2077622bce50e7024e0749e4da8.tar.xz drakx-backup-do-not-use-5a5ec8d18c04f2077622bce50e7024e0749e4da8.zip |
*** empty log message ***
Diffstat (limited to 'perl-install/Makefile')
-rw-r--r-- | perl-install/Makefile | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile index 3b401fa1e..d4aec1cdb 100644 --- a/perl-install/Makefile +++ b/perl-install/Makefile @@ -1,6 +1,7 @@ SO_FILES = c/blib/arch/auto/c/c.so PMS = *.pm c/*.pm resize_fat/*.pm po/*.pm commands install2 diskdrake -DEST = /tmp/t/Mandrake/instimage +ROOTDEST = /tmp/t +DEST = $(ROOTDEST)/Mandrake/instimage DESTREP4PMS = $(DEST)/usr/bin/perl-install PERL = perl LOCALFILES = $(PERL) mouseconfig @@ -50,6 +51,9 @@ test_pms: verify_c verify_c: ./verify_c $(PMS) +depslist: + ./gendepslist > $(ROOTDEST)/Mandrake/base/depslist + install_pms: all for i in `perl -ne 's/sub (\w+?)_? {.*/$$1/ and print' commands.pm`; do ln -sf commands $(DEST)/usr/bin/$$i; done @@ -110,8 +114,9 @@ get_needed_files: $(SO_FILES) cp -a keymaps $(DEST)/usr/share cp -a consolefonts $(DEST)/usr/share - echo -e "#!/usr/bin/perl\n\nsymlink '/tmp/rhimage/usr/lib/perl5', '/usr/lib/perl5';\nexec '/usr/bin/sh'" > $(DEST)/usr/bin/runinstall2 - chmod a+x $(DEST)/usr/bin/runinstall2 + ln -s install2 $(DEST)/usr/bin/runinstall2 +# echo -e "#!/bin/sh\n\nexec '/usr/bin/sh'" > $(DEST)/usr/bin/runinstall2 +# chmod a+x $(DEST)/usr/bin/runinstall2 as_root: /bin/dd if=/dev/zero of=/tmp/initrd bs=1k count=4000 @@ -128,17 +133,16 @@ full_stage2: stage2: $(MAKE) install_pms - cd /tmp/t ; tar cfz /tmp/instimage-full.tgz Mandrake - cd /tmp/t ; tar cfz /tmp/instimage-light.tgz Mandrake/instimage/usr/[bl]* + cd $(ROOTDEST) ; tar cfz /tmp/instimage-full.tgz Mandrake + cd $(ROOTDEST) ; tar cfz /tmp/instimage-light.tgz Mandrake/instimage/usr/[bl]* @#rm -rf /mnt/initrd/* @#cp -a $(DEST)/* /mnt/initrd @#sync @#dd if=/dev/loop0 | gzip -9 > /tmp/t/Mandrake/base/stage2.img - # function f() { grep "$*" /usr/include/*.h /usr/include/*/*.h; } -# dd if=/dev/zero of=/tmp/initrd bs=1k count=2000 ; echo y | mke2fs /tmp/initrd ; mount /tmp/initrd /mnt/disk/ -o loop ; cp -a /tmp/disk/* /mnt/disk/ ; umount /mnt/disk ; gzip -c /tmp/initrd > /tmp/initrd.img ; mcopy -o /tmp/initrd.img a: +# dd if=/dev/zero of=/tmp/initrd bs=1k count=2000 ; echo y | mke2fs /tmp/initrd ; mount /tmp/initrd /mnt/disk/ -o loop ; cd ~pixel/gi/perl-install ; install -s install/local-install install1/bin/install ; cp -a install1/* /mnt/disk/ ; umount /mnt/disk ; gzip -c /tmp/initrd > /tmp/initrd.img ; mcopy -o /tmp/initrd.img a: # mount /tmp/initrd /mnt/disk/ -o loop ; ; umount /mnt/disk ; gzip -c /tmp/initrd > /tmp/initrd.img ; mcopy -o /tmp/initrd.img a: |