pmaports/modem/modem-qcom-msm-mainline-common/APKBUILD
Bhushan Shah c36aeec04e modem/modem-qcom-msm-mainline-common: check name attribute (#1485)
On my device the rpmsg0 have DATA5_CNTL under name attribute instead of
rpmsg_name

```
looking at device '/devices/platform/smd/smd:modem/smd:modem.rpmsg_chrdev.0.0/rpmsg/rpmsg_ctrl1/rpmsg0':
  KERNEL=="rpmsg0"
  SUBSYSTEM=="rpmsg"
  DRIVER==""
  ATTR{dst}=="0"
  ATTR{src}=="0"
  ATTR{name}=="DATA5_CNTL"
```

So check for name instead of rpmsg_name.
2018-05-16 23:13:17 +02:00

18 lines
559 B
Text

pkgname=modem-qcom-msm-mainline-common
pkgver=0.1
pkgrel=2
pkgdesc="Common support for Qualcomm MSM modems on the mainline kernel"
url="https://postmarketos.org/"
arch="armhf"
license="GPL-3.0-or-later"
depends="qcom_rmtfs rpmsgexport"
makedepends=""
options="!check"
subpackages=""
source="udev.rules"
package() {
install -Dm644 "$srcdir/udev.rules" "$pkgdir/usr/lib/udev/rules.d/55-$pkgname.rules"
}
sha512sums="f1807844c2f685d99d71a02c0b793cea04b242db27f43259a7d9156b9bec27328e34f323a91afaee0a14a6df6232f678009e6499f3b0ede43cad3351ccadb77d udev.rules"