You've already forked documentation
mirror of
https://github.com/armbian/documentation.git
synced 2026-01-06 10:13:36 -08:00
Update Developer-Guide_Build-Preparation.md
Base and descendant configuration
This commit is contained in:
committed by
GitHub
parent
6d373982f8
commit
f2e1007295
@@ -31,7 +31,7 @@ Make sure that full path to the build script does not contain spaces.
|
||||
|
||||
# Providing build configuration
|
||||
|
||||
After the first run of `compile.sh` a new configuration file `config-default.conf` will be created.
|
||||
After the first run of `compile.sh` a new configuration file `config-example.conf` and symlink `config-default.conf` will be created.
|
||||
You may edit it to your needs or create different configuration files using it as a template.
|
||||
|
||||
Alternatively you can supply options as command line parameters to compile.sh.
|
||||
@@ -41,6 +41,16 @@ Example:
|
||||
|
||||
Note: Option `BUILD_ALL` cannot be set to "yes" via command line parameter.
|
||||
|
||||
## Base and descendant configuration
|
||||
|
||||
You can create one base configuration (`config-base.conf`) and use this in descendant config (`config-dev.conf`). Three parameters (BRANCH, RELEASE, COMPRESS_OUTPUTIMAGE) will be overwritten.
|
||||
|
||||
. ./config-base.conf
|
||||
|
||||
BRANCH="dev"
|
||||
RELEASE="buster"
|
||||
COMPRESS_OUTPUTIMAGE="sha,gz"
|
||||
|
||||
# Using our automated build system
|
||||
|
||||
If you don't own the proper equipment to build images on your own, you can make use of the automated build system.
|
||||
|
||||
Reference in New Issue
Block a user