packagekit/backends/hif
Richard Hughes 44f2cf60c9 hif: Allow untrused packages to be installed again
Now we're using HifContext rather than creating the HifTransaction each time we
have to un-set the only-trusted flag manually.
2014-06-20 13:06:31 +01:00
..
hif-backend.c hif: Use the new hif_goal_get_packages() API from libhif 2014-05-08 16:34:19 +01:00
hif-backend.h hif: Use the new hif_goal_get_packages() API from libhif 2014-05-08 16:34:19 +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: Allow untrused packages to be installed again 2014-06-20 13:06:31 +01:00
README.md hawkey: Port to libhif and rename the backend to "Hif" 2014-05-07 15:23:50 +01:00

Hif PackageKit Backend

This backend is designed to replace the yum backend in PackageKit.

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