-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,7 +133,7 @@ echo "█████╗ ██║ ██║ ╚███╔╝ ████ | |
echo "██╔══╝ ██║ ██║ ██╔██╗ ██╔══██╗██║ ██║ ██╔██╗ " | ||
echo "██║ ╚██████╔╝██╔╝ ██╗██████╔╝╚██████╔╝██╔╝ ██╗" | ||
echo "╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═════╝ ╚═════╝ ╚═╝ ╚═╝" | ||
echo " Install Java " | ||
echo " Install Java for adb " | ||
# Not sure if it's necessary but the build complaints about the Java version. | ||
apt-get purge -y openjdk* | ||
add-apt-repository -y ppa:webupd8team/java | ||
|
@@ -166,6 +166,15 @@ echo "██║ ╚██████╔╝██╔╝ ██╗███ | |
echo "╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═════╝ ╚═════╝ ╚═╝ ╚═╝" | ||
echo " Create helper scripts " | ||
echo " configure git " | ||
cat > ~/.gitconfig <<EOF | ||
[user] | ||
name = My name | ||
email = [email protected] | ||
[color] | ||
ui = auto | ||
EOF | ||
echo " Create 'gui.sh' to start GUI " | ||
echo "sudo startxfce4&" > gui.sh | ||
chmod a+x gui.sh | ||
|
@@ -185,7 +194,7 @@ else | |
rm B2G/.DS_Store | ||
echo "clone B2G repository" | ||
git clone https://github.com/mozilla-b2g/B2G.git B2G | ||
fi" > init_B2G.sh | ||
fi" > B2G_init.sh | ||
chmod a+x B2G_init.sh | ||
echo " Create 'init_gaia.sh' to fetch gaia source " | ||
|
@@ -203,7 +212,7 @@ else | |
rm gaia/.DS_Store | ||
echo "clone gaia repository" | ||
git clone https://github.com/mozilla-b2g/gaia.git gaia | ||
fi" > init_gaia.sh | ||
fi" > gaia_init.sh | ||
chmod a+x gaia_init.sh | ||
|
@@ -243,6 +252,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
|
||
# Assign static IP to be able to use nfs option (if you have a conflict, | ||
# change it to something else). | ||
# Configure as host-only ip | ||
config.vm.network "private_network", ip: "192.168.50.4" | ||
|
||
# Use *_PATH environment variable to sync with vm's /home/vagrant/* | ||
|