summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix booty for dmraidHans de Goede2009-03-0910-47/+53
| | | | | | 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.
* It's self.origrequest, not self.origreqest (#489036).Chris Lumens2009-03-091-1/+1
|
* Added crypto.py unittest; Updated devicelibs tests baseclass.py and lvm.pyMartin Gracik2009-03-093-2/+128
| | | | | baseclass.py needed some imports to work properly. Updated the test for getMaxLVSize() in lvm.py to not pass PE size as argument.
* Start storage before parsing the kickstart file.Chris Lumens2009-03-061-3/+4
| | | | | | 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.
* Make sure autopart without any clearpart command will fail.Chris Lumens2009-03-062-2/+4
| | | | | | | 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.
* Update storage flag on ks autopartRadek Vykydal2009-03-061-0/+1
|
* Use correct storage attribute for ks clearpartRadek Vykydal2009-03-061-2/+2
|
* Catch the new _ped.DiskLabelException for unrecognized disklabels.David Lehman2009-03-061-1/+2
|
* Catch all failures from making parted objects in exceptionDisks.David Lehman2009-03-061-2/+1
|
* various dmraid fixes.Joel Granados Moreno2009-03-063-12/+9
| | | | | | 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.
* Implement the format disk question as a callback.Joel Granados Moreno2009-03-063-59/+78
|
* Add dmraid functionality to new storage code.Joel Granados Moreno2009-03-068-52/+341
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Do not pass None values into nonmandatory arguments, you are screwing the ↵Martin Sivak2009-03-061-1/+9
| | | | default values..
* New version.anaconda-11.5.0.25-1David Cantrell2009-03-051-2/+45
|
* Merge in changes present in anaconda pkgcvs.David Cantrell2009-03-053-39/+64
|
* Schedule device destroy actions for partitions last.David Lehman2009-03-051-1/+4
|
* Pass storage.disks, not storage, to createAllowed.... (#488860)David Lehman2009-03-051-1/+1
|
* Nodev filesystems always exist. And the device is arbitrary.David Lehman2009-03-051-2/+4
|
* Include proc, &c filesystems in fstab and FSSet.{mount/umount}Filesystems.David Lehman2009-03-051-5/+9
|
* Remove FSSet.writeFSTab. That job is handled elsewhere.David Lehman2009-03-051-4/+0
|
* Add properties to FSSet to provide the nodev entries.David Lehman2009-03-051-0/+40
|
* Fix incomplete format in Storage.deviceImmutable.David Lehman2009-03-051-1/+1
|
* Make sure we use the same disk the free space is on. (#488807)David Lehman2009-03-051-2/+9
|
* Revert "Make sure we end up with a disk that matches the chosen free region."David Lehman2009-03-052-61/+11
| | | | This reverts commit 6446254b60bfacf99a1cd5ce2d7a09061ac05135.
* Make sure we end up with a disk that matches the chosen free region.David Lehman2009-03-052-11/+61
|
* Prevent clobbering of name 'mdraid' by qualifying it.David Lehman2009-03-051-2/+2
|
* Handle unformatted disks and cdroms in Storage.exceptionDisks.David Lehman2009-03-051-1/+4
|
* Add resizeArgs property for resizable filesystems.David Cantrell2009-03-051-7/+15
|
* Fill out class NTFS a bit more.David Cantrell2009-03-051-2/+6
| | | | | | Add _fsck, _maxSize, _defaultCheckOptions. Make minSize a property. Uncomment _defaultMountOptions and make it a list. Uncomment _packages.
* Add fsckProg property to class FS.David Cantrell2009-03-051-0/+5
|
* Ext2FS.migratable(self) -> Ext2FS.migratableDavid Cantrell2009-03-051-1/+1
| | | | Parent properties are not called like methods, remove '.(self)'.
* Fix StorageDevice.minSize() and PartitionDevice.maxSize()David Cantrell2009-03-051-4/+4
| | | | | | | | 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.
* Center resize window on the screen.David Cantrell2009-03-051-1/+1
|
* Do not raise DeviceError if not bootable device is found.David Cantrell2009-03-051-14/+3
| | | | | Continuation of 8fe8f5478e84adbe28cca63d72b9ea6552ae79e9 for the other platforms listed in platform.py.
* Do an even more thorough job of ignoring disks libparted doesn't like.Chris Lumens2009-03-051-2/+2
| | | | | | | | 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.
* Fix a couple problems on the "Change device" bootloader dialog.Chris Lumens2009-03-051-4/+8
| | | | | | | (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.
* Fix a typo when writing out the mdadm config file.Chris Lumens2009-03-051-1/+1
|
* Remove all uses of isys.cdromList, which no longer exists.Chris Lumens2009-03-054-14/+16
|
* Check to see if we're on S390 on the congrats screen (#488747).Chris Lumens2009-03-052-2/+4
| | | | | This continues the war on calling iutil.isWhatever() everywhere. We can start using the platform module for that.
* Handle non-fatal errors more gracefully in addUdevDevice.David Lehman2009-03-051-3/+12
|
* partRequests no longer exists, so don't try to import it (#488743).Chris Lumens2009-03-051-2/+0
|
* When building the exceptionDisks list, skip devices libparted doesn't like.Chris Lumens2009-03-051-1/+5
| | | | | | | 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.
* Iterate over devicetree.devices.values, not devicetree.David Lehman2009-03-051-1/+1
|
* Add a get() method to Flags, since it pretends to be a dictionary.Chris Lumens2009-03-051-0/+6
|
* Stop with the fsset usage.David Lehman2009-03-056-12/+45
|
* Format message string after translation not beforeMartin Sivak2009-03-051-1/+1
|
* We need newer python-cryptsetup because of the default values for cipher and ↵Martin Sivak2009-03-051-1/+1
| | | | keysize for luskFormat
* If a drive is not initialized, offer reinitialization or ignoring the drive ↵Martin Sivak2009-03-052-4/+35
| | | | to the user
* More syntax errors / traceback fixesHans de Goede2009-03-052-5/+8
| | | | More syntax errors / traceback fixes.
* Fix syntax errorsRadek Vykydal2009-03-052-4/+3
| | | | | | | 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)