5ce37aea08
We already have it limited by the ID_PART_ENTRY_NAME, it is very less likely that someone will have sdcard with the partition names which are similar to modem partition. This fixes rmtfs for @MartijnBraam who for some reason have internal mmc as mmcblk1 and not 0.
40 lines
1.7 KiB
Text
40 lines
1.7 KiB
Text
pkgname=qcom_rmtfs
|
|
pkgver=0.0_git20180131
|
|
pkgrel=3
|
|
pkgdesc="Qualcomm Remote Filesystem Service Implementation"
|
|
url="https://github.com/andersson/rmtfs"
|
|
arch="all"
|
|
license="BSD-3-Clause"
|
|
depends="qrtr"
|
|
makedepends="eudev-dev qrtr-dev msmipc-dev"
|
|
subpackages="$pkgname-doc"
|
|
_commit="0f800fa4334b03a47941ce1b577f51a69552e414"
|
|
source="
|
|
rmtfs.tgz::https://github.com/andersson/rmtfs/archive/"$_commit".tar.gz
|
|
support-uio.patch
|
|
update-storage-paths.patch
|
|
qcom_rmtfs.initd
|
|
udev.rules
|
|
"
|
|
builddir="$srcdir""/rmtfs-"$_commit
|
|
options="!check"
|
|
install="$pkgname.post-install"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
make C_INCLUDE_PATH=/usr/src/msmipc-dev/include rmtfs
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
install -D -m 755 rmtfs "$pkgdir"/usr/sbin/"$pkgname"
|
|
install -Dm755 "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname"
|
|
install -Dm644 "$srcdir/udev.rules" "$pkgdir/usr/lib/udev/rules.d/65-qcom_rmtfs.rules"
|
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/COPYING
|
|
}
|
|
|
|
sha512sums="4b49cdf9d778bf6ae5e838c1da48e76b1004786a0dafefb0097fe3a73e4652c13ed1b011c051a712017f10b43ffc96b2fa133809715577b65fa4ca30cbdc191b rmtfs.tgz
|
|
a216dc36a7f12bbc125120ac7cc3e3030f3718f7d894c9e6d5e586375cbd76eae897160fdf780da8e3089dbfc0a31f1631dca4a2e850e193135ab825aa8d05cf support-uio.patch
|
|
877bdc84fdb4a851d94f29e2c6dd391afdb7812d19d0b10dc4449a6a7d0ed86fb3c01fd315bef7bfe24a644b3af102fc1e24194cb76c4e8966b8044a110ed639 update-storage-paths.patch
|
|
5ca3428b540c14a921a6a158833c39c2ac6bea33fd82172fb014cb8aa96684f31cc853b4a3b4359a764583f8da21a56aee617bd36fa1d6ca90a2827204c1ef9a qcom_rmtfs.initd
|
|
190db2ac5d0850f135738b4bfa9b14a0d0ec6ee66328ba704e4402c9ff76d60d330022f1f74ba96868491a0048fd3c4edb5a44cfc7574aca44afba5a3e4f5754 udev.rules"
|