efabless / openlane2

The next generation of OpenLane, rewritten from scratch with a modular architecture
https://openlane2.readthedocs.io/
Apache License 2.0
168 stars 30 forks source link

Fix crash if /etc/os-release has comment lines #471

Closed htfab closed 1 month ago

htfab commented 1 month ago

Running python -m openlane --dockerized will crash if /etc/os-release or /etc/lsb-release has a non-empty line without =. These files can have comment lines (without =), and in some Linux distributions they indeed do.