Add debian packaging #1

Merged
hwelte merged 7 commits from osmith/rtl8168-eeprom:osmith/debian into master 2022-05-16 12:07:41 +00:00

7 Commits

Author SHA1 Message Date
Oliver Smith 630734375f d/changelog: add 1.0.2 2022-05-16 14:05:28 +02:00
Oliver Smith 4efcedfeca Query PCI_FILL_{BASES,SIZES} in pci_fill_info too
The previous fix for missing pci_fill_info() was incomplete, it caused
the device to be found but changing the mac did not succeed. Fix it up
as separate commit, as the other commit is already packaged.
2022-05-16 14:03:10 +02:00
Oliver Smith 347924cc08 d/changelog: add 1.0.1 2022-05-16 10:50:40 +02:00
Oliver Smith 313de8d95e Exit with error if no device was found 2022-05-16 10:45:52 +02:00
Oliver Smith 1bf48da7a8 Fix missing pci_fill_info()
Before reading vendor_id or device_id from struct pci_dev, one must call
pci_fill_info() first. It looks like this had worked with previous
libpci versions, but with libpci 3.7.0 on debian 11 this patch is needed
or else the tool stops at 'starting bus iteration' without finding the
device.

Fixes: SYS#5956
2022-05-16 10:42:08 +02:00
Oliver Smith 189a39639d gitignore: new file 2022-05-10 14:57:00 +02:00
Oliver Smith efa74b0d02 debian: add dir for packaging
Related: SYS#5538
2022-05-10 14:56:56 +02:00