]>
Commit | Line | Data |
---|---|---|
86b3ca7a | 1 | #!/bin/sh -eu |
abba22c5 ZJS |
2 | |
3 | cd "$1" | |
734005fe | 4 | |
c6801f50 | 5 | if [ "${2:-}" != "-n" ]; then |
91dab98f ZJS |
6 | curl -L -o usb.ids 'http://www.linux-usb.org/usb.ids' |
7 | curl -L -o pci.ids 'http://pci-ids.ucw.cz/v2.2/pci.ids' | |
8 | curl -L -o ma-large.txt 'http://standards-oui.ieee.org/oui/oui.txt' | |
9 | curl -L -o ma-medium.txt 'http://standards-oui.ieee.org/oui28/mam.txt' | |
10 | curl -L -o ma-small.txt 'http://standards-oui.ieee.org/oui36/oui36.txt' | |
11 | curl -L -o pnp_id_registry.html 'http://www.uefi.org/uefi-pnp-export' | |
12 | curl -L -o acpi_id_registry.html 'http://www.uefi.org/uefi-acpi-export' | |
13 | fi | |
c6801f50 | 14 | |
91dab98f | 15 | ./acpi-update.py >20-acpi-vendor.hwdb.base |
abba22c5 | 16 | patch -p0 -o- 20-acpi-vendor.hwdb.base <20-acpi-vendor.hwdb.patch >20-acpi-vendor.hwdb |
689f4898 | 17 | ! diff -u 20-acpi-vendor.hwdb.base 20-acpi-vendor.hwdb >20-acpi-vendor.hwdb.patch |
c6801f50 ZJS |
18 | |
19 | ./ids_parser.py |