SpikeyGG wrote: >I appologize in advance for this very simple question about CVS... > > I've been using CVS for a little while longer than I've been using Myth, but > I still don't know the answer to this... I fairly regularly run a "cvs > update" in the mythtv directory to keep it up to date. Which one of the > following actions (or one not listed) should I be doing for an update? > >1. "cvs update", then "./configure", then "make", then "sudo make install" >(hopefully overwriting the old stuff) > >(or) > >2. "make uninstall", then "cvs up", then "./configure", then "make", then >"sudo make install" (to "cleanly" upgrade) > >Mainly, I'd like to know if doing #1 will screw stuff up, or will it just >overwrite the libraries and binaries that I've already got? I'd like to know >this not only for Myth but other programs and code that I use with CVS. > >Thanks, >-Greg > > >------------------------------------------------------------------------ > >_______________________________________________ >mythtv-users mailing list >[email protected] >http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users > > Quite a while ago I asked what the proper cvs command to update would be so this is what I now do:
1. Shutdown mythbackend 2. cd mythv && make clean && make distclean 3. cd .. && tar zvcf mythtv-currentdate.tar.gz mythtv/ 4. cvs -d :pserver:mythtv:[EMAIL PROTECTED]:/var/lib/mythcvs login 5. nice -n 19 cvs -z3 -d :pserver:[EMAIL PROTECTED]:/var/lib/mythcvs update -d -PAC mythtv 6. nice -n 19 mysqldump -u mythtv -pmythtv mythconverg -c > currentdate.sql 7. nice -n 19 gzip currentdate.sql 8. cd mythtv/ && ./configure --options-go-here && make && sudo make uninstall && su -c "make install" 9. mythtv-setup There probably better ways to do this, and in fact I use a crappy little python script to do the database dump and backups, and I'm not totally sure if the make uninstall is absolutely necessary. Also the reason I use su -c rather than sudo for the install is that I've noticed recently that there is some sort of qt path problem when trying to install with sudo for me, but works perfectly with su. Hope that's all of some help. _______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
