summaryrefslogtreecommitdiffstats
path: root/platform.py
Commit message (Collapse)AuthorAgeFilesLines
* Move storage into the Anaconda class.Chris Lumens2010-02-041-11/+11
|
* Only /boot needs to be on one of the bootFSTypes. (#557718)David Lehman2010-01-221-1/+3
|
* Fixup various errors detected by pylintHans de Goede2010-01-141-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 Lumens2009-12-111-1/+1
|
* Default /boot to 500 MB.Chris Lumens2009-12-111-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 Lehman2009-12-101-2/+11
|
* Use string instead of parted.diskType for disklabel types.David Lehman2009-12-101-11/+11
|
* Require /boot to be on a GPT or MSDOS disk label on x86 (#540588).Chris Lumens2009-11-241-0/+6
|
* Only check for DEVICE_DASD in S390.diskLabelType, not for all platforms.Chris Lumens2009-11-241-3/+7
|
* Increase the size of /boot a little bit (#530555).Chris Lumens2009-11-041-1/+1
|
* TypeError: '_ped.DiskType' object is not callable (#531730)Hans de Goede2009-10-291-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 Goede2009-10-281-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.diskLabelTypeHans de Goede2009-10-281-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 Lumens2009-10-211-4/+1
|
* Allow /boot to be on a variety of filesystems during kickstart (#529846).Chris Lumens2009-10-211-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.packagesChris Lumens2009-10-211-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 Lumens2009-10-021-1/+1
|
* yaboot supports /boot on ext4 (#526219).Chris Lumens2009-09-291-0/+1
|
* Don't check if /boot is under the 4MB mark on i/p Series (#526200).Chris Lumens2009-09-291-3/+4
|
* Check whatever contains /boot on PPC as well as the bootable part (#523747).Chris Lumens2009-09-161-2/+22
|
* Expose common fsset methods and properties in class Storage.David Cantrell2009-09-031-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 Lumens2009-08-261-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 Lumens2009-08-201-0/+2
|
* Fix disk.partedDisk -> disk.format.partedDisk.David Lehman2009-08-191-1/+1
|
* Change all disklabel manipulations to use the DiskLabel format class.David Lehman2009-08-171-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 Lumens2009-06-101-1/+4
|
* Move /boot checks from sanityCheck into Platform.checkBootRequest.Chris Lumens2009-05-211-3/+36
|
* Return translated strings from checkBootRequest.Chris Lumens2009-05-211-9/+23
|
* Check that /boot is on a Mac disk label for PPC installs (#497745).Chris Lumens2009-05-211-0/+11
|
* Move isEfi to be a property on Platform instead of on X86 (#497394).Chris Lumens2009-04-231-5/+5
|
* Fix ps3 platform support (#497203)Jeremy Katz2009-04-231-1/+9
|
* Fix a typo ('isEFI' should be 'isEfi').David Lehman2009-03-301-1/+1
|
* Use PartSpec in the auto partition request list, and assign weights to them.Chris Lumens2009-03-301-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 Lehman2009-03-231-6/+7
|
* Fix a reference to the partitions list (#491335).Chris Lumens2009-03-201-1/+1
|
* Add boot partition size limit properties and size validation method.David Lehman2009-03-191-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 Lumens2009-03-171-43/+18
|
* Fix a traceback when looking for PS3 boot partitions (#490738).Chris Lumens2009-03-171-3/+3
|
* Recognize PS3 as a valid machine type (#489263).Chris Lumens2009-03-091-1/+1
|
* Move the mdRaidBootArches logic into the platform module.Chris Lumens2009-03-091-0/+8
|
* 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.
* Use the right attributes to build the bootloaderChoices dict.Chris Lumens2009-03-041-13/+13
|
* Return whatever we get here, we don't care if bootDev is None here.David Cantrell2009-03-031-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 Lumens2009-02-271-0/+11
|
* Added a set of classes that encapsulate platform-specific information.Chris Lumens2009-02-271-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.