volumio / Build

Buildscripts for Volumio System
GNU General Public License v2.0
113 stars 103 forks source link

init.x86: only expand glob to valid device names, return null otherwise #505

Closed gkkpch closed 3 years ago

gkkpch commented 3 years ago

This fix prevents an unchanged glob to be used as a device name, which causes this error at startup with installations which boot from eMMC or NVMe installed with no usb stick or other usb devices attached:

 lsblk: /dev/sd[a-z]: not a block device
ashthespy commented 3 years ago

Sorry I missed this -- see https://github.com/volumio/Build/commit/603b3e78bd5c7c6ab8cd4c4244dc4b35f8a36a29#commitcomment-49403815