[haiku-development] Re: Haiku R1/alpha updating (was decisions)

"Niels Reedijk" <niels.reedijk@xxxxxxxxx> wrote:
> So the question, in my opinion, really is: is it possible to update
> haiku by replacing files?

In theory yes, the only thing that will happen is that the system will 
notice any changes (since it monitors mostly everything), and will then 
probably try to reload stuff.
So the order in which the files are updated could obviously matter in 
this case; but if some add-on uses some new function from libbe, it 
cannot be loaded anymore, then. Changing libbe.so could need an updated 
app_server, etc. The downsides of having a flexible system...

Maybe we should have a mechanism that prevents the system from 
reloading add-ons in the update case. At least we should test this 
before releasing any version of Haiku :-)

One not so optimal solution would be to install a shutdown script that 
installs the new version, and then deletes itself.

Bye,
   Axel.


Other related posts: