[Ovirt-devel] PATCH: Fix node-image autobuild.sh with local repos

Mohammed Morsi mmorsi at redhat.com
Thu Sep 18 00:16:39 UTC 2008


Daniel P. Berrange wrote:
> The ovirt_local_repo macro needs to be a proper URI, not a file path...
>
>
> diff --git a/autobuild.sh b/autobuild.sh
> index ba5c3cb..08500c3 100755
> --- a/autobuild.sh
> +++ b/autobuild.sh
> @@ -42,6 +42,6 @@ if [ -f /usr/bin/rpmbuild ]; then
>    cp rpm-build/ovirt-node-image-$version.tar.gz $AUTOBUILD_PACKAGE_ROOT/rpm/SOURCES/
>  
>    rpmbuild --nodeps --define "extra_release $EXTRA_RELEASE" \
> -           --define "ovirt_local_repo $AUTOBUILD_PACKAGE_ROOT/rpm/RPMS" \
> +           --define "ovirt_local_repo file://$AUTOBUILD_PACKAGE_ROOT/rpm/RPMS" \
>             -ba --clean ovirt-node-image.spec
>  fi
>
>
> Daniel
>   
ACK. Recall running into the same issue / doing the same fix, why it
never got committed escapes me...

   -Mo




More information about the ovirt-devel mailing list