summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-04-26 19:05:18 +0000
committerJeremy Katz <katzj@redhat.com>2006-04-26 19:05:18 +0000
commiteec8d07d1d4575dc9900646aedfbe9abc10d9194 (patch)
treec2d383da133b00d89cd024a8313f7546c6c10075
parent7e36c5c3e44f034d155a913158ad0ab1adb76350 (diff)
downloadanaconda-eec8d07d1d4575dc9900646aedfbe9abc10d9194.tar.gz
anaconda-eec8d07d1d4575dc9900646aedfbe9abc10d9194.tar.xz
anaconda-eec8d07d1d4575dc9900646aedfbe9abc10d9194.zip
2006-04-26 Jeremy Katz <katzj@redhat.com>
* anaconda: Don't symlink things that don't exist.
-rw-r--r--ChangeLog2
-rwxr-xr-xanaconda3
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3ef13ecac..702e21e40 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2006-04-26 Jeremy Katz <katzj@redhat.com>
+ * anaconda: Don't symlink things that don't exist.
+
* packages.py (setupTimezone): Don't change timezone on rootpath
(Jane Dogalt, #185930)
diff --git a/anaconda b/anaconda
index 1c8e55133..9b8140af6 100755
--- a/anaconda
+++ b/anaconda
@@ -579,7 +579,8 @@ if rhpl.getArch() == "s390":
# setup links required for all install types
for i in ( "services", "protocol", "nsswitch.conf", "joe", "selinux", "libuser.conf"):
try:
- os.symlink ("../mnt/runtime/etc/" + i, "/etc/" + i)
+ if os.path.exists("/mnt/runtime/etc/" + i):
+ os.symlink ("../mnt/runtime/etc/" + i, "/etc/" + i)
except:
pass