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-devel

RE: [Xen-devel] [PATCH] (trivial) simple fix for install.sh not working

To: "Paul Larson" <pl@xxxxxxxxxx>, "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] (trivial) simple fix for install.sh not working on symlinked dirs
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Thu, 17 Mar 2005 21:09:55 -0000
Cc: <ian.pratt@xxxxxxxxxxxx>
Delivery-date: Thu, 17 Mar 2005 21:11:19 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Thread-index: AcUrL/yn40tJj1itRz6MWr+yel+CSAABWpDQ
Thread-topic: [Xen-devel] [PATCH] (trivial) simple fix for install.sh not working on symlinked dirs
> This simple fix seems to work for me.  With the -L it will follow
> symlinks so that symlinked /lib/python and /etc/init.d get the files
> copied to them correctly on install.

Nice, thanks.
We can remove the skank fix I came up with for 2.0.5...

Ian

> -- 
> Thanks,
> Paul Larson
> pl@xxxxxxxxxx
> IBM Linux Technology Center
> 
> Signed-off-by: pl@xxxxxxxxxx
> 
> --- install.sh  2005-03-06 16:14:56.000000000 -0600
> +++ dist/install.sh     2005-03-16 16:44:25.779315000 -0600
> @@ -32,7 +32,7 @@
>    [ -e "$l" ] && ln -fs "$l" vmlinuz${v}-xenU
>  done
>  cd -
> -cp -fdR $src/* $dst
> +cp -fdRL $src/* $dst
>  echo "All done."
> 
>  echo "Checking to see whether prerequisite tools are installed..."
> 
> 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>