summaryrefslogtreecommitdiffstats
path: root/loader
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't skip the method screen when going back and forth (#477991).Chris Lumens2009-01-061-0/+1
| | | | | | | | | The following UI flow is broken: OK on keyboard -> Back on method selection -> OK on keyboard -> method. In this case, the method screen is skipped and loader cruises way ahead to searching for the stage2 image on a CD. Failing that (like, you're doing a PXE boot) it will display a screen telling you that a CD couldn't be found. Fix it by allowing displaying method selection again.
* The FTP USER command does not need to be followed by a PASS (#477536).Chris Lumens2009-01-061-8/+13
|
* Workaround compile error due to (# 478663)Hans de Goede2009-01-062-1/+9
| | | | Workaround compile error due to (# 478663)
* Use mount -t auto instead of passing a list of valid fstypes (#477328).Chris Lumens2009-01-053-10/+6
|
* Fix case sensitivity when searching for headersJeroen van Meeuwen (Fedora Unity)2008-12-311-1/+1
|
* Reduce direct D-Bus calls in isys/iface.c.David Cantrell2008-12-181-19/+2
| | | | | | | | | | | The first patch in a two (possibly three) patch series that replaces some direct D-Bus code with libnm-glib calls. Much less verbose, easier to read, etc, etc. Tested this patch locally and all seems well. Calling it a day for now. [rawhide]
* Allow 'ks' to function as it once did (#471812)David Cantrell2008-12-181-23/+78
| | | | | | | | | This is a much more readable and reasonable patch to restore the 'ks' boot option functionality. The nextserver and bootfile are read from the DHCP option set and used to build the URL to find the kickstart file. [rawhide]
* Fix telnet install support (#471082)David Cantrell2008-12-181-6/+10
| | | | | | | Someone tried it in F-10 and reported that it didn't work. The startTelnetd() function in telnetd.c needed some changes. [rawhide]
* Call 'udevadm settle' instead of 'udevsettle'.David Cantrell2008-12-181-3/+3
| | | | | | | | Log file had a message telling us to use 'udevadm settle' instead of 'udevsettle' and that udevsettle support as argv[0] will be removed in the future. This patch changes loader to call 'udevadm settle'. [rawhide]
* Check error from asprintf() correctly for dhcpclass handling.David Cantrell2008-12-171-1/+1
| | | | | | | If asprintf() errors, it returns -1. Check for that correctly and return 20 on error. [rawhide]
* Use libnm_glib in net.c:get_connection()David Cantrell2008-12-171-93/+14
| | | | | | Rather than getting the NetworkManager state over D-Bus, use the libnm_glib library to get the same information. Less verbose code that way.
* Add libnm_glib CFLAGS and LIBS to loader's Makefile.David Cantrell2008-12-171-3/+3
|
* Use macros for D-Bus pathsDavid Cantrell2008-12-161-2/+2
|
* We already have _GNU_SOURCE defined in Makefile.incDavid Cantrell2008-12-051-1/+1
| | | | Do not define _GNU_SOURCE in loader/Makefile again.
* Remove XXX comment in net.c about GATEWAYDavid Cantrell2008-12-051-4/+0
| | | | | | In NetworkManager-world, we want the GATEWAY to be store per device rather than for the entire system, so what ifcfg-fedora is reading is the correct thing to do.
* Use strverscmp() from glibc in place of rpmvercmp()David Cantrell2008-12-053-105/+9
| | | | | We are linking with glibc now, so use strverscmp() in place of the rpmvercmp() function in loadermisc.c.
* Remove readLine() function from loader/loadermisc.cDavid Cantrell2008-12-052-12/+0
| | | | Nothing is using this function anymore.
* Send unique vendor class identifier unless user specifies one.David Cantrell2008-12-051-18/+28
| | | | | | | | | | | | | | Restores functionality we had before the NM changeover. This was originally requested by gurulabs.com. Instead of sending just 'anaconda' as the vendor class identifier, send something like: anaconda-Linux 2.6.27.5-117.fc10.i686 i686 Of course, if we fail to collect that information, fall back on 'anaconda'. Guru Labs wanted this functionality for PXE booting as it allowed them to more easily control per-client/per-release settings from the DHCP server. My fault for not adding this back when the NM changeover happened.
* insert_module -> insmodDavid Cantrell2008-12-021-4/+4
|
* Load FCP modules early for CD/DVD install (#184648)David Cantrell2008-12-021-269/+267
| | | | | | Load the SCSI modules earlier for CD/DVD installs on s390. Also, always set up the network interface because you still need that to ssh in and run loader.
* Followup to commit b27dcdc6a37b5429b50579dbf0650e880a95988cDavid Cantrell2008-11-172-2/+1
| | | | | Fix two missing things. I dropped the { in the git patch and needed to remove the now-unused iface_t in main.
* Do not bring up network for non-remote kickstart locations (#471658)David Cantrell2008-11-173-6/+29
| | | | | | | If the user passes ks=hd: or another non-remote kickstart location, do not bring up networking during installation. However, if they pass the 'vnc' parameter, make sure we do bring up networking early because we can't let them configure it by the time we get to stage2.
* 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>
* Bring up networking early enough for syslog= param (#470513)David Cantrell2008-11-082-3/+11
| | | | | | If a user boots from boot.iso and specifies syslog=HOST, we need to send them through the network configuration steps in loader so that networking is available by the time anaconda starts.
* Indentation fix.Peter Jones2008-11-041-3/+3
|
* Let users edit net settings on network failure in stage 1 (#465887)David Cantrell2008-11-041-0/+4
| | | | | | | | | | | | | | | This one has been around for a while. If a user selects the wrong network interface in loader and waits for the failure message to appear, they are taken back to the 'select an interface' screen. They select the right interface, but loader used the TCP/IP settings entered the first time around. On network configuration failure and if we are doing an interactive install, blank out ipv4method and ipv6method so that we take the user to the TCP/IP configuration screen. I use ipv4method and ipv6method to figure out if a kickstart installation is beginning, so by blanking them out for the interactive install case, we get to take the user back to the TCP/IP settings screen.
* Move startNewt later to avoid printing extra messages on the screen (#469687).Chris Lumens2008-11-041-3/+5
|
* Do not store mount options in loaderData->instRepo (#467760)David Cantrell2008-11-031-10/+3
| | | | | Mount options are handled elsewhere, we do not need to store them in the instRepo variable.
* Rebuild keymaps to get rid of trq.map (#469433).Chris Lumens2008-10-313-0/+0
|
* Remove cio_ignore functionality for s390xDavid Cantrell2008-10-311-24/+0
| | | | | | | We've backed this out on RHEL 5.3 for now because it was far more complex than IBM had told us, so it's back to the drawing board for this one. Keeping rawhide in sync with what's happening on the RHEL side with this feature.
* Call startNewt earlier than network bring up (#469171).Chris Lumens2008-10-301-5/+2
| | | | | | | | This needs to be called before newtWinMessage, which can happen in various conditions in the networking code paths. So we can either create our own newtWinMessage to call startNewt for us (preferred fix for the future), add more calls to startNewt throughout the networking code, or just move the first call earlier. For F10, the last seems like the most straightforward fix.
* Do not write NM_CONTROLLED=yes to ifcfg files (#468028)David Cantrell2008-10-241-1/+0
| | | | | | Make the loader code match the behavior of the anaconda Python code. Only write NM_CONTROLLED=no. If a device is controlled by NM, don't write an NM_CONTROLLED line.
* Log D-Bus messages at ERROR or INFO level.David Cantrell2008-10-241-7/+7
| | | | | | Was using DEBUGLVL for all of the D-Bus messages. Make sure error messages are at the ERROR log level and info-type messages are at the INFO log level.
* Write dhcpclass to the dhclient conf file for the device (#468436)David Cantrell2008-10-241-0/+43
| | | | | | If the user passes dhcpclass= at the boot prompt, write the value to /etc/dhclient-DEVICE.conf as 'send vendor-class-identifier %s' so that NM will use those settings when sending the DHCP request.
* Remove extra debug info.Peter Jones2008-10-231-2/+0
| | | | I didn't mean to commit this log message.
* Fix the damn spinner in the progress bar.Peter Jones2008-10-232-20/+7
| | | | | It spins backwards, overruns the buffer constantly, and worst of all, there are two of it. No more, I say!
* 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.
* Don't display the entire lengthy device description (#467825).Chris Lumens2008-10-231-1/+1
|
* Make sure we handle the /tmp/method file for FTP correctly (#467753).Chris Lumens2008-10-221-3/+13
|
* Enable CCW devices used for installation (#253075)David Cantrell2008-10-161-1/+25
| | | | | | | | | | | | IBM had requested that on s390x we add the cio_ignore=all parameter to the default boot file. Well, cio_ignore all except for the 3270 terminal. The motivation for this change was to decrease device discovery time on systems with thousands of subchannels. The fix was only part of the solution. When you use cio_ignore to disable everything, you need to explicitly free the device from cio_ignore and then enable it using the magic of /sbin/chccwdev. This patch adds the un-ignore capability to linuxrc.s390.
* Make kickstart installs work again (#374271, #392021, #448096, #466340, #466304)David Cantrell2008-10-143-39/+39
| | | | | | Kickstart installs should work again like they did at one point. If you do not specify IP configuration parameters on the boot: line, loader assumes DHCP (which is what we've done forever).
* Let users go Back when loading updates.David Cantrell2008-10-142-7/+18
| | | | | If you select Back in loadUpdates(), the installer would segfault under certain cases.
* Write ifcfg files to /etc/sysconfig/network-scripts instead of /.tmpDavid Cantrell2008-10-142-15/+41
| | | | | | Writing to /.tmp proved to work, now to move the temporary files to a better location. Using /etc/sysconfig/network-scripts, but writing the files as ".ifcfg-DEVICE" and then renaming to ifcfg-DEVICE.
* ext4dev -> ext4 (esandeen).Chris Lumens2008-10-141-1/+1
|
* Update keymaps to include latest Romanian settings (#466117).Chris Lumens2008-10-133-0/+0
|
* Take ip= parameter values by not resetting ipinfo_set.David Cantrell2008-10-101-6/+1
| | | | | | In STEP_IFACE, ipinfo_set was always getting reset to 0, which caused the net.c code to ignore any network configuration values specified on the boot line.
* Remove unnecessary STEP_IP code.David Cantrell2008-10-101-60/+0
| | | | | All of this code is handled in setupIfaceStruct(), so there's no need for it here.
* Fix how configureTCPIP() returns.David Cantrell2008-10-101-16/+13
| | | | | | Clean up the loop termination and return value handling. Currently the configureTCPIP() function returns LOADER_NOOP if the user chose dhcp and LOADER_OK if the user chose manual configuration.