Skip to content

Instantly share code, notes, and snippets.

View petronny's full-sized avatar

Jingbei Li petronny

View GitHub Profile
#!/bin/sh
set -e
build_prefix=extra
arch=armv6h
build_path=$HOME/devtools-qemu
pkgcache=$build_path/pkgcache
mirror_name=ArchLinuxARM-rpi-latest.tar.gz
mirror_url=https://mirrors.tuna.tsinghua.edu.cn/archlinuxarm/os/$mirror_name
build_dir=$build_path/$build_prefix-$arch