acrn-config: remove unnecessary check for pci.ids
The pci.ids database should be already prepared while tools of 'lspci' were correctly installed and this check for pci.ids should be removed. Tracked-On: #4989 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
parent
76745ccc18
commit
f716d8a2ad
|
@ -20,7 +20,6 @@ PY_CACHE = "__pycache__"
|
|||
|
||||
# This file store information which query from hw board
|
||||
BIN_LIST = ['cpuid', 'rdmsr', 'lspci', ' dmidecode', 'blkid', 'stty']
|
||||
PCI_IDS = ["/usr/share/hwdata/pci.ids", "/usr/share/misc/pci.ids"]
|
||||
|
||||
CPU_VENDOR = "GenuineIntel"
|
||||
|
||||
|
@ -96,10 +95,6 @@ def check_env():
|
|||
parser_lib.print_red("Please run this tools in a native OS environment!")
|
||||
sys.exit(1)
|
||||
|
||||
if not os.path.exists(PCI_IDS[0]) and not os.path.exists(PCI_IDS[1]):
|
||||
parser_lib.print_yel("pci.ids not found, please make sure lspci is installed correctly!")
|
||||
sys.exit(1)
|
||||
|
||||
if os.path.exists(OUTPUT):
|
||||
shutil.rmtree(OUTPUT)
|
||||
|
||||
|
|
Loading…
Reference in New Issue