From dd04440b64d335dbdd10be78cf739cfb194ae45d Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Sun, 28 Jan 2024 17:04:32 +0100 Subject: [PATCH] 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. --- device/testing/device-samsung-gts210lte/APKBUILD | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/device/testing/device-samsung-gts210lte/APKBUILD b/device/testing/device-samsung-gts210lte/APKBUILD index f3bb84dfa..fad26ee49 100644 --- a/device/testing/device-samsung-gts210lte/APKBUILD +++ b/device/testing/device-samsung-gts210lte/APKBUILD @@ -1,8 +1,9 @@ # Reference: +# Maintainer: Henrik Grimler 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() {