| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This makes the specific test of changing the VNC password work, since it
relies on that object existing.
|
|
|
|
|
|
| |
kickstart.selectPackages can go away entirely, since all it does is add stuff
to ksdata and we've got that anyway. Having done that, the handling for
--ignoremissing then needs to move into _applyYumSelections.
|
| |
|
|
|
|
|
| |
We now use ksdata and execute methods for storing and writing
configuration.
|
|
|
|
|
| |
We no longer use lang-table for anything. localeinfo.py is module for
accessing data from lang-table.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The only thing we were using from the system-config-keyboard was the
activate method that basically just calls loadkeys command. This can
be easily replaced with our own method using data from ksdata.keyboard
allowing us to remove anaconda.keyboard object.
|
|
|
|
|
| |
All upgrading will be handled by an external process, and this gets rid of
callers to some storage functions that I need to make rescue mode work again.
|
|
|
|
|
| |
It got reduced just to writing of /etc/sysconfig/network.
We'll need to review how much of it is still needed/relevant.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
move some methods out of Network object
still keeping old ui working
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
Makefile.am
anaconda
anaconda.spec.in
loader/loader.c
loader/net.c
loader/unpack.c
po/POTFILES.in
pyanaconda/__init__.py
pyanaconda/bootloader.py
pyanaconda/cmdline.py
pyanaconda/constants.py
pyanaconda/dispatch.py
pyanaconda/errors.py
pyanaconda/flags.py
pyanaconda/iutil.py
pyanaconda/kickstart.py
pyanaconda/platform.py
pyanaconda/storage/__init__.py
pyanaconda/storage/devicetree.py
pyanaconda/storage/fcoe.py
pyanaconda/storage/formats/swap.py
pyanaconda/storage/iscsi.py
pyanaconda/storage/partitioning.py
pyanaconda/yuminstall.py
scripts/makeupdates
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
loader was writing the vncpassword out to a file, because:
a) many years ago, VNC got started by loader, and
b) VNC used to need to read its password from a file.
But now it is the Glorious Future and anaconda can just read the
'vncpassword' boot/cmdline arg and hand it to the VncServer object.
This also removes recoverVNCPassword and pw_init_file from the VncServer
class, and the tests associated with them.
|
| |
| |
| |
| |
| | |
Their use is very limited, so just define them in the modules that
use them primarily.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On an up-to-date as of an hour ago f17 system, on the newui branch,
with no modifications, running "make unittest" gives me 239 errors
and 14 failures.
The following small patches reduce that to 84 errors and 4 failures,
resolving 155 errors and 10 failures.
Beyond this, the rest of the failures look real, most likely due
to code changes without corresponding test suite changes.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Those appear to have a lot of information still in them that may not be
present either in pykickstart or elsewhere in anaconda. Those still won't
be called, but I'm not yet comfortable removing them entirely.
Also, use pykickstart to do the writeKS stuff now.
|
| | |
|
|/
|
|
|
| |
Their use is very limited, so just define them in the modules that
use them primarily.
|
|
|
|
|
|
|
|
| |
It now means "is text mode supported for this language?". It used to store
which font we'd use to display the language, where "none" meant that text
mode didn't work in that language. However, we don't ever set the font
based upon that column and we shouldn't really ever be setting the font
ourselves anyway.
|
|
|
|
|
|
|
|
| |
The scheduling is reverted when going back thus it can not be used to
remember user's choice that should preserve if reentering a particular
screen.
Resolves: rhbz#746703
|
|
|
|
|
|
|
|
|
| |
The patch introduces a simple mechanism to order the (otherwise unsorted)
dracut arguments.
With a UT.
Resolves: rhbz#740949
|
|
|
|
|
|
|
| |
Unit tests included. This is a loose merge from
238cca2783d564d6b92ec4e1104606627f02a9d8.
Resolves: rhbz#740222
|
| |
|
|
|
|
|
|
|
|
|
| |
After 0c662ebeaf4043ff2e2a1f7d09b527f4bf243047, we can not build due to
imports problem during build time (importing pyanaconda.constants tries to
import pyanaconda.__init__ which tries to import isys etc.). This change
separates the language.py bits and the bits needed during build time.
Includes new unit tests.
|
|
|
|
| |
This is a hefty and tedious change.
|
|
|
|
|
|
| |
Create the constant and remove the old variable.
This way we don't have to pass the argument around.
|
| |
|
| |
|
|
|
|
| |
It so belongs there.
|
|
|
|
|
|
|
|
| |
With kickstart, if the user only had a single disk, said 'no' to
reinitialization and then pressed 'back' when informed no usable disks
were found, he ended up in the timezone screen.
Resolves: rhbz#730959
|
|
|
|
|
|
|
|
|
|
|
|
| |
/etc/multipath/wwids is a list of activated multipaths generated by the
multipath tools. If it is missing in the sysimage it will be missing in
the dracut initramfs and that, in rare cases, can cause race between mpath
and lvm during boot.
This is a merge froh rhel6-branch but includes a unit tests of the new
iutil.copy_to_sysimage().
Resolves: rhbz#701371
|
|
|
|
|
|
|
|
|
|
|
| |
This works by unscheduling all the steps that haven't been done, skipped
or requested yet. Correctly remembers the scheduling change so going back
through the upgrade screen and selecting fresh install the next time would
work as expected as far as Dispatcher is concerned.
Unit tests included.
Resolves: rhbz#729558
|
|
|
|
|
|
|
| |
Apparently the /sys/firmware/edd/int13_dev*/host_bus file is missing or
non-standard on Xen.
Resolves: rhbz#728280
|
|
|
|
| |
should have been a part of c3bedc8c5b1542e882824d5fb4005f6336e7822a.
|
|
|
|
|
|
| |
Do the sys.modules magic in setup and be mindful.
Also see ca27378ad0229c66c3bbcbd6636f2e555c2d6db8.
|
|
|
|
|
| |
This is the first step in seeing which we really need to ignore, and which
we were just ignoring out of convenience.
|
|
|
|
|
| |
We hit this for every use of a pyanaconda.product value, so it's really just
noise.
|
|
|
|
|
|
|
|
|
|
|
| |
Since anaconda modules are such a tangle, running one of the earlier tests
causes pyanaconda.product to get imported early. On that import, it gets
created as a Mock object, so the later import doesn't do anything useful and
all the product tests will therefore fail. If we delete and then re-import,
everything will work.
This is only seen if you run everything in tests/, not if you just run the
product_test.py by itself.
|
| |
|
|
|
|
|
| |
Since all the bootloader stuff has been rewritten, it seems easier to write
new bootloader tests from scratch instead of adapting what we've got.
|
| |
|
|
|
|
|
|
|
|
| |
Introduces Dispatcher.request_steps_gently() which requests steps if they
are not skipped already (i.e. "Unless there is a compelling reason, like a
kickstart command, not to run this step, it must be run.").
Resolves: rhbz#723798
|
|
|
|
|
|
| |
Adds a unit test for this case.
Resolves: rhbz#725777
|
|
|
|
|
|
| |
1) Move the functionality from mock.DiskIO to mock.TestCase itself.
2) Use already existing mechanism (tearDownModules()) for cleaning up
after we override functions in widely used modules.
|