MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.89k stars 498 forks source link

DietPi-Autostart | Hide unsupported software options #2757

Open UNiXMIT opened 5 years ago

UNiXMIT commented 5 years ago

I am trying to setup Chromium kiosk on autostart to display a URL at boot. The option is there in dietpi-autostart but in dietpi-software there is no option for Chromium. Is it supported on Pi Zero W? If not can the option be removed from dietpi-autostart on unsupported hardware?

Thanks

STEPS TO REPRODUCE Fresh install of DietPi on Pi Zero W After the initial setup, run dietpi-autostart and select Chromium Kiosk. Enter a URL and finish the process. Reboot and you will see an error about a chromium script that is missing because Chromium isn't installed. Run dietpi-software and try to find Chromium in the lists. It isn't there.

MichaIng commented 5 years ago

@UNiXMIT Many thanks for your question.

Indeed Chromium is not supported for ARMv6 devices.

DietPi-Autostart shows all theoretically available autostart options regardless of which one is actually supported on your device. Probably something to change, but the database about support info is currently hold in DietPi-Software code and I would like to avoid having the code to maintain doubled, if things change. However I will think about a good solution.