[PATCH 2/2] Use instclass.efi_dir when constructing the EFI path

Vratislav Podzimek vpodzime at redhat.com
Tue Mar 11 07:50:11 UTC 2014


On Mon, 2014-03-10 at 16:58 -0400, David Shea wrote:
> Pass anaconda.instClass to Payload.setup to make the install class
> available for payload methods.
> ---
>  anaconda                            |  2 +-
>  pyanaconda/bootloader.py            |  6 +++---
>  pyanaconda/packaging/__init__.py    | 10 ++++++----
>  pyanaconda/packaging/dnfpayload.py  |  4 ++--
>  pyanaconda/packaging/livepayload.py |  8 ++++----
>  pyanaconda/packaging/tarpayload.py  |  4 ++--
>  pyanaconda/packaging/yumpayload.py  |  4 ++--
>  7 files changed, 20 insertions(+), 18 deletions(-)
> 
> diff --git a/anaconda b/anaconda
> index 82c4f6b..f56790a 100755
> --- a/anaconda
> +++ b/anaconda
> @@ -1113,7 +1113,7 @@ if __name__ == "__main__":
>                                       args=(ksdata.timezone, anaconda.storage, anaconda.bootloader)))
>  
>      threadMgr.add(AnacondaThread(name=constants.THREAD_WAIT_FOR_CONNECTING_NM, target=wait_for_connecting_NM_thread, args=(ksdata,)))
> -    threadMgr.add(AnacondaThread(name=constants.THREAD_PAYLOAD, target=payloadInitialize, args=(anaconda.storage, ksdata, anaconda.payload)))
> +    threadMgr.add(AnacondaThread(name=constants.THREAD_PAYLOAD, target=payloadInitialize, args=(anaconda.storage, ksdata, anaconda.payload, anaconda.instClass)))
Could you please split this line into two? It gets really long with this
change. ACK otherwise.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list