summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2007-04-12 18:53:20 +0000
committerJeremy Katz <katzj@redhat.com>2007-04-12 18:53:20 +0000
commitcdf7dd386e2c0cd9ee8c70ce512a8197872ea172 (patch)
treed9672084f341c9f6c5d2d9b18080a1c67ced95f9 /anaconda
parent7c0db3f2f7697a67b2814481e92573f8b7bfc68c (diff)
downloadanaconda-cdf7dd386e2c0cd9ee8c70ce512a8197872ea172.tar.gz
anaconda-cdf7dd386e2c0cd9ee8c70ce512a8197872ea172.tar.xz
anaconda-cdf7dd386e2c0cd9ee8c70ce512a8197872ea172.zip
2007-04-12 Jeremy Katz <katzj@redhat.com>
* urlinstall.py (UrlInstallMethod.systemMounted): Don't copy stage2.img if we can't find it * image.py (CdromInstallMethod.systemMounted): Likewise. * anaconda (setupEnvironment): Make sure we have /sbin and /usr/sbin in our path
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda3
1 files changed, 3 insertions, 0 deletions
diff --git a/anaconda b/anaconda
index f4eacf2a9..760bbf3e6 100755
--- a/anaconda
+++ b/anaconda
@@ -337,6 +337,9 @@ def setupEnvironment():
# In theory, this gets rid of our LVM file descriptor warnings
os.environ["LVM_SUPPRESS_FD_WARNINGS"] = "1"
+ # make sure we have /sbin and /usr/sbin in our path
+ os.environ["PATH"] += ":/sbin:/usr/sbin"
+
# we can't let the LD_PRELOAD hang around because it will leak into
# rpm %post and the like. ick :/
if os.environ.has_key("LD_PRELOAD"):