| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
The apply method should only set self.data, the execute method should do
all necessary runtime changes. The code for starting chronyd service and
adding/removing it to/from the list of installed packages and enabled
services should be placed somewhere where it can be used by text mode as
well.
Also use NTP_* constants instead of "chrony" and "chronyd" magic strings.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
pytz.country_timezones() now returns unicodes strings instead of
byte strings. Concatenating byte string and unicode string causes
traceback, so we need to encode these unicode strings as utf-8
before returning them from our function.
Signed-off-by: Vratislav Podzimek <vpodzime@redhat.com>
|
|
|
|
|
|
| |
It makes sense to set timezone to UTC or GMT-XX. Please mind that
"Etc" category doesn't come from my mind, that's how these timezones
are defined in the /usr/share/zoneinfo tree.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
os.symlink(target, link_name) fails if the link_name already exists. So try to
remove it first.
|
|
|
|
|
|
|
| |
We now use ksdata to store data and execute() methods of kickstart
commands to set the installed system up. In order to not place all
the code to kickstart.py, timezone.py module gathering all timezone
related code was created.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This is a hefty and tedious change.
|
|
|
|
| |
Resolves: rhbz#691263
|
|
|
|
|
| |
This patch removes our version of timezone selection and uses the entire
widget set from s-c-date instead.
|
|
a real Python package.
Also updates the build and autotools stuff to work with the new structure
|