ti-eula-unpack: Force Console Mode, add Error Prints
commit725f882c29f6822ecf0fd06fc744e825e6cb158e
authorRoger Monk <r-monk@ti.com>
Mon, 17 May 2010 19:59:39 +0000 (17 20:59 +0100)
committerKoen Kooi <koen@openembedded.org>
Tue, 18 May 2010 06:31:09 +0000 (18 08:31 +0200)
treeac070e1de9aced7a1338c9a675f3ae790b0836b4
parenta58f2237cb2254eb8bd2f0719220fed85462ebe5
ti-eula-unpack: Force Console Mode, add Error Prints

   * ti-eula-unpack runs installjammer installers to install ti components
   * installjammer can run in GUI mode or console mode
   * ti-eula-unpack passes options and string paths to the installer
     which need to be run in console mode
   * GUI mode is automatically selected if an X11 Display is found which
     means that script options won't get passed to the installer

   * This patch forces use of console mode in the installer, so that the
     GUI will never be invoked for these scripted installs even if an X
     Display is found

   * Downside is ti-eula-unpack is now tighter coupled to installjammer, but
     all current ti installers are ij based so not an issue currently

   * Extra error checks and prints added with failure returns on error
   * This also helps if the installer can't run, for example if run on
     64bit host without 32bit compat libs (currently required by these
     installjammer installers)

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