device-motorola-titan: 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:09:03 +01:00 committed by Pablo Correa Gómez
parent 55f0db994b
commit b9c053c51e
No known key found for this signature in database
GPG key ID: 7A342565FF635F79

View file

@ -1,12 +1,18 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-motorola-titan
pkgver=2
pkgrel=1
pkgrel=2
pkgdesc="Motorola Moto G 2014"
url="https://postmarketos.org"
arch="armv7"
license="MIT"
depends="postmarketos-base linux-motorola-titan mkbootimg msm-fb-refresher"
depends="
postmarketos-base
postmarketos-base-downstream-disable-udev-v4l
linux-motorola-titan
mkbootimg
msm-fb-refresher
"
makedepends="devicepkg-dev"
install="$pkgname.post-install"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
@ -23,10 +29,6 @@ package() {
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
install -Dm644 "$srcdir"/profile.sh \
"$pkgdir"/etc/profile.d/00-$pkgname.sh
# Disable v4l (video4linux), because without the camera firmware
# blobs this makes dev hang with the kernel this device uses (#1033)
ln -s /dev/null "$pkgdir"/etc/udev/rules.d/60-persistent-v4l.rules
}
nonfree_firmware() {