Hi All,
you can now also browse the code via opengrok :
http://src.opensolaris.org/source/xref/jds/desktop-cache/trunk/
HTH,
Erwann
Erwann Chenede wrote:
> Hi All,
>
> As described by Laca in April [1] upgrading GNOME packages with IPS is
> problematic as various caches need to be updated.
>
> Currently it is handled by postinstall scripts. As this functionality
> isn't
> (intentionally) provided by IPS. The creation of SMF services to
> update these
> caches is needed.
>
> AFAIK the IPS actions are not implemented at the moment so these
> services will be for the moment run at boot time instead of when an IPS
> action is triggered by a package being installed.
>
> So based on research done my Matt Keenan, Darren Kenny and Laca I've
> implemented a draft of these services.
>
> You can look at the code via the svn repo here :
>
> svn+ssh://[EMAIL PROTECTED]/svn/jds/desktop-cache/trunk
>
> If you want to build the package using the Desktop CBE you can use the
> spec file included in the repo.
>
> Each SMF service adds a dependency to
> svc:/application/graphical-login/gdm
> this way all the caches are up to date before any graphical
> application is
> running.
>
> The general design for each service script is to check if the cache is
> older than the items it is meant to cache if so the cache is regenerated.
> This ensure the time spent at boot time by these services is minimum
> if no
> package upgrade happened.
>
> This code is likely to be added to the Desktop consolidation for the
> GNOME
> 2.22 upgrade (in a week's time) so reviews/comments from IPS and SMF
> point
> of view would be more than appreciated :)
> Thanks in advance,
>
> Erwann
>
> [1] http://mail.opensolaris.org/pipermail/pkg-discuss/2008-April/0026
>
--
Erwann Chénedé,
Desktop Group, Sun Microsystems, Grenoble
Phone : +33 476 188 358 ext: 38358
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss