Steps to reproduce:
- Set up a debian-based build environment
- Check out and build the upstream dcgm-exporter binary from https://github.com/NVIDIA/dcgm-exporter
- Copy the build/* files into the dcgm-exporter repository checkout
- Install nfpm
- cd into the dcgm-exporter repository checkout
- run
nfpm package -p deb