Last active
August 29, 2015 14:10
-
-
Save awsong/4d6d879d975eeba0e00a to your computer and use it in GitHub Desktop.
Script to build CyanogenMod on AWS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
apt-get install bwm-ng curl byobu screen zsh vim-nox bison build-essential curl flex git gnupg gperf libesd0-dev libncurses5-dev libsdl1.2-dev libwxgtk3.0-dev libxml2 libxml2-utils lzop pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev ccache | |
curl https://storage.googleapis.com/git-repo-downloads/repo > /usr/bin/repo | |
apt-get install -y mdadm | |
mdadm -C /dev/md0 --level=raid0 --raid-devices=2 /dev/xvdb /dev/xvdc | |
repo init -u https://github.com/CyanogenMod/android -b cm-12.0 | |
repo sync -j40 | |
cd vendor/cm; ./get-prebuilts ; cd .. ; git clone git://github.com/TheMuppets/proprietary_vendor_lge.git lge | |
cd .. ; . build/envsetup.sh ; time brunch hammerhead > compile.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment