packagekit/backends/hif
2014-09-03 13:13:51 +01:00
..
hif-backend.c hif: Remove some unused functions 2014-09-03 13:13:51 +01:00
hif-backend.h hif: Remove some unused functions 2014-09-03 13:13:51 +01:00
Makefile.am hawkey: Port to libhif and rename the backend to "Hif" 2014-05-07 15:23:50 +01:00
pk-backend-hif.c hif: Use hif_source_commit() for new versions of the library 2014-09-03 09:56:07 +01:00
README.md yum: Remove the yum backend 2014-09-02 13:17:48 +01:00

Hif PackageKit Backend

It uses the following libraries:

  • libhif : for tieing all the libraries below together
  • librepo : checking and downloading repository metadata
  • hawkey : for depsolving
  • rpm : for actually installing the packages on the system

It also uses a lot of internal glue to hold all the pieces together. These have mostly been reused from the Zif project, hence all the Hif prefixes everywhere.

These are some key file locations:

  • /var/cache/PackageKit/metadata/ : Used to store the repository metadata
  • /var/cache/PackageKit/metadata/*/packages : Used for cached packages
  • /etc/yum.repos.d/ : the hardcoded location for .repo files
  • /etc/pki/rpm-gpg : the hardcoded location for the GPG signatures
  • $libdir/packagekit-backend/ : location of PackageKit backend objects

Things we haven't yet decided:

  • How to access comps data