username: avaota
password: avaota
username: root
password: avaota
You can download prebuilt images from the releases section.
The format of the prebuilt image file is UBUNTU_VERSION-SYS_TYPE-ARCH-BOARD.img.xz
.
- Clone the AvaotaOS repository:
git clone --depth=1 https://github.com/AvaotaSBC/AvaotaOS && cd AvaotaOS
- Run the build script:
sudo ./build_all.sh
Alternatively, you can provide build parameters:
sudo ./build_all.sh \
-b <BOARD> \
-m <MIRROR> \
-v <SYSTEM_DISTRO> \
-t <SYS_TYPE> \
-u <SYS_USER> \
-p <USER_PASSWORD> \
-s <ROOT_PASSWORD> \
-k <IF_MENUCONFIG> \
-g <KERNEL_TARGET> \
-i <GITHUB_MIRROR> \
-o <KERNEL_ONLY> \
-e <USE_CCACHE>
-
BOARD
: avaota-a1 -
SYSTEM_DISTRO
:- Ubuntu-20.04: focal
- Ubuntu-22.04: jammy
- Ubuntu-24.04: noble
- Debian-11: bullseye
- Debian-12: bookworm
- Debian-13: trixie
- Debian-13: trixie
-
MIRROR
:- Example:
http://ports.ubuntu.com
- Example:
http://deb.debian.org/debian
- Example:
https://mirrors.ustc.edu.cn/ubuntu-ports
- Example:
https://mirrors.ustc.edu.cn/debian
- Example:
-
SYS_TYPE
:- cli
- xfce
- gnome
- kde
- lxqt
-
SYS_USER
: (default: avaota) -
USER_PASSWORD
: (default: avaota) -
ROOT_PASSWORD
: (default: avaota) -
KERNEL_MENUCONFIG
:- yes
- no
-
KERNEL_TARGET
:- bsp
- mainline-lts
- mainline-latest
-
LOCAL
:- Don't fetch and update kernel, u-boot/syterkit from git sources.
- Do not set to "yes" on the first run!
- yes
- no
-
GITHUB_MIRROR
:- Example:
https://mirror.ghproxy.com
- Example:
-
KERNEL_ONLY
: (Only build kernel packages)-
- yes
-
- no
-
-
USE_CCACHE
:-
- yes
-
- no
-
Example:
sudo bash build_all.sh \
-b avaota-a1 \
-m https://mirrors.ustc.edu.cn/ubuntu-ports \
-v jammy \
-t cli \
-u avaota \
-p avaota \
-s avaota \
-k no \
-i no \
-o no \
-e no