WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

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

To: xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-API] [PATCH] Ensure dist/staging/opt/xensource/libexec dir exists
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
# 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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] Ensure dist/staging/opt/xensource/libexec dir exists, Rob Hoes <=