summaryrefslogtreecommitdiffstats
path: root/loader2
Commit message (Collapse)AuthorAgeFilesLines
* Renamed loader2 subdirectory to loader (hooray for git)David Cantrell2008-08-2571-16996/+0
|
* Do not include wireless.h or call is_wireless_device()David Cantrell2008-08-251-6/+0
| | | | Removed these functions, so do not call them from loader.
* Include ../isys/ethtool.h instead of ../isys/net.h.David Cantrell2008-08-251-1/+1
|
* Removed waitForLink() function in loader.David Cantrell2008-08-251-35/+0
| | | | | Another function that we don't need since we're using NetworkManager now.
* Remove initLoopback() function in loaderDavid Cantrell2008-08-253-32/+0
|
* Use D-Bus properties to get current NM state.David Cantrell2008-08-251-44/+65
| | | | | | | | In order to make get_connection() work initially, I was doing what nm-online was doing, which wasn't that spectacular. I have changed it to using the State property (with the help of Dan Williams). Dan would prefer that other programs talking to NetworkManager use properties as much as possible.
* Use NetworkManager instead of libdhcp. (#458183)David Cantrell2008-08-2510-894/+876
| | | | | | | | | | | 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-256-29/+28
|
* Bring askmethod back to prompt for the location of install.img.Chris Lumens2008-08-252-3/+6
|
* Copy the install.img to /tmp on HD installs.Chris Lumens2008-08-141-14/+19
| | | | | | | This is needed for preupgrade so that the /boot partition will be unmounted when we scan the /etc/fstab and mount all partitions. Also, we should only look for updates.img and product.img after we've decided this partition has a valid install.img on it.
* Fix a typo (dcantrell).Chris Lumens2008-08-141-1/+1
|
* Expert mode was disabled in 2004. Remove it now.Chris Lumens2008-08-142-10/+2
|
* If the UI was used to specify a repo, construct a repo param (#458899).Chris Lumens2008-08-143-0/+6
|
* Correctly handle typos in the stage2 location when inferred from repo=.Chris Lumens2008-08-135-0/+57
| | | | | | | | | 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-135-11/+11
| | | | Reference install.img in anaconda rather than stage2.img.
* Fix the loader UI when prompting for stage2.img on HDISO.Chris Lumens2008-08-131-8/+10
|
* Make it more explicit we want the stage2.img URL, not the repo URL.Chris Lumens2008-08-135-14/+14
|
* Copy the changes from RHEL5 for the linuxrc.s390 over.Chris Lumens2008-08-121-71/+82
| | | | | All the development on this file has taken place on the rhel5-branch, so it only makes sense to copy over all the differences to HEAD.
* 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.
* Fix segfaults on interactive NFS installs (#458416).Chris Lumens2008-08-082-9/+12
|
* Remove extra newtPopWindow() call that was causing a crash (#260621).David Cantrell2008-08-061-1/+0
|
* If we're booting off the boot.iso, don't prompt for lang or kbd (#457595).Chris Lumens2008-08-061-4/+22
|
* Disable logging in the firmware loader, since it clobbers other log messages.Peter Jones2008-07-301-0/+4
|
* Fix another NFS kickstart segfault (#456461).Chris Lumens2008-07-241-2/+2
|
* Remove support for generating a minstg2.img image.David Cantrell2008-07-244-32/+7
| | | | | | The minstg2 image has outlived its usefulness. We are at a point where we have been maintaining two stage 2 images and they are slowly becoming identical.
* METHOD_CDROM is now supported on s390 (jgranado).Chris Lumens2008-07-241-2/+0
|
* Fix test for if we could access stage2.img on the CD (wwoods).Chris Lumens2008-07-241-1/+1
|
* Look for updates.img and product.img on the boot.iso.Chris Lumens2008-07-241-0/+20
|
* Compile fixes.Chris Lumens2008-07-232-4/+6
|
* 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.
* Offer physical NIC identification in stage 1 (#261101)David Cantrell2008-07-221-15/+82
| | | | | | | | | | This has been requested for a while. Some people have wanted the ability to do an 'ethtool -p' from stage 1 so they can figure out what NIC port to use. I can understand arguments for this feature, but I have still tried to make it more or less non-invasive. A new button is on the dev selection screen called Identify. Self-explanatory from there.
* Fix getting the stage2 image when doing kickstart installs.Chris Lumens2008-07-221-9/+28
|
* Support booting from FCP-attached CD/DVD drive on s390 (#184648)David Cantrell2008-07-174-248/+280
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Set interface MTU if user specified mtu= param (#435874)David Cantrell2008-07-161-8/+34
| | | | | If the user passed mtu=X as a boot parameter, set the interface MTU to that value before configuring the network.
* It's called crypto_blkcipher.ko these days.Chris Lumens2008-07-161-1/+1
|
* Fix a segfault when displaying the wrong CD message.Chris Lumens2008-07-141-4/+4
|
* Use the right stage2.img path for kickstart URL installs (#452140).Chris Lumens2008-07-111-4/+9
|
* Display a status message while waiting for the CD to become ready.Chris Lumens2008-07-111-0/+9
|
* In cmdline mode, give some feedback when transferring loader files.Chris Lumens2008-07-111-3/+6
|
* If network config info isn't provided for cmdline, abort.Chris Lumens2008-07-111-3/+11
|
* If we're not given a method in cmdline mode, we have to quit.Chris Lumens2008-07-111-1/+5
|
* In cmdline mode, set language to the default if none is provided.Chris Lumens2008-07-111-4/+5
|
* Don't stop on the method screen if stage2= is provided.Chris Lumens2008-07-111-4/+7
|
* Fix whitespace silliness.Peter Jones2008-07-101-2/+2
|
* Fix closing the drive door so that if the kernel happens to start giving us ↵Peter Jones2008-07-101-5/+93
| | | | the right error code, we'll handle it correctly...
* Correct argument order for newtWinMessage.Chris Lumens2008-07-101-4/+5
|
* Fix the mysterious Error: OK message.Chris Lumens2008-07-101-12/+4
|
* The return value from mediaCheckCdrom is totally useless.Chris Lumens2008-07-101-8/+4
|
* Don't strip too much off the NFS directory path.Chris Lumens2008-07-091-2/+7
|
* Log stage2 url better.Peter Jones2008-07-081-1/+4
| | | | (also add vim info at the bottom.)