summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/tools.c
Commit message (Collapse)AuthorAgeFilesLines
* - merge update_modules stuff in third-party moduleOlivier Blin2005-03-161-2/+4
| | | | | | | - add "thirdparty" as an alias for the "updatemodules" option - allow to specify thirdparty device using automatic "thirdparty" option - try to mount as iso9660 too in try_mount
* cdrom support in third-party moduleOlivier Blin2005-03-161-1/+24
|
* expert mode is deadOlivier Blin2005-03-091-3/+0
|
* move partition stuff in partition.c and common disk stuff in tools.cOlivier Blin2005-03-091-0/+34
|
* new option "keepmounted" to allow the rescue media to be kept mountedPascal Rigaux2005-02-281-0/+1
|
* 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?)
* minimal bootsplash stage1 supportPascal Rigaux2004-12-201-0/+1
|
* create unset_automatic()Pascal Rigaux2004-12-201-0/+6
|
* - drop oem & recovery code (which was broken)Pascal Rigaux2004-11-291-1/+0
| | | | | - will be replaced with a root password + user accounts + network configuration a la drakfirsttime
* major switch from ramdisk to clpPascal Rigaux2004-11-161-96/+20
| | | | | | | | | | | | | - 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
* 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())
* RAMDISK_LOCATION_REL is a better name than RAMDISK_LOCATIONPascal Rigaux2004-11-051-1/+1
|
* - create mount_clp_may_preload() out of handle_clp()Pascal Rigaux2004-11-041-0/+53
| | | | | - rename handle_clp() to handle_move_clp() and simplify its use
* fix typoPascal Rigaux2004-11-041-1/+1
|
* create save_fd() out of copy_file()Pascal Rigaux2004-11-041-19/+26
|
* MODE_RAMDISK is now unusedPascal Rigaux2004-11-041-2/+0
|
* LIVE_LOCATION is better named LIVE_LOCATION_REL without the leading "/"Pascal Rigaux2004-11-041-1/+1
|
* test_that_cd() is now image_has_stage2()Pascal Rigaux2004-11-041-0/+9
|
* drop IS_SPECIAL_STAGE2 in favor of IS_RESCUEPascal Rigaux2004-11-041-17/+3
|
* rename MEM_LIMIT_RAMDISK into MEM_LIMIT_DRAKXPascal Rigaux2004-11-021-1/+1
|
* compile less things when MANDRAKE_MOVE is definedPascal Rigaux2004-11-021-0/+2
| | | | | (needed so that future commits can restrict define's in config-stage1.h)
* MandrakeSoft -> MandrakesoftPascal Rigaux2004-07-201-1/+1
|
* variable declaration fixes (spotted by neofutur)Olivier Blin2004-06-291-1/+2
|
* in testing mode, try to open cmdline file in current directory before trying ↵Olivier Blin2004-06-111-7/+17
| | | | in /proc
* instead of keeping stage1 (mostly as temporary space but with a fixed size, ↵Pascal Rigaux2004-05-131-23/+8
| | | | | | | and for the background init), exit the stage1 giving hand to stage2 in a tmpfs (same as what was done for Mandrakemove)
* try to detect regular floppy drivesGuillaume Cottenceau2004-02-121-0/+22
|
* floppy_device returns first floppy device, look for medias first in case of ↵Guillaume Cottenceau2004-02-101-1/+13
| | | | usb floppies (maybe ide floppies also? never tested) then regular floppy drive
* try to use asprintf a bit (hope it doesn't segfault too much)Guillaume Cottenceau2003-12-221-0/+17
|
* 2.6 kernel supportGuillaume Cottenceau2003-12-181-0/+11
|
* live boot option is deprecatedGuillaume Cottenceau2003-11-201-1/+0
|
* *** empty log message ***Guillaume Cottenceau2003-10-311-1/+1
|
* save /etc/resolv.conf in move modeGuillaume Cottenceau2003-10-311-28/+50
|
* add debugstage1 option to help debugging when stage1 can't launch stage2Guillaume Cottenceau2003-10-301-0/+1
|
* file_sizeGuillaume Cottenceau2003-10-221-7/+13
|
* handle "boot" clp and "main" clp. passing argument "live" can force to not ↵Guillaume Cottenceau2003-10-221-1/+2
| | | | use the clp in favor of live tree.
* first attempt of updating stage1 for MandrakeMoveGuillaume Cottenceau2003-10-081-0/+9
|
* recoveryGuillaume Cottenceau2003-09-101-0/+1
|
* put dhcp bootfile under netauto parameterGuillaume Cottenceau2003-04-141-0/+1
|
* enhance (complicate? ;p) device detection so that scsi and usbGuillaume Cottenceau2002-07-241-0/+1
| | | | | | | | detection are done only when no ide cdrom with mandrake install is detected (speed up), have usb keyboard modules installed before any interactive question, honour "noauto" (skip usb detection and insmod'ing)
* enable install from Compaq Smart ArrayGuillaume Cottenceau2001-08-241-0/+5
|
* mount all but ramdisk Read OnlyGuillaume Cottenceau2001-08-221-1/+1
|
* say that it's a data read error, when we can't load the ramdiskGuillaume Cottenceau2001-08-071-1/+3
|
* have a memory limit also for Rescue (different one)Guillaume Cottenceau2001-07-301-2/+2
|
* - add "changedisk" featureGuillaume Cottenceau2001-07-261-0/+2
| | | | | - add "updatemodules" feature
* do not set root=/dev/ram3 from my code anymore, expect the bootloader to set ↵Guillaume Cottenceau2001-06-111-1/+1
| | | | the parameter correctly
* don't write nonsense code to separate frontend from stage1,Guillaume Cottenceau2001-05-171-4/+4
| | | | | but rather, try to do some clever things
* no need to poll() for data at beginning of load_ramdisk_fd, it was a fix of ↵Guillaume Cottenceau2001-05-141-10/+0
| | | | another problem (bug with file stdio operations with sockets in dietlibc)
* minor fixGuillaume Cottenceau2001-05-081-1/+0
|
* needs to poll() for available data before loading ramdisk because ftp ↵Guillaume Cottenceau2001-05-081-0/+13
| | | | transfers would fail in some situations