[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Clean up rpmdb locks at the end of the install (#496961)



> diff --git a/yuminstall.py b/yuminstall.py
> index 474f03b..753e099 100644
> --- a/yuminstall.py
> +++ b/yuminstall.py
> @@ -1002,6 +1002,10 @@ reposdir=/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anacon
>  
>          anaconda.backend.removeInstallImage()
>  
> +        # clean up rpmdb locks so that kickstart %post scripts aren't
> +        # unhappy (#496961)
> +        self._resetRpmDb(anaconda.rootPath)
> +
>      def doBackendSetup(self, anaconda):
>          if anaconda.dir == DISPATCH_BACK:
>              return DISPATCH_BACK

Looks good to me.

- Chris


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]