[PATCH] Setup package repo in the background (#870552)
Chris Lumens
clumens at redhat.com
Mon Oct 29 19:38:36 UTC 2012
> @@ -505,7 +507,18 @@ class SourceSpoke(NormalSpoke):
> old_source.opts == self.data.method.opts):
> return
>
> + threadMgr.add(AnacondaThread(name="AnaPayloadMDThread",
> + target=self.getRepoMetadata))
> + self.window.clear_info()
> +
> + def getRepoMetadata(self):
> communication.send_not_ready("SoftwareSelectionSpoke")
> + communication.send_not_ready(self.__class__.__name__)
> + communication.send_message(self.__class__.__name__,
> + BASEREPO_SETUP_MESSAGE)
> + # this sleep is lame, but without it the message above doesn't seem
> + # to get processed by the hub in time, and is never shown.
> + time.sleep(1)
> try:
> self.payload.updateBaseRepo(self.storage, fallback=False,
> checkmount=False)
That is lame, but I'm okay with it for now as long as you give it a
FIXME and we go back and try to dig into it later. I don't really think
we have time to deal with it now.
- Chris
More information about the anaconda-patches
mailing list