| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
This hopefully fixes cciss (will test once an anaconda with this in
has hit rawhide, so I can use rhts to test). This is the second version of
this patch, this time it also does the / -> ! translation for sysfs names.
|
| |
|
|
|
|
|
| |
This was caused by trying to compare an instance of an object with a string,
which of course is never going to work.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Also, this gets rid of the goofy self.noKernelsWarn method which doesn't
serve any useful purpose now that booty's part of anaconda.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Change minsize/maxsize to minSize/maxSize since that's the
convention elsewhere throughout the code.
- Redirect output from all external utilities to tty5, not
/dev/null.
- Don't waste calls to basename for debug log statements,
especially when the device can be None.
- Add lots of missing imports.
- Fix lots of remnants of previous code usage.
|
| |
|
|
|
|
|
|
| |
Removed the parted.getPartitionByName() function. There is now
a method on parted.Disk called getPartitionByPath() which provides
the same functionality, but only works on a single Disk.
|
|
|
|
|
|
|
| |
Rather than calling disk.nextPartition() over and over, we can
get a hash table of all partitions on a disk via disk.partitions.
Iterate over the values() of this hash (the keys correspond to
the partition number).
|
|
|
|
|
| |
The property name for Device objects on a Disk or Geometry is
'device', not 'dev'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Iterate over partitions with a for loop over
disk.partitions.values() rather than calling next_partition()
2) Call getFlag() rather than get_flag()
3) Call setFlag() to enable a flag, call unsetFlag() to disable
a flag.
4) Reference the active property rather than calling the
is_active() method.
And other fixes.
|
|
|
|
|
|
|
| |
In the old pyparted, this flag was marked with all sorts of warnings about
how it would go away once certain constants were supported. We now support
all the constants libparted exposes, so we don't need to keep ancient hacks
around anymore.
|
|
|
|
| |
Now provided by pyparted as parted.getPartitionByName()
|
|
|
|
| |
Now provided by parted.Partition.getDeviceNodeName()
|
|
|
|
|
| |
The parted.Device object now offers functions to translate
between cylinders and sectors.
|
|
|
|
|
|
|
|
|
|
|
|
| |
As previously discussed we do want to allow installing the bootloader on the
MBR in the raid 1 case (which until some time ago we did not allow) (#217176),
but we do not want to change our current default of installing to the partition
(which gives us the mirror redundancy, due to special handling in booty).
This patch effectively reverts commit 48d582347492493c87b2b368394fd8e7342688bc,
which removed the raid1 case special handling, and then adds mbr support to the
raid special case in fsset.py, and add some special case handling to
bootloader.py to not default to the mbr in this case.
|
|
|
|
| |
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
|
|
|
|
|
|
| |
The livecd flag was for "I'm building a livecd", ie with kadischi, not for
doing a livecd install. Keeping the old flag around was just confusing,
especially as kadischi is no longer used/maintained
|
|
|
|
| |
* po/sk.po: Typo fix.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Shorten 'Red Hat Author(s)' to just 'Author(s)'. Perhaps eventually
we'll get an AUTHORS file and will just remove author names from the
individual files. Also fixed a type in scripts/dumphdrlist.py where
Author was listed twice.
|
|
|
|
|
|
| |
Updated all *.py files to have a uniform GPL boilerplate. Expanded copyright
year ranges and listed authors (if they were in the comment section) under
the Red Hat Author(s) section.
|
|
|
|
|
|
|
|
|
|
|
| |
2007-09-21 Martin Sivak <msivak@redhat.com>
* bootloader.py (bootloaderSetupChoices): Honor the "Boot this
instalation from" choice when figuring out the drive order for
bootloader (#243556, #243799).
* iw/autopart_type.py (PartitionTypeWindow): Show warning when Boot
from media is not allowed in Use this drive for instalation. (#243799)
|
|
|
|
| |
* bootloader.py: Pass rootpath to kernelVersionList
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
* yuminstall.py (YumBackend.kernelVersionList): With kernel not
being UP, calling it -up doesn't make sense anymore (#215746)
* bootloader.py: Likewise.
|
| |
|
| |
|
|
|
|
| |
partitions.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
| |
* bootloader.py: Window isn't always there.
|
| |
|
|
|
|
| |
system after installation (#185344).
|
|
|
|
|
| |
five new files from me to you
threads are here to stay
|
| |
|
|
|
|
|
|
|
|
|
| |
* bootloader.py: Clean up imports
(getBootloader): Use isolinuxBootloader for the livecd case.
* anaconda (rootpath_cb): Allow using --rootpath=cd:/path to
specify that we're doing a livecd. This is likely to change...
* flags.py (Flags.__init__): Add livecd flag
|
|
|
|
|
|
| |
* bootloader.py (writeBootloader): Don't traceback if there's no
rootdev (eg, rootpath mode) so that we can have a bootloader setup
for live CDs.
|
|
|
|
| |
not really. It's just iutil.getArch() -> rhpl.getArch() updates.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* bootloader.py (writeBootloader): Handle inconsistently named
kernel-xen-{guest,hypervisor} kernels
* yuminstall.py (YumBackend.doRepoSetup): Give full error on tty3.
(YumBackend.selectBestKernel): Temporarily allow installation of
xen-hypervisor kernel package by passing 'xen0' on kernel command line
(YumBackend.kernelVersionList): Remove obsolete cruft, add xen stuff
|
| |
|