Last active
October 22, 2015 02:04
-
-
Save christianbundy/41563be3a09bcf38adff to your computer and use it in GitHub Desktop.
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
# IMPORTANT - CHANGE ME (unless you have the Chromebook Pixel 2015) | |
export BOARD=samus | |
sudo aptitude install -y git-core gitk git-gui subversion curl | |
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git | |
export PATH=`pwd`/depot_tools:"$PATH" | |
cat > /tmp/sudo_editor <<EOF | |
#!/bin/sh | |
echo Defaults \!tty_tickets > \$1 # Entering your password in one shell affects all shells | |
echo Defaults timestamp_timeout=180 >> \$1 # Time between re-requesting your password, in minutes | |
EOF | |
chmod +x /tmp/sudo_editor | |
sudo EDITOR=/tmp/sudo_editor visudo -f /etc/sudoers.d/relax_requirements | |
mkdir construction-zone | |
cd construction-zone | |
git config --global user.email "bobthebuilder@example.com" | |
git config --global user.name "Bobthe Builder" | |
repo init -u https://chromium.googlesource.com/chromiumos/manifest.git | |
repo sync | |
cros_sdk -- ./build_packages --board=${BOARD} | |
cros_sdk -- ./build_image --board=${BOARD} | |
cros_sdk -- cros flash --board=${BOARD} usb:// |
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
vagrant init ubuntu/trusty64 | |
vagrant up | |
vagrant ssh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment