[darwinbuild-changes] [173] trunk

source_changes at macosforge.org source_changes at macosforge.org
Wed Oct 4 01:54:14 PDT 2006


Revision: 173
          http://trac.macosforge.org/projects/darwinbuild/changeset/173
Author:   kevin
Date:     2006-10-04 01:54:14 -0700 (Wed, 04 Oct 2006)

Log Message:
-----------
- added -load which loads the BuildRoot/ with a single project

Modified Paths:
--------------
    trunk/CHANGES
    trunk/darwinbuild/darwinbuild

Modified: trunk/CHANGES
===================================================================
--- trunk/CHANGES	2005-08-10 04:19:55 UTC (rev 172)
+++ trunk/CHANGES	2006-10-04 08:54:14 UTC (rev 173)
@@ -2,6 +2,8 @@
 -----------------------------------
 
 Release X.Y.Z [NOW]
+	- darwinbuild: Add a -load option which loads the BuildRoot/ with a
+	  single project
 	- darwinbuild: Add a -loadonly option which loads
 	  the BuildRoot/ but doesn't start the build
 	- darwinbuild: use -stdin mode to register to register

Modified: trunk/darwinbuild/darwinbuild
===================================================================
--- trunk/darwinbuild/darwinbuild	2005-08-10 04:19:55 UTC (rev 172)
+++ trunk/darwinbuild/darwinbuild	2006-10-04 08:54:14 UTC (rev 173)
@@ -239,6 +239,7 @@
 ###   -fetch    Download necessary source and patch files
 ###   -source   Extract, patch, and stage source
 ###   -nochroot Do not chroot into the BuildRoot when building
+###   -load     Populate the BuildRoot with one project
 ###   -noload   Don't load dependencies into the chroot.
 ###				Has no effect if -nochroot is specified.
 ###   -loadonly Only load dependencies into the chroot, but
@@ -272,6 +273,8 @@
 			depsbuild="${depsbuild} ${ARG/*=/}"
 		elif [ "$ARG" == "-nochroot" ]; then
 			export CHROOTED="NO"
+		elif [ "$ARG" == "-load" ]; then
+			action="load"
 		elif [ "$ARG" == "-noload" ]; then
 			noload="YES"
 		elif [ "$ARG" == "-loadonly" ]; then
@@ -318,6 +321,14 @@
 fi
 
 
+###
+### If we are doing a -load, install the root and exit.
+###
+if [ "$action" == "load" ]; then
+	InstallRoot "$BuildRoot" "$projnam" "$depsbuild"
+	exit 0
+fi
+
 #
 # Get the version of the project for this build.
 #

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/8a3ee1f1/attachment.html


More information about the darwinbuild-changes mailing list