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

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

 



---
 yuminstall.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

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
-- 
1.6.1

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

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux