| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
We ship the default parameter file as generic.prm, not redhat.parm.
Modify redhat.exec to reflect this.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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, ...).
|
|
|
|
|
| |
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.
|
|
|
|
| |
This patch is intended for both F-12 and the devel branch.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
* iw/partition_gui.py (treeSelectCB): Display the bar view corresponding
to the rows parent.
|
|
|
|
|
| |
* iw/partition_gui.py (populate): Use vg.freeSpace property to add the
LVM free space row.
|
|
|
|
|
| |
This patch separates actions done with the storage object and puts them
before the actions done with the treeview gtk object.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Rounding errors when computing the existing size of NTFS volumes.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Not the actual bug fix, just cleaning up the dialog box messages.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This should reduce the dogpiling in bugzilla for overly-generic
errors like "lvcreate failed for VolGroup/lv_root".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* ui/create-storage.glade: Give the 'vertical' orientation to the
gtk.VBox elements.
|
|
|
|
|
|
|
| |
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.
|