summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* lokkit has moved to a subpackage, so require that (#523709).Chris Lumens2009-10-072-2/+2
|
* Stop trying to run xrandr (#527678).Chris Lumens2009-10-072-14/+0
| | | | | | This has only rarely worked, and hasn't at all in quite a long time. What we really need to do is redesign the UI so it fits the screen appropriately instead of pushing X around to do what we want.
* Only initialize escrow packet code if there's devices that need it (#527668).Chris Lumens2009-10-071-5/+9
|
* On lookup of a PartedDevice also check for _ped.DeviceException (#527699)Hans de Goede2009-10-072-2/+2
| | | | | | | | The machine in #527699 has one seriously broken disk, this causes (py)parted to throw a different exception type when looking up the device this patch catches this exception too, which will result in the disk being handled as a removeable disk (ie cardreader) with no media present, causing us to ignore it.
* Set related ayum attributes if media is found when editing methodstr (#515441).Radek Vykydal2009-10-071-0/+4
| | | | | | Duplicates code in configBaseURL, I'd like to do all the media scanning in configBaseURL and guard only methodstr syntax in methodstr editing dialog - perhaps next step if it proves doable.
* In repo editing UI do not use object we are creating (#515441).Radek Vykydal2009-10-071-17/+20
|
* New version.David Cantrell2009-10-063-93/+121
|
* Tell udev to ignore temporary cryptsetup devices. (#526699)David Lehman2009-10-061-0/+2
|
* Sending translation for Polishraven2009-10-061-799/+913
|
* Have redhat.exec reference generic.prm, not redhat.parmDavid Cantrell2009-10-061-1/+1
| | | | | We ship the default parameter file as generic.prm, not redhat.parm. Modify redhat.exec to reflect this.
* Bring back cio_ignore=all, !0.0.0009 for generic.prm on s390x (#463544)David Cantrell2009-10-061-1/+1
| | | | | | The new linuxrc.s390 script seems to have working cio_ignore support now. I've been using the above cio_ignore parameter in my parm file with RHEL-6 nightlies and it's working fine.
* Take 70-persistent-net.rules generated at installation (#526322)David Cantrell2009-10-061-24/+30
| | | | | | | | | | | | | | | | Discovered on s390x, but really affects all platforms. I've done test installs of RHEL-6 on s390x and of rawhide on x86_64 with this patch in place and 70-persistent-net.rules looks correct on the target system after installation. The problem on s390x was we needed to use the KERNELS setting for the line in the rules file, but on other platforms we don't need that. Since /lib/udev/write_net_rules is kicked off during installation, copy /etc/udev/rules.d/70-persistent-net.rules from the installation environment to the target system. If we don't have that file in the installation environment, just do what we have been doing (which should take care of the instances where people are doing kickstart installs with multiple network lines but onboot is set to no).
* Use $LIBDIR to find the boot-wrapper file.Jesse Keating2009-10-061-4/+4
| | | | | | Instead of using the hardcoded library path, use a variable which is set in mk-images, as it seems that they can work across arch like this, and we typically only have one wrapper file available to us at compose time.
* formatByDefault: Don't traceback when mountpoint is None (#522609)Hans de Goede2009-10-061-0/+3
| | | | | | Don't traceback in formatByDefault() when a device with a mountable format has a mountpoint of None. Instead simply assume that if we don't mount it anywhere it does not need to be formatted.
* Don't warn /usr should be formatted when "Format as:" is already selectedHans de Goede2009-10-061-1/+1
| | | | | | | | | When editing a pre-existing mdraid set and selecting /usr (or any of the other mountpoints listed in formatByDefault()) as mountpoint, anaconda always tells that this mountpoint should be formatted before installation. This patch makes anaconda not give this warning when the user has already selected "Format as:" (ext4, ...).
* Bring up network interface before trying to use it for FCoEHans de Goede2009-10-061-0/+4
| | | | | Note this patch deliberately does not use NetworkManager, all we need for FCoE is for the OSI layers 1 (PHY) and 2 (MAC) to be brought up.
* DMRaidArray: Don't report no media present when in teared down stateHans de Goede2009-10-061-0/+5
| | | | This patch is intended for both F-12 and the devel branch.
* Wait for udev to settle before trying to find dmraid sets in udev DBHans de Goede2009-10-061-0/+4
| | | | | | | I hit the race fixed by this during some local dmraid install testing while investigating bug 527035. This patch is intended for both F-12 and the devel branch.
* Implement the double click for free space on the bar viewJoel Granados Moreno2009-10-061-19/+71
| | | | | | | | | | | | | | | | When double clicking on a free space from a 'normal' device, anaconda should display a dialog to create a new partition. When double clicking on a free space from a volume group, anaconda should display a dialog to create a new logical volume. * iw/partition_gui.py (getSelectedSlice): New function that returns the slice that is selected in the stripe. (_createStripe): Always pass the self.cCB and self.dcCB to the Slice class. (barviewActivateCB): New function to handle the double click on the bar slices. (treeSelectCB): Make sure to pass the new barviewActivateCB function instead of the editCB function to the stripeGraph objects.
* Pass only cCB and dcCB to the StripeGraph classes.Joel Granados Moreno2009-10-061-35/+58
| | | | | | | | | | | | | The stripe graph classes do not need the tree object and should treat the editCB as a double click call back (dcCB). This is all done to be more consistent with the logic behind the graph classes. * iw/partition_gui.py (DiskStripeGraph, LVMStripeGraph) (MDRaidArrayStripeGraph): Remove the tree and editCB as arguments. Add one click call back (cCB) and the double click call back (dcCB) to the __init__ method. (treeSelectCB): Pass the self.editCB as dcCB. Pass the self.selectRowFromObj as cCB.
* React to a double click on a "free row" in the tree view.Joel Granados Moreno2009-10-061-0/+21
| | | | | | | * iw/partition_gui.py (treeActivateCB): When we are sure that the tree view has a "free row" selected, use the parent of that row to display a create screen. So, if one double clicks on a VG free space, a create LV window will pop up.
* Create getCurrentDeviceParent function.Joel Granados Moreno2009-10-061-7/+14
| | | | | | | | | | | | One of the ways of knowing where we are in the tree view is to ask for the parent of the current row. If there is no parent, then we know that we are in a root row. Additionally, when we click on free space, we need the parent to know what to put in the bar view. * iw/partition_gui.py (getCurrentDevice): Access the PyObject directly from the model (model[iter]["PyObject"]). If there is not PyObject then it will contain None. (getCurrentDeviceParent): Use model.iter_parent(iter) to get the parent from iter. Will return None if no parent is found.
* Make sure we don't exceed the 80 character thresholdJoel Granados Moreno2009-10-061-7/+14
|
* Display an LVM graph on the bar view when we click on the VG's free spaceJoel Granados Moreno2009-10-061-1/+7
| | | | | * iw/partition_gui.py (treeSelectCB): Display the bar view corresponding to the rows parent.
* Add a free row in the LVM tree view when necessary.Joel Granados Moreno2009-10-061-0/+10
| | | | | * iw/partition_gui.py (populate): Use vg.freeSpace property to add the LVM free space row.
* Reorganize the tree view related to lvm.Joel Granados Moreno2009-10-061-15/+19
| | | | | This patch separates actions done with the storage object and puts them before the actions done with the treeview gtk object.
* Remove unneeded variableJoel Granados Moreno2009-10-061-2/+1
|
* New version.David Cantrell2009-10-053-671/+839
|
* Sending translation for Albanianbesnik2009-10-051-2678/+2371
|
* Remove an errant popd. Probably cut/paste error.Jesse Keating2009-10-051-1/+0
|
* Only add the .img file to .treeinfo if it exists.Jesse Keating2009-10-051-4/+12
|
* Make the netboot dir before trying to use itJesse Keating2009-10-051-0/+1
|
* Only write network --netmask if one has been defined (#527083).Chris Lumens2009-10-051-2/+4
|
* Add --label to anaconda-ks.cfg if needed (#526223).Chris Lumens2009-10-052-0/+6
|
* Fix existing size calculation for NTFS (#520627)David Cantrell2009-10-021-1/+2
| | | | Rounding errors when computing the existing size of NTFS volumes.
* Write label to filesystem if we have one set (#526226, #526242)David Cantrell2009-10-021-1/+5
| | | | | | If a label is set on a filesystem (e.g., the --label switch on a part command in a kickstart file), make sure it is set during the filesystem creation.
* Add wget to the initrd, which is required for rhts.Chris Lumens2009-10-022-1/+3
|
* Fix the check for no /boot request on PPC yet again (#526843).Chris Lumens2009-10-021-1/+1
|
* Surround the stage2= parameter in quotes for RHEL (#526863).Chris Lumens2009-10-021-1/+1
|
* Correct makeupdates script to work with deleted files.Joel Granados Moreno2009-10-021-7/+17
| | | | | | | | | | | This patch avoids a traceback when trying to copy a deleted file. * scripts/makeupdates (doGitDiff): used 'git diff --name-status tag' to get the list of changed files. (pruneFile, isysChanged): Adjust for file name parsing. We should stop looking for the '|' character and we should analyze the first character which contains the status of the file with respect to tag. For now we only skip the deleted files.
* Stop dragging mkinitrd into the installHans de Goede2009-10-021-1/+1
| | | | | | | | | | | We were forcebly installing mkinitrd, but nothing uses it anymore now that we've switched to dracut. There is no need to force installing dracut as the kernel requires it. And if someone decides to not install the kernel, well though luck buddy. p.s. This patch is intended for both devel and F-12
* Add --keyword=P_ to xgettext command arguments.David Cantrell2009-10-011-1/+1
|
* Use named parameters for translatable strings with multiple params.David Cantrell2009-10-0126-156/+241
| | | | | | | | | | | | | | | | This is a cleanup for the po files. xgettext displays the following messages for some Python files: warning: 'msgid' format string with unnamed arguments cannot be properly localized: The translator cannot reorder the arguments. Please consider using a format string with named arguments, and a mapping instead of a tuple for the arguments. This patch modifies the reported format strings to use named parameters per the warning message. We were already using these style format strings in users.py and possibly other files. Basically when there is more than one parameter in the format string, we should use a hash table with named parameters.
* Change 'support' to 'supported' in UnknownSwapError dialog (#526549)David Cantrell2009-10-011-1/+1
| | | | Not the actual bug fix, just cleaning up the dialog box messages.
* Force interface up before checking link status (#525071).David Cantrell2009-10-011-0/+14
|
* Only ignore partitions <1MB that are freespace. (#526445)David Lehman2009-10-011-2/+3
| | | | | | This originally came from bug 119479, which only complained of small free space partitions created by partition magic. Small partitions still will not be represented in the graph.
* Try to include error messages in lvm/mdadm exceptions.David Lehman2009-10-012-131/+107
| | | | | This should reduce the dogpiling in bugzilla for overly-generic errors like "lvcreate failed for VolGroup/lv_root".
* Add the create LV option.Joel Granados Moreno2009-10-013-14/+117
| | | | | | | | | | | | | | | | * iw/datacombo.py (set_active_text): Make sure we return False when we don't find 't'. * iw/partition_gui.py (createCB): Activate the 'create lv' radio button only when there is free space in a Volume Group. Create a Combo box with a list of the Volume Group(s) that have free space. Pre-select the Volume group that the user has selected in the tree view. (editCB): Call the editLVMLogicalVolume with its new parameters. (editLVMLogicalVolume): Change the parameters for this function. (device, isNew = False) -> (lv = None, vg = None). In this way if lv is none and vg is a Volume Group we are creating a new LV in the vg Volume Group. If lv is not None, we are editing lv. * ui/create-storage.glade: Put the 'create lv' radio button in a Horizontal box so we can fit the Volume Group Combo Box.
* Give the proper orientation to the gtk objects.Joel Granados Moreno2009-10-011-31/+78
| | | | | * ui/create-storage.glade: Give the 'vertical' orientation to the gtk.VBox elements.
* Show the information message when user hits a non-bar element.Joel Granados Moreno2009-10-011-2/+9
| | | | | | | For all the elements that are not showable in the bar view, we should show the information graph. The "Please select a device" message instead of a device. The 'edit' and 'delete' buttons should be non-sensitive as well.