Armbian Linux build framework generates custom Debian or Ubuntu image for x86, aarch64, riscv64 & armhf
Go to file
ThomasKaiser ee2e2f5bed Merge branch 'master' of https://github.com/igorpecovnik/lib 2016-03-20 19:55:58 +01:00
bin More desktop stuff 2016-03-12 17:04:52 +03:00
config Merge branch 'master' of https://github.com/igorpecovnik/lib 2016-03-20 19:55:58 +01:00
documentation Few armbianmonitor improvements (storage check, info upload) 2016-03-20 13:22:23 +01:00
patch Udoo NEXT is docker ready and upstream patches 4.4.6 2016-03-20 16:33:34 +01:00
scripts Few armbianmonitor improvements (storage check, info upload) 2016-03-20 13:22:23 +01:00
LICENSE Create LICENSE 2014-10-08 10:14:29 +02:00
README.md Build script complete rewrite. Added user patches and WIP boards: Orangepi+, Lemaker Guitar 2015-12-02 20:33:32 +01:00
boards.sh Few more H3 fixes, green LED high active again, little fel-boot enhancements 2016-03-17 20:16:26 +01:00
build-all.sh Refactoring for build-all, added CLI_TARGET to configuration.sh for defining which CLI images we build, same logic as DESKTOP_TARGET, prepared for Ubuntu Xenial 2016-03-19 08:54:07 +01:00
common.sh Improvements for image customization 2016-03-19 17:26:15 +03:00
compile.sh Further shaping of compile call script - regarding updating. 2016-03-20 08:06:47 +01:00
configuration.sh Refactoring for build-all, added CLI_TARGET to configuration.sh for defining which CLI images we build, same logic as DESKTOP_TARGET, prepared for Ubuntu Xenial 2016-03-19 08:54:07 +01:00
debootstrap-ng.sh Fix fstab fs type for f2fs in debootstrap-ng 2016-03-20 17:51:49 +03:00
debootstrap.sh Improvements for image customization 2016-03-19 17:26:15 +03:00
desktop.sh Few more H3 fixes, green LED high active again, little fel-boot enhancements 2016-03-17 20:16:26 +01:00
distributions.sh Few more H3 fixes, green LED high active again, little fel-boot enhancements 2016-03-17 20:16:26 +01:00
fel-load.sh Few more H3 fixes, green LED high active again, little fel-boot enhancements 2016-03-17 20:16:26 +01:00
general.sh Improvements for image customization 2016-03-19 17:26:15 +03:00
main.sh Refactor package names to fix installation of u-boot in debootstrap 2016-03-14 23:03:08 +03:00
makeboarddeb.sh Few more H3 fixes, green LED high active again, little fel-boot enhancements 2016-03-17 20:16:26 +01:00
patching.sh Added function to abort build with verbose error message 2016-03-05 21:29:04 +03: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 Banana M1 / M1+ / Pro micro fixes in legacy and vanilla kernel. 2016-03-01 22:27:09 +01:00

README.md

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: