Armbian Linux build tools https://www.armbian.com
Find a file
2015-12-14 17:03:41 +03:00
bin Build script complete rewrite. Added user patches and WIP boards: Orangepi+, Lemaker Guitar 2015-12-02 20:33:32 +01:00
config Updated .dev config 2015-12-09 14:38:12 +01:00
documentation debootstrap.sh name fixed 2015-12-09 21:33:59 +03:00
patch Moved new patches to sunxi-dev 2015-12-13 20:24:50 +03:00
scripts Build script complete rewrite. Added user patches and WIP boards: Orangepi+, Lemaker Guitar 2015-12-02 20:33:32 +01:00
boards.sh Added Odroid uboot creation and one patch, pigz and gzip change and small fixes 2015-12-09 11:29:50 +01:00
build-all.sh Build script complete rewrite. Added user patches and WIP boards: Orangepi+, Lemaker Guitar 2015-12-02 20:33:32 +01:00
common.sh PROGRESS_DISPLAY and PROGRESS_LOG_TO_FILE applied to kernel packaging 2015-12-12 18:34:24 +03:00
compile.sh Apt --no-install-recommends for host dependencies 2015-12-14 17:03:41 +03:00
configuration.sh Changed u-boot patching philosophy to similar as Kernel, except here we have UBOOTSOURCEDIR-BRANCH, example: u-boot-neo-default 2015-12-10 11:43:31 +01:00
debootstrap.sh Merge branch 'master' of https://github.com/zador-blood-stained/lib 2015-12-09 22:27:08 +01:00
desktop.sh Build script complete rewrite. Added user patches and WIP boards: Orangepi+, Lemaker Guitar 2015-12-02 20:33:32 +01:00
distributions.sh Build script complete rewrite. Added user patches and WIP boards: Orangepi+, Lemaker Guitar 2015-12-02 20:33:32 +01:00
general.sh Apt --no-install-recommends for host dependencies 2015-12-14 17:03:41 +03:00
LICENSE Create LICENSE 2014-10-08 10:14:29 +02:00
main.sh Dependencies installation moved to new function "prepare_host" 2015-12-12 18:39:23 +03:00
makeboarddeb.sh Forgot to add meminfo from sunxi tools 2015-12-10 06:52:37 +01:00
patching.sh Changed u-boot patching philosophy to similar as Kernel, except here we have UBOOTSOURCEDIR-BRANCH, example: u-boot-neo-default 2015-12-10 11:43:31 +01:00
README.md Build script complete rewrite. Added user patches and WIP boards: Orangepi+, Lemaker Guitar 2015-12-02 20:33:32 +01:00
repo-show.sh Build script complete rewrite. Added user patches and WIP boards: Orangepi+, Lemaker Guitar 2015-12-02 20:33:32 +01:00
repo-update.sh Build script complete rewrite. Added user patches and WIP boards: Orangepi+, Lemaker Guitar 2015-12-02 20:33:32 +01:00
upgrade.sh Build script complete rewrite. Added user patches and WIP boards: Orangepi+, Lemaker Guitar 2015-12-02 20:33:32 +01:00

How to build my own image?

Preparation

  • x86 machine running any OS, 4G ram, SSD, quad core (recommended),
  • virtual box or similar virtualization software, (highly recommended)
  • host system is highly recommended to be Ubuntu 14.04 (some but not all sources can also compile on Ubuntu 15.04, Mint 17.2 and Debian Jessie),
  • installed basic system, OpenSSH and Samba (optional),
  • root access.

Execution

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

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

How to build my own kernel?

Prerequisition are the same as building an image!

Edit compile.sh prior to running and alter switch:

KERNEL_ONLY="yes"

In directory (output/debs) you will find deb packed kernel, together with headers, firmware and u-boot.

If you are doing changes to kernel source, disable GIT lock with:

FORCE_CHECKOUT="no"

If you want to invoke menu configuration:

KERNEL_CONFIGURE="yes"

More info: