Re: Fedora 9 Beta, PackageKit and system-config-printer

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

 



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

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux