jaypipes / pcidb

Small golang library for querying PCI database (pciids) information
Apache License 2.0
33 stars 15 forks source link

Add support for ghw_chroot #11

Closed chiptus closed 5 years ago

chiptus commented 5 years ago

closes #10

This PR gets the value of GHW_CHROOT as the host root to look for pci info.

It also fixes a bug where search paths weren't added to slice (pass reference instead of value)

jaypipes commented 5 years ago

I'll go ahead and add the README bits. Thanks, @chiptus! :+1:

chiptus commented 5 years ago

sorry, forgot about that. Almost night here :D

On Thu, Nov 8, 2018 at 6:50 PM Jay Pipes notifications@github.com wrote:

I'll go ahead and add the README bits. Thanks, @chiptus https://github.com/chiptus! 👍

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jaypipes/pcidb/pull/11#issuecomment-437073395, or mute the thread https://github.com/notifications/unsubscribe-auth/ABUVF6tC8zhFCmUUcVQN4H_lz7S13BDvks5utGDEgaJpZM4YUZmy .

jaypipes commented 5 years ago

LOL, not problem at all, @chiptus! I've added a note to the README now: https://github.com/jaypipes/pcidb/commit/cfc62580bc59c587dbe668a49a2624c6009dca59