[master/f20 0/3] v3 of the preconf/baserepo fixes.

Brian C. Lane bcl at redhat.com
Thu Nov 21 19:01:17 UTC 2013


From: "Brian C. Lane" <bcl at redhat.com>

Patches 1 and 2 are the same as v2.

Patch 1 is slightly different from v1 in that it reverts the current
behavior in the software spoke init and only checks payload md thread if
kickstarted. Patch #2 takes care of potential preconf collisions.

Patch 3 solves the GUI kickstart crash I was seeing, and improves things so
that we only need to lock when changing the baseRepo value, not when reading
and not giving it an unknown state. payload.baseRepo can now be checked as
often as needed. If new metadata is being downloaded it will be None until that
process is finished.

I have tested these against DVD, netinst and PXE with and without askmethod
cmdline arg. in combination with mkolman's ISO source patch which did a good
job of triggering the problems, especially in text mode.

There is an updates.img available from:
http://bcl.fedorapeople.org/updates/1011555.img that includes all patches since
20.25.6 as well as new pykickstart and langtable. This will work against the
Beta iso's.

Brian C. Lane (3):
  Remove threading from getBaseRepo handling (#1011555)
  Make _yum.preconf setup atomic (#1028245)
  Remove base_repo cache (#1011555)

 pyanaconda/constants.py              |   1 -
 pyanaconda/packaging/__init__.py     |  21 +--
 pyanaconda/packaging/dnfpayload.py   |   5 +-
 pyanaconda/packaging/yumpayload.py   | 242 +++++++++++++----------------------
 pyanaconda/ui/gui/spokes/network.py  |   4 +-
 pyanaconda/ui/gui/spokes/software.py |   2 +-
 pyanaconda/ui/gui/spokes/source.py   |  12 +-
 pyanaconda/ui/gui/spokes/storage.py  |   2 +-
 pyanaconda/ui/tui/spokes/software.py |   9 +-
 pyanaconda/ui/tui/spokes/source.py   |   8 +-
 10 files changed, 119 insertions(+), 187 deletions(-)

-- 
1.8.3.1



More information about the anaconda-patches mailing list