The former implementation read the runtime config file every time a new RuntimeConfig instance was created. The runtime config is however static during the runtime of an image build process and not supposed to change. Therefore the file should be read in once and any new instance of RuntimConfig should just use what has been read in at the first invocation. This commit refactors the RuntimeConfig class to hold an application global RUNTIME_CONFIG variable and allows to reread the config on explicit request. |
||
|---|---|---|
| .. | ||
| root_import | ||
| __init__.py | ||
| identifier_test.py | ||
| kernel_test.py | ||
| prepare_test.py | ||
| profile_test.py | ||
| result_test.py | ||
| root_bind_test.py | ||
| root_init_test.py | ||
| setup_test.py | ||
| shell_test.py | ||
| size_test.py | ||
| uri_test.py | ||
| users_test.py | ||