Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmaports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
pmaports
Commits
caa4101b
Unverified
Commit
caa4101b
authored
1 year ago
by
Anton Bambura
Committed by
Pablo Correa Gomez
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
modem/rmtfs: Implement configuration with rmtfs.confd (MR 4250)
parent
5eaa998a
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
modem/rmtfs/APKBUILD
+5
-2
5 additions, 2 deletions
modem/rmtfs/APKBUILD
modem/rmtfs/rmtfs.confd
+5
-0
5 additions, 0 deletions
modem/rmtfs/rmtfs.confd
modem/rmtfs/rmtfs.initd
+10
-3
10 additions, 3 deletions
modem/rmtfs/rmtfs.initd
with
20 additions
and
5 deletions
modem/rmtfs/APKBUILD
+
5
−
2
View file @
caa4101b
...
...
@@ -2,7 +2,7 @@
pkgname
=
rmtfs
pkgver
=
0.2_git20220718
_commit
=
"695d0668ffa6e2a4bf6e676f3c58a444a5d67690"
pkgrel
=
1
pkgrel
=
2
pkgdesc
=
"Qualcomm Remote Filesystem Service Implementation"
url
=
"https://github.com/andersson/rmtfs"
arch
=
"all"
...
...
@@ -11,6 +11,7 @@ makedepends="eudev-dev qrtr-dev"
subpackages
=
"
$pkgname
-doc
$pkgname
-openrc"
source
=
"
rmtfs-
$_commit
.tar.gz::https://github.com/andersson/rmtfs/archive/
$_commit
.tar.gz
rmtfs.confd
rmtfs.initd
udev.rules
0001-add-modem_tng-alias-for-tunning-partition.patch
...
...
@@ -25,13 +26,15 @@ build() {
package
()
{
install
-Dm755
rmtfs
"
$pkgdir
"
/usr/sbin/rmtfs
install
-Dm755
"
$srcdir
/
$pkgname
.initd"
"
$pkgdir
/etc/init.d/
$pkgname
"
install
-Dm644
"
$srcdir
"
/
$pkgname
.confd
"
$pkgdir
"
/etc/conf.d/
$pkgname
install
-Dm644
"
$srcdir
/udev.rules"
"
$pkgdir
/usr/lib/udev/rules.d/65-
$pkgname
.rules"
install
-Dm644
LICENSE
"
$pkgdir
"
/usr/share/licenses/
$pkgname
/COPYING
}
sha512sums
=
"
3ccd33ad29c1a485eea475ee54d5984f560cdda99d356e17b315f1cd718c2e9f1992fdc76269877bcbdf8ee2b82476a7738d0b1abb50cbed5c386ee11043010e rmtfs-695d0668ffa6e2a4bf6e676f3c58a444a5d67690.tar.gz
b75a2e051661b6088c3db7071fc2f43b97ecf68a0c35addefd34f6fa11d23429a890313d14791566dfc97230192b999e4cc953797e6e32d07dc8f6c61813f9f3 rmtfs.initd
f27225e88be7906b0987bfc6fff4f2d5fe1be835d6df4299b7f240a9bf48f4d8cc635353e845d61c291e7857b059933cc567e39b03c7c655e3205bbcbacae3d3 rmtfs.confd
12215677a772a7233f8da1b41f4aa16f5bc8f2e10385882b1cae23d131f47b03524b7cdf519c1354354bbe353bdbefb15e2d9349894916a1cf6dc951a29d7a44 rmtfs.initd
cb2435c159d81d3a40d30e1355c82a3d560dc2df7d05fee95085bc80e492ac93a728258f2f1b463c04a964979760990c8c9176b22cb585cbec19ab285cd45440 udev.rules
2c48e3e97838eb2b779075263ef688bc48dde5cc9fc8f055e8ee67cc115228ab59e9466faa89dd817812ee9e3219e8ca331d766e84ad383a1b9706cbbdc2c6fd 0001-add-modem_tng-alias-for-tunning-partition.patch
"
This diff is collapsed.
Click to expand it.
modem/rmtfs/rmtfs.confd
0 → 100644
+
5
−
0
View file @
caa4101b
# Path to read EFS files. If unset it will be read from partitions
#rmtfs_files_path="/var/lib/rmtfs"
# Avoid writing to storage
rmtfs_avoid_writing="true"
This diff is collapsed.
Click to expand it.
modem/rmtfs/rmtfs.initd
+
10
−
3
View file @
caa4101b
...
...
@@ -4,10 +4,17 @@ supervisor=supervise-daemon
name="RMTFS"
description="Qualcomm remote file system service"
# -P: find and use raw EFS partitions
# -r: avoid writing to storage
command="/usr/sbin/rmtfs"
command_args="-P -r"
command_args=""
if [ -z "$rmtfs_files_path" ]; then
command_args="$command_args -P"
else
command_args="$command_args -o $rmtfs_files_path"
fi
if [ "$rmtfs_avoid_writing" = "true" ]; then
command_args="$command_args -r"
fi
# https://github.com/andersson/rmtfs/commit/dfb8f3ed1c8fbde621cd08aaf9e7724a4c55cbd1
respawn_delay=1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment