Initial commit
This commit is contained in:
commit
df5befa9d1
45 changed files with 2030 additions and 0 deletions
19
scripts/setup-host.sh
Executable file
19
scripts/setup-host.sh
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
if [ "$EUID" -ne 0 ]
|
||||
then echo "Please run as root"
|
||||
exit
|
||||
fi
|
||||
|
||||
apt-get update
|
||||
apt-get install curl -y
|
||||
|
||||
# git-lfs
|
||||
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
|
||||
|
||||
dpkg --add-architecture armhf
|
||||
apt-get update && apt-get upgrade -y
|
||||
apt-get install crossbuild-essential-armhf bc git dosfstools kpartx \
|
||||
debootstrap qemu-user-static git-lfs -y
|
Reference in a new issue