Add commandline argument for config file

A config file can be specified when running build, e.g.:

  ./build.sh myconfig
This commit is contained in:
Sam Tygier
2019-01-01 22:00:28 -08:00
committed by Peter Johnson
parent c80e5e9100
commit 9436cb7f94
3 changed files with 32 additions and 14 deletions
+7
View File
@@ -95,6 +95,13 @@ A simple example for building Raspbian:
IMG_NAME='Raspbian'
```
The config file can also be specified on the command line as an argument the `build.sh` or `build-docker.sh` scripts.
```
./build -c myconfig
```
This is parsed after `config` so can be used to override values set there.
## How the build process works