fix(nvidia): get only one card from lspci command
Please make sure your MR is ready to be merged !
- [NA] You added the changes in CHANGELOG.md
-
You described the MR as below - [NA] You updated the recalbox wiki
- [NA] You wrote a blog post on recalbox-blog
Changes :
- Add "| head -n 1"/"grep -i nvidia"/"| sed '/^$/d'" on lspci command for gpu info and gpuid for robustness when we have several cards (nvidia or not)
Related to :
- thanks to Chriskt78 and Pit64 ;-)
Edited by Bozo the geek