summaryrefslogtreecommitdiffstats
path: root/loader
Commit message (Collapse)AuthorAgeFilesLines
* Add missing 'i' in loader/loader.c for non-s390 arches.David Cantrell2009-08-061-0/+2
| | | | | We actually need 'i' on everything but s390. The world is not all mainframes.
* Call shutDown() correctly for s390Karsten Hopp2009-08-061-1/+1
| | | | | Syntax of shutDown() function changed recently, so make sure we call it correctly.
* Remove unused variable from loader/loader.cKarsten Hopp2009-08-061-1/+1
|
* Complete udev setup in linuxrc.s390 for automatic module loadingroot2009-08-061-6/+37
| | | | Patch from Steffen Maier.
* Fix ctrl-alt-deleter behavior /before/ end of install.Peter Jones2009-08-043-3/+8
| | | | | | The new reboot code didn't take into account the fact that there's a different sigint handler while anaconda is running vs when we're done installing. This patch fixes that bad assumption.
* Rework shutDown() to better accomidate "nokill" better.Peter Jones2009-07-303-45/+97
| | | | | | Rework shutDown() so that we don't do unmounts until we're going to reboot or power off the machine. Also some minor cleanups like taking out all the negative-phrasing of "noKill" in the code itself.
* Make sure controlunits.sh is installed to initrd on s390David Cantrell2009-07-282-2/+2
| | | | | | Put controlunits.sh in /usr/lib/anaconda-runtime/loader on s390, install as /sbin/controlunits in the initrd.img, modify linuxrc.s390 to source /sbin/controlunits.
* Skip writeDisabledNetInfo() when loader starts on s390David Cantrell2009-07-281-0/+2
| | | | This causes NetworkManager to hang on s390.
* Update linuxrc.s390 and friends to reflect review comments.Steffen Maier2009-07-272-343/+288
| | | | | | | | | | | | | | | | | | | | | | This brings linuxrc.s390 and friends to the latest version as posted here https://www.redhat.com/archives/anaconda-devel-list/2009-February/msg00392.html plus some updates after that. Changes: - update usage of udev to rawhide - no more telnetd for network login during install - adapt readcmsfile to automatic loading of device driver modules - refactor main part into function init_main - consider renaming of network device driver module from ctc to ctcm - refactor control unit lookup tables into separate file - no more rely on kernel versions to detect device driver features - upstream qeth driver supports IPv6 on HiperSockets in layer3 mode - no more manual (un)loading of device driver modules - correctly handle default MAC address for layer2 qeth devices - no more kill udevd at end of linuxrc.s390 - write network device configuration to correct new place (ifcfg) Splitting up into single patches is impossible without merge conflicts.
* Try to auto-find the CD even if stage2= is specifiedJeremy Katz2009-07-211-2/+2
| | | | | | | | | Try to auto-find the CD even if stage2= is specified; this lets us add stage2= and then the isohybrid'd images can be dd'd to a usb stick and stage2 gets find there as well as on the CD. Next step is to be able to get rid of the auto CD finding by always explicitly specifying stage2=
* Add hipersockets to NETTYPE description (bhinson, #511962).Chris Lumens2009-07-171-1/+1
|
* Edit user-visible dialogs for style.Peter Jones2009-07-136-13/+13
| | | | | We have lots of strings that we display to users which are unclear or contain poor usage and grammar. That's bad.
* Add missing LAYER2 and PORTNO handling for s390x.David Cantrell2009-07-063-2/+44
| | | | | | | | libisys and loader lacked handling for the LAYER2 and PORTNO settings present on s390x systems. Also include the fix for #468755 to write layer2=1 rather than layer=2 to the ifcfg-DEVICE file.
* dhclient now reads config files from /etc/dhcpDavid Cantrell2009-07-061-2/+2
| | | | | Create /etc/dhcp in the initrd image and make sure loader writes dhclient configuration files to /etc/dhcp.
* 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
|