| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
* partedUtils.py (DiskSet.openDevices): Better message and give
option to reboot or continue anyway in the too many partitions case
|
|
|
|
|
|
| |
partitions on the disk we are scanning. If more than 15 are found,
alert the user and return. libata won't allow more than 15 partitions
at the moment.
|
| |
|
|
|
|
| |
time openDevices is called, which is fairly often (#232936).
|
| |
|
|
|
|
| |
* partedUtils.py (checkDiskLabel): Clean up text (#228198)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
protected partitions (#220331)
* autopart.py (doClearPartAction): clear all non-protected partitions
from disks that contain a protected partition IFF initAll is set
* partedUtils.py (hasProtectedPartitions): new method to check if a
drive contains protected partitions
* packages.py (writeRegKey): method to write out regkey
* dispatch.py: add writeregkey step
* installclass.py (BaseInstallClass): add regkey fields and step
* instdata.py: include regkey settings in anaconda-ks.cfg
* packages.py (regKeyScreen): allow access to regkey screen while
moving backwards (#219361)
* installclasses/rhel.py: add support for real regkeys (via instnum)
|
|
|
|
|
| |
in a CVS commit message so just read the ChangeLog or look at the diff. Most
of it is just code reorganization and it's mostly contained in kickstart.py.
|
| |
|
|
|
|
|
| |
* partedUtils.py (DiskSet): Handle instantiation from LabelFactory where
we will be handed no anaconda object reference (#219789).
|
|
|
|
|
|
|
|
|
|
|
|
| |
only do that for disks that are flagged to be cleared or if the init
all flag is set.
* upgrade.py (findExistingRoots): Do not pass anaconda object reference
to findExistingRootPartitions().
* iw/autopart_type.py (PartitionTypeWindow): Do not pass intf to
checkNoDisks().
* textw/partition_text.py: Likewise.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fsset.py (readFstab): Take reference to anaconda object rather than
a path and intf. Pass anaconda reference to DiskSet().
* fssey.py (__main__): Removed.
* installclass.py (BaseInstallClass): Pass anaconda reference to the
reset() method for InstallData.
* instdata.py (InstallData.reset): Take anaconda object reference as
parameter. Pass anaconda to DiskSet().
* instdata.py (InstallData.__init__): Take anaconda object ref as
parameter, pass it to reset() method.
* kickstart.py (AnacondaKSHandlers): Store anaconda object reference,
pass to DiskSet() object creations.
* partedUtils.py (DiskSet): Take anaconda object reference, store. Use
self.anaconda throughout DiskSet object, remove individual pass-ins
of intf and other anaconda object parts.
* partedUtils.py (DiskSet.dastFmt): Remove -P dasdfmt(8) arg (#218861).
* partedUtils.py (DiskSet.openDevices): Remove intf, initAll, zeroMbr,
and clearDevs params since those are in the anaconda object. When a
kickstart install is running, the dasd found is in the clearpart list,
and the --initlabel option has been used, skip the interactive dialog
asking if you want to format the DASD and just do it (#218861).
* partitioning.py (partitionObjectsInitialize): Removed arguments since
the anaconda object provides those now.
* upgrade.py (mountRootPartition): Pass anaconda object ref to DiskSet.
Only pass anaconda ref to readFstab().
* upgrade.py (upgradeMountFilesystems): Likewise.
|
| |
|
|
|
|
|
| |
* partedUtils.py (DiskSet.findExistingRootPartitions): Don't give
an error on partition mount errors (#201805)
|
|
|
|
|
|
|
|
|
|
| |
* partitioning.py (partitionObjectsInitialize): Don't call check
no disks here (#207471)
* textw/partition_text.py (PartitionTypeWindow.__call__): And here
* iw/autopart_type.py (PartitionTypeWindow.getNext): Check for no
disks here
* partedUtils.py (DiskSet.checkNoDisks): Don't exit, just return
with an error code
|
| |
|
|
|
|
|
| |
* partedUtils.py (productMatches): Tweak acceptable RHEL upgrade
matches (#201741)
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* partedUtils.py (DiskSet.startAllRaid): Calling refreshDevices()
here totally breaks adding partitions... not sure what the intent
was, but needs to be handled differently. (#199459)
|
| |
|
|
|
|
|
| |
the command is no longer the first argument, since subprocess doesn't work
that way. Remove unneeded /proc/e820info cruft. Remove iutil.rmrf.
|
|
|
|
|
|
|
| |
rescue.py (runRescue): Move label reading to partedUtils.py.
partedUtils.py (DiskSet.findExistingRootPartitions): Look up
filesystem labels as we find root partitions, as we won't have LVM
active if we wait until later (#196345).
|
|
|
|
|
| |
there is media present in devices where it may be removed. This should
finish up getting USB installation working.
|
|
|
|
| |
* partedUtils.py (DiskSet.startDmRaid): No dmraid on s390
|
|
|
|
|
|
|
|
|
|
|
|
| |
* partitions.py (Partitions.sanityCheckAllRequests): Sanity check
to ensure /boot on the mactels is on one of the first 4 parts
* partedUtils.py (DiskSet.savePartitions): Use gptsync to sync
gpt->mbr on mactels
(archLabels): Allow gpt on i386, x86_64
* bootloader.py (bootloaderSetupChoices): mactels need their
bootloader on the partition.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
bunch of changes elsewhere in upgrade.py to also use anaconda. This
required fixing up rescue mode (which was broken anyway) in the same way,
which then required the same sort of stuff done in anaconda.
Oh, and all that was so we could disable a meaningless error message on
searching for existing installations on hard drive installs/upgrades.
I forgot what I was really working on.
|
|
|
|
| |
not really. It's just iutil.getArch() -> rhpl.getArch() updates.
|
|
|
|
|
| |
figured I'd remove isys.getpagesize() since the Python resource module
has that.
|
| |
|
|
|
|
| |
references to /proc/cmdline from everywhere else in favor of this dict.
|
| |
|
| |
|
|
|
|
|
| |
* partedUtils.py (DiskSet.openDevices): Patch from Patrick
Mansfield so that device nodes don't disappear out from under us.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
our three-drive-monte with isys's hard drive list.
(getRaidSetInfo): remove completely
(scanForRaid): don't use getRaidSetInfo, just test the RaidSet object
directly. Also log a warning when we encounter a degraded raidset.
(startAllRaid): don't use a generator, since we need to provide
a non-None empty result set.
(stopRaidSet): simplify the code a bit.
(stopAllRaids): remove traceback stuff, and remove artifacts of
getRaidSetInfo
* fsset.py: don't disable dmraids when rescanning partitions
(LogicalVolumeDevice): rename the volume group name argument
to "vgname" instead of "lvname", and add an argument for the object
so we can find its physical volumes.
* lvm.py (writeForceConf): take device list as an argument, and use
that to write the filter rules.
* partRequests.py (LogicalVolumeRequestSpec.getDevice): pass vg object
in to fsset.LogicalVolumeDevice
* partedUtils.py (DiskSet.startDmRaid): rewrite it to remove some
unneeded code, and make it a lot simpler.
(.startAllRaid): cut out a lot of crap, make the s390 handling simpler
(.stopDmRaid): remove some useless stuff
(.stopAllRaid): remove the s390 handling
(.openDevices): check for None to see if dmraid is initialized.
* partitions.py (Partitions.setFromDisk): call lvm.writeForceConf
before we probe for PV/VG/LV info.
|
|
|
|
|
| |
* partedUtils.py (DiskSet.openDevices): debug prints ->
log.debug (#173533)
|
| |
|
|
|
|
| |
* partedUtils.py (max_logical_partition_count): Likewise.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* partedUtils.py (DiskSet.getLabels): Look for labels on all
fstypes.
|
|
|
|
|
| |
* partedUtils.py (getRedHatReleaseString): Change to getReleaseString.
* upgrade.py (findExistingRoots): Method name change.
|
| |
|
| |
|