summaryrefslogtreecommitdiffstats
path: root/loader2
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix minor whitespace nits.Peter Jones2008-07-082-2/+2
|
* Use %m rather than strerror() where appropriate.Peter Jones2008-07-0822-212/+130
|
* Make setupCdrom() actually return the path to the stage2 image it found.Peter Jones2008-07-081-42/+43
|
* Get the math right on how many usec per second...Peter Jones2008-07-071-1/+1
|
* Wait up to 45 seconds for "No medium found" to stop happening when looking forPeter Jones2008-07-071-0/+15
| | | | stage 2. Experimentation says it's about 18 seconds on my plextor drive...
* setupCdrom: Don't free stage2loc in a loop, since it isn't reallocated there.Peter Jones2008-07-021-1/+0
|
* Check return value of asprintf() consistentlyDavid Cantrell2008-06-2714-147/+449
| | | | | | | | | For instances where the asprintf() was ignored, wrap it in a test to check if it failed. If it failed, log a message and abort. There may be some instances where abort may not be what we want to do, however, we were ignoring the return value completely so if we did get a failure, it would just SIGSEGV. Now it will SIGABRT instead.
* Per strtol(3) man page, set errno=0 before call.David Cantrell2008-06-274-0/+13
| | | | | | | | | | From the NOTES section of strtol(3): "Since strtol() can legitimately return 0, LONG_MAX, or LONG_MIN (LLONG_MAX or LLONG_MIN for strtoll()) on both success and failure, the calling program should set errno to 0 before the call, and then determine if an error occurred by checking whether errno has a non-zero value after the call."
* Use strtol() instead of atoi()David Cantrell2008-06-264-19/+127
| | | | | | | Code cleanup patch. Use strtol() to convert strings to ints, rather than atoi(). No error checking capability with atoi(). Also add error handling to detect strtol failures.
* Get rid of wlite and unicode-lite; these were necessary to supportPeter Jones2008-06-231-2/+0
| | | | static linking.
* Enable media check again, and let it check the boot.iso.Chris Lumens2008-06-181-54/+35
|
* Fix a simple build error.Chris Lumens2008-06-181-1/+1
|
* Add some memory error handling.Chris Lumens2008-06-182-3/+14
|
* Remove verifyStamp and validIsoImages which are no longer used.Chris Lumens2008-06-184-140/+5
|
* The askmethod cmdline option no longer does anything.Chris Lumens2008-06-182-12/+3
|
* Add support for RHupdates back in, the easy way.Chris Lumens2008-06-181-3/+25
|
* The STAGE2 loader flag is no longer used.Chris Lumens2008-06-181-2/+1
|
* Strip nfsinstall.c down to just looking for the stage2 image.Chris Lumens2008-06-181-127/+28
|
* Strip hdinstall.c down to just looking for the stage2 image.Chris Lumens2008-06-181-173/+45
|
* Strip urlinstall.c down to just looking for the stage2 image.Chris Lumens2008-06-185-222/+89
|
* Strip cdinstall.c down to just looking for the stage2 image.Chris Lumens2008-06-186-77/+49
| | | | | | This includes changing the API of setupCdrom to no longer take a requirepkgs parameter. Doing that also causes a cascade of having to change findAnacondaCD and all its callers for the same reason.
* mountStage2 no longer takes a directory argument.Chris Lumens2008-06-185-42/+14
| | | | | This removes the capability to find implicit updates.img files, but that will be coming back in a later patch. This is just some cleanup for now.
* Add support for the repo= and stage2= options, deprecate method=.Chris Lumens2008-06-181-14/+43
| | | | | | | stage2= points directly at a stage2 image somewhere. repo= points at a source of packages for installation. method= is deprecated, but will have the effect of specifying a repo and assuming a location for the stage2 image. Make sure these options get passed to anaconda too.
* Reorganize the doLoaderMain state machine to make later work easier.Chris Lumens2008-06-181-304/+279
|
* Rename methodData to stage2Data, since that's more appropriate.Chris Lumens2008-06-186-35/+36
|
* Remove support for RHupdates. updates.img is the way to go now.Chris Lumens2008-06-181-19/+1
|
* Deal with udev losing udevcontrol/udevtriggerJeremy Katz2008-06-171-1/+1
| | | | | udev is stopping supporting udevcontrol/udevtrigger as symlinks, so we should change what we call
* Fix yet another typo.Chris Lumens2008-06-131-1/+1
|
* Don't display garbage when prompting for the updates device.Chris Lumens2008-06-131-3/+3
|
* It doesn't make sense to insert a disk into a partition, so don't ask.Chris Lumens2008-06-121-3/+9
|
* 2008-06-04 Ján ONDREJ <ondrejj@salstar.sk> (via ondrejj@fedoraproject.org)Ján ONDREJ2008-06-046-72/+56
| | | | * po/sk.po: Typo fix.
* Don't crash when given URLs of the form ftp://user@host/path (#445295)David Lehman2008-05-051-0/+1
|
* Kickstart flag is backwardsJeremy Katz2008-05-011-3/+3
|
* If we're given a language, don't warn about console fonts (#444258)Jeremy Katz2008-05-013-10/+10
| | | | | If a language is explicitly passed, then just go with it and don't try to pop up the dialog and loop endlessly
* Once we've found the stage2 media on CD, always use it (#443736).Chris Lumens2008-04-231-1/+3
| | | | | | | What happens now is that we never unmount the stage2 image if the NFS repo is incorrect, so trying to mount it again fails and we fall through to a whole other code path. It's easier to just not try to remount the CD than to do all the unmounts.
* Change mount point for CD to /mnt/stage2 when looking for stage2 (#443755).Chris Lumens2008-04-232-6/+4
| | | | | | | | This only affects installations where you are booting the full DVD but (for some crazy reason) want to do an HD or NFS install. Otherwise we'll already have /mnt/source mounted for the CD and won't be able to mount the real installation media on top of it. The DVD will end up getting used even though that's not what you wanted.
* Changes related to BZ #230949David Cantrell2008-04-211-12/+39
| | | | | | | | | | Require the latest libdhcp so that 230949 works. We allowed users to only enter a single network stack's information when doing manual configuration, but the library didn't like that. Also, I had some cleanup code in net.c that I left throughout the entire process of working on 230949 and since it now works, I'd rather just leave it here than back it out. It's all safe.
* Don't look for .discinfo on the rescue CD (#442098).Chris Lumens2008-04-181-1/+1
|
* Revert "Don't look for a .discinfo file in rescue mode (jvonau, #442098)."Chris Lumens2008-04-181-3/+8
| | | | This reverts commit 4725fff23a35799137ccece6fbb7c518c57ff311.
* Revert "Fix figuring out that the CD has stage2 on it and should be mounted."Chris Lumens2008-04-181-1/+2
| | | | This reverts commit f1d7351d39e0238baaaf0fdb0be34ac3f0c86d92.
* Don't put an extra slash on the error messageJoel Andres Granados2008-04-181-1/+1
|
* Kernel changed howw the uevent API works for firmware loading *AGAIN*.Peter Jones2008-04-171-65/+38
| | | | (Also: add lots of logMessage() calls)
* Expose the log file descriptors so fwloader can avoid closing them whenPeter Jones2008-04-172-7/+13
| | | | it daemonizes.
* Fix figuring out that the CD has stage2 on it and should be mounted.Chris Lumens2008-04-161-2/+1
|
* Don't copy the stage2 image on NFS installs (#438377).Chris Lumens2008-04-161-11/+11
|
* Don't look for a .discinfo file in rescue mode (jvonau, #442098).Chris Lumens2008-04-151-8/+3
|
* Try to mount the NFS source in loader to verify it is correct.Chris Lumens2008-04-091-3/+21
|
* Ignore warnings in copying /etc and /var for now.Chris Lumens2008-04-091-2/+2
|
* Make the Back button work when asking for tcp/ip information in loader.c. ↵Joel Andres Granados2008-04-021-1/+6
| | | | (#233655)
* Don't use %n with gettext to avoid segfaults (#439861)Jeremy Katz2008-04-011-5/+3
| | | | | | | We always have something for arch, even if it's "unknown architecture", so the check wasn't even really that relevant. And luckily, we already have "Welcome to %s for %s" as a string so this doesn't hurt us from a string freeze perspective.