summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/tools.h
Commit message (Collapse)AuthorAgeFilesLines
* stage1: Move the symlink creation from stage1 to init.Colin Guthrie2013-10-291-2/+0
| | | | | | | | | | | | | | | | | | | | In order to run stage1 we now need to do things a little differently, namely that we move the symlinking fixups into 'init' itself which we will actually call as a kind of fake switch_root implementation to avoid hacking dracut too much[1]. As we run stage1 during dracut's 'mount' phase we should not do the symlink hacks so early otherwise it will mess up the rest of the dracut initqueue processing. Currently, the initrd's /usr is nuked and then symlinked, but to allow for easier debugging I now just bind mount the stage2 /usr over the top which allows us to unmount it again easily enough if we want to go back. We no longer touch the /bin, /sbin or /lib[64] symlinks as these are relative and simply bind mounting /usr is enough to fix all of them. 1. This scheme will have to change if we eventually swtich to a systemd based dracut invocation.
* kill bootsplash support (we drop bootsplash in kernel in 2008)Thierry Vignaud2013-02-261-1/+0
|
* kill dead emailsThierry Vignaud2012-01-271-1/+1
|
* mandrake is now mandrivaThierry Vignaud2009-03-061-2/+2
|
* - if you give nfs directory xxx, try to use xxx/ARCHPascal Rigaux2007-09-051-0/+1
| | | | | | | - handle cdroms with and without ARCH at the root and factorize the code into create_IMAGE_LOCATION()
* - move parameters functions in params.cOlivier Blin2007-07-051-26/+0
| | | | | - move string/system utility functions in utils.c
* add lowercase() function (used to retrieve mirror list)Olivier Blin2007-04-251-0/+1
|
* remove huge unwanted commitOlivier Blin2007-04-251-1/+0
|
* crappy commit (reverted later)Olivier Blin2007-04-251-0/+1
|
* re-sync after the big svn lossPascal Rigaux2007-04-251-7/+8
|
* cdrom support in third-party moduleOlivier Blin2005-03-161-0/+5
|
* move partition stuff in partition.c and common disk stuff in tools.cOlivier Blin2005-03-091-0/+2
|
* minimal bootsplash stage1 supportPascal Rigaux2004-12-201-0/+1
|
* create unset_automatic()Pascal Rigaux2004-12-201-0/+1
|
* major switch from ramdisk to clpPascal Rigaux2004-11-161-5/+4
| | | | | | | | | | | | | - 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
* - create mount_clp_may_preload() out of handle_clp()Pascal Rigaux2004-11-041-0/+3
| | | | | - rename handle_clp() to handle_move_clp() and simplify its use
* test_that_cd() is now image_has_stage2()Pascal Rigaux2004-11-041-0/+1
|
* compile less things when MANDRAKE_MOVE is definedPascal Rigaux2004-11-021-1/+3
| | | | | (needed so that future commits can restrict define's in config-stage1.h)
* MandrakeSoft -> MandrakesoftPascal Rigaux2004-07-201-1/+1
|
* instead of keeping stage1 (mostly as temporary space but with a fixed size, ↵Pascal Rigaux2004-05-131-2/+0
| | | | | | | and for the background init), exit the stage1 giving hand to stage2 in a tmpfs (same as what was done for Mandrakemove)
* floppy_device returns first floppy device, look for medias first in case of ↵Guillaume Cottenceau2004-02-101-0/+1
| | | | 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/+1
|
* 2.6 kernel supportGuillaume Cottenceau2003-12-181-0/+1
|
* save /etc/resolv.conf in move modeGuillaume Cottenceau2003-10-311-0/+1
|
* file_sizeGuillaume Cottenceau2003-10-221-0/+1
|
* handle "boot" clp and "main" clp. passing argument "live" can force to not ↵Guillaume Cottenceau2003-10-221-1/+1
| | | | use the clp in favor of live tree.
* first attempt of updating stage1 for MandrakeMoveGuillaume Cottenceau2003-10-081-0/+2
|
* enhance (complicate? ;p) device detection so that scsi and usbGuillaume Cottenceau2002-07-241-1/+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)
* Provide some description of the driversGuillaume Cottenceau2001-04-301-1/+2
|
* - fix detection of more than 3 scsi attached devicesGuillaume Cottenceau2001-03-221-0/+2
| | | | | - cleaner code for cmp of ptr against static strings
* - add load of third party modules in Expert mode (PS rulz)Guillaume Cottenceau2001-01-121-0/+1
|
* - add FTPGuillaume Cottenceau2001-01-111-0/+6
| | | | | | - add HTTP - use single place for mountpoints and static directories
* nice handle of automatic mode for cdrom installGuillaume Cottenceau2000-12-181-0/+1
|
* automatic mode added (a.k.a get rid of redhat kickstart)Guillaume Cottenceau2000-12-171-0/+7
|
* - network/nfs worksGuillaume Cottenceau2000-12-161-0/+1
|
* week-end stuff: now supports second stage as a ramdiskGuillaume Cottenceau2000-12-111-1/+5
| | | | | | adds better device files handling (some in initrd, others dynamically created) better logging of detected IDE and SCSI devices
* first draft can detect your cdrom drivesGuillaume Cottenceau2000-12-071-0/+30
soon will launch the stage2