| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
|
|
|
| |
This causes NetworkManager to hang on s390.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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=
|
| |
|
|
|
|
|
| |
We have lots of strings that we display to users which are unclear or
contain poor usage and grammar. That's bad.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Create /etc/dhcp in the initrd image and make sure loader writes
dhclient configuration files to /etc/dhcp.
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
loader was restricting users to a NIC identification duration of 1 to 30
seconds. This patch increases the maximum to 5 minutes.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
Seriously use VNC already.
|
|
|
|
|
| |
IBM has reworked linuxrc.s390 to provide a better initial configuration
experience for users.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This also changes it so the test for testing mode doesn't mean the rest of
the function gets indented.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
This reverts commit 5a0189827c1c6db21ecbfd01f00ee1f5edbb7a77.
gcc-4.4.0-0.31 in rawhide fixes the problem we were seeing.
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
If we need to ask the user which NIC to use and are in cmdline mode,
tell them we cannot do that and exit.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Signed-off-by: David Cantrell <dcantrell@redhat.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Workaround compile error due to (# 478663)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|