🔧 Provision AOSP build environment on Ubuntu 12.04 LTS 64-bit with puppet
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
files
manifests
modules
.gitignore
README.md
Vagrantfile

README.md

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?