Use phantom modules path option for generating config

This commit is contained in:
Andrey Pohilko 2013-06-07 15:32:51 +04:00
parent 051e750d07
commit c591c97370
2 changed files with 3 additions and 1 deletions

View File

@ -93,6 +93,8 @@ class PhantomConfig:
kwargs['benchmarks_block'] = streams_config
kwargs['stat_benchmarks'] = stat_benchmarks
kwargs['additional_libs'] = self.additional_libs
kwargs['phantom_modules_path'] = self.phantom_modules_path
filename = self.core.mkstemp(".conf", "phantom_")
self.core.add_artifact_file(filename)

View File

@ -1,5 +1,5 @@
setup_t module_setup = setup_module_t {
dir = "/usr/lib/phantom"
dir = "$phantom_modules_path"
list = {
ssl
io_benchmark