Variety of commits to help rpm-ostree compose tree use libhif

See individual commits for details.