Skip to content

Commit 57b1379

Browse files
committed
Dropped pci id hackery
1 parent 8d277c5 commit 57b1379

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

snap/snapcraft.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ platforms:
4949
layout:
5050
/usr/share/lemonade-server:
5151
symlink: $SNAP/usr/share/lemonade-server
52-
/usr/share/hwdata:
53-
symlink: $SNAP/usr/share/hwdata
54-
/usr/share/misc/pci.ids:
55-
bind-file: $SNAP/usr/share/misc/pci.ids
5652

5753
slots:
5854
# Adds a pseudo content interface to allow clients to express their
@@ -120,8 +116,6 @@ parts:
120116
- libatomic1
121117
- libcurl4t64
122118
- curl # for metrics
123-
- hwdata # PCI ID database for lspci device name resolution
124-
- pciutils # lspci for GPU detection
125119
- unzip # For extracting backends at runtime
126120
- libdrm-amdgpu1 # SD backends need this at runtime
127121
- libnuma1 # SD backends need this at runtime
@@ -134,11 +128,7 @@ parts:
134128
export GLOBAL_AGENT_HTTP_PROXY="${http_proxy}"
135129
export GLOBAL_AGENT_HTTPS_PROXY="${http_proxy}"
136130
fi
137-
138131
craftctl default
139-
# Download latest PCI ID database (hwdata package version is outdated)
140-
mkdir -p $CRAFT_PART_INSTALL/usr/share/misc
141-
curl -sL https://pci-ids.ucw.cz/v2.2/pci.ids -o $CRAFT_PART_INSTALL/usr/share/misc/pci.ids
142132
143133
lemonade-server:
144134
plugin: cmake

0 commit comments

Comments
 (0)