build/README.md

40 lines
2.8 KiB
Markdown
Raw Normal View History

# Armbian
2016-12-28 22:14:42 +03:00
Ubuntu and Debian images for ARM based single-board computers
2017-01-14 20:09:15 +03:00
https://www.armbian.com
## How to build my own image or kernel?
2016-12-28 22:14:42 +03:00
Supported build environments:
2016-12-28 23:28:10 +03:00
- [Ubuntu Xenial 16.04 x64](http://archive.ubuntu.com/ubuntu/dists/xenial-updates/main/installer-amd64/current/images/netboot/mini.iso) guest inside a [VirtualBox](https://www.virtualbox.org/wiki/Downloads) or other virtualization software,
- [Ubuntu Xenial 16.04 x64](http://archive.ubuntu.com/ubuntu/dists/xenial-updates/main/installer-amd64/current/images/netboot/mini.iso) guest managed by [Vagrant](https://www.vagrantup.com/). This uses Virtualbox (as above) but does so in an easily repeatable way. Please check the [Armbian with Vagrant README](https://docs.armbian.com/Developer-Guide_Using-Vagrant/) for a quick start HOWTO,
2016-12-28 22:17:21 +03:00
- [Ubuntu Xenial 16.04 x64](http://archive.ubuntu.com/ubuntu/dists/xenial-updates/main/installer-amd64/current/images/netboot/mini.iso) inside a [Docker](https://www.docker.com/), [systemd-nspawn](https://www.freedesktop.org/software/systemd/man/systemd-nspawn.html) or other container environment [(example)](https://github.com/igorpecovnik/lib/pull/255#issuecomment-205045273). Building full OS images inside containers may not work, so this option is mostly for the kernel compilation,
- [Ubuntu Xenial 16.04 x64](http://archive.ubuntu.com/ubuntu/dists/xenial-updates/main/installer-amd64/current/images/netboot/mini.iso) running natively on a dedicated PC or a server (**not** recommended unless you build kernel only, for full OS images always use virtualization as outlined above),
2016-12-28 23:28:10 +03:00
- **20GB disk space** or more and **2GB RAM** or more available for the VM, container or native OS,
2016-12-28 22:14:42 +03:00
- superuser rights (configured `sudo` or root access).
**Execution**
apt-get -y install git
git clone https://github.com/armbian/build
cd build
./compile.sh
2017-10-09 15:44:05 +03:00
Make sure that full path to the build script does not contain spaces.
2016-12-28 22:14:42 +03:00
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](https://docs.armbian.com/Developer-Guide_Build-Options/) and [additional customization](https://docs.armbian.com/Developer-Guide_User-Configurations/).
2016-12-28 22:14:42 +03:00
Build process uses caching for the compilation and the debootstrap process, so consecutive runs with similar settings will be much faster.
2017-01-15 00:48:36 +03:00
## Reporting issues
Please read [this](https://github.com/igorpecovnik/lib/blob/master/.github/ISSUE_TEMPLATE.md) notice first before opening an issue.
## More info:
2017-01-14 20:09:15 +03:00
- [Documentation](https://docs.armbian.com/Developer-Guide_Build-Preparation/)
- [Prebuilt images](https://www.armbian.com/download/)
- [Support forums](https://forum.armbian.com/ "Armbian support forum")
2016-07-13 10:39:58 +05:30
- [Project at Github](https://github.com/igorpecovnik/lib)