ti-eula-unpack: Temp Remove Version Check which is broken in some installers
authorRoger Monk <r-monk@ti.com>
Tue, 29 Jun 2010 14:14:45 +0000 (15:14 +0100)
committerKoen Kooi <koen@openembedded.org>
Tue, 29 Jun 2010 14:42:38 +0000 (16:42 +0200)
* IJ installer returns error for --version/--help tests
   * Remove for noew while debugging

   * Issue found by brijesh

Signed-off-by: Roger Monk <r-monk@ti.com>
Signed-off-by: Koen Kooi <k-kooi@ti.com>
recipes/ti/ti-eula-unpack.inc

index 947ca14..a812a85 100644 (file)
@@ -41,10 +41,11 @@ python ti_bin_do_unpack() {
     # Run the InstallJammer binary and accept the EULA
     filename = "HOME=%s ./%s --mode console" % (workdir, binfile)
     
-    # Test executable by printing installer version
-    if os.system(filename + " --version") != 0:
-        print "ERROR: ti-eula-unpack: failed to execute binary installer"
-        raise bb.build.FuncFailed()
+    # Test executable by printing installer version or help screen (--version currently broken for some installers) 
+    # - this is currently broken in some IJ installers - comment out for now
+    #if os.system(filename + " --version") != 0:
+    #   print "ERROR: ti-eula-unpack: failed to execute binary installer"
+    #   raise bb.build.FuncFailed()
  
     f = os.popen(filename,'w')
     for cmd in cmd_list: