modem/rmtfs: add tunning partition alias patch for msm8909 Nokia devices (MR 3768)

Like alcatel-idol3, these devices have a tunning partition. However, the
modem calls it modem_tng instead of modem_tunning. This patch adds the
alternative name for the partition.

An upstream pull request has already been submitted (see patch).
This commit is contained in:
Affe Null 2022-12-26 13:54:36 +01:00 committed by Luca Weiss
parent ac073485e0
commit 75cd718f5c
No known key found for this signature in database
GPG key ID: 72D843B89D4DD756
2 changed files with 17 additions and 1 deletions

View file

@ -0,0 +1,14 @@
Upstream pull request: https://github.com/andersson/rmtfs/pull/17
diff --git a/storage.c b/storage.c
index 107b296..2c5f2f5 100644
--- a/storage.c
+++ b/storage.c
@@ -41,6 +41,7 @@ static const struct partition partition_table[] = {
{ "/boot/modem_fs2", "modem_fs2", "modemst2" },
{ "/boot/modem_fsc", "modem_fsc", "fsc" },
{ "/boot/modem_fsg", "modem_fsg", "fsg" },
+ { "/boot/modem_tng", "modem_tng", "tunning" },
{ "/boot/modem_tunning", "modem_tunning", "tunning" },
{}
};

View file

@ -2,7 +2,7 @@
pkgname=rmtfs pkgname=rmtfs
pkgver=0.2_git20220718 pkgver=0.2_git20220718
_commit="695d0668ffa6e2a4bf6e676f3c58a444a5d67690" _commit="695d0668ffa6e2a4bf6e676f3c58a444a5d67690"
pkgrel=0 pkgrel=1
pkgdesc="Qualcomm Remote Filesystem Service Implementation" pkgdesc="Qualcomm Remote Filesystem Service Implementation"
url="https://github.com/andersson/rmtfs" url="https://github.com/andersson/rmtfs"
arch="all" arch="all"
@ -13,6 +13,7 @@ source="
rmtfs-$_commit.tar.gz::https://github.com/andersson/rmtfs/archive/$_commit.tar.gz rmtfs-$_commit.tar.gz::https://github.com/andersson/rmtfs/archive/$_commit.tar.gz
rmtfs.initd rmtfs.initd
udev.rules udev.rules
0001-add-modem_tng-alias-for-tunning-partition.patch
" "
builddir="$srcdir/rmtfs-$_commit" builddir="$srcdir/rmtfs-$_commit"
options="!check" options="!check"
@ -32,4 +33,5 @@ sha512sums="
3ccd33ad29c1a485eea475ee54d5984f560cdda99d356e17b315f1cd718c2e9f1992fdc76269877bcbdf8ee2b82476a7738d0b1abb50cbed5c386ee11043010e rmtfs-695d0668ffa6e2a4bf6e676f3c58a444a5d67690.tar.gz 3ccd33ad29c1a485eea475ee54d5984f560cdda99d356e17b315f1cd718c2e9f1992fdc76269877bcbdf8ee2b82476a7738d0b1abb50cbed5c386ee11043010e rmtfs-695d0668ffa6e2a4bf6e676f3c58a444a5d67690.tar.gz
b75a2e051661b6088c3db7071fc2f43b97ecf68a0c35addefd34f6fa11d23429a890313d14791566dfc97230192b999e4cc953797e6e32d07dc8f6c61813f9f3 rmtfs.initd b75a2e051661b6088c3db7071fc2f43b97ecf68a0c35addefd34f6fa11d23429a890313d14791566dfc97230192b999e4cc953797e6e32d07dc8f6c61813f9f3 rmtfs.initd
cb2435c159d81d3a40d30e1355c82a3d560dc2df7d05fee95085bc80e492ac93a728258f2f1b463c04a964979760990c8c9176b22cb585cbec19ab285cd45440 udev.rules cb2435c159d81d3a40d30e1355c82a3d560dc2df7d05fee95085bc80e492ac93a728258f2f1b463c04a964979760990c8c9176b22cb585cbec19ab285cd45440 udev.rules
2c48e3e97838eb2b779075263ef688bc48dde5cc9fc8f055e8ee67cc115228ab59e9466faa89dd817812ee9e3219e8ca331d766e84ad383a1b9706cbbdc2c6fd 0001-add-modem_tng-alias-for-tunning-partition.patch
" "