From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rami Rosen Subject: Re: [dpdk-stable] [PATCH] devbind: check for lspci Date: Sat, 10 Nov 2018 13:03:29 +0200 Message-ID: References: <9e7f9bd5-b71b-4758-133e-16b1c8e6abbe@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: Ferruh Yigit , dev@dpdk.org, john.mcnamara@intel.com, stable@dpdk.org To: "Burakov, Anatoly" Return-path: In-Reply-To: <9e7f9bd5-b71b-4758-133e-16b1c8e6abbe@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" HI Anatoly, >Do all other distros have lspci in package called pciutils? If not, i >prefer to keep it the way it is. Your original patch have: + if ret != 0: + print("'lspci' not found - please install 'lspci'") And I suggest to consider changing it to: >> + if ret != 0: >> + print("'lspci' not found - please install pciutils') > Sorry about my ignorance: which distro has a package named "lspci", if at all? The official project that include the lspci utility is called "pciutils": see: http://mj.ucw.cz/sw/pciutils/ You can see that a package named "pciutils" is available in great many distros, like: Fedora, OpenSuSE, CentOS, RHEL, Ubuntu, Debian, Mandriva and Mageia, according to the following links: http://www.rpmfind.net/linux/rpm2html/search.php?query=pciutils&submit=Search+... https://packages.ubuntu.com/trusty/pciutils https://packages.debian.org/search?keywords=pciutils https://rpms.remirepo.net/rpmphp/zoom.php?rpm=pciutils Regards, Rami Rosen