From 93789b83628035ca82038e68fbd37228566705d6 Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Sun, 28 Jan 2024 17:05:57 +0100 Subject: [PATCH] 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. --- device/testing/device-htc-k2ul/APKBUILD | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/device/testing/device-htc-k2ul/APKBUILD b/device/testing/device-htc-k2ul/APKBUILD index 37c4568bb..9de4fe710 100644 --- a/device/testing/device-htc-k2ul/APKBUILD +++ b/device/testing/device-htc-k2ul/APKBUILD @@ -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() {