spruceUI / spruceOS

SD card overhaul for the Miyoo A30
95 stars 5 forks source link

using rclone to copy file causes install loop #10

Closed Pobega closed 3 weeks ago

Pobega commented 1 month ago

I used rclone copy --progress --multi-thread-streams=64 . /run/media/pobega/AD93-8181/ to copy Spruce to my SD card which resulted in a setup loop on boot.

After doing some thinking I Googled around and came across this rclone issue, it seems like by default rclone does not create empty directories. Adding --create-empty-src-dirs resolved the issue for me.

I'm opening the issue with Spruce to make you aware, since this seems like something that the installer could consider handling -- perhaps just simply checking if an expected empty dir exists, and if it doesn't creating it during the initial setup.