On 01/04/2012 08:05 AM, George Shuklin wrote:
> Solution:
>
> Fix path to correct one.
>
> --- /tmp/etc/init.d/xcp-xapi    2011-12-12 15:41:13.000000000 +0400
> +++ /etc/init.d/xcp-xapi    2012-01-04 04:03:49.326368996 +0400
> @@ -95,8 +95,8 @@
>      # Check whether the md5 of the create-templates binary matches
> the one
>      # used previously. If not, recreate the templates.
>      if ! md5sum -c --status $TEMPLATES_MD5_STAMP ; then
> -        /usr/lib/xcp/lib/regenerate-templates start
> -        md5sum /usr/lib/xcp/lib/create_templates > $TEMPLATES_MD5_STAMP
> +        /usr/lib/xen-common/xapi/libexec/regenerate-templates start
> +        md5sum /usr/lib/xen-common/xapi/libexec/create_templates
> >$TEMPLATES_MD5_STAMP
>      fi
>  }
This has already been fixed in the Git (and in Debian),
and the solution was to package regenerate-templates /
create_templates in /usr/lib/xcp/lib rather than changing
the init.d script.

Cheers,

Thomas


_______________________________________________
xen-api mailing list
[email protected]
http://lists.xensource.com/mailman/listinfo/xen-api

Reply via email to