| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
a real Python package.
Also updates the build and autotools stuff to work with the new structure
|
| |
|
|
| |
(#588483)
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
Follow-on to 78d3854021245b1cb612be564d874fa8b2dca671. As pointed out
on the mailing list, this problem was already discussed in another bug
and the correct fix was never actually pushed. So here it is. Put
parens around the ts.dbMatch tests and rely on the console on virtual
terminal test.
Related: rhbz#526364
|
| | |
|
| |
|
|
|
|
|
| |
Without this change, going backwards from package installation errors
will bounce at the reipl step and go forwards again without giving you
a chance to do anything about it. The result is arbitrary errors about
setting up authentication because no packages were installed.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
In turnOnFilesystems, some exceptions are bugs in anaconda and some are just
fatal errors reported by the underlying tools. An example of the latter is
not being able to resize a filesystem due to space issues. These should not
get the exception dialog since that looks like anaconda is at fault. For all
other cases, it's likely an anaconda bug and should get the exception
dialog.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
This is also the last thing in InstallData.write, so it can go away too.
|
| | |
|
| |
|
|
|
| |
For now they're just placeholders, but it gives me a place to add method
calls as each objects is removed from instdata.
|
| |
|
|
|
|
| |
This also removes the hack where upgrade can be True, False, or None in order
to test whether we've seen the upgrade screen or not. Instead, it introduces
a global value hack. I consider this the slightly cleaner approach.
|
| | |
|
| |
|
|
|
|
| |
We probably shouldn't be referring to attributes on the OptionParser object
when we've got a perfectly useful Anaconda object to use. This also allows
removing the displayMode attribute from the InstallData.
|
| |
|
|
|
| |
iutil.execWithRedirect() stopped doing anything with searchPath in 2006
when clumens committed d0dec24. Remove these silly vestigal bits.
|
| | |
|
| |
|
|
|
|
|
| |
This is yet another way of running anaconda that gets extremely limited use,
no testing, and no consideration during development to making sure it still
works. Again, we need to stop pretending and get rid of modes that we don't
support.
|
| |
|
|
|
|
|
| |
This mode is decaying as anaconda moves forward with things like udev, dbus
etc. No one is really working on making sure they continue to work. Let's
stop pretending and also get rid of some additional complicated ways to
run anaconda.
|
| |
|
|
|
|
|
|
|
|
| |
If the file is already linked with the source the raised inspection kills
anaconda. This happens in some unclear livecd situations but in general nothing
prevents the user or any software he runs on the livecd from arranging this
manually.
Tested when the file doesn't exist beforehand (the common scenario) and when the
file links to its later origin already (the bug scenario).
|
| | |
|
| | |
|
| |
|
|
|
|
| |
We were previously using tests that have diverged from what's going on in
yuminstall.py, so this brings the two backend tests into using the same
concept.
|
| |
|
|
|
|
|
|
|
|
|
| |
Because of 8bc669549ddcc7040a5ba56b8afafa18684bac4e and maybe others,
triggering reipl at the end of anaconda is no longer sufficient to be
hit in all different anaconda install paths. Therefore, move the triggering
right after having configured reipl in sysfs and do all in one place.
Now loader must no longer immediately relay SIGUSR1/2 to init,
since anaconda is not nearly finished with installation,
but only remember the state requested by anaconda. Only right before loader
terminates, it kills init with the remembered state to really reboot/halt.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a cleanup for the po files. xgettext displays the following
messages for some Python files:
warning: 'msgid' format string with unnamed arguments cannot be properly localized:
The translator cannot reorder the arguments.
Please consider using a format string with named arguments,
and a mapping instead of a tuple for the arguments.
This patch modifies the reported format strings to use named parameters
per the warning message. We were already using these style format
strings in users.py and possibly other files. Basically when there is
more than one parameter in the format string, we should use a hash table
with named parameters.
|
| |
|
|
|
|
|
|
| |
Whatever form the new entitlement system takes, it is unlikely it will
look like what we've currently got. It's probably better to start over
fresh than attempt to adapt what we've got into supporting the new system.
This will also allow testing of the RHEL6 tree with the right product
name without requiring testers to enter a key.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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().
|
| | |
|
| |
|
|
|
|
|
|
| |
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>
|
| | | |
|