[Ovirt-devel] [PATCH node] Default OVIRT_CACHE_DIR to be in root autobuild directory

Darryl L. Pierce dpierce at redhat.com
Wed Mar 31 13:14:12 UTC 2010


On Tue, Mar 30, 2010 at 12:23:24PM -0400, Mike Burns wrote:
> Previously was not getting set to anything resulting in cache
> being stored in ~/ovirt-cache.  For systems where multiple autobuilds
> are running, this can lead to issues with builds for one version
> getting rpms generated by another version.
> 
> Also, set ovirt-local repo to pull from the autobuild package root.
> 
> Signed-off-by: Mike Burns <mburns at redhat.com>
> ---
>  autobuild.sh |    8 +++++++-
>  1 files changed, 7 insertions(+), 1 deletions(-)
> 
> diff --git a/autobuild.sh b/autobuild.sh
> index f2b581d..92b3d32 100755
> --- a/autobuild.sh
> +++ b/autobuild.sh
> @@ -25,6 +25,9 @@ set -v
> 
>  test -f Makefile && make -k distclean || :
> 
> +OVIRT_CACHE_DIR=${AUTOBUILD_SOURCE_ROOT}/../ovirt-cache
> +OVIRT_LOCAL_REPO=file://${AUTOBUILD_PACKAGE_ROOT}/rpm/RPMS
> +
>  ./autogen.sh --prefix=$AUTOBUILD_INSTALL_ROOT
>  make
>  make install
> @@ -44,7 +47,10 @@ fi
> 
>  #make iso
>  cd recipe
> -make ovirt-node-image.iso
> +make \
> +  OVIRT_LOCAL_REPO=$OVIRT_LOCAL_REPO \
> +  OVIRT_CACHE_DIR=$OVIRT_CACHE_DIR \
> +ovirt-node-image.iso
> 
>  #copy iso back to main directory for autotest.sh
>  cp *iso ..
> -- 
> 1.6.6.1
> 
> _______________________________________________
> Ovirt-devel mailing list
> Ovirt-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/ovirt-devel

ACK.

-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20100331/053d6255/attachment.sig>


More information about the ovirt-devel mailing list