Another LTIB Installation Script

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Another LTIB Installation Script

1,463 Views
bonzo
NXP Employee
NXP Employee
This is reprinted from an internal Freescale site that might prove useful.

Run the attached script from a terminal window.

The script does the following things for you. If you'd like to see exactly which packages are installed and what the script does, open it in a text editor.

  • Upgrade installed packages to the latest version. (This can be disabled by passing "-n" on the command line.)
  • Install tons of packages required for LTIB and Android development, as well as numerous ones that are generally useful, such as doxygen.
  • Rolls back the rpm package to a working version if on Ubuntu 9.10.
  • Installs GIT and Subversion clients.
  • Setup an SSH server.
  • Setup a TFTP server running under xinetd that serves /tftpboot.
  • Setup NFS to export /tools/rootfs.
  • Configured sudo so that LTIB can run the rpm command as root without requiring a password. This makes it possible to build unattended.
  • Reconfigures /bin/sh to point to bash. By default, Ubuntu sets /bin/sh to point to dash (the Debian Almquist Shell). However, LTIB requires /bin/sh to point to bash, and will complain if it is not.
  • Creates the /opt/freescale directory used by LTIB.
  • Limits ccache local cache size to 100MB.

When you run the script, it will ask for your password once in order to execute the commands as root. If you are on the Freescale intranet and don't have the http_proxyenvironment variable set, the script will warn you and refuse to run.

Original Attachment has been moved to: 857-Ubuntu_LTIB_Android_setup.sh

0 Kudos
Reply
4 Replies

977 Views
nilwij
Contributor II

HI,

Thanks for your work. But i receive this error when i run the script on Ubuntu 9.04

Error: http_proxy environment variable not set on freescale intranet!

0 Kudos
Reply

978 Views
bonzo
NXP Employee
NXP Employee

I would recommend Ubuntu 10.04 64-bit.

Here is a link to explain it: https://community.freescale.com/docs/DOC-95563

You need the 64-bit version if you intend to build Android.

I’m using VirtualBox instead of VMPlayer. Allocate at least 100GBytes of disk storage for the virtual image (Ubuntu).

Even 100G is marginal if you plan do both LTIB and Yocto.

Brad

0 Kudos
Reply

978 Views
nilwij
Contributor II

Thank you for your reply, I managed to do the job.

Just commented http_proxy searching part form the script and run.

Then It was running to install considerable amount of packages and stopped running giving some dependency problems.

But installed packages were just enough to complete my LTIB instalation.

0 Kudos
Reply

978 Views
danix
Contributor III

Hey nice tip

 

I run the script (I'm on Ubuntu 9.04), but after installing tons of packages it returned an error message asking for package mutter. I don't seem to find mutter for this version of Ubuntu. I tried to use mutter from another version, but it asks me for gtk+-3.0.0 or above which I couldn't find

 

what do you suggest?

thanks

0 Kudos
Reply