Add "TARGETROOT" env variable

This commit is contained in:
Jörn-Michael Miehe 2020-08-25 16:33:50 +02:00
parent ffe1089718
commit 755af1a4bb

View file

@ -84,6 +84,7 @@ class Project:
kwargs['env'].update({ kwargs['env'].update({
'COMPOSE_PROJECT_NAME': self.get_name(), 'COMPOSE_PROJECT_NAME': self.get_name(),
'KIWI_HUB_NAME': config['network:name'], 'KIWI_HUB_NAME': config['network:name'],
'TARGETROOT': config['runtime:storage'],
'CONFDIR': os.path.join(config['runtime:storage'], CONF_DIRECTORY_NAME), 'CONFDIR': os.path.join(config['runtime:storage'], CONF_DIRECTORY_NAME),
'TARGETDIR': self.target_dir_name() 'TARGETDIR': self.target_dir_name()
}) })