Author: wade
Date: 2007-09-26 17:38:23 -0400 (Wed, 26 Sep 2007)
New Revision: 86451

Modified:
   trunk/release/packaging/defs/moon
   trunk/release/packaging/mktarball
Log:
defs/moon:
mktarball:
-add option to install deps from HEAD when creating a 
 tarball for moon
 (Once newer packages with moonlight are released, this
 won't need necessary)



Modified: trunk/release/packaging/defs/moon
===================================================================
--- trunk/release/packaging/defs/moon   2007-09-26 21:36:36 UTC (rev 86450)
+++ trunk/release/packaging/defs/moon   2007-09-26 21:38:23 UTC (rev 86451)
@@ -1,5 +1,7 @@
 web_index=8
 
+MKTARBALL_HEAD_DEPS=1
+
 BUILD_HOSTS=(
         suse-103-i586
 )

Modified: trunk/release/packaging/mktarball
===================================================================
--- trunk/release/packaging/mktarball   2007-09-26 21:36:36 UTC (rev 86450)
+++ trunk/release/packaging/mktarball   2007-09-26 21:38:23 UTC (rev 86451)
@@ -78,8 +78,13 @@
 # Update tarball status to "inprogress"
 repo.add_file(HEAD_or_RELEASE, package, version, "inprogress")
 
+# Install deps from HEAD instead of RELEASE for this package
+head_deps = ""
+if package_obj.get_info_var('MKTARBALL_HEAD_DEPS'):
+       head_deps = "--HEAD_or_RELEASE=HEAD"
+
 if package_obj.info.has_key('MONO_DEPS'):
-       (status, output) = utils.launch_process('./install-deps --build_source 
%s %s' % (conf.conf_lock_filename, package), my_logger=log_obj)
+       (status, output) = utils.launch_process('./install-deps %s 
--build_source %s %s' % (head_deps, conf.conf_lock_filename, package), 
my_logger=log_obj)
        if status:
                conf.buildenv.unlock_env()
                log_obj.log("Dependency installation failed\n")

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to