diff options
author | Chris Lumens <clumens@redhat.com> | 2006-07-17 21:45:59 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-07-17 21:45:59 +0000 |
commit | 8a71039d91ee3209916a48181273612b595720e3 (patch) | |
tree | 8d2d9363339a8125bc67b14e069f63c80ab3ae68 | |
parent | e621335cd27591623f642a72a8809d73556e3faf (diff) | |
download | anaconda-8a71039d91ee3209916a48181273612b595720e3.tar.gz anaconda-8a71039d91ee3209916a48181273612b595720e3.tar.xz anaconda-8a71039d91ee3209916a48181273612b595720e3.zip |
Move path check into preexec_fn so absolute symlinks to things that don't exist
in the stage2 image work.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | iutil.py | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2006-07-17 Chris Lumens <clumens@redhat.com> + + * iutil.py (execWithRedirect): Move path check into preexec_fn so + absolute symlinks to things that don't exist in the stage2 image work. + 2006-07-17 Paul Nasrat <pnasrat@redhat.com> * whiteout.py: drop openjade>docbook-dtds (#196733) @@ -28,8 +28,8 @@ def execWithRedirect(command, argv, stdin = 0, stdout = 1, stderr = 2, def chroot (): os.chroot(root) - if not searchPath and not os.access (root + command, os.X_OK): - raise RuntimeError, command + " can not be run" + if not searchPath and not os.access (command, os.X_OK): + raise RuntimeError, command + " can not be run" if type(stdin) == type("string"): stdin = open(stdin) |