hypriot / flash

Command line script to flash SD card images of any kind
MIT License
1.01k stars 172 forks source link

Unable to execute flash command on openSUSE #97

Closed Doctor-Who closed 6 years ago

Doctor-Who commented 7 years ago

Hi,

When I try to flash and install Hypriot on SD card from openSUSE Tumbleweed, terminal answer :

flash hypriotos-rpi-v1.4.0.img.zip Using cached image /tmp/hypriotos-rpi-v1.4.0.img Unknown OS: linux Any idea ?

firecyberice commented 7 years ago

Please have a look at L160-L178. The output of uname -s seems to be linux on SUSE instead of Linux like it is on debian.

Doctor-Who commented 7 years ago

Thx for your reply,

Command returning me Linux :

trenzalore@zenbook:~> uname -s Linux

How can I use flash with my Linux distribution ?

StefanScherer commented 6 years ago

@Doctor-Who Hm, it seems that OSTYPE is already set, but is "linux" (lower case). I've fixed that in https://github.com/hypriot/flash/pull/110 Let me know if you still have problems.