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 <[email protected]> --- 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 [email protected] https://www.redhat.com/mailman/listinfo/ovirt-devel
