[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] Upgrade Proceedure



 

> -----Original Message-----
> From: Nico Kadel-Garcia [mailto:nkadel@xxxxxxxxx] 
> Sent: 15 May 2007 14:31
> To: Petersson, Mats
> Cc: Ian Tobin; Mike Wright; xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: 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?

Because you may want to install/uninstall on a machine that doesn't
(need to) have the source-code (or corresponding Makefile). 

Of course, anyone who wishes to un-install can download the source-code,
but it's a completley unneccessary step to instal the source code on 15
machines just because you wanted to REMOVE the resulting files from that
source code, don't you think?

If you're not familiar with it, I'd like to point out that there is a
INSTALL script in the distribution directory which can be used to
install the resulting product of the make (which is what I described
earlier in this thread). 

--
Mats
> 
> 
> 



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.