Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbuild <buildmaster@sugarlabs.org>2009-01-21 18:10:05 (GMT)
committer build <buildmaster@sugarlabs.org>2009-01-21 18:10:05 (GMT)
commit6f63b052edef738e04c81dee1aee32228cfaa590 (patch)
tree56dafe2b2a095f909604e4253983b3b64e9b2e88
parent4741a1fd11ba3d8dc6cacb410bf62538b4fa1da2 (diff)
define the path to the modulessets via sugar.jhbuildrc
instead of hard coding the path to the modulesets in config.py use the sugar.jhbuildrc variable
-rw-r--r--scripts/config.py2
-rw-r--r--sugar.jhbuildrc5
2 files changed, 5 insertions, 2 deletions
diff --git a/scripts/config.py b/scripts/config.py
index c9a1049..eaa6b36 100644
--- a/scripts/config.py
+++ b/scripts/config.py
@@ -16,8 +16,6 @@ class Config(jhbuild.config.Config):
self.checkoutroot = os.path.join(self.base_dir, 'source')
self.tarballdir = os.path.join(self.base_dir, 'source')
- self.moduleset = os.path.join(self.base_dir, 'config',
- 'modulesets', 'sugar.modules')
for package, source in sysdeps.get_packages():
if source and source not in self.skip:
diff --git a/sugar.jhbuildrc b/sugar.jhbuildrc
index 49c3f50..0a76683 100644
--- a/sugar.jhbuildrc
+++ b/sugar.jhbuildrc
@@ -1 +1,6 @@
+use_local_modulesets = True
+modulesets_dir = os.path.join(os.path.dirname(__file__), 'config/modulesets')
+moduleset = 'sugar'
+
modules = ['meta-sugar']
+