first working Live Kit

This commit is contained in:
Tomas M committed 2012-09-07 04:28:43 -05:00
1 parent 528d3ea214
commit 1b585a9212
4 files changed
+109 -32

No files matched your search

+12 -2
View File
@@ -1,4 +1,14 @@
#!/bin/bash
# we're using precompiled busybox i486 binary, which runs on 64bit systems as well!
wget -O ./busybox http://busybox.net/downloads/binaries/latest/busybox-i486
# Automatically determine the architecture we're building on:
if [ -z "$MYARCH" ]; then
case "$( uname -m )" in
i?86) export MYARCH=i486 ;;
arm*) export MYARCH=arm ;;
# Unless $MYARCH is already set, use uname -m for all other archs:
*) export MYARCH=$( uname -m ) ;;
esac
fi
wget -O ./busybox http://busybox.net/downloads/binaries/latest/busybox-$MYARCH
chmod a+x ./busybox