[packagekit] ServicePack: Matching update media to distros

Ken VanDine ken at vandine.org
Fri Mar 28 09:58:07 PDT 2008


For the foresight case, I might even prefer to get that from conary.
Conary has a top level group that defines the software installed.  So we
can get that group and version from conary and know more about if it
matches.  So for example on a box that is from our QA label the top
level group is something like this:

group-gnome-dist=foresight.rpath.org at fl:2-qa/2.0-0.29-3[~!dom0,~!domU,~!vmware,~!xen is: x86(i486,i586,i686,sse,sse2) x86_64]

compared to a system installed from our release label:

group-gnome-dist=foresight.rpath.org at fl:2/2.0-0.29-3[~!dom0,~!domU,~!vmware,~!xen is: x86(i486,i586,i686,sse,sse2) x86_64]

This contains some very rich information, not only the arch data but
also what repository it was installed from and should be updated from.
The data on the service pack CD/DVD will have the same data included
which can be queried via conary.  So if the backend was was asked to do
that validation, we could take advantage of that.

--Ken
 
On Fri, 2008-03-28 at 15:05 +0000, Richard Hughes wrote:
> On Fri, 2008-03-28 at 13:34 +0000, Richard Hughes wrote:
> > $ cat /etc/fedora-release 
> > Fedora release 8.92 (Rawhide)
> > 
> > So we could get the name and version, and the arch we can get from
> > uname(struct utsname *buf).
> 
> Tricky question: For fedora, from updates point of view, is
> i386==i486==i586==i686?
> 
> Richard.
> 
> 
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit




More information about the PackageKit mailing list