summaryrefslogtreecommitdiffstats
path: root/booty/ppc.py
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2009-04-17 16:39:24 -0700
committerJesse Keating <jkeating@redhat.com>2009-04-17 16:39:24 -0700
commit5e184c33a83eedc7dd71c5fc6a8e5586d6639d95 (patch)
tree93c4fe78721988bc34c1394d1abea529e8c179b3 /booty/ppc.py
parentfc982ce3ae77d0ad8708a94a3d4ba46a4825773c (diff)
downloadanaconda-5e184c33a83eedc7dd71c5fc6a8e5586d6639d95.tar.gz
anaconda-5e184c33a83eedc7dd71c5fc6a8e5586d6639d95.tar.xz
anaconda-5e184c33a83eedc7dd71c5fc6a8e5586d6639d95.zip
Clean up argument list after changing from rhpl to iutil for execWithRedirect
iutil uses subprocess.Popen and passes in the argv as a list, which causes Popen to use the first entry of the list as the executable, and the rest of the entires as arguments to that executable. This is different from how rhpl did things in which the first argument of the arglist had to be the executable itself. Also iutil expects argv to be a real list not a tuple.
Diffstat (limited to 'booty/ppc.py')
-rw-r--r--booty/ppc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/booty/ppc.py b/booty/ppc.py
index e1a948907..4633f079d 100644
--- a/booty/ppc.py
+++ b/booty/ppc.py
@@ -144,7 +144,7 @@ class ppcBootloaderInfo(bootloaderInfo):
if not flags.test:
iutil.execWithRedirect(ybinargs[0],
- ybinargs,
+ ybinargs[1:],
stdout = "/dev/tty5",
stderr = "/dev/tty5",
root = instRoot)