aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2020-07-03 10:35:21 -0400
committerJake Hunsaker <jhunsake@redhat.com>2020-07-03 10:45:27 -0400
commit1c87810faf65fa2c6165d917dd3cc51b3c90a969 (patch)
tree410a8ab75349f00b2d94cd5184b1388d0b947242 /Makefile
parent047bf4048ccbe6c54786df04729208ddff513f40 (diff)
downloadsos-1c87810faf65fa2c6165d917dd3cc51b3c90a969.tar.gz
[pci] Update gating for lspci commands
It was reported that certain arches may create subdir structures under /proc/bus/pci differently than others - most notably that the first device subdir could be '0000:00' instead of just '00'. Rather than chase these different layouts, update the gating check for running `lspci` commands to being that /proc/bus/pci exists and it has more than just the `devices` file present, as this file may be present but empty when nothing else exists under `/proc/bus/pci`. Resolves: #2138 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions