[packagekit] Suggestion

Richard Hughes hughsient at gmail.com
Sun Feb 10 14:08:31 PST 2008


On Sun, 2008-02-10 at 15:05 +0100, Sebastian Heinlein wrote:
> > If it's the later, I think some sort of integration with a "service
> > pack" type CD would be useful, but only when we've identified valid
> use
> > cases and sane interactions for this. Try not to think about what
> the
> > tools can (or could) do, think about what the user is trying to
> achieve.
> > Ideas welcome.
> 
> Michael Vogt worked on add-on cds for Ubuntu. Perhaps it is worth a
> chat.

Sure. I think the ideal use case is this:

[1] insert CD with service pack .debs on
[2a] cdrom is autorun by gnome-volume-manager and the location passed to
gnome-packagekit to initiate a service pack update
[2b] gnome-packagekit watches for a cdrom to be inserted
[2c] gvfs does the new-fangled thing for autolaunch
[3] gnome-packagekit asks the user to confirm it's a valid update CD and
asks for PolicyKit auth and runs the ServicePack() backend method on the
CD device.

For [2] we'll need an identifier that can be recognized by PackageKit,
maybe just the presence of the file packagekit-update.txt on the CDROM
or DVD. I don't know what the new gvfs world order is on this, ideas
welcome.

For [3] we can make the ServicePack() method just do something like "rpm
-Fvh $LOCATION/updates/*.rpm" (backend specific obviously)

I really think this could rock. Ideas?

Richard.





More information about the PackageKit mailing list