Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move storage into the Anaconda class. | Chris Lumens | 2010-02-04 | 1 | -11/+11 |
| | |||||
* | Only /boot needs to be on one of the bootFSTypes. (#557718) | David Lehman | 2010-01-22 | 1 | -1/+3 |
| | |||||
* | Fixup various errors detected by pylint | Hans de Goede | 2010-01-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | I've been running pylint on a subset of anaconda: booty storage iw/*.py platform.py And it has found various errors this commit fixes: - Restore line accidently dropped from iscsi.py - execWithPulseProgress should propagate the return value of execWithCallback - storage.formats.fs:535 (FS.doCheck): self.intf should be just intf - storage.formats.fs: add missing "import sys" (for sys.exit) - advanced_config.py add missing import for NetworkConfigurator - lvm_dialog_gui.py: VolumeGroupEditor.editLogicalVolume dev was renamed to d - partition_gui.py: remove an unneeded semicolon - partition_gui.py: PartitionWindow.createCB rc should be dialog_rc - storage.FSSet.write: put docstring in the proper place - platform.Sparc.minimumSector: sectors should be sector | ||||
* | Fix two missing closing parens in previous commits. | Chris Lumens | 2009-12-11 | 1 | -1/+1 |
| | |||||
* | Default /boot to 500 MB. | Chris Lumens | 2009-12-11 | 1 | -1/+1 |
| | | | | | Now you've got lots of room for lots of kernels and lots of gigantic initrds and probably a couple install.imgs too. | ||||
* | Tighten restrictions on the type of disklabel on x86 and EFI boot disks. | David Lehman | 2009-12-10 | 1 | -2/+11 |
| | |||||
* | Use string instead of parted.diskType for disklabel types. | David Lehman | 2009-12-10 | 1 | -11/+11 |
| | |||||
* | Require /boot to be on a GPT or MSDOS disk label on x86 (#540588). | Chris Lumens | 2009-11-24 | 1 | -0/+6 |
| | |||||
* | Only check for DEVICE_DASD in S390.diskLabelType, not for all platforms. | Chris Lumens | 2009-11-24 | 1 | -3/+7 |
| | |||||
* | Increase the size of /boot a little bit (#530555). | Chris Lumens | 2009-11-04 | 1 | -1/+1 |
| | |||||
* | TypeError: '_ped.DiskType' object is not callable (#531730) | Hans de Goede | 2009-10-29 | 1 | -4/+4 |
| | | | | | | platform.X86.__init__ did: self.diskLabelType = foo instead of self._diskLabelType = foo. So it was overriding the method from the base class. | ||||
* | When doing initlabel on a dasd disk create a dasd disklabel (#531209) | Hans de Goede | 2009-10-28 | 1 | -7/+4 |
| | | | | | | | As discussed on IRC this changes the platform.diskType property into a platform.diskLabelType method that takes a disk/device type argument and uses this argument to check for dasd disks and in that cases returns dasd as diskLabelType. | ||||
* | Rename platform.diskType to platform.diskLabelType | Hans de Goede | 2009-10-28 | 1 | -15/+15 |
| | | | | | Rename platform.diskType to platform.diskLabelType, as diskType is confusing (we usally use it to refer to is the disk dasd, iscsi, zfcp, etc.). | ||||
* | /boot is already being checked by the superclass, so don't check again. | Chris Lumens | 2009-10-21 | 1 | -4/+1 |
| | |||||
* | Allow /boot to be on a variety of filesystems during kickstart (#529846). | Chris Lumens | 2009-10-21 | 1 | -13/+15 |
| | | | | | | This fixes an inconsistency where /boot could be on various filesystems during interactive installs, but not during kickstart. What filesystems are valid is controlled by the Platform module. | ||||
* | Platform.bootloaderPackage -> Platform.packages | Chris Lumens | 2009-10-21 | 1 | -9/+9 |
| | | | | This seems to be a more future-proof way of doing things. | ||||
* | Fix the check for no /boot request on PPC yet again (#526843). | Chris Lumens | 2009-10-02 | 1 | -1/+1 |
| | |||||
* | yaboot supports /boot on ext4 (#526219). | Chris Lumens | 2009-09-29 | 1 | -0/+1 |
| | |||||
* | Don't check if /boot is under the 4MB mark on i/p Series (#526200). | Chris Lumens | 2009-09-29 | 1 | -3/+4 |
| | |||||
* | Check whatever contains /boot on PPC as well as the bootable part (#523747). | Chris Lumens | 2009-09-16 | 1 | -2/+22 |
| | |||||
* | Expose common fsset methods and properties in class Storage. | David Cantrell | 2009-09-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | Add the following methods and properties to class Storage which map through to FSSet methods, modify existing calls to use the method on class Storage: turnOnSwap() mountFilesystems() umountFilesystems() parseFSTab() mkDevRoot() createSwapFile() fsFreeSpace() mtab mountpoints migratableDevices rootDevice Callers no longer need to pass the Anaconda object to the FSSet methods directly. The method on Storage takes care of that. The mtab() method on FSSet is exposed as a property on Storage. The same is true for fsFreeSpace(). | ||||
* | A "partition" having no partedPartition shouldn't be a traceback (#519128). | Chris Lumens | 2009-08-26 | 1 | -9/+7 |
| | | | | | | | ...when checking the validity of /boot partitions, at least. This situation really indicates the user did something weird like encrypt /boot, and those kinds of problems will already be detected. We'd rather display the errors than traceback. | ||||
* | x86 and EFI platforms can now have /boot on ext4. | Chris Lumens | 2009-08-20 | 1 | -0/+2 |
| | |||||
* | Fix disk.partedDisk -> disk.format.partedDisk. | David Lehman | 2009-08-19 | 1 | -1/+1 |
| | |||||
* | Change all disklabel manipulations to use the DiskLabel format class. | David Lehman | 2009-08-17 | 1 | -1/+1 |
| | | | | | | | | The DiskDevice class no longer has any implicit requirement that the device contain a disklabel. The disklabel is now represented as a device format. This provides the basis for future support for device types that can optionally be partitioned, as well as whole-disk formats such as filesystems. | ||||
* | Be more explicit about what's lacking on EFI systems (#501341). | Chris Lumens | 2009-06-10 | 1 | -1/+4 |
| | |||||
* | Move /boot checks from sanityCheck into Platform.checkBootRequest. | Chris Lumens | 2009-05-21 | 1 | -3/+36 |
| | |||||
* | Return translated strings from checkBootRequest. | Chris Lumens | 2009-05-21 | 1 | -9/+23 |
| | |||||
* | Check that /boot is on a Mac disk label for PPC installs (#497745). | Chris Lumens | 2009-05-21 | 1 | -0/+11 |
| | |||||
* | Move isEfi to be a property on Platform instead of on X86 (#497394). | Chris Lumens | 2009-04-23 | 1 | -5/+5 |
| | |||||
* | Fix ps3 platform support (#497203) | Jeremy Katz | 2009-04-23 | 1 | -1/+9 |
| | |||||
* | Fix a typo ('isEFI' should be 'isEfi'). | David Lehman | 2009-03-30 | 1 | -1/+1 |
| | |||||
* | Use PartSpec in the auto partition request list, and assign weights to them. | Chris Lumens | 2009-03-30 | 1 | -4/+41 |
| | | | | | Also, add a weight method to the Platform classes and have it return an integer for whatever fstype or mountpoint is provided. | ||||
* | Add EFI, Apple Bootstrap, and PPC PReP Boot formats. | David Lehman | 2009-03-23 | 1 | -6/+7 |
| | |||||
* | Fix a reference to the partitions list (#491335). | Chris Lumens | 2009-03-20 | 1 | -1/+1 |
| | |||||
* | Add boot partition size limit properties and size validation method. | David Lehman | 2009-03-19 | 1 | -2/+42 |
| | | | | | | Also, don't require that partitions be bootable in advance of being identified as the boot device. We will set the boot device's boot flag explicity elsewhere. | ||||
* | Make platform.checkBootRequest work better and not use diskset anymore. | Chris Lumens | 2009-03-17 | 1 | -43/+18 |
| | |||||
* | Fix a traceback when looking for PS3 boot partitions (#490738). | Chris Lumens | 2009-03-17 | 1 | -3/+3 |
| | |||||
* | Recognize PS3 as a valid machine type (#489263). | Chris Lumens | 2009-03-09 | 1 | -1/+1 |
| | |||||
* | Move the mdRaidBootArches logic into the platform module. | Chris Lumens | 2009-03-09 | 1 | -0/+8 |
| | |||||
* | Do not raise DeviceError if not bootable device is found. | David Cantrell | 2009-03-05 | 1 | -14/+3 |
| | | | | | Continuation of 8fe8f5478e84adbe28cca63d72b9ea6552ae79e9 for the other platforms listed in platform.py. | ||||
* | Use the right attributes to build the bootloaderChoices dict. | Chris Lumens | 2009-03-04 | 1 | -13/+13 |
| | |||||
* | Return whatever we get here, we don't care if bootDev is None here. | David Cantrell | 2009-03-03 | 1 | -6/+1 |
| | | | | | This function will return None until the user sets up a /boot or a / filesystem. | ||||
* | Move bootloader package information into the platform module. | Chris Lumens | 2009-02-27 | 1 | -0/+11 |
| | |||||
* | Added a set of classes that encapsulate platform-specific information. | Chris Lumens | 2009-02-27 | 1 | -0/+395 |
This is where we'll be storing bootloader, disk type, default partitioning, and other similar information that changes on a per-platform basis. All this information needs to be removed from everywhere else. |