[Ovirt-devel] [PATCH] A few specfile tweaks

Jim Meyering jim at meyering.net
Fri May 2 19:24:14 UTC 2008


Ian Main <imain at redhat.com> wrote:
> D'oh, need this too..  Consider it an addendum :)
>
> diff --git a/wui-appliance/common-post.ks b/wui-appliance/common-post.ks
> index 3bd6b4d..d50436a 100644
> --- a/wui-appliance/common-post.ks
> +++ b/wui-appliance/common-post.ks
> @@ -34,7 +34,7 @@ cat > /etc/init.d/ovirt-wui-first-run << \EOF
>  start() {
>  	echo -n "Starting ovirt-wui-first-run: "
>
> -	/usr/bin/ovirt-wui-install > /var/log/ovirt-wui-first-run.log 2>&1
> +	/usr/sbin/ovirt-wui-install > /var/log/ovirt-wui-first-run.log 2>&1

Hi Ian,

You could also just drop the leading "/usr/sbin/", since the PATH
is set via the preceding ". /etc/init.d/functions" line.

This is another good reason to avoid those absolute prefixes when possible.

Speaking of that, I still have a patch that removes a whole bunch of them.
I'll rebase it and post on Monday.




More information about the ovirt-devel mailing list