Software spoke can't be complete if the payload thread is running
Ignore the data model and just return self.environment
Do not write out /etc/adjtime file on s390(x) (#1070748)

Also fix a typo in the comment.
Cover both possible ways that GUI WWID may have been set (#1074184)

Resolves: rhbz#1074184

All the pages on the filter screen interact with the same backing store,
and each page can add different items to that backing store.
Although Multipath page uses wwid attribute of multipath device Other page
synthesizes a wwid using the internal _long_identifier() method.
When filtering by wwid in Search page, need to check for both possible
values of WWID. Do not need to check for both when filtering on Multipath
page, as all devices for which ismember is True are multipath.
Moved _long_identifier() method up into parent class, so that SearchPage
could access it directly.

Signed-off-by: mulhern <amulhern@redhat.com>
Add rescue kernels to the bootloader install list. (#1036349)

This adds a new property, rescueKernelList, to Payload.
kernelVersionList is unchanged, since most other places that use it
excluded rescue kernels for a reason.

Every bootloader but grub2 generates a config based on the list of
kernels provided by the Payload object, so every bootloader but grub2
was skipping the rescue kernels. This remedies that.
Use instclass.efi_dir when constructing the EFI path

Pass anaconda.instClass to Payload.setup to make the install class
available for payload methods.
Refresh after checkbox clicked (#1074188)

Resolves: #1074188

If we just update_summary, the checkbox has a visibly unchecked look after the
user has checked it.

Signed-off-by: mulhern <amulhern@redhat.com>
Set progress bar to 100 % in a different way (#1058755)

For some reason (don't ask me why), setting the progress bar's fraction in the
gtk_action_nowait decorated function sometimes doesn't make the change
graphically effective. If you ask progress bar to give you it's current
fraction, it returns 1.0, but graphically stays at the previous value. Using
gtk_call_once works.
Reraise the exception properly

The raise statement takes 1 to 3 arguments, replacing the missing ones with
None. We have to pass it all three objects to get a proper exception with a
stack.
Firstboot is deprecated and gone on Fedora 20 and anything newer

There only is the Initial Setup now.
Do nothing if previously selected selector gets focus again (#1029798)

If the previously selected selector gets focus again, we don't have to refresh
the right side of the custom spoke and potentially ruin a lot of things.
driver-updates: accept burned driver discs (#1073719)

driver-updates was written with the assumption that the interactive menu
would always involve choosing a device which contained multiple updates
images.

This is not really the case - that's not how it worked in RHEL6, for
example - so we need to handle the case where the selected device is
itself a driver update disc.

This patch just checks the chosen device - if it is, in fact, a driver
update disc, then we unmount it (so the later functions can re-mount
it) and return that device name.

(Leaving the mountpoint as None is valid, as our subsequent umount()
will simply ignore that.)

Also, for the sake of sanity, remove is_dd(). A previous version of this
patch tried to use it, and it's a) otherwise unused and b) doesn't work.

Bonus: remove a debugging "print" statement that was never supposed to
be there. MY BAD Y'ALL.

Resolves: rhbz#1073719
Set log level to debug when using an updates image

If you are running modified code debug should be logged to help catch
errors.
Don't disable anaconda repo on rawhide

The anaconda (BASE_REPO_NAME) repo will be added when the user enters a
repo url manually. Use it instead of the default rawhide mirror repo.
But both it and the rawhide repo were being disabled (rawhide disabled
anaconda, and anaconda with method disabled rawhide).

Also add some better logging to describe what repos are being used.
New version - 21.27
Payloads: make DEFAULT_REPOS a part of the interface.

Source spoke knows about its existence since 069cb536. The change makes
the DNFPayload work with the spoke too.
DNFPayload: do not crash when an addon is unavailable.

Log & disable the addon, it's what YumPayload does.
Fix environment group changes based on ListBox row activation

i.e., clicking somewhere in the environment row that isn't the radio
button. When we call button.set_active in on_environment_activated, two
button toggles are emitted: the one for the button becoming active,
which we block, and the one for the button becoming inactive, which was
causing us to reactivate the inactive row. Using "clicked" handlers
instead of "toggled" handlers was probably supposed to get around this,
but buttons going inactive receive a "clicked" signal as well, because
nothing means anything.

Switch the button signal handlers to connect to "toggled" instead of
"clicked" to ensure consistent behavior with the set_active calls,
use separate the toggled handlers for the environment radio buttons and
the addon check buttons, and ignore any radio button toggle that is
toggling to an inactive state. Toggle toggle toggle.
Import /etc/login.defs in libuser.conf (#979815)

Only import if the file is available, so this mainly affects addons that
use createLuserConf after shadow-utils is installed.
Override ROOT_PATH with environmental variable

Normally ROOT_PATH is "/mnt/sysimage", but with dirinstall it would be
nice to be able to install to arbitrary directories. This lets the path
be overridden by the ANACONDA_ROOT_PATH environmental variable.