This builder has only been verified on debian > 10 and ubuntu > 20.04.
Firstly, install the required build package in your system:
sudo apt install \
arch-install-scripts \
bc \
bison \
distcc \
flex \
libarchive-tools \
qemu-user-static \
libssl-dev \
qemu-user-static \
u-boot-tools \
python3 \
python3-pip \
pigz
Secondly, clone this repo with --recursive
option:
git clone --recursive https://github.com/lz00qs/orangepi-zero3-archlinux-builder.git
Finally, build:
python3 build.py
You can change some configurations in
config.ini
.
You can use clean.py to clean all built files:
python3 clean.py
@lz00qs
GPL V3.0