mirror of
https://github.com/linux-msm/rmtfs.git
synced 2025-03-30 05:28:04 +00:00
The EFS data can either be in a partition or a filesystem path. The rmtfs allows both, but there is only a systemd service to use the former. Add another systemd service that does the latter. By default, the EFS path is /var/lib/rmtfs (which is the directory used by msm-cros-efs-loader.sh and other tools that extract the EFS data) but this can be changed during build by setting the RMTFS_EFS_PATH environment variable. Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
13 lines
217 B
SYSTEMD
13 lines
217 B
SYSTEMD
[Unit]
|
|
Description=Qualcomm remotefs service
|
|
Requires=qrtr-ns.service
|
|
After=qrtr-ns.service
|
|
|
|
[Service]
|
|
ExecStart=RMTFS_PATH/rmtfs -s -o RMTFS_EFS_PATH
|
|
Restart=always
|
|
RestartSec=1
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|