Last active
July 9, 2017 15:58
-
-
Save marcelog/2fdaa6b530b478c943e032a4025a8481 to your computer and use it in GitHub Desktop.
Preparing the daemontools service for running an android emulator instance
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/bash | |
mkdir /tmp/myemu | |
cd /tmp/myemu | |
mkdir log | |
mkdir env | |
echo "/home/myemuuser/android-sdk-linux" > env/ANDROID_SDK_ROOT | |
echo ":0" > env/DISPLAY | |
echo "/home/myemuuser" > env/HOME | |
echo "x86_64" > env/HOSTTYPE | |
echo "linux-gnu"> env/OSTYPE | |
echo "/bin:/usr/bin:/sbin:/usr/sbin" > env/PATH | |
echo "none" > env/QEMU_AUDIO_DRV | |
echo "/bin/bash" > env/SHELL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment