diff options
author | Daniel Baumann <daniel@debian.org> | 2012-12-19 12:21:09 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-12-19 12:36:11 +0100 |
commit | 9a28d557e664c5b5653ef91aaf975c99aa350699 (patch) | |
tree | 187ea8854beb1e93e3493d603ba24d9cafa15d06 /functions/defaults.sh | |
parent | 7bc281edde0f81657935b0f9549d1c67c32993b2 (diff) | |
download | vyos-live-build-9a28d557e664c5b5653ef91aaf975c99aa350699.tar.gz vyos-live-build-9a28d557e664c5b5653ef91aaf975c99aa350699.zip |
Using image name from configuration to name binary output files.
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-x | functions/defaults.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index 494775ef6..3f42cfe08 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -41,8 +41,9 @@ New_configuration () export LIVE_CONFIGURATION_VERSION # Image - #LIVE_IMAGE="$(Get_configuration config/control Image)" - #LIVE_IMAGE="${LIVE_IMAGE:-binary}" + LIVE_IMAGE_NAME="$(Get_configuration config/control Name)" + LIVE_IMAGE_NAME="${LIVE_IMAGE_NAME:-live}" + export LIVE_IMAGE_NAME # Image: Architecture (FIXME: Support and default to 'any') LIVE_IMAGE_ARCHITECTURE="$(Get_configuration config/control Architecture)" |