import git
import subprocess
import logging
+import lttng_ivc.settings as Settings
+
+from lttng_ivc.utils.utils import sha256_checksum
_logger = logging.getLogger('project')
""" A collection of Project dependencies """
self.dependencies = {}
+ # used for project cache and pickle validation
self._immutable = False
+ self._py_file_checksum = sha256_checksum(Settings.project_py_file_location)
# State
self.isBuilt = False
self.isConfigured = False
self.isInstalled = False
+ self.skip = False
self.basedir = tmpdir
self.log_path = os.path.join(tmpdir, "log")
def __init__(self, label, git_path, sha1, tmpdir):
super(Lttng_modules, self).__init__(label=label, git_path=git_path,
sha1=sha1, tmpdir=tmpdir)
- self.add_special_env_variable("MODPROBE_OPTIONS","-b {}".format(self.installation_path))
+ self.add_special_env_variable("MODPROBE_OPTIONS","-d {}".format(self.installation_path))
def bootstrap(self):
pass