summaryrefslogtreecommitdiff
path: root/bundler/actions.py
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2014-06-20 13:39:32 -0300
committerTomás Touceda <chiiph@leap.se>2014-06-20 13:39:32 -0300
commit02ca2e05a34a055e4559bdf1424080a643731f50 (patch)
treed81215dd308b394f3c3d7021b76fb2e2153d975c /bundler/actions.py
parent5cd112f2eb87a0654cded7b2a6b3b59beddede42 (diff)
Update hashes for bitmask-root and openvpn
Diffstat (limited to 'bundler/actions.py')
-rw-r--r--bundler/actions.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/bundler/actions.py b/bundler/actions.py
index 2178597..df96c92 100644
--- a/bundler/actions.py
+++ b/bundler/actions.py
@@ -159,7 +159,7 @@ class PythonSetupAll(Action):
Action.__init__(self, "pythonsetup", basedir, skip, do)
@skippable
- def run(self, sorted_repos):
+ def run(self, sorted_repos, binaries_path):
cd(self._basedir)
for repo in sorted_repos:
print "Setting up", repo
@@ -187,6 +187,12 @@ class PythonSetupAll(Action):
make()
print "Running build to get correct version..."
python("setup.py", "build")
+ print "Updating hashes"
+ os.environ["OPENVPN_BIN"] = os.path.join(
+ binaries_path, "openvpn.files", "leap-openvpn")
+ os.environ["BITMASK_ROOT"] = os.path.join(
+ self._basedir, repo, "pkg", "linux", "bitmask-root")
+ python("setup.py", "hash_binaries")
python("setup.py", "develop")
sys.path.append(os.path.join(self._basedir, repo, "src"))