[elbe-devel] [PATCH 1/2] config: add ELBE_MIRROR_SED to Config object
Torben Hohn
torben.hohn at linutronix.de
Wed Feb 12 13:54:07 CET 2020
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>
---
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
More information about the elbe-devel
mailing list