Closed Willmac16 closed 3 years ago
My question was why are you running sudo touch /boot/cmdline.txt
?
Touch would create the file if empty, and will change the modification date if it exists, why would you touch it for the plugin to work?
Mostly because of my mistakes, the FileNotFound error was not handled and caused the plugin to kind of crash.
Ok, can it be removed?
Yes, it should be fixed in the plugin rather than here. The SPI stuff makes more sense to have set up, the /boot/config.txt
and /boot/cmdline.txt
I should handle in the plugin, it is used for the setup wizard to do things like actually enabling SPI etc. I will try the image at some point.
Ok, remove that touch and I should be able to merge this.
Thanks! Can be tested next nightly
This breaks on Ubuntu, reverting
sudo ln /boot/config-5.8.0-1006-raspi /boot/config.txt
ln: failed to access '/boot/config-5.8.0-1006-raspi': No such file or directory
+ exit 1