SOLVED!
Thanks to ncw ( https://github.com/rclone/rclone/issues/6844 )
I finally got it using CoreELEC:
-
The latest version of rclone ( https://downloads.rclone.org/rclone-current-linux-arm64.zip ; at this moment, 1.62.2) “installed” (uncompressed binary) and with executable permissions:
/storage/.config/rclone/rclone -
Installed fuse3-utils via entware:
opkg install fuse3-utils
It goes to:
/storage/.opt/bin/fusermount3
- Created rclone “services” like this:
[Unit]
Description=RClone Gdrive
After=network-online.target
[service]
Type=simple
Environment=PATH=/storage/.opt/bin:/.opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ExecStartPre=/bin/mkdir -p /var/media/Gdrive
ExecStartPre=/bin/mkdir -p /storage/.config/rclone/logs
ExecStartPre=/bin/mkdir -p /storage/.config/rclone/cache
ExecStart=/storage/.config/rclone/rclone mount
--log-file /storage/.config/rclone/logs/rclonemount.log
--log-level INFO
--allow-other
--allow-non-empty
--tpslimit 10
--tpslimit-burst 10
--dir-cache-time=48h
--buffer-size=64M
--attr-timeout=1s
--vfs-read-chunk-size=64M
--vfs-read-chunk-size-limit=2G
--vfs-cache-max-age=5m
--vfs-cache-mode=writes
--cache-dir /storage/.config/rclone/cache
--config=/storage/.config/rclone/rclone.conf
Gdrive: /var/media/Gdrive
ExecStop=/bin/fusermount -uz /var/media/Gdrive
Restart=on-abort
[Install]
WantedBy=default.target
I needed to add:
/storage/.opt/bin:
in the PATH:
Environment=PATH=/storage/.opt/bin:/.opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
And it works perfectly!