device-htc-protou: 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:08:10 +01:00 committed by Pablo Correa Gómez
parent b9c053c51e
commit 10280b22e2
No known key found for this signature in database
GPG key ID: 7A342565FF635F79

View file

@ -2,12 +2,18 @@
pkgname=device-htc-protou
pkgdesc="HTC Desire X"
pkgver=0.1
pkgrel=11
pkgrel=12
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-htc-protou mkbootimg msm-fb-refresher"
depends="
postmarketos-base
postmarketos-base-downstream-disable-udev-v4l
linux-htc-protou
mkbootimg
msm-fb-refresher
"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo initfs-hook.sh pointercal"
@ -21,10 +27,6 @@ package() {
install -Dm644 "$srcdir"/pointercal \
"$pkgdir"/etc/pointercal
# Disable v4l (video4linux), because without the camera firmware
# blobs this makes udev hang with the kernel this device uses (#1033)
ln -s /dev/null "$pkgdir"/etc/udev/rules.d/60-persistent-v4l.rules
}
nonfree_firmware() {