samnazarko/osmc — pull request #44 by nicolas-san (2014-11-17 08:52:27+00:00)
Title: Newchagesfromnicolas

First time I want to try the installer, usb device not show in list, I run the fdisk -l command manually and output was :
Disque /dev/sde : 7909 Mo, 7909408768 octets
4 têtes, 32 secteurs/piste, 120688 cylindres, total 15448064 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Identifiant de disque : 0x0005a070

It's in french (like my system...) but condition is just for EN output
line.startsWith("Disk /dev")

I change that quickly, perhaps better way exist, but it work, and I install on my usb drive after the changes.

I have trouble with unknown character in the end of devicePath, so I trim the path, and all goes well.

I can do more tests if needed :)