summaryrefslogtreecommitdiffstats
path: root/loader
Commit message (Collapse)AuthorAgeFilesLines
* Look for /bin/sh, not /sbin/busybox.Chris Lumens2009-07-061-1/+1
|
* network --bootproto no longer implies DHCP.Chris Lumens2009-07-021-5/+3
|
* Don't unconditionally skip the network config screen in kickstart.Chris Lumens2009-07-021-4/+2
| | | | | | This means you have to provide a network line in the kickstart file if you want the network to be automatically configured, therefore bringing the network command in line with how all the other kickstart commands work.
* Convert loader/ to Makefile.amDavid Cantrell2009-06-092-158/+92
|
* Remove loader/tr/.cvsignoreDavid Cantrell2009-06-091-1/+0
|
* Increase max NIC identification duration to 5 minutes (#473747).David Cantrell2009-06-091-1/+1
| | | | | loader was restricting users to a NIC identification duration of 1 to 30 seconds. This patch increases the maximum to 5 minutes.
* Use /sbin/ipcalc for IP address validation (#460579)David Cantrell2009-06-091-26/+3
| | | | | | Modify checkipv4() and checkipv6() in linuxrc.s390 to run /sbin/ipcalc for address validation. We were already including the ipcalc program, we just weren't using it.
* Remove umask temporarily so device permissions are correct (#383531, wmealing).Chris Lumens2009-06-051-0/+8
|
* Remove driverdisk --type, since mount can figure that out.Chris Lumens2009-06-021-12/+6
|
* If network --device=MAC is given, translate to device name (#185522).Chris Lumens2009-05-221-1/+6
|
* Add a newline to a cmdline mode string (#497575).Chris Lumens2009-05-191-1/+1
|
* Reset font when changing language.Bill Nottingham2009-05-181-0/+1
| | | | | | | This works around a bad interaction with KMS/fbcon where any font set before KMS initializes isn't set correctly. Signed-off-by: Bill Nottingham <notting@redhat.com>
* Set locale to en_US.UTF-8 when initializing the console.Bill Nottingham2009-05-181-0/+1
| | | | | | | If we're setting the console to UTF-8, we should set a UTF-8 locale so that apps that test LC_CHARSET do the right thing. (e.g., slang) Signed-off-by: Bill Nottingham <notting@redhat.com>
* loader: Mount /tmp as tmpfs not ramfs so we can swap it outAdam Jackson2009-05-141-3/+3
|
* Remove 'lowres' option.Adam Jackson2009-05-081-1/+0
| | | | Seriously use VNC already.
* IBM improvements to linuxrc.s390 (#475350)David Cantrell2009-05-063-486/+3375
| | | | | IBM has reworked linuxrc.s390 to provide a better initial configuration experience for users.
* Retry network configuration in loader (#492009)David Cantrell2009-05-052-2/+7
| | | | | | Rewrite disabled network configuration scripts in loader if we ask the user to retry network configuration. nm-system-settings will pick up the change to those files and down those interfaces.
* Configure network in kickstartNetworkUp() iff NM is not connected (#490518)David Cantrell2009-04-301-0/+3
| | | | | | In kickstartNetworkUp(), call is_nm_connected() to see if we are in NM_STATE_CONNECTED. If we are in any other state, prompt for network configuration and start NetworkManager.
* Don't segfault with "ks someotherparam" (#498307).Chris Lumens2009-04-301-3/+4
|
* Fix a segfault on nfs+kickstartPeter Jones2009-04-281-0/+1
| | | | | | | This fix makes loaderData->stage2Data be initialized unconditionally. Without it, we sometimes get a garbage pointer there, and that results in a segfault (if you're lucky) in mountNfsImage when it tries to use the data.
* No longer force ISOs to be on ext2, ext3, or vfat partitions.Chris Lumens2009-04-171-60/+51
| | | | | This also changes it so the test for testing mode doesn't mean the rest of the function gets indented.
* Load filesystem modules on demand (#490795, #494108).Chris Lumens2009-04-071-2/+2
| | | | | | | Instead of loading filesystem modules all at once in loader, load them as needed from the filesystem format __init__ methods. The intention here is to remove a lot of the special code from loader and avoid kernel errors in modules that the user never even wants to have involved.
* Revert "Work around gcc bug #492973"David Cantrell2009-03-319-11/+11
| | | | | | This reverts commit 5a0189827c1c6db21ecbfd01f00ee1f5edbb7a77. gcc-4.4.0-0.31 in rawhide fixes the problem we were seeing.
* Work around gcc bug #492973David Cantrell2009-03-309-11/+11
| | | | | | | | | Problem with -O2 and some string functions with the latest version of gcc in rawhide. Work around the problem for now so we can compile, ideally we can revert this patch in the future. gcc bug: https://bugzilla.redhat.com/show_bug.cgi?id=492973
* Do not prompt for NIC selection in cmdline mode (#492586)David Cantrell2009-03-301-0/+9
| | | | | If we need to ask the user which NIC to use and are in cmdline mode, tell them we cannot do that and exit.
* Rename /etc/modprobe.d/anaconda to /etc/modprobe.d/anaconda.confChris Lumens2009-03-161-3/+3
| | | | | The kernel tells me that all module config files have to end with .conf in the future or they'll be ignored. We had better rename it, then.
* Handle FTP servers that both want and don't want PASS after USER (#490350).Chris Lumens2009-03-161-1/+1
| | | | | | Before, we were sending PASS only if we got a 230 (success) response to USER and not providing PASS if we got a 331 (gimme a password) response. That's entirely the wrong behavior.
* reIPL support for s390Mark Hamzy2009-03-022-54/+33
| | | | Signed-off-by: David Cantrell <dcantrell@redhat.com>
* Fix build errors in the new net.c code.Chris Lumens2009-02-131-7/+7
|
* Add the missing files.. again..Martin Sivak2009-02-132-0/+150
|
* Add iBFT support to loaderMartin Sivak2009-02-122-4/+110
|
* If ks=nfs:... is given, don't try to find the file via boot options (#480210).Chris Lumens2009-01-291-66/+68
|
* btrfs install supportEric Sandeen2009-01-191-1/+1
| | | | | | | | | | | | | | | | | | Now that btrfs is in mainline, let's let anaconda play with it too ;) We still need btrfs.ko in the kernel, and btrfs support in e2fsprogs. I've got the latter patch submitted upstream, and it's in rawhide now. Note that the below is 100% totally untested and may even have typos, my track record with python is not too good, sorry. :) So review would be appreciated.... Updated to address Radek's review, as well as adding the requisite witty (commandline-space-eating) boot option... (And stopped trying to use parted fs identification -- katzj) Signed-off-by: Eric Sandeen <sandeen@redhat.com>
* Create a loop for dbus and pump the loop to process all the dbus messages. ↵Jesse Keating2009-01-141-0/+16
| | | | | | | | | | | This fixes network bringup in loader. In a normal env, something like GTK processes all the dbus messages as part of it's main loop. We don't have anything like that in loader so we have to turn that crank manually, and enough times to clear out all the pending messages. Signed-off-by: David Cantrell <dcantrell@redhat.com>
* Revert "Port the dlabel feature from RHEL5 bug #316481 into Fedora (#436951)"Jeremy Katz2009-01-085-156/+1
| | | | | | This reverts commit 89652b6fbe65e5e7922d743a99b07104d071ef42. This patch was not reviewed on the list and does not fix any emergency build breakage. Thus, per policy is being reverted.
* Port the dlabel feature from RHEL5 bug #316481 into Fedora (#436951)Martin Sivak2009-01-085-1/+156
|
* 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.