The official build framework for the Armbian Linux distribution. This repository contains the complete toolchain and scripts required to compile custom OS images from source, including kernel configuration, U-Boot handling, and board-specific tweaks for various ARM and ARM64 single-board computers.
Go to file
zhangn1985 de58ac1faa fix shell script execute after su (#1581)
`su xxx -c bash a.sh`
it will execute like `su xxx -c bash` and ignore a.sh

in order to do right way

`su xxx -c "bash a.sh"`
2019-10-01 16:53:22 +02:00
.github Create FUNDING.yml 2019-06-16 18:53:35 +02:00
config Resolving Docker dependencies 2019-09-28 22:47:10 +02:00
lib General: strenghten host preparation with downloading aptly keys from two different servers 2019-09-29 18:53:02 +00:00
packages [ Helios4 ] Fix systemctl WoL unit file to work with NetworkManager 2019-09-02 17:28:17 +08:00
patch Cubox: bump NEXT kernel to 5.3.y 2019-09-27 19:03:07 +02:00
.dockerignore Improve Docker support 2017-08-01 12:30:34 +03:00
.editorconfig Added .editorconfig, removed obsoleted upgrade.sh and main.sh, launching user_config function. (#1543) 2019-09-07 23:28:42 +02:00
.gitignore Add USERPATCHES_PATH optional setting to config file. (#1450) 2019-07-09 22:50:49 -04:00
compile.sh fix shell script execute after su (#1581) 2019-10-01 16:53:22 +02:00
LICENSE Create LICENSE 2014-10-08 10:14:29 +02:00
README.md Update README.md 2019-01-15 12:22:56 +01:00
VERSION Bugfix: run apt update when installing desktop since we use cached rootfs. Up with version. 2019-09-28 01:03:41 +02:00

Armbian

Debian based Linux for ARM based single-board computers

https://www.armbian.com

How to build an image or a kernel?

Supported build environment is Ubuntu Bionic 18.04 x64 (minimal iso image).

  • guest inside a VirtualBox or other virtualization software,
  • guest managed by Vagrant. This uses Virtualbox (as above) but does so in an easily repeatable way,
  • inside a Docker, systemd-nspawn or other container environment (example),
  • running natively on a dedicated PC or a server (not recommended),
  • 25GB disk space or more and 2GB RAM or more available for the VM, container or native OS,
  • superuser rights (configured sudo or root access).

Execution

apt-get -y install git
git clone https://github.com/armbian/build
cd build
./compile.sh

Make sure that full path to the build script does not contain spaces.

You will be prompted with a selection menu for a build option, a board name, a kernel branch and an OS release. Please check the documentation for advanced options and additional customization.

Build process uses caching for the compilation and the debootstrap process, so consecutive runs with similar settings will be much faster.

How to report issues?

Please read this notice first before opening an issue.

How to contribute?

  • Fork the project
  • Make one or more well commented and clean commits to the repository.
  • Perform a pull request in github's web interface.

If it is a new feature request, don't start the coding first. Remember to open an issue to discuss the new feature.

If you are struggling, check this detailed step by step guide on contributing.

Where to get more info?