Mike Burns
2010-May-14 18:51 UTC
[Ovirt-devel] [PATCH node] Fix autobuild to use just build ovirt-node rpms
Need to recreate the repo information in autobuild so that the
rpms just generated get included in the iso build.
Signed-off-by: Mike Burns <mburns at redhat.com>
---
autobuild.sh | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/autobuild.sh b/autobuild.sh
index 92b3d32..a27a7ff 100755
--- a/autobuild.sh
+++ b/autobuild.sh
@@ -45,6 +45,11 @@ if [ -f /usr/bin/rpmbuild ]; then
rpmbuild --nodeps --define "extra_release $EXTRA_RELEASE" -ta
--clean *.tar.gz
fi
+# regenerate repo so iso uses new ovirt-node rpms
+cd ${AUTOBUILD_PACKAGE_ROOT}/rpm/RPMS
+createrepo .
+cd -
+
#make iso
cd recipe
make \
--
1.6.6.1
Mike Burns
2010-May-14 18:57 UTC
[Ovirt-devel] [PATCH node] Fix autobuild to use just build ovirt-node rpms
Please disregard, new version coming shortly... On Fri, 2010-05-14 at 14:51 -0400, Mike Burns wrote:> Need to recreate the repo information in autobuild so that the > rpms just generated get included in the iso build. > > Signed-off-by: Mike Burns <mburns at redhat.com> > --- > autobuild.sh | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/autobuild.sh b/autobuild.sh > index 92b3d32..a27a7ff 100755 > --- a/autobuild.sh > +++ b/autobuild.sh > @@ -45,6 +45,11 @@ if [ -f /usr/bin/rpmbuild ]; then > rpmbuild --nodeps --define "extra_release $EXTRA_RELEASE" -ta --clean *.tar.gz > fi > > +# regenerate repo so iso uses new ovirt-node rpms > +cd ${AUTOBUILD_PACKAGE_ROOT}/rpm/RPMS > +createrepo . > +cd - > + > #make iso > cd recipe > make \