summaryrefslogtreecommitdiffstats
path: root/loader2/loader.c
Commit message (Collapse)AuthorAgeFilesLines
* Renamed loader2 subdirectory to loader (hooray for git)David Cantrell2008-08-251-2208/+0
|
* Remove initLoopback() function in loaderDavid Cantrell2008-08-251-1/+0
|
* Use NetworkManager instead of libdhcp. (#458183)David Cantrell2008-08-251-31/+46
| | | | | | | | | | | Finally, no more libdhcp. This is the first set of changes to take anaconda over to the wonderful world of NetworkManager. We are no longer linking with libdhcp to do interface configuration. NM is started early in the installation and opens the door to things like WPA installation support and things like that.
* When mount fails, pass the error message up to the UI layer.Chris Lumens2008-08-251-3/+3
|
* Bring askmethod back to prompt for the location of install.img.Chris Lumens2008-08-251-2/+4
|
* Expert mode was disabled in 2004. Remove it now.Chris Lumens2008-08-141-8/+1
|
* Correctly handle typos in the stage2 location when inferred from repo=.Chris Lumens2008-08-131-0/+29
| | | | | | | | | When we are given repo= but have to infer a location for the stage2 image, we need to deal with typos. When we try to get the stage2 image, the user has a chance to correct things in the UI. However, this does not change the repo= parameter we used to make our stage2 guess. While we can't be sure what the user really meant to do, we can at least try to trim off the /images/whatever portion of the path that was constructed by the UI.
* Rest of stage2.img changes.David Cantrell2008-08-131-1/+1
| | | | Reference install.img in anaconda rather than stage2.img.
* Make it more explicit we want the stage2.img URL, not the repo URL.Chris Lumens2008-08-131-2/+2
|
* Handle 'rescue' and %post in rescue modeAlexander Todorov2008-08-111-5/+5
| | | | All changes to handle the new rescue command and %post scripts when in rescue mode.
* If we're booting off the boot.iso, don't prompt for lang or kbd (#457595).Chris Lumens2008-08-061-4/+22
|
* Code cleanup - handling of --serialAlexander Todorov2008-07-231-4/+3
| | | | | | | | | | | | | | | | | Good afternoon, currently in loader.c we have: if (FL_RESCUE(flags)) { *argptr++ = "--rescue"; if (FL_SERIAL(flags)) *argptr++ = "--serial"; } else { if (FL_SERIAL(flags)) *argptr++ = "--serial"; ... The attached patch moves the if(FL_SERIAL) section above this piece of code. No need to have the same block of code twice in an if-else statement.
* Support booting from FCP-attached CD/DVD drive on s390 (#184648)David Cantrell2008-07-171-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The s390 can boot El Torito CD or DVD images iff they are attached by zFCP, used as the IPL device, and contain a specially formatted boot image on the disc. IBM provided the tool to combobulate the boot image together and a description of the desired execution path. When you boot on s390, the linuxrc.s390 will look to see if you IPL'ed from a CD or DVD. If you did, it will ask if you also want to install from that device. If you answer yes (y, Y, or any case spelling of 'yes'), the script will bring the IPL device online so the kernel assigns it a device name. Then it skips over the network configuration and starts you in to loader. If you tell it no or did not IPL from a CD or DVD, it'll launch the missiles--wait, no, I mean you get the normal network installation questions before loader starts. I have no way to test this as it requires the following changes: (1) Rel-eng needs to build s390x media with -no-emul-boot and specify the new cdboot.img file on that platform. I have already contacted rel-eng about making this change. (2) I don't have a CD-ROM drive in my mainframe. IBM does and testing is all falling on them. IBM knows this...maybe. I explain all of this like anyone else on the team will ever get a chance to experience it. So there you have it. A letter opener.
* It's called crypto_blkcipher.ko these days.Chris Lumens2008-07-161-1/+1
|
* If we're not given a method in cmdline mode, we have to quit.Chris Lumens2008-07-111-1/+5
|
* Don't stop on the method screen if stage2= is provided.Chris Lumens2008-07-111-4/+7
|
* Log stage2 url better.Peter Jones2008-07-081-1/+4
| | | | (also add vim info at the bottom.)
* Use %m rather than strerror() where appropriate.Peter Jones2008-07-081-42/+23
|
* Check return value of asprintf() consistentlyDavid Cantrell2008-06-271-24/+77
| | | | | | | | | 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-271-0/+6
| | | | | | | | | | 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-261-11/+65
| | | | | | | 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.
* The askmethod cmdline option no longer does anything.Chris Lumens2008-06-181-10/+2
|
* Strip cdinstall.c down to just looking for the stage2 image.Chris Lumens2008-06-181-18/+19
| | | | | | 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.
* 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
|
* Remove support for RHupdates. updates.img is the way to go now.Chris Lumens2008-06-181-19/+1
|
* 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-041-0/+48
| | | | * po/sk.po: Typo fix.
* If we're given a language, don't warn about console fonts (#444258)Jeremy Katz2008-05-011-2/+2
| | | | | If a language is explicitly passed, then just go with it and don't try to pop up the dialog and loop endlessly
* 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.
* Make the /tmp/updates vs RHupdates code at least a little readable.Peter Jones2008-03-121-34/+60
|
* Allow vfat update images.Peter Jones2008-03-121-0/+1
|
* Support stage2= for NFS installs.Chris Lumens2008-03-041-1/+1
|
* Support the stage2= parameter, and add a flag for it.Chris Lumens2008-03-041-1/+5
|
* Use the mount program instead of our own code.Chris Lumens2008-02-111-4/+2
| | | | | Also change isys's mount function to take its arguments as a string like would be passed to the mount program, instead of a handful of flags.
* Forward-port RHEL-5 fixes for s390x issues.David Cantrell2008-02-011-5/+40
| | | | | Bring some fixes done in the RHEL-5 branch for s390x forward to the rawhide branch.
* Go back to the method screen if back is hit on nfs config (#430477).Chris Lumens2008-01-281-1/+1
|
* Map 'nousb', 'nofirewire', etc. to be proper module blacklists.Bill Nottingham2008-01-241-15/+10
| | | | Also, remove some extraneous flags in the process.
* Add dogtail support (#172891, #239024).Chris Lumens2008-01-231-0/+7
| | | | Patches are from Alexander Todorov <atodorov AT redhat DOT com>.
* pcspkr works (or isn't even present), per testing on #fedora-develBill Nottingham2008-01-221-4/+0
|
* Inline spufs loading for ppc.Bill Nottingham2008-01-221-1/+3
|
* Load iscsi_tcp, so that iSCSI actually worksBill Nottingham2008-01-221-1/+1
|
* inline ipv6 module loadingBill Nottingham2008-01-221-2/+2
|
* The isofs module is gone, so remove it to get rid of a FATAL message.Chris Lumens2008-01-161-2/+2
|
* Remove an extra newline.Chris Lumens2008-01-161-1/+1
|
* Add the version number really early in the log file too.Chris Lumens2008-01-111-0/+2
|