| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
baseclass.py needed some imports to work properly.
Updated the test for getMaxLVSize() in lvm.py to not pass PE size as argument.
|
|
|
|
|
|
| |
This is needed to perform sanity checks on the values given to things like
clearpart --drives, as well as to add requests later on. Waiting until we're
into the dispatcher steps is too late.
|
|
|
|
|
|
|
| |
The crucial step here is making sure we set clearPartType to NONE in
setDefaultPartitioning when called with doClear=False. That's what we pass
in from the autopart kickstart command handler, and that's what forces you
to have to use clearpart if you want to remove existing partitions.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
1. Make a better job at detecting a dmraid member.
2. Have python raise an error when trying to set the raidSet
3. For now ignore the raid member if we can't find the set.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
default values..
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This reverts commit 6446254b60bfacf99a1cd5ce2d7a09061ac05135.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Add _fsck, _maxSize, _defaultCheckOptions. Make minSize a property.
Uncomment _defaultMountOptions and make it a list. Uncomment
_packages.
|
| |
|
|
|
|
| |
Parent properties are not called like methods, remove '.(self)'.
|
|
|
|
|
|
|
|
| |
1) Return the format minSize in StorageDevice.minSize() if we
have it, do not compare to self.size.
2) PartitionDevice.maxSize() cannot use 'max' as a variable name
since that's a built-in function.
|
| |
|
|
|
|
|
| |
Continuation of 8fe8f5478e84adbe28cca63d72b9ea6552ae79e9 for the
other platforms listed in platform.py.
|
|
|
|
|
|
|
|
| |
Sometimes, libparted CAN probe /dev/sr0. In those cases, we fail to make
a parted.Disk for it becuase there's obviously no disk label on a CD-ROM.
For now we'll just handle all possible tracebacks. Later, we will want to
do a better job of filtering out exceptions and possibly prompt for
initializing disks.
|
|
|
|
|
|
|
| |
(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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
libparted does not probe for a lot of devices, notably things like /dev/sr0.
There's no real way to handle this in pyparted since we can't distinguish a
valid but unprobeable device from an invalid device at that layer. So,
anaconda needs to skip anything libparted refuses to probe.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
keysize for luskFormat
|
|
|
|
| |
to the user
|
|
|
|
| |
More syntax errors / traceback fixes.
|
|
|
|
|
|
|
| |
This patches against anaconda-storage-branch get me to
package installation (with Custom non-lvm partitioning).
They fix 4 tracebacks i met on the way there.
(applied to 4fb446e75fbc7e10621896ea10660cbb2ca8cfda)
|