| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
(#224636).
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
We do filesystem shrinking, then commit the partition table, and then
filesystem growing so that the container for the filesystem is always as large
or larger than the filesystem
|
|
|
|
|
|
| |
The class LUKSDevice, in cryptodev.py, handles the details of creation and management of the encrypted devices. RequestSpec and Device classes contain an optional LUKSDevice instance describing the device's encryption setup.
There is no support for pre-existing encrypted devices and kickstart support is not present at this point.
|
|
|
|
|
| |
* network.py: write persistent udev network device name rules (#264901)
* packages.py: restore SELinux context on rules file
|