IdanDavidi / lib

Armbian build tools

Home Page:http://www.armbian.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Armbian

Ubuntu/Debian images for ARM based single-board computers http://www.armbian.com

How to build my own image or kernel?

Preparation

  • x86/x64 machine running any OS; 4G ram, SSD, quad core (recommended),
  • VirtualBox or similar virtualization software (highly recommended with a minimum of 20GB hard disk space for the virtual disk image),
  • alternatively - Docker, systemd-nspawn or other containerization software. Using Xenial build host inside containers is highly recommended,
  • compilation environment is highly recommended to be Ubuntu Xenial 16.04 x64 (other releases are not officially supported but Ubuntu Trusty 14.04 x64 might still work),
  • installed basic system, OpenSSH and Samba (optional),
  • superuser rights (configured sudo or root shell).

Execution

apt-get -y install git
git clone https://github.com/igorpecovnik/lib --depth 1
cp lib/compile.sh .
./compile.sh

This will download all necessary sources, execute compilation and/or build a bootable image. Most of things will be cached so next run will be extremely faster!

How to change kernel configuration?

Edit compile.sh and set

KERNEL_CONFIGURE="yes"

to display kernel configuration menu prior to compilation

More info:

About

Armbian build tools

http://www.armbian.com

License:GNU General Public License v2.0


Languages

Language:Shell 89.1%Language:Batchfile 4.6%Language:Makefile 2.9%Language:C 1.6%Language:Python 1.2%Language:PHP 0.4%Language:Groff 0.3%