You can give my script a try now. I have most of the issues all worked out. There are still just a couple of things that I want to refine, but nothing that should stop you

1. ZRam is awesome. It does cost a little in cpu cycles, but it doesn't hurt the sd card, and it effectively adds RAM. I made a lot of modifications to my script for the new raspbian version, one of them is installing ZRAM differently for the Pi. On the Ubuntu version, it is an installable package, but for Raspbian it is a downloaded and installed script.

2. The way I currently do the INDI and KStars build, it uses the absolute bleeding edge KStars and INDI. It doesn't have to be done that way. You could download the source of the latest release instead and build that. That could be an option I add to my script in the future.

3. I've been using SD cards for my PIs since 2016. I haven't had any issues or corruptions yet. And I've used them quite a lot. But you can probably do something else

4. I don't have a case yet. I've not been happy with what I have seen so far. Right now my Pi4 is used for experimentation. I currently am using my Raspberry Pi 3b's and 3b+ for imaging. So far I haven't seen it get above 80 degrees. I have some small heat sinks on the components to dissipate heat though.


Thanks for all that work, this has really helped me a lot. I even ran the script on a non-RPi and it worked pretty well. Just two quick comments:
  • There is a zram-tools package for Raspbian, not sure if you are aware of that. Using that the zram setup might look pretty similar to what you are doing on Ubuntu.
  • You could probably checkout to a particular tag when cloning the git repositories. Perhaps that's something that could be specified via command line or environment variables?


Read More...