[elbe-devel] [PATCH v2 1/3] config: add ELBE_MIRROR_SED to Config object
Olivier Dion
dion at linutronix.de
Wed Feb 12 16:55:48 CET 2020
On Wed, 12 Feb 2020, Torben Hohn <torben.hohn at linutronix.de>
wrote:
> cfg['mirrorsed'] is supposed to be a space delimited list of
> search and replace strings, which the preprocessor will replace.
>
> Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
Reviewed-by: Olivier Dion <dion at linutronix.de>
> ---
> elbepack/config.py | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/elbepack/config.py b/elbepack/config.py
> index 631e33a70..d04a315b9 100644
> --- a/elbepack/config.py
> +++ b/elbepack/config.py
> @@ -19,6 +19,7 @@ class Config(dict):
> self['elbepass'] = "foo"
> self['pbuilder_jobs'] = "auto"
> self['initvm_domain'] = "initvm"
> + self['mirrorsed'] = ""
>
> if 'ELBE_SOAPPORT' in os.environ:
> self['soapport'] = os.environ['ELBE_SOAPPORT']
> @@ -44,5 +45,7 @@ class Config(dict):
> if 'ELBE_INITVM_DOMAIN' in os.environ:
> self['initvm_domain'] = os.environ['ELBE_INITVM_DOMAIN']
>
> + if 'ELBE_MIRROR_SED' in os.environ:
> + self['mirrorsed'] = os.environ['ELBE_MIRROR_SED']
>
> cfg = Config()
> --
> 2.20.1
>
>
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel
--
Olivier Dion
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
More information about the elbe-devel
mailing list