xen/xu-12205-pv-hvm.diff

24 lines
1009 B
Diff

# HG changeset patch
# User Ian Campbell <ian.campbell@xensource.com>
# Date Thu Nov 02 11:56:26 2006 +0000
# Node ID af1403dd13af9f2e3e778001c1ff681036753aca
# parent: e6fdb32b786c3e57b9c641274607603897b97334
PV-on-HVM: Use ln -nsf in mkbuildtree to avoid creating a symlink loop
if include/xen/interfaces already exists.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Index: xen-3.0.3-testing/unmodified_drivers/linux-2.6/mkbuildtree
===================================================================
--- xen-3.0.3-testing.orig/unmodified_drivers/linux-2.6/mkbuildtree
+++ xen-3.0.3-testing/unmodified_drivers/linux-2.6/mkbuildtree
@@ -30,7 +30,7 @@ mkdir -p include/asm
mkdir -p include/asm/xen
lndir -silent ${XL}/include/xen include/xen
-ln -sf ${XEN}/include/public include/xen/interface
+ln -nsf ${XEN}/include/public include/xen/interface
# Need to be quite careful here: we don't want the files we link in to
# risk overriding the native Linux ones (in particular, system.h must