#!/usr/bin/env bash
cd /space/code_repositories/
mkdir devuan_arm-sdk && cd devuan_arm-sdk
git clone http://github.com/parazyd/arm-sdk


apt install -y curl git wget qemu-user-static build-essential rsync gcc-arm-none-eabi gcc-multilib lib32z1 u-boot-tools device-tree-compiler lzop dosfstools vboot-utils vboot-kernel-utils libftdi-dev libfdt-dev swig libpython-dev bc


cd arm-sdk

./init.sh

zsh -f
source sdk

load devuan rockpro64

build_image_dist
