device-samsung-gts210lte: 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:04:32 +01:00 committed by Pablo Correa Gómez
parent 4e9a885f22
commit dd04440b64
No known key found for this signature in database
GPG key ID: 7A342565FF635F79

View file

@ -1,8 +1,9 @@
# Reference: <https://postmarketos.org/devicepkg>
# Maintainer: Henrik Grimler <henrik@grimler.se>
pkgname=device-samsung-gts210lte
pkgdesc="Samsung Galaxy Tab S2 9.7 LTE (2015)"
pkgver=0.2
pkgrel=1
pkgrel=2
url="https://postmarketos.org"
license="MIT"
arch="armv7"
@ -13,6 +14,7 @@ depends="
mkbootimg
postmarketos-base
postmarketos-base-downstream
postmarketos-base-downstream-disable-udev-v4l
"
makedepends="devicepkg-dev"
source="deviceinfo 90-sec_touchscreen.rules"
@ -24,13 +26,6 @@ build() {
package() {
devicepkg_package $startdir $pkgname
# Disable v4l udev rules, because if enabled the device will fail to boot
# when VIDEO_EXYNOS_FIMC_IS is enabled.
mkdir -p "$pkgdir"/etc/udev/rules.d
ln -s /dev/null "$pkgdir"/etc/udev/rules.d/60-persistent-v4l.rules
install -D -m644 "$srcdir"/90-sec_touchscreen.rules \
"$pkgdir"/etc/udev/rules.d/90-sec_touchscreen.rules
}
nonfree_firmware() {