summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richardipsum@fastmail.co.uk>2014-12-09 21:04:08 (GMT)
committerRichard Ipsum <richardipsum@fastmail.co.uk>2014-12-10 11:42:29 (GMT)
commit5a320b6f2d80c8dc7c9d19bb77e9912b80765bb3 (patch)
tree573a1d6acef80ef5ad5da9d2e3158763a92fb08d
parent96de34000a615eeac0d3d3c567d1617ed32bc239 (diff)
downloaddefinitions-5a320b6f2d80c8dc7c9d19bb77e9912b80765bb3.tar.gz
Link /usr/local/share/pci.ids to /usr/share/pci.idsbaserock/richardipsum/lspci-fix
lspci expects the pci.ids file to be in /usr/local/share
-rw-r--r--strata/foundation/pciutils.morph2
1 files changed, 2 insertions, 0 deletions
diff --git a/strata/foundation/pciutils.morph b/strata/foundation/pciutils.morph
index 8ca13ba..9cd8f3c 100644
--- a/strata/foundation/pciutils.morph
+++ b/strata/foundation/pciutils.morph
@@ -9,3 +9,5 @@ build-commands:
install-commands:
- make DESTDIR="$DESTDIR" install
- make DESTDIR="$DESTDIR" install-lib
+- mkdir -p "$DESTDIR/usr/local/share"
+- ln -s "$PREFIX/share/pci.ids" "$DESTDIR/usr/local/share/pci.ids"