From: Ian Campbell Date: Thu, 2 Nov 2006 11:56:26 +0000 (+0000) Subject: PV-on-HVM: Use ln -nsf in mkbuildtree to avoid creating a symlink loop X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0d7658072aa628260f075d2ef45ef1b2558a577c;p=xen.git 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 --- diff --git a/unmodified_drivers/linux-2.6/mkbuildtree b/unmodified_drivers/linux-2.6/mkbuildtree index 5b6b8643ee..ddcc13c75e 100755 --- a/unmodified_drivers/linux-2.6/mkbuildtree +++ b/unmodified_drivers/linux-2.6/mkbuildtree @@ -31,7 +31,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