README.md: Make Config section less conversational

Left the stage overview as it was since it's intended more as a plain
language explanation than a technically complete look.  I believe that
kind of information is useful to have, but perhaps as README.md becomes
longer it may be advisable to move it to another location.
This commit is contained in:
T. Joseph Carter 2016-09-04 16:07:37 -07:00
parent 040e929f5f
commit d30dadb224

View File

@ -9,25 +9,26 @@
#Config #Config
Environment and other variables may be provided in a file named `config` in Upon execution, `build.sh` will source the file `config` in the current
your current working directory when you run `build.sh`. At the moment, the working directory. This bash shell fragment is intended to set needed
only thing you must configure is the name of the image to create. Something environment variables.
like this is used for Raspbian:
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
A simple example for building Raspbian:
```bash ```bash
IMG_NAME='Raspbian' IMG_NAME='Raspbian'
``` ```
Obviously if you are making changes to the pi-gen stages you should probably
use a different `IMG_NAME` to avoid confusion.
You can also define `APT_PROXY` here if you need to.
#Stage Anatomy #Stage Anatomy
#Raspbian Stages #Raspbian Stage Overview
The build of Raspbian is divided up into several stages for logical clarity The build of Raspbian is divided up into several stages for logical clarity
and modularity. This causes some initial complexity, but it simplifies and modularity. This causes some initial complexity, but it simplifies