| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
This time I left out the check prior to setting the vg name
as it should be unnecessary.
|
|
|
|
|
|
|
| |
The whichToResize() window presents the user with a list of resizable
filesystems, allows the user to enter a new target size, then creates
an ActionResizeFormat object and returns that to the caller. The
action is registered in the Storage object.
|
|
|
|
|
|
|
|
|
|
|
| |
Previously we would call doPartitioning every time we refreshed
the main partitioning screen. This makes little sense if the
user just finished modifying a vg or md array or only assigned
a mountpoint to an existing device.
There is still more that we could do, like only calling
doPartitioning if one of the generated action involves
partition allocation.
|
| |
|
| |
|
|
|
|
|
|
| |
Booty was expecting the xxxxxxx part of /dev/xxxxxx paths instead of
new storage device names, this patch fixes this, making booty work on
dmraid with the new storage code.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* storage/devices.py (DMRaidArrayDevice): Complete the DMRaidArrayDevice
class.
* storage/devices.py (PartitionDeviceFactory): When creating a
partition we need to decide, based on the device holding the
partition, what type of partition class will be returned.
* storage/devices.py (PartitionDevice): When setting the disk we must be
careful to change stuff accordingly.
* storage/devicetree.py (addUdevDevice): Handle the creation of the
dmraid device and its members in the addUdeveDevice function.
* storage/formats/dmraid.py (DMRaidMember): Complete the format that
handles devices being members of a dmraid array.
* storage/udev.py (udev_device_is_dmraid): add a function that
recognizes dmraid devices from the provided info list.
* storage/udev.py (udev_device_get_dmraid_partition_disk): function that
gets the disk string from partition info.
* storage/udev.py (udev_device_is_dmraid_partition): function that
checks for dmraid partitions.
* storage/__init__.py (disks(self)): return a list of disks from the
internal attribute.
* storage/__init__.py (Storage.disks): we really want to make sure we
return all the objects that comply with the DiskDevice interface
(inheret from DiskDevice)
* storage/__init__.py (Storage.partitions): Same as above but for
PartitionDevice.
* iw/autopart_type (PartitionTypeWindow(InstallWindow)): use disk.name
instead of munging the first 5 characters of the path.
* storage/partitioning (newPartition): Use the new partition factory to
create a partition.
|
| |
|
| |
|
|
|
|
|
|
|
| |
(1) Add the active boot partition to the drop down BIOS drive list.
(2) If there's no active device (not sure how this could happen, but we've
gotten bugs about it before) then don't try to do anything else with
that combo box.
|
| |
|
|
|
|
|
| |
This continues the war on calling iutil.isWhatever() everywhere. We can
start using the platform module for that.
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
anaconda
fsset.py
iutil.py
iw/partition_gui.py
partedUtils.py
|
| |
| |
| |
| | |
Signed-off-by: David Cantrell <dcantrell@redhat.com>
|
| |
| |
| |
| |
| |
| | |
This reverts commit 6317611f1d9990910d3d1f528c2f6e7b934fcd4d.
Can't assign inside a lambda.
|
| |
| |
| |
| | |
pychecker fix.
|
| |
| |
| |
| | |
pychecker fix.
|
| | |
|
| |
| |
| |
| |
| | |
This fixes a rarely reported, even more rarely reproduced bug indicating a
problem subscripting a TreeIter.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
The biggest change is creating a new MDRaidArrayDevice instance
whenever the user hits "ok" and the device is not preexisting.
|
| |
| |
| |
| | |
Fixes for the edit partition dialog.
|
| |
| |
| |
| |
| | |
If we're dealing with a non-migratable filesystem, othercb and
othercombo will be None here.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Hook up the migrate fs UI components with the new storage backend.
Highlights:
- If user selects Migrate filesystem to, the Format checkbox is
disabled. Same for the reverse, selecting Format disables
the Migrate options.
- Mount point entry box is not disabled for migrate selections.
- Wrap the return value in storage.formats.fs.FS.migratable
in bool(). If the filter() operation returns a list, that's
what we get in the return value rather than True.
- Other minor typo and syntax fixes.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Fix indentation of block that sets up format indicators for
partitions.
- Fix check for partitionable devices in deleteCB.
- Refresh UI even if dialogs return empty action list, so we
pick up little things like a newly set mountpoint on a pre-
existing device.
- Don't pass storage instance to vgeditor since anaconda has it.
|
| |
| |
| |
| |
| |
| | |
- Pass around format classes instead of fstype strings.
- createFSTypeMenu now takes a format instance as its first arg.
- Handle resize and migrate.
|
| |
| |
| |
| |
| |
| |
| |
| | |
- Always return a list from run().
- Handle removal of encryption.
- Collect mountpoint even if not creating or formatting.
- Collect migration/resize settings.
- Pass format instance to createFSTypeMenu
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Always return a list from run().
- Handle the case of removing encryption from a device.
- Schedule format create actions to go with device create actions.
- Save mountpoint setting even when not formatting/creating.
- pass format instance to createFSTypeMenu
- create preexist options even for unknown formats
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Existing volume may lack a label. If it's there, add it to the
list, otherwise just go with the defaults.
|
| |
| |
| |
| |
| | |
We don't have this function anymore, but I don't know if we need
to be calling anything else.
|
| |
| |
| |
| |
| | |
Misc syntax fixes for the new storage code. Generated these while
trying to do a 'Create custom layout' install.
|
| |
| |
| |
| | |
doPartitioning is not in autopart anymore.
|
| | |
|
| |
| |
| |
| |
| |
| | |
We have used string slicing to get a device node name like 'sda5'
in the past. The disk.name property now gives us that so we do
not have to do string slicing all over the code.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Change minsize/maxsize to minSize/maxSize since that's the
convention elsewhere throughout the code.
- Redirect output from all external utilities to tty5, not
/dev/null.
- Don't waste calls to basename for debug log statements,
especially when the device can be None.
- Add lots of missing imports.
- Fix lots of remnants of previous code usage.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
exception.py:
- Remove unused partedUtils import.
- Collect things from storage, not partitions.
gui.py:
- exceptionDisks is in storage now, not diskset.
installclasses/rhel.py:
installclasses/fedora.py:
- setDefaultPartitioning take storage arg, not partitions.
iw/autopart_type.py:
- Find things in storage, not partitions.
iw/bootloader_main_gui.py:
iw/osbootwidget.py:
- Remove unused partedUtils import.
- Find fsset in storage now.
- Use storage, not diskset, for iterating over disks/partitions.
iw/lvm_dialog_gui.py:
- Fix several typos from the original storage update.
iw/partition_gui.py:
- Find unusedMDMembers in storage, not partitions.
iw/partitionui_helpers_gui.py:
- Use StorageDevice.minSize,maxSize for resize limits.
- Update doUIRAIDLVMChecks to use new storage module.
packages.py:
- Use new storage module to list vgs for selinux hack.
storage/__init__.py:
- Fix FSSet.createSwapFile so it creates the file on the
correct device.
storage/iscsi.py:
- Use new storage module to identify iscsi disks.
textw/partition_text.py:
textw/upgrade_text.py:
- Initial update to use new storage module.
yuminstall.py:
- Use storage module to find space for upgrade transaction.
- Use storage module to locate protected partitions to mount
in doPreInstall.
|
| | |
|
| | |
|
|/ |
|
| |
|