[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Upgrade Proceedure
Petersson, Mats wrote: That's what package management tools are for. If values are being set in the Makefile (such as the root directory!), then the uninstaller has to built by the Makefile and itself installed (conceivable!) and summoned as part of the uninstall procedure.-----Original Message-----From: Nico Kadel-Garcia [mailto:nkadel@xxxxxxxxx] Sent: 15 May 2007 14:31To: Petersson, Mats Cc: Ian Tobin; Mike Wright; xen-users@xxxxxxxxxxxxxxxxxxx Subject: Re: [Xen-users] Upgrade Proceedure Petersson, Mats wrote:match. More-----Original Message-----From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Nico Kadel-GarciaSent: 15 May 2007 10:13 To: Ian Tobin Cc: Mike Wright; xen-users@xxxxxxxxxxxxxxxxxxx Subject: Re: [Xen-users] Upgrade Proceedure Ian Tobin wrote:make uninstallHi Ian, Mats,Thought I'd chime in here because I got bitten using thecontains thescript. Within the Makefile uninstall section is this line: rm -rf $(D)/boot/*xen*This will remove every file in your boot directory thatstring "xen", so things like vixen or roxen will alsoActually, the bug is that there's no uninstall script,relevant though is that it will also remove previousversions of xen.If you are no longer interested in them, or don't care thatyou may haveto rebuild them this is not a problem. If it matters thatyou retainprior kernels you may want to comment out that line in theMakefile. InThis 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?the current unstable that's somewhere around line #186. Just a heads up ;) Mike Wright :m)rather than thatthe "make uninstall" removes the wrong stuff... The uninstall scriptshould be generated by the install script to "removeexactly the filesAnd the uninstall script should not be part of the Makefile used to install the software precisely..... why?installed and nothing else". This is the REAL bug. Then we could usethis install script to do "make uninstall" too.Because you may want to install/uninstall on a machine that doesn't(need to) have the source-code (or corresponding Makefile). The INSTALL script you mention works without the build directory in place? That's a bit.... odd.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? I use Makefiles and RPM's to support full-blown package management, version management, conflict reports, etc., etc., etc. Writing all of that into an installer or uniinstaller script is quite a lot of work.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 describedearlier in this thread). I recognize that not every OS has this kind of package management, and prefer to build on the fly. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |