Skip to content

🔧 Provision AOSP build environment on Ubuntu 12.04 LTS 64-bit with puppet

Notifications You must be signed in to change notification settings

chitacan/aosp-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aosp-env

Provision AOSP development environment on Ubuntu 12.04 LTS 64-bit with puppet.

How to use

  • Make sure you have Virtualbox, Vagrant (1.5.0 or higher) on your machine.

  • Download or clone this repo.

$ git clone https://github.com/chitacan/aosp-env
$ cd aosp-env
  • Update machine configurations.
  config.vm.network "forwarded_port", guest: 22, host: 2020, auto_correct: true
  config.vm.provider "virtualbox" do |vb|
    vb.customize ["modifyvm", :id, "--memory",          (1024*16).to_s]
    vb.customize ["modifyvm", :id, "--cpus",            8   ]
    vb.customize ["modifyvm", :id, "--cpuexecutioncap", 80  ]
  end
  • Modify AOSP version on Vagrantfile
  config.vm.provision "puppet" do |puppet|
    puppet.facter = {
      "aospversion" => "android-5.0.2_r1"
    }
  end

Available AOSP versions

  • Fire up !!
$ vagrant up
$ vagrant ssh
vagrant$ cd workspace/android-5.0.2_r1
vagrant$ repo sync
vagrant$ . build/envsetup
vagrant$ lunch
vagrant$ make

What's included?

About

🔧 Provision AOSP build environment on Ubuntu 12.04 LTS 64-bit with puppet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages