summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
Commit message (Collapse)AuthorAgeFilesLines
* - no more kernel/all.modules, things are in kernel/all.kernelsPascal Rigaux2004-11-221-1/+1
| | | | | | | | | | | | | - cleanup what we keep in kernel/all.kernels: only vmlinuz, modules.dep, *.mar, all_modules.tar, modules.cz - replace all_modules.list + modules with all_modules.tar - kernel/all.modules/modules.cz-VERSION are now in kernel/all.kernels/VERSION/modules.cz - allow having a normal in isolinux, but don't use it for floppy images (for this, add kernel/all.kernels/.main-BOOT) - add many modules kernel/list_modules.pm in unused categories since we don't take all modules from kernel, only those listed (needed to have a not too big modules.cz for normal kernel) - complete rewrite of update_kernel (now written in perl)
* major switch from ramdisk to clpPascal Rigaux2004-11-168-167/+73
| | | | | | | | | | | | | - 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
* cleanupPascal Rigaux2004-11-121-5/+4
|
* simplifyPascal Rigaux2004-11-121-3/+0
|
* build init using $(DIET) just like stage2-* (needed for ppc, and nicer),Pascal Rigaux2004-11-122-23/+8
| | | | | unify LDFLAGS_INIT and LDFLAGS_STAGE1
* remove GLIBC_LDFLAGS_STAGE1 and DIETLIBC_LDFLAGS_STAGE1 since they were not ↵Pascal Rigaux2004-11-122-8/+2
| | | | | | | used everywhere, and so it was not easy to understand
* drop unused INIT_LIBC, GLIBC_LIBC, DIETLIBC_LIBC (all 3 were empty at the ↵Pascal Rigaux2004-11-122-12/+4
| | | | moment)
* don't use minilibc.h on ppcPascal Rigaux2004-11-121-3/+13
|
* simplify arch dependent config based on dietlibc vs glibc.Pascal Rigaux2004-11-121-18/+5
| | | | | | this patch may be wrong for ppc which now used dietlibc but may prefer init-libc-headers.h over minilibc.h (need testing)
* some defines are not arch dependentPascal Rigaux2004-11-121-6/+7
|
* we use pivot_root for rescue, so don't umount STAGE2_LOCATIONPascal Rigaux2004-11-051-8/+0
|
* saving stage1 resolv.conf is done in finish_preparing() with no special code ↵Pascal Rigaux2004-11-051-6/+0
| | | | | | | needed for rescue (as was done in save_stuff_for_rescue())
* keep the tmpfs and rescue in /tmp/stage2Pascal Rigaux2004-11-051-18/+29
| | | | | (this allows to mount the rescue read-only)
* use install/stage2/mdkinst.kernels to check stage2 kernel version instead of ↵Pascal Rigaux2004-11-051-6/+19
| | | | install/stage2/live/lib/modules.cz-xxx
* RAMDISK_LOCATION_REL is a better name than RAMDISK_LOCATIONPascal Rigaux2004-11-053-4/+4
|
* create choose_iso_in_directory() out of try_with_directory()Pascal Rigaux2004-11-051-62/+69
|
* - no need to build stage1-cdrom nor stage1-network for MOVEPascal Rigaux2004-11-051-7/+3
| | | | | - for stage1-full, no special .c is needed for MOVE
* cleanup (hoist MOVE_ADDSRC in STAGE1SRC)Pascal Rigaux2004-11-051-3/+3
|
* remove duplicates in STAGE1OBJS-FULL, this removes make warningsPascal Rigaux2004-11-051-2/+4
|
* merge from pcitableOlivier Blin2004-11-051-0/+2
|
* - create mount_clp_may_preload() out of handle_clp()Pascal Rigaux2004-11-044-34/+78
| | | | | - rename handle_clp() to handle_move_clp() and simplify its use
* add some commentsPascal Rigaux2004-11-041-0/+7
|
* IMAGE_LOCATION_REAL is better named STAGE2_LOCATION in MOVEPascal Rigaux2004-11-042-5/+5
|
* - STAGE2_LOCATION is unused in MOVEPascal Rigaux2004-11-041-2/+2
| | | | | - IMAGE_LOCATION_REAL is unused in non MOVE
* LIVE_LOCATION_REL doesn't exist anymore in MOVEPascal Rigaux2004-11-041-1/+5
|
* replace RAW_LOCATION_REL with IMAGE_LOCATION_RELPascal Rigaux2004-11-042-5/+4
| | | | | (the absolute symlink will now be relative, but that's ok here)
* fix typoPascal Rigaux2004-11-041-1/+1
|
* create save_fd() out of copy_file()Pascal Rigaux2004-11-041-19/+26
|
* more commentPascal Rigaux2004-11-042-0/+2
|
* MODE_RAMDISK is now unusedPascal Rigaux2004-11-042-4/+0
|
* simplify since STAGE2_LOCATION is now valid for live installs before pivot_rootPascal Rigaux2004-11-041-5/+2
| | | | | (due to previous stage1.c commit)
* STAGE2_LOCATION symlink is now relative instead of absolutePascal Rigaux2004-11-041-2/+2
| | | | | (relies on the fact that STAGE2_LOCATION and IMAGE_LOCATION are both in /tmp in non MOVE)
* new macro IMAGE_LOCATION_RELPascal Rigaux2004-11-041-2/+4
|
* rename STAGE2_LOCATION_REL into STAGE2_LOCATION_ROOTEDPascal Rigaux2004-11-042-4/+4
| | | | | (since STAGE2_LOCATION_REL is not relative, it's simply absolute when chrooted)
* create STAGE2_LOCATION symlink if it is not a directory (well more precisely ↵Pascal Rigaux2004-11-041-1/+1
| | | | when it doesn't exist)
* LIVE_LOCATION is better named LIVE_LOCATION_REL without the leading "/"Pascal Rigaux2004-11-046-11/+18
|
* cleanup code using kernel_module_extension()Pascal Rigaux2004-11-041-8/+7
|
* use image_has_stage2() (even if not equivalent for rescue since we now check ↵Pascal Rigaux2004-11-041-11/+4
| | | | the stage2 stuff instead, but it should do)
* test_that_cd() is now image_has_stage2()Pascal Rigaux2004-11-043-12/+12
|
* *** empty log message ***Pascal Rigaux2004-11-041-1/+1
|
* drop IS_SPECIAL_STAGE2 in favor of IS_RESCUEPascal Rigaux2004-11-044-22/+6
|
* create str_ftp_error()Pascal Rigaux2004-11-043-11/+14
|
* normalize codePascal Rigaux2004-11-021-2/+4
|
* rename MEM_LIMIT_RAMDISK into MEM_LIMIT_DRAKXPascal Rigaux2004-11-023-4/+4
|
* normalize codePascal Rigaux2004-11-021-3/+6
|
* use IMAGE_LOCATION_DIR where it should bePascal Rigaux2004-11-022-3/+3
|
* compile less things when MANDRAKE_MOVE is definedPascal Rigaux2004-11-027-6/+22
| | | | | (needed so that future commits can restrict define's in config-stage1.h)
* cleanup (remove warning when compiling with MANDRAKE_MOVE defined)Pascal Rigaux2004-11-021-1/+1
|
* allow ioports on x86_64 too for pcmcia supportGwenolé Beauchesne2004-10-041-1/+1
|
* allow recovery of MS bootloader on x86 tooGwenolé Beauchesne2004-10-041-3/+7
|