summaryrefslogtreecommitdiffstats
path: root/loader/cdinstall.c
Commit message (Collapse)AuthorAgeFilesLines
* Completely remove loader/Will Woods2012-02-151-421/+0
| | | | IT IS ACCOMPLISHED.
* Move most anaconda mount points to be under /mnt/install.Chris Lumens2011-04-131-15/+15
| | | | | | | /mnt/sysimage stays where it is because that's fairly widely established and known outside anaconda, whereas all these other mount points are private anaconda knowledge. /mnt/source is somewhat widely used, but I have cautioned people about getting used to that.
* Prompt for media check on DVD installs (#676551).Chris Lumens2011-02-141-14/+13
|
* Move all kickstart functions into kickstart.c.Chris Lumens2011-01-251-6/+0
| | | | | Running the commands will now require operating on PyObjects, and I don't want to expose that outside of kickstart.c.
* mediaCheckCdrom now supports checking only one piece of media.Chris Lumens2010-10-291-56/+8
|
* Add some debugging prints.Chris Lumens2010-10-151-0/+2
|
* Don't prompt for kbd, lang, or network on CD/DVD installs.Chris Lumens2010-10-151-59/+74
| | | | | | | This adds back in part of the old check from doLoaderMain that I hated so much, but this should be all that's required for quite some time. Just check if there's full installation media in a CD drive first. If so, that's likely to be what we're installing from.
* Also rework image loading for CD/DVD installs.Chris Lumens2010-10-151-111/+65
|
* Remove a bunch of unused support functions.Chris Lumens2010-10-151-11/+0
|
* Add noeject support to loader (#477887)Brian C. Lane2010-09-101-0/+6
| | | | | When noeject is passed on the kernel command line disable ejecting the cdrom.
* Move isys and booty into the pyanaconda/ directory, adjust paths to match.Chris Lumens2010-06-281-4/+4
| | | | | | | This is required so the source layout and package layout have a similar enough structure to make our test setup work. Without this move, you can't run "make check" or checkbot without getting error messages about no such module pyanaconda.booty.
* refactoring: put totalMemory() into isys.Ales Kozumplik2010-05-271-0/+1
| | | | so the python implementation in iutil.py can be removed.
* move log.c from loader into isys.Ales Kozumplik2010-03-081-1/+1
| | | | | | This is in preparation to use logging from imount.c. We don't want a dependency of isys on loader, instead move logging code into isys and change loader sources to use the log.h header in isys.
* Introduces check_asprintf macro that checks asprintfs return value and ↵Ales Kozumplik2009-11-191-33/+12
| | | | | | | | | terminates program in OOM scenarios. This is to avoid having to copy-paste the asprintf-log-abort if branch all the time. This commit also modifies existing asprintf() calls to use the new macro in places where the change wouldn't modify program's semantics.
* Sleep if the kickstart file read fails (#537361)Ales Kozumplik2009-11-191-0/+8
| | | | | | | | | | | | | If a read from a block device (like USB key) or a cdrom (USB cdrom) fails, sleep a bit to give the device some time to initialize. Return status of the mount command is checked so waiting occurs only if there is a reasonable chance that the device might eventually come online. This required extending our existing mounting methods to report the correct mount error code. I tested that * the installer still runs * reading the kickstart from a usb works * starting the installer with no USB key inserted but a command line argument pointing to a USB drive will trigger the waiting cycle and that when the key is inserted while waiting the kickstart is eventually found on the key.
* rescue: Don't copy install.ing to /tmp when not enough RAM (#531304, #529392)Jerry Vonau2009-11-091-1/+1
| | | | | | | With rescue copying install.img to /tmp when available_memory>128000k, this left the machine unable to hold install.img in ram if there is under 256M of ram. Patch to change that to be based on MIN_GUI_RAM instead.
* Add a newline to a cmdline mode string (#497575).Chris Lumens2009-05-191-1/+1
|
* Workaround compile error due to (# 478663)Hans de Goede2009-01-061-0/+9
| | | | Workaround compile error due to (# 478663)
* Explicitly close the CD drive after the user hits "continue" (#375011)Peter Jones2008-11-121-0/+1
| | | | | | As a side effect, this makes it go through waitForCdromTrayClose(). Signed-off-by: Chris Lumens <clumens@redhat.com>
* Indentation fix.Peter Jones2008-11-041-3/+3
|
* Fix whitespace.Peter Jones2008-10-231-19/+19
| | | | My previous edit had tabs all over the place.
* Fix "looking for installation images" when there's no disc at all.Peter Jones2008-10-231-18/+23
| | | | | | Don't check for ENOMEDIUM on opening the device right after we got a real drive status from it. Instead, just consider the actual drive status from waitForCdromTrayClose().
* Make cdrom drive door status messages be INFO not DEBUG.Peter Jones2008-10-231-3/+2
| | | | | These are acting up too much recently, so make it so we can see them before stage2 is ready.
* Renamed loader2 subdirectory to loader (hooray for git)David Cantrell2008-08-251-0/+508