-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from mvallim/feat-more-config-options
Add more customization options to script.
- Loading branch information
Showing
4 changed files
with
60 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Build Scripts | ||
|
||
## build.sh | ||
|
||
``` | ||
This script builds a bootable ubuntu ISO image | ||
Supported commands : setup_host debootstrap run_chroot build_iso | ||
Syntax: ./build.sh [start_cmd] [-] [end_cmd] | ||
run from start_cmd to end_end | ||
if start_cmd is omitted, start from first command | ||
if end_cmd is omitted, end with last command | ||
enter single cmd to run the specific command | ||
enter '-' as only argument to run all commands | ||
``` | ||
|
||
## How to Customize | ||
|
||
1. Copy the `default_config.sh` file to `config.sh` in the scripts directory. | ||
2. Make any necessary edits there, the script will pick up `config.sh` over `default_config.sh`. | ||
|
||
## How to Update | ||
|
||
The configuration script is versioned with the variable CONFIG_FILE_VERSION. Any time that the configuration | ||
format is changed in `default_config.sh`, this value is bumped. Once this happens `config.sh` must be updated manually | ||
from the default file to ensure the new/changed variables are as desired. Once the merge is complete the `config.sh` file's | ||
CONFIG_FILE_VERSION should match the default and the build will run. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters