[dpdk-dev] [PATCH v2] kni: avoid using lsb_release script

2016-11-25 Thread Robin Jarry
The lsb_release script is part of an optional package which is not always installed. On the other hand, /etc/lsb-release is always present even on minimal Ubuntu installations. root at ubuntu1604:~# dpkg -S /etc/lsb-release base-files: /etc/lsb-release Read the file if present and use the

[dpdk-dev] [PATCH v2] kni: avoid using lsb_release script

2016-11-25 Thread Ferruh Yigit
On 11/25/2016 11:33 AM, Robin Jarry wrote: > The lsb_release script is part of an optional package which is not > always installed. On the other hand, /etc/lsb-release is always present > even on minimal Ubuntu installations. > > root at ubuntu1604:~# dpkg -S /etc/lsb-release > base-files: