OLPC-Update + RPMs WAS:Re: OLPC XO Opera browser as Sugar activity

Martin Langhoff martin.langhoff at gmail.com
Sat Jun 28 11:59:15 EDT 2008


On Sat, Jun 28, 2008 at 11:38 AM, C. Scott Ananian <cscott at cscott.net> wrote:
>> All reasonable, and the snapshot based approach has certain key
>> advantages for some uses. There is one thing that really bothers me,
>> however, and makes me suspect that we cannot actually use the snapshot
>> approach long term: that it completely bypasses rpm's preinst/postinst
>> scripts.
>
> That is not the case.  rpm's preinst/postinst script are run when the
> image is built.

Yes, but this happens in absense of real user data or configuration.
Which means that all those fancy conditionals ("are we upgrading from
an earlier version? update the format in which we store the data!")
are skipped. The need for those scripts is somewhat lower on our
platform so far, but without them there is a whole lot of stuff we
cannot deal with gracefully.

cheers,


m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff



More information about the Devel mailing list