summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
Commit message (Collapse)AuthorAgeFilesLines
* fixPascal Rigaux2005-01-061-4/+4
|
* ensure /tmp/syslog in stage2 contains the full logPascal Rigaux2005-01-032-2/+6
| | | | | (currently stage2 init was writing in a file shadowed by stage2 copying the /stage1/tmp/syslog over its file)
* it's cleaner to have the clp_tmpfs in /tmpPascal Rigaux2005-01-031-1/+1
| | | | | (i think it was already that way for move and that i broke it, but who knows?)
* much simpler code to handle post-install update modulesPascal Rigaux2004-12-211-2/+5
| | | | | | - it handles new modules - it calls depmod
* minimal bootsplash stage1 supportPascal Rigaux2004-12-209-16/+126
|
* create unset_automatic()Pascal Rigaux2004-12-207-15/+20
|
* fix http directory not starting with a "/" (it was handled for stage1, but ↵Pascal Rigaux2004-12-151-1/+1
| | | | not for URLPREFIX given to stage2)
* cleanupPascal Rigaux2004-12-141-25/+26
|
* simplifyPascal Rigaux2004-12-041-7/+2
|
* *** empty log message ***Pascal Rigaux2004-11-301-9/+22
|
* - drop oem & recovery code (which was broken)Pascal Rigaux2004-11-294-83/+1
| | | | | - will be replaced with a root password + user accounts + network configuration a la drakfirsttime
* - 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
|