respect override_storage

This commit is contained in:
Jörn-Michael Miehe 2022-02-22 00:02:08 +01:00
parent b30188c8dc
commit d4eb91dae8

View file

@ -43,6 +43,9 @@ class Project:
kiwi_config_dir: Path = kiwi_instance_dir.joinpath(CONFIG_DIRECTORY_NAME) kiwi_config_dir: Path = kiwi_instance_dir.joinpath(CONFIG_DIRECTORY_NAME)
kiwi_project_dir: Path = kiwi_instance_dir.joinpath(project_name) kiwi_project_dir: Path = kiwi_instance_dir.joinpath(project_name)
if self.config.override_storage is not None:
kiwi_project_dir = self.config.override_storage.directory
result: Dict[str, Any] = { result: Dict[str, Any] = {
"cwd": str(directory), "cwd": str(directory),
"env": { "env": {