Add MAX_STAGE and RUN_STAGE variables (#21)

* Add MAX_STAGES variable

If set, only runs up to that stage

* Show "Skipping stageX" message for all skipped stages

* Add RUN_STAGE variable to run a single stage

* Document RUN_STAGE and MAX_STAGE

* Removed SKIP file support for main stage
This commit is contained in:
Greg MacLellan
2016-10-05 09:32:03 +01:00
committed by XECDesign
parent 62406bad92
commit 7f0c59d5c1
2 changed files with 28 additions and 18 deletions
+2 -1
View File
@@ -1,6 +1,5 @@
#TODO
1. Simplify running a single stage
1. Documentation
#Dependencies
@@ -17,6 +16,8 @@ The following environment variables are supported:
* `IMG_NAME`, the name of the distribution to build (required)
* `APT_PROXY`, proxy/cache URL to be included in the build
* `MAX_STAGE`, to only run up to this stage. (default `4`, eg: `MAX_STAGE=2`)
* `RUN_STAGE`, to only run a single stage (eg: `RUN_STAGE=1`)
A simple example for building Raspbian: