Skip to content

Commit

Permalink
- added -load which loads the BuildRoot/ with a single project
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.macosforge.org/repository/darwinbuild/trunk@173 10a61168-4876-4dac-953b-31e694342555
  • Loading branch information
kvanvechten committed Aug 11, 2005
1 parent 592f0e9 commit b5c2314
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES
Expand Up @@ -2,6 +2,8 @@ Darwin Build Scripts Change History
----------------------------------- -----------------------------------


Release X.Y.Z [NOW] 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 - darwinbuild: Add a -loadonly option which loads
the BuildRoot/ but doesn't start the build the BuildRoot/ but doesn't start the build
- darwinbuild: use -stdin mode to register to register - darwinbuild: use -stdin mode to register to register
Expand Down
11 changes: 11 additions & 0 deletions darwinbuild/darwinbuild
Expand Up @@ -239,6 +239,7 @@ fi
### -fetch Download necessary source and patch files ### -fetch Download necessary source and patch files
### -source Extract, patch, and stage source ### -source Extract, patch, and stage source
### -nochroot Do not chroot into the BuildRoot when building ### -nochroot Do not chroot into the BuildRoot when building
### -load Populate the BuildRoot with one project
### -noload Don't load dependencies into the chroot. ### -noload Don't load dependencies into the chroot.
### Has no effect if -nochroot is specified. ### Has no effect if -nochroot is specified.
### -loadonly Only load dependencies into the chroot, but ### -loadonly Only load dependencies into the chroot, but
Expand Down Expand Up @@ -272,6 +273,8 @@ for ARG in "$@"; do
depsbuild="${depsbuild} ${ARG/*=/}" depsbuild="${depsbuild} ${ARG/*=/}"
elif [ "$ARG" == "-nochroot" ]; then elif [ "$ARG" == "-nochroot" ]; then
export CHROOTED="NO" export CHROOTED="NO"
elif [ "$ARG" == "-load" ]; then
action="load"
elif [ "$ARG" == "-noload" ]; then elif [ "$ARG" == "-noload" ]; then
noload="YES" noload="YES"
elif [ "$ARG" == "-loadonly" ]; then elif [ "$ARG" == "-loadonly" ]; then
Expand Down Expand Up @@ -318,6 +321,14 @@ if [ "$depsbuild" == "" ]; then
fi 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. # Get the version of the project for this build.
# #
Expand Down

0 comments on commit b5c2314

Please sign in to comment.