summaryrefslogtreecommitdiffstats
path: root/livecd.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-01-24 11:44:19 -0500
committerChris Lumens <clumens@redhat.com>2008-01-24 11:44:19 -0500
commit0ecf1fb492b859dac5ead1bce72897c0c30cab5f (patch)
treea4ca8fa19c1137935149b92bc1da3da595a26e91 /livecd.py
parent253172a1f99c41d61b4eb10cf10a35d4075645f0 (diff)
downloadanaconda-0ecf1fb492b859dac5ead1bce72897c0c30cab5f.tar.gz
anaconda-0ecf1fb492b859dac5ead1bce72897c0c30cab5f.tar.xz
anaconda-0ecf1fb492b859dac5ead1bce72897c0c30cab5f.zip
Write out /etc/rpm/platform so upgrade from livecd installs work.
Diffstat (limited to 'livecd.py')
-rw-r--r--livecd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/livecd.py b/livecd.py
index 7e83530af..2955a9e6a 100644
--- a/livecd.py
+++ b/livecd.py
@@ -299,6 +299,9 @@ class LiveCDCopyBackend(backend.AnacondaBackend):
def doPostInstall(self, anaconda):
self._doFilesystemMangling(anaconda)
+ # setup /etc/rpm/platform for the post-install environment
+ iutil.writeRpmPlatform(anaconda.rootPath)
+
# maybe heavy handed, but it'll do
anaconda.id.bootloader.args.append("rhgb quiet")
anaconda.id.desktop.setDefaultRunLevel(5)