Fedora 9 Beta, PackageKit and system-config-printer
Michael E Brown
Michael_E_Brown at dell.com
Mon Mar 17 21:47:07 UTC 2008
On Mon, Mar 17, 2008 at 12:04:19PM +0000, Richard Hughes wrote:
> On Sun, 2008-03-16 at 23:13 +0000, Bastien Nocera wrote:
> > Is there something similar to install from a "dependency" name? eg.
> > $command libfoobar.so.0()(64bit) ?
>
> What's the usecase? This doesn't seem particularly easy to use in this
> form.
Firmware-tools uses this *extensively*. I would like to port
firmware-tools to use package-kit, but can't really, without this
function. (As opposed to maintaining instructions for apt, yum, smart,
rug, et al. currently.)
Usage:
$ firmwaretool --bootstrap
This command produces a list of things on your system that *might* have
firmware available in a repo. The list is formatted like:
$ sudo /usr/sbin/firmwaretool --bootstrap
system_bios(ven_0x1028_dev_0x01c2)
pci_firmware(ven_0x8086_dev_0x27a2_subven_0x1028_subdev_0x01c2)/system(ven_0x1028_dev_0x01c2)
pci_firmware(ven_0x8086_dev_0x27a2_subven_0x1028_subdev_0x01c2)
pci_firmware(ven_0x8086_dev_0x27a6_subven_0x1028_subdev_0x01c2)/system(ven_0x1028_dev_0x01c2)
pci_firmware(ven_0x8086_dev_0x27a6_subven_0x1028_subdev_0x01c2)
... cut ...
Packages exist in the repository with "Provides: " tags that match the
above list. yum does its magic and installs the correct package set when
you feed this list to yum, thusly:
$ sudo yum install $(sudo /usr/sbin/firmwaretool --bootstrap)
--
Michael
More information about the fedora-devel-list
mailing list