summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/tools.c
Commit message (Collapse)AuthorAgeFilesLines
* stage1: Move the symlink creation from stage1 to init.Colin Guthrie2013-10-291-59/+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 long dead argumentThierry Vignaud2013-03-231-6/+6
| | | | the "Additional Drivers floppy" is long dead
* (my_insmod) rename as (my_modprobe) as it really what it isThierry Vignaud2013-03-231-6/+6
|
* add a FIXME note about loading every fs modulesThierry Vignaud2012-09-201-0/+1
|
* Try mounting as btrfs tooPascal Terjan2012-04-071-0/+1
|
* kill dead emailsThierry Vignaud2012-01-271-1/+1
|
* do not list /dev/fd0 when no floppy is found (#58390)Pascal Terjan2010-03-301-1/+1
|
* mandrake is now mandrivaThierry Vignaud2009-03-061-2/+2
|
* allow installing from ext3/ext4/reiser4Pascal Terjan2009-02-161-1/+2
|
* handle ide-cd being renamed as ide-cd_modOlivier Blin2008-06-121-1/+1
|
* - if you give nfs directory xxx, try to use xxx/ARCHPascal Rigaux2007-09-051-0/+20
| | | | | | | - handle cdroms with and without ARCH at the root and factorize the code into create_IMAGE_LOCATION()
* use '_' in module names when explicitely loading modulesOlivier Blin2007-08-211-2/+2
|
* revert ide-floppy commit, it is used for LS/Iomage drives onlyOlivier Blin2007-07-161-1/+0
|
* load ide-floppy when detecting floppiesOlivier Blin2007-07-161-0/+1
|
* load ide-disk when detecting disks (ide is now modularized...)Olivier Blin2007-07-161-0/+1
|
* - move parameters functions in params.cOlivier Blin2007-07-051-286/+2
| | | | | - move string/system utility functions in utils.c
* add lowercase() function (used to retrieve mirror list)Olivier Blin2007-04-251-0/+9
|
* remove huge unwanted commitOlivier Blin2007-04-251-9/+0
|
* crappy commit (reverted later)Olivier Blin2007-04-251-0/+9
|
* re-sync after the big svn lossPascal Rigaux2007-04-251-38/+86
|
* Fix another couple of potential buffer overflowsRafael Garcia-Suarez2006-02-151-2/+1
|
* support jfs and xfsOlivier Blin2005-12-021-0/+2
|
* use thirdparty mode if the "thirdparty" automatic keyword is specifiedOlivier Blin2005-07-281-1/+5
|
* - 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
|