pass kernel arguments correctly to the build.sh
authorS.Çağlar Onur <caglar@cs.princeton.edu>
Mon, 24 May 2010 16:46:05 +0000 (16:46 +0000)
committerS.Çağlar Onur <caglar@cs.princeton.edu>
Mon, 24 May 2010 16:46:05 +0000 (16:46 +0000)
PLC/Methods/GetBootMedium.py

index 2eb52f9..00d6f2d 100644 (file)
@@ -338,7 +338,7 @@ class GetBootMedium(Method):
             if "variant" in build_sh_spec:
                 build_sh_options += " -V %s"%build_sh_spec['variant']
             
-            for karg in build_sh_spec['kargs']:
+            for karg in build_sh_spec['kargs'][0]:
                 build_sh_options += ' -k "%s"'%karg
 
             log_file="%s.log"%node_image