[SM-Discuss] Sorcery improvement

Sergey A. Lipnevich sergey at optimaltec.com
Fri Jun 27 22:56:20 EDT 2003


Sounds like a great idea! Have you thought of possible problems with 
this approach?

shivaken wrote:

>Hi all,
>
>I want to propose to a sorcery improvement.
>
>Now almost spell uses "prepare_install" to clean up obsoleted files.
>like..
>------------
>make
>prepare_install
>make install
>-------------
>Because of this, at casting glibc, /etc/ld.so.cashe can be removed.
>Then that will cause error.
>
>To avoid this, you have to install newer files first, then remove just only 
>old files. We can find old files with comparing old install log
>(/var/log/sorcery/install/$SPELL) with new install log
>
>At that time we have to take care about config files and user data.
>For example, mysql spell installs mysql database files. We should not delete 
>them. So sorcery must know unremoval files and directory to clean up safely.
>Fortunately, Spell Writer can recognize those unremoval files.
>
>I want sorcery to be implemented that "install 1st, then clean up".
>
>How do you feel?
>
>--- shivaken
>ant command line front end
>antshell - www.antshell.org
>_______________________________________________
>SM-Discuss mailing list
>SM-Discuss at lists.ibiblio.org
>http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>  
>




More information about the SM-Discuss mailing list