device-htc-k2ul: avoid overriding udev v4l rule in /etc (MR 4768)

Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
This commit is contained in:
Henrik Grimler 2024-01-28 17:05:57 +01:00 committed by Pablo Correa Gómez
parent 10280b22e2
commit 93789b8362
No known key found for this signature in database
GPG key ID: 7A342565FF635F79

View file

@ -2,12 +2,18 @@
pkgname=device-htc-k2ul
pkgdesc="HTC One SV"
pkgver=0.1
pkgrel=14
pkgrel=15
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-htc-k2ul mkbootimg msm-fb-refresher"
depends="
postmarketos-base
postmarketos-base-downstream-disable-udev-v4l
linux-htc-k2ul
mkbootimg
msm-fb-refresher
"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo initfs-hook.sh 90-android-touch-dev.rules"
@ -21,8 +27,6 @@ package() {
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
# Remove v4l rules due to crashes and hangs
ln -s /dev/null "$pkgdir"/etc/udev/rules.d/60-persistent-v4l.rules
}
nonfree_firmware() {