This repository has been archived on 2025-06-02. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Os/scripts/setup-host.sh
2018-04-07 23:26:16 +02:00

19 lines
402 B
Bash
Executable file

#!/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