For pciutils and usbip, there are no pci.ids and usb.ids files in site:sources.cdn.openwrt.org. But, both pci.ids.0.324 and usb.ids.0.318 do exist, can someone correct this? rename files and drop version info. thanks!
Below is the script/download.pl, curl will download $url_filename, it is pci.ids not pci.ids.0.324.
my $url_filename;
my $target = glob(shift @ARGV);
my $filename = shift @ARGV;
my $file_hash = shift @ARGV;
$url_filename = shift @ARGV unless $ARGV[0] =~ /:\/\//;
$url_filename or $url_filename = $filename;
My download log shows this:
SHELL= flock /home/kai/work/openwrt/tmp/.pci.ids.0.324.flock -c ' /home/kai/work/openwrt/scripts/download.pl "/home/kai/work/openwrt/dl" "pci.ids.0.324" "6dba287b4aaafb9582d6139eda22ee6580651b8557828b9598d99078a5f4217e" "pci.ids" "@GITHUB/vcrhonek/hwdata/v0.324" '
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://sources.cdn.openwrt.org/pci.ids
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
curl: (22) The requested URL returned error: 404
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://raw.githubusercontent.com/vcrhonek/hwdata/v0.324/pci.ids
There is differents between GITHUB and Openwrt Source in naming for pci.ids, The GITHUB puts it under version directory, but Openwrt suffix it with version string.