| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Merge baseudev into storage.udev.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the first pass at setting things up to split storage out into
a separate package.
It replaces the guts of iutil.execWithRedirect and iutil.execWithCapture
with a single backend function, _run_program. The main thing I can think
of that might be cause for complaint is that _run_program does not log
each output line as the external program outputs it, so you get the whole
output buffer at once. Storage gets its own copy of _run_program and
all of the calls in storage use the copy from storage.util.
The reason I moved all of the iutil arch functions into storage is that
they are mostly used in storage and I didn't want there to be two copies
of the whole set.
The rest is removing of unused things and moving of things only used by
storage into storage.
|
|
|
|
| |
These have all been merged with the new text interface.
|
|
|
|
|
| |
I've had to leave pieces of text.py around, though, because it's used by
rescue mode and we're not changing it quite yet.
|
| |
|
| |
|
|
|
|
|
|
|
| |
The rules for hostname are more strict. Also, it was not easy to use
this function because of its return values.
Related: rhbz#865869
|
|
|
|
|
| |
Fix the TypeError problem with iutil.execWithCapture() when fatal
and process returns a non-zero exit code.
|
|
|
|
| |
Good riddance.
|
| |
|
|
|
|
|
| |
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
|