diff options
author | Daniil Baturin <daniil@baturin.org> | 2016-01-26 10:17:14 -0500 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2016-01-26 10:17:14 -0500 |
commit | 38a250d62763a85e41cfe57b120ab380ad42fa55 (patch) | |
tree | 7259dcc2cf028867815d123f8bec5f5c35a4a0a0 | |
parent | 4add13956fa340e39b6b53ce1d7cd68946bcc8fc (diff) | |
download | vyos-build-38a250d62763a85e41cfe57b120ab380ad42fa55.tar.gz vyos-build-38a250d62763a85e41cfe57b120ab380ad42fa55.zip |
Add a configure option for selecting build type (release vs dev).
-rwxr-xr-x | scripts/build-config | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build-config b/scripts/build-config index d0d2fdac..b350f692 100755 --- a/scripts/build-config +++ b/scripts/build-config @@ -49,7 +49,8 @@ options = { 'architecture': ('Image target architecture (amd64 or i586)', lambda: 'amd64', lambda x: x in ['amd64', 'i586']), 'build-by': ('Builder identifier (e.g. jrandomhacker@example.net)', get_default_build_by, None), 'debian-mirror': ('Debian repository mirror for ISO build', lambda: defaults.DEBIAN_MIRROR, None), - 'pbuilder-debian-mirror': ('Debian repository mirror for pbuilder env bootstrap', lambda: defaults.DEBIAN_MIRROR, None) + 'pbuilder-debian-mirror': ('Debian repository mirror for pbuilder env bootstrap', lambda: defaults.DEBIAN_MIRROR, None), + 'build-type': ('Build type, release or development', lambda: 'development', lambda x: x in ['release', 'development']) } # Create the option parser |