| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
This involves getting rid of most of the real code out of this file, adding a
minimal subclass of the ExceptionHandler class to do the copying and pdb setup
anaconda needs, and calling the install method from within anaconda. We also
need to no longer call handleException from elsewhere in anaconda. That method
no longer exists.
|
|
|
|
|
| |
Overrides base class function: sets handlers for "yum" and "yum.verbose"
- loggers that yum is using. Logs into tty3 and with more detail into yum.log.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
(#496343)."
This reverts commit 7d2799eb905fae1d28607ae3adf3a2929c7e6ece. I changed
the places we raise DeviceError to also raise the device path, so this
change is not necessary.
|
|
|
|
|
| |
For swap files we need to know anaconda.rootPath and since we're also
using anaconda.intf it seems like time to just give in and pass anaconda.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
The setup package owns /etc/hosts and NetworkManager manages it once the
system is running, so anaconda no longer needs to write out information
to /etc/hosts during installation.
|
| |
|
|
|
|
|
|
| |
For upgrades we won't want to tear down everything, so do it in
turnOnFilesystems instead, since we're already doing several
things in there based on upgrade -v- install.
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
anaconda
fsset.py
iutil.py
iw/partition_gui.py
partedUtils.py
|
| |
| |
| |
| | |
Signed-off-by: David Cantrell <dcantrell@redhat.com>
|
| | |
|
| |
| |
| |
| |
| | |
Also let exceptions get raised in turnOnFilesystems
for the time being.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
exception.py:
- Remove unused partedUtils import.
- Collect things from storage, not partitions.
gui.py:
- exceptionDisks is in storage now, not diskset.
installclasses/rhel.py:
installclasses/fedora.py:
- setDefaultPartitioning take storage arg, not partitions.
iw/autopart_type.py:
- Find things in storage, not partitions.
iw/bootloader_main_gui.py:
iw/osbootwidget.py:
- Remove unused partedUtils import.
- Find fsset in storage now.
- Use storage, not diskset, for iterating over disks/partitions.
iw/lvm_dialog_gui.py:
- Fix several typos from the original storage update.
iw/partition_gui.py:
- Find unusedMDMembers in storage, not partitions.
iw/partitionui_helpers_gui.py:
- Use StorageDevice.minSize,maxSize for resize limits.
- Update doUIRAIDLVMChecks to use new storage module.
packages.py:
- Use new storage module to list vgs for selinux hack.
storage/__init__.py:
- Fix FSSet.createSwapFile so it creates the file on the
correct device.
storage/iscsi.py:
- Use new storage module to identify iscsi disks.
textw/partition_text.py:
textw/upgrade_text.py:
- Initial update to use new storage module.
yuminstall.py:
- Use storage module to find space for upgrade transaction.
- Use storage module to locate protected partitions to mount
in doPreInstall.
|
|/ |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The vendor-class setting gets written to this file during installation,
but we need to copy the file to the target system to make sure it's
present on reboot. Previously, we wrote this to the ifcfg file for
_something_ that read it, but it doesn't look like anything reads it
from this location anymore (or ever).
[rawhide]
|
|
|
|
|
|
| |
It'd be even better if we could save noauto entries and other lines that we
don't understand, but that's not easy to do with the current way of doing
things.
|
|
|
|
|
|
| |
Sometimes, rpm returns the same kernel as being installed more than once due
to it having been in the transaction more than once (#467822). Let's make
sure that if that happens, we don't make the silliness continue
|
| |
|
|
|
|
|
| |
We need to do this so we can read the boot blocks from the hard drive and
can present the bootloader upgrade option.
|
| |
|
| |
|
| |
|
|
|
|
| |
the SystemError doesn't have the message attribute in python 2.4.3.
|
| |
|
| |
|
| |
|
|
|
|
| |
* po/sk.po: Typo fix.
|
|
|
|
|
|
|
| |
Resizing an LV on top of raid fails as we don't have the RAID on at the
point we do the metaresizing (#441706). Changing that around is kind of
scary at this point and it's a pretty rare case, so just avoid
a traceback for now. And really, we should catch the error anyway.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
We seem to not have device nodes yet when we go to write things to disk
_sometimes_. But when people switch to tty2, they're there. Assume that the
problem is that we're racing with udev and thus add a sleep + waiting for
udev to settle
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Rather than throwing an exception on resize errors, catch the problem
and present the user with a dialog that has the output from the resize
commands. Still only present exiting as being able to go back is going to
require some larger rework
|
| |
|
|
|
|
|
|
| |
Make our handling of kernel variants a little bit more flexible, allowing
for the fact that uname -r might not match version-release exactly. This
also makes it so we don't have a hard-coded list of kernel variants
|
| |
|