Re: [PATCH 2/2] If /etc/rpm/platform is found, move it out of the way.

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

 



This on looks good.

Regards,

Hans


On 06/01/2009 08:29 PM, Chris Lumens wrote:
---
  upgrade.py |    5 +++++
  1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/upgrade.py b/upgrade.py
index d5ecdd0..9d7081e 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -246,6 +246,11 @@ def upgradeMountFilesystems(anaconda):
          anaconda.id.storage.fsset.turnOnSwap(anaconda, upgrading=True)
          anaconda.id.storage.fsset.mkDevRoot(anaconda.rootPath)

+    # Move /etc/rpm/platform out of the way.
+    if os.path.exists(anaconda.rootPath + "/etc/rpm/platform"):
+        shutil.move(anaconda.rootPath + "/etc/rpm/platform",
+                    anaconda.rootPath + "/etc/rpm/platform.rpmsave")
+
      # if they've been booting with selinux disabled, then we should
      # disable it during the install as well (#242510)
      try:

_______________________________________________
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