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

[Xen-devel] multiple uninstalls - small patch

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] multiple uninstalls - small patch
From: <gum@xxxxxxxxxx>
Date: Fri, 22 Jul 2005 19:33:07 +0200
Delivery-date: Fri, 22 Jul 2005 17:31:41 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi there,
I have found, multiple make uninstall does not work. This "small patch" repaired the missing keyword.
-j


$ cat xen_uninstall.patch
diff -Naur xen-2.0-orig/Makefile xen-2.0-new/Makefile
--- xen-2.0-orig/Makefile       2005-05-22 10:56:31.000000000 +0000
+++ xen-2.0-new/Makefile        2005-07-22 17:00:28.555348328 +0000
@@ -157,7 +157,7 @@
 uninstall: DESTDIR=
 uninstall: D=$(DESTDIR)
 uninstall:
-       [ -d $(D)/etc/xen ] && mv -f $(D)/etc/xen $(D)/etc/xen.old-$(date +%s)
+       [ -d $(D)/etc/xen ] && mv -f $(D)/etc/xen $(D)/etc/xen.old-$(shell date +%s)
        rm -rf $(D)/etc/init.d/xend*
        rm -rf $(D)/usr/lib/libxc* $(D)/usr/lib/libxutil*
        rm -rf $(D)/usr/lib/python/xen $(D)/usr/include/xen



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] multiple uninstalls - small patch, gum <=