From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: multiple uninstalls - small patch Date: Fri, 22 Jul 2005 19:33:07 +0200 Message-ID: <200507221933.31735@centrum.cz> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0539147493==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0539147493== Content-Type: multipart/alternative; boundary="_12345_-------=_4CC679D5.74E54D6A" --_12345_-------=_4CC679D5.74E54D6A Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 8bit 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 --_12345_-------=_4CC679D5.74E54D6A Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: 8bit 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



--_12345_-------=_4CC679D5.74E54D6A-- --===============0539147493== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0539147493==--