[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

PackageKit and pirut playing nicely



As I've mentioned in previous emails to this list,
system-config-printers depends on pirut for installing other packages.

Specifically, s-c-p calls /usr/bin/system-install-packages to install
new print drivers.

PackageKit has two helpers like this, pk-install-package and
pk-install-file. The former allows a script or program to install
"openoffice.org" using the PackageKit daemon (asking PolicyKit auth and
resolving the package_id etc.) and the latter allows installing local
files such as /tmp/moo-1.23.rpm

How do I go about making s-c-p call into PackageKit instead? I'm
guessing I have to "provide" /usr/bin/system-install-packages in the
PackageKit spec file, and then install a symlink to pk-install-package -
this would then leave two packages owning the same file.

What's the Fedora way of solving this - maybe alternatives (which might
be overkill) or maybe some cleverness in s-c-p?

Thanks,

Richard.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]