| 
         
xen-users
Re: [Xen-users] Upgrade Proceedure
 
Petersson, Mats wrote:
  
  
-----Original Message-----
 From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
Nico Kadel-Garcia
Sent: 15 May 2007 10:13
To: Ian Tobin
Cc: Mike Wright; xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Upgrade Proceedure
Ian Tobin wrote:
     
Hi Ian, Mats,
 Thought I'd chime in here because I got bitten using the 
      
 make uninstall 
    
script.
Within the Makefile uninstall section is this line:
     rm -rf $(D)/boot/*xen*
This will remove every file in your boot directory that 
      
 contains the 
    
string "xen", so things like vixen or roxen will also match.  More 
relevant though is that it will also remove previous 
      
 versions of xen. 
    
If you are no longer interested in them, or don't care that 
      
 
you may have
     
to rebuild them this is not a problem.  If it matters that 
      
 you retain 
    
prior kernels you may want to comment out that line in the 
      
 
Makefile.  In
     
the current unstable that's somewhere around line #186.
Just a heads up ;)
Mike Wright :m)
   
      
 This is *precisely* why I like RPM's and apt-based package 
managers: a 
lot of installers and uninstallers are pretty darned bad. Have you 
submitted a bug for this?
    
 
Actually, the bug is that there's no uninstall script, rather than that
the "make uninstall" removes the wrong stuff... The uninstall script
should be generated by the install script to "remove exactly the files
installed and nothing else". This is the REAL bug. Then we could use
 this install script to do "make uninstall" too. 
  
 And the uninstall script should not be part of the Makefile used to 
install the software precisely..... why?
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
 
 |   
 
 | 
    |