[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] [PATCH] Ensure dist/staging/opt/xensource/libexec dir exists


  • To: xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
  • From: Rob Hoes <rob.hoes@xxxxxxxxxx>
  • Date: Fri, 30 Jul 2010 12:13:58 +0100
  • Delivery-date: Fri, 30 Jul 2010 04:15:34 -0700
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>

# HG changeset patch
# User Rob Hoes <rob.hoes@xxxxxxxxxx>
Ensure dist/staging/opt/xensource/libexec dir exists

A 'mkdir -p' for this directory is needed before any attempt to copy files into 
it.

Signed-off-by: Rob Hoes <rob.hoes@xxxxxxxxxx>

diff -r 2580868fdc43 ocaml/xapi/OMakefile
--- a/ocaml/xapi/OMakefile
+++ b/ocaml/xapi/OMakefile
@@ -259,6 +259,7 @@
        $(IPROG) quicktest $(DEBUGDIST)
        cp -f quicktestbin $(DEBUGDIST)
        $(IPROG) rrddump $(DEBUGDIST)
+       mkdir -p $(DESTDIR)/opt/xensource/libexec
        $(IPROG) sparse_dd $(DESTDIR)/opt/xensource/libexec
 
 .PHONY: sdk-install

Attachment: ensure-libexec-exists
Description: Text document

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.