diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-11-16 09:27:18 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-11-16 09:27:18 +0000 |
commit | 755e390a3e193a7c899db5a9e773cf403db31f50 (patch) | |
tree | a09451bf815883687aababfab0ba5a9213524711 /perl-install | |
parent | 12632bab895e9cd68493f120f44dbbfa6e3ab29f (diff) | |
download | drakx-755e390a3e193a7c899db5a9e773cf403db31f50.tar drakx-755e390a3e193a7c899db5a9e773cf403db31f50.tar.gz drakx-755e390a3e193a7c899db5a9e773cf403db31f50.tar.bz2 drakx-755e390a3e193a7c899db5a9e773cf403db31f50.tar.xz drakx-755e390a3e193a7c899db5a9e773cf403db31f50.zip |
major switch from ramdisk to clp
- mdkinst_stage2.bz2 is now mdkinst.clp
- rescue_stage2.bz2 is now rescue.clp
- make_mdkinst_stage2 is now mdkinst_stage2_tool
(we don't keep the live when building the clp, mdkinst_stage2_tool is able to create the clp from the live, or the live from the clp)
- all stage1 images now need cryptoloop & gzloop
- the clp can be preloaded in memory or not (see MEM_LIMIT_DRAKX_PRELOAD and MEM_LIMIT_RESCUE_PRELOAD)
(for http & ftp, it *must* be preloaded)
- we don't uncompress the ramdisk anymore since the decompression is done on the fly, this makes the rescue boot much faster
- function get_ramdisk_realname() is replaced with macro CLP_FILE_REL
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile index 7f1f37640..3937dde90 100644 --- a/perl-install/Makefile +++ b/perl-install/Makefile @@ -71,6 +71,8 @@ test_pms_all: msgfmt -o $@ $< install_pms: $(DIRS) + [ -d $(DEST) ] || $(MISC_DEST)/mdkinst_stage2_tool $(STAGE2_DEST) + for i in `perl -ne 's/sub (\w+?)_?(\(\))? {.*/$$1/ and print' commands.pm` sync; do ln -sf commands $(DEST)/usr/bin/$$i; done install -d $(DESTREP4PMS) @@ -214,10 +216,10 @@ endif full_stage2: $(MAKE) stage2 - $(MAKE) mdkinst_stage2 + $(MAKE) clp -mdkinst_stage2: - $(MISC_DEST)/make_mdkinst_stage2 $(DEST) $(STAGE2_DEST)/mdkinst_stage2 +clp: + $(MISC_DEST)/mdkinst_stage2_tool $(STAGE2_DEST) stage2: if [ `id -u` = 0 ]; then rm -rf $(DEST); else $(SUDO) rm -rf $(DEST); fi |