Add 'no libs volumes' mode

This commit is contained in:
2021-02-25 08:42:54 +01:00
parent 546e62e077
commit 4c4fd6d42c
2 changed files with 14 additions and 4 deletions

View File

@ -12,6 +12,9 @@ def run_profile_hooks(profile, step, **kwargs):
hook_path = os.path.join(hooks_dir, trimmed_hook_name)
run([hook_path], **kwargs)
def get_base_dir():
return os.path.realpath(os.path.dirname(os.path.abspath(__file__)) + "/..")
def get_hooks_dir():
return os.path.realpath(os.path.dirname(os.path.abspath(__file__)) + "/../hooks")