FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 08-23-2011, 07:44 PM
David Lehman
 
Default Close out the yum history before running %post scripts (#730857).

On Tue, 2011-08-23 at 15:26 -0400, Chris Lumens wrote:
> ---
> pyanaconda/yuminstall.py | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)

Looks okay to me.

>
> diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py
> index cfd8e0f..da10e97 100644
> --- a/pyanaconda/yuminstall.py
> +++ b/pyanaconda/yuminstall.py
> @@ -1230,6 +1230,8 @@ reposdir=/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anacon
> if os.access(anaconda.rootPath + "/tmp/yum.log", os.R_OK):
> os.unlink(anaconda.rootPath + "/tmp/yum.log")
>
> + self.ayum.history.close()
> +
> def doBackendSetup(self, anaconda):
> if anaconda.dir == DISPATCH_BACK:
> return DISPATCH_BACK


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 05:53 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org