Skip to content

Commit 869bc69

Browse files
authored
Merge pull request #129 from tariq1890/update-pciids
update the pci.ids file and add convenience make target
2 parents 20c2108 + fad9757 commit 869bc69

File tree

2 files changed

+1243
-160
lines changed

2 files changed

+1243
-160
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
DOCKER_REPO ?= "nvcr.io/nvidia/kubevirt-gpu-device-plugin"
2828
DOCKER_TAG ?= v1.3.0
2929

30+
PCI_IDS_URL ?= https://pci-ids.ucw.cz/v2.2/pci.ids
31+
3032
build:
3133
go build -o nvidia-kubevirt-gpu-device-plugin kubevirt-gpu-device-plugin/cmd
3234
test:
@@ -39,3 +41,5 @@ build-image:
3941
docker build . -t $(DOCKER_REPO):$(DOCKER_TAG)
4042
push-image: build-image
4143
docker push $(DOCKER_REPO):$(DOCKER_TAG)
44+
update-pcidb:
45+
wget $(PCI_IDS_URL) -O $(CURDIR)/utils/pci.ids

0 commit comments

Comments
 (0)