FS#75038 - [pciutils]: update-pciids is being installed

Attached to Project: Arch Linux
Opened by Firas Khalil Khana (firasuke) - Saturday, 11 June 2022, 15:27 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 13 June 2022, 12:40 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
As stated in the summary above, the binary "update-pciids" is being installed.

Having checked the "PKGBUILD" file it seems that the intended behavior is to install binaries into "/usr/bin" by setting "SBINDIR=/usr/bin". This is correct as binaries are indeed being installed to `bin` instead of `sbin`.

However, the "PKGBUILD" file has the following lines:
```
...
# this is now supplied by the hwids package
rm -rf "$pkgdir"/usr/{sbin/update-pciids,share/{man/man8/update-pciids.8,hwdata}}
...
```

Which is trying to remove "/usr/sbin/update-pciids" instead of removing "/usr/bin/update-pciids" which means that the binary "update-pciids" is being installed, which I believe is not intended.

Another thing is that it mentions that this binary "update-pciids" is being supplied by the package "hwids", which apparently was removed and replaced by the package "hwdata", which doesn't provide that binary.

Additional info:
* Package Version: 3.8.0
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Monday, 13 June 2022, 12:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.8.0-2

Loading...