modem/qcom_rmtfs: Don't limit the rmtfs udev rules to mmcblk0 (#1512)

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.
This commit is contained in:
Bhushan Shah 2018-05-26 19:30:06 +05:30 committed by Oliver Smith
parent b669a13d5f
commit 94e3ee4ba3
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
2 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
pkgname=qcom_rmtfs
pkgver=0.0_git20180131
pkgrel=2
pkgrel=3
pkgdesc="Qualcomm Remote Filesystem Service Implementation"
url="https://github.com/andersson/rmtfs"
arch="all"
@ -37,4 +37,4 @@ sha512sums="4b49cdf9d778bf6ae5e838c1da48e76b1004786a0dafefb0097fe3a73e4652c13ed1
a216dc36a7f12bbc125120ac7cc3e3030f3718f7d894c9e6d5e586375cbd76eae897160fdf780da8e3089dbfc0a31f1631dca4a2e850e193135ab825aa8d05cf support-uio.patch
877bdc84fdb4a851d94f29e2c6dd391afdb7812d19d0b10dc4449a6a7d0ed86fb3c01fd315bef7bfe24a644b3af102fc1e24194cb76c4e8966b8044a110ed639 update-storage-paths.patch
5ca3428b540c14a921a6a158833c39c2ac6bea33fd82172fb014cb8aa96684f31cc853b4a3b4359a764583f8da21a56aee617bd36fa1d6ca90a2827204c1ef9a qcom_rmtfs.initd
2c889f1161fb27cb0a57079e7f7fce78cf3c6a5c33a9e839164d02a23fd6a6910d5f22c955c22608b69bd4515c61733089db0f8e9c46d1fc330e89f8707bd57d udev.rules"
190db2ac5d0850f135738b4bfa9b14a0d0ec6ee66328ba704e4402c9ff76d60d330022f1f74ba96868491a0048fd3c4edb5a44cfc7574aca44afba5a3e4f5754 udev.rules"

View File

@ -1,5 +1,4 @@
# check for mmcblk0 so that an SD card or something doesn't match
KERNEL!="mmcblk0p[0-9]*", GOTO="qcom_rmtfs_end"
KERNEL!="mmcblk?p[0-9]*", GOTO="qcom_rmtfs_end"
ENV{ID_PART_ENTRY_NAME}=="modemst1", SYMLINK+="disk/qcom_rmtfs/modem_fs1"
ENV{ID_PART_ENTRY_NAME}=="modemst2", SYMLINK+="disk/qcom_rmtfs/modem_fs2"