summaryrefslogtreecommitdiffstats
path: root/loader/method.c
Commit message (Collapse)AuthorAgeFilesLines
* Completely remove loader/Will Woods2012-02-151-333/+0
| | | | IT IS ACCOMPLISHED.
* Move most anaconda mount points to be under /mnt/install.Chris Lumens2011-04-131-19/+19
| | | | | | | /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.
* devt.h is no longer useful, remove it.Chris Lumens2011-03-031-2/+0
|
* Remove unused unpackCpioBall() function.David Cantrell2010-11-101-34/+0
|
* Use unpack_archive_file() instead of unpackCpioBall()David Cantrell2010-11-101-2/+2
|
* Don't look for a CD number in readStampFileFromIso.Chris Lumens2010-10-291-33/+0
|
* Remove a bunch of unused support functions.Chris Lumens2010-10-151-35/+0
|
* Remove the unused mountNfsImage and all code that was only called by it.Chris Lumens2010-10-151-71/+0
|
* Remove the unused iurlinfo, urlInstallData, and fix up URL kickstarts.Chris Lumens2010-10-151-7/+0
|
* Get rid of mountLoopback and umountLoopback.Chris Lumens2010-10-071-83/+6
| | | | | Since mount can handle mounting files on loopback for us now, there's no reason to continue doing so manually in loader.
* Clarify loopback mount log message (#633444).Chris Lumens2010-09-221-4/+3
|
* Adding output to method selection processBrian C. Lane2010-08-271-6/+29
|
* Pass size of structure not a size of pointer to calloc (#592227)Martin Sivak2010-07-071-4/+4
|
* 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.
* removal: umountStage2().Ales Kozumplik2010-04-231-6/+0
| | | | | It's not called from anywhere. We unmount all filesystems in the end anyway, using the machinery in loader/undomounts.c.
* nfs: direct mounting of stage2.Ales Kozumplik2010-04-231-0/+21
| | | | | | | | | | The patch allows us to NFS mount an uncompressed directory as stage2 for instance like this: stage2=nfs:10.34.27.9:/pub/pungi/20100407/i386/os/images/squashfs-root During development this is useful because we can avoid lengthy mksquashfs calls.
* loader: strip trailing slash character from stage2= URL.Ales Kozumplik2010-04-231-0/+10
| | | | | previously, the URL could only be "*.img" anyway. If we are going to be mounting directories, let's have the URL in the same form all the time.
* Derive stage2= from repo=nfsiso: correctly (#565885)Radek Vykydal2010-03-171-0/+8
| | | | | Prevents sigsegv. I have another patch that will prevent the sigsegv when deriving stage2 from invalid repo= parameter.
* 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.
* Fix whitespace error that was introduced.Peter Jones2010-01-191-1/+1
|
* setStage2LocFromCmdline() shouldn't strdup so much.Peter Jones2010-01-191-34/+33
| | | | | | setStage2LocFromCmdline() doesn't need to do so much allocation just to use strtok(), which should be cleansed with fire anyway. Get rid of both.
* Fix implicit declaration of things in sys/stat.h.Chris Lumens2010-01-121-0/+1
|
* Introduces check_asprintf macro that checks asprintfs return value and ↵Ales Kozumplik2009-11-191-4/+1
| | | | | | | | | 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-2/+11
| | | | | | | | | | | | | 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.
* Consolidate the parsing of nfs: locations for ks= and stage2= (#529197)Stijn Hoop2009-11-031-6/+4
| | | | | | Makes sure that NFS options can be used in both parameters. Previously this was only parsed for ks= and not for stage2= using two separate code paths. Move this to a shared function in loader/nfsinstall.c.
* Add proxy support to kickstart in the loader.Chris Lumens2009-09-301-1/+1
|
* libcurl supports https in addition to http, so change our tests.Chris Lumens2009-09-301-1/+1
|
* Use mount -t auto instead of passing a list of valid fstypes (#477328).Chris Lumens2009-01-051-4/+2
|
* Fix a segfault when the wrong HDISO repo parameter is given.Chris Lumens2008-10-011-4/+6
|
* Add another mount function that takes a list of fstypes to try.Chris Lumens2008-08-261-16/+8
|
* Download progress indicator for FTP and HTTP in stage 1.David Cantrell2008-08-251-3/+4
| | | | | Patch from Ricky Zhou to add a pinwheel and progress bar for FTP and HTTP downloads from loader.
* Renamed loader2 subdirectory to loader (hooray for git)David Cantrell2008-08-251-0/+540