device-sharp-shl22: 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 13:29:31 +01:00 committed by Pablo Correa Gómez
parent 4face185f1
commit 4a1db82b65
No known key found for this signature in database
GPG key ID: 7A342565FF635F79

View file

@ -2,12 +2,18 @@
pkgname=device-sharp-shl22
pkgdesc="SHARP SHL22"
pkgver=0.1
pkgrel=9
pkgrel=10
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-sharp-shl22 mkbootimg msm-fb-refresher"
depends="
postmarketos-base
postmarketos-base-downstream-disable-udev-v4l
linux-sharp-shl22
mkbootimg
msm-fb-refresher
"
makedepends="devicepkg-dev"
source="
deviceinfo
@ -20,11 +26,6 @@ build() {
package() {
devicepkg_package $startdir $pkgname
# Disable v4l (video4linux), because without the camera firmware
# blobs this makes dev hang with the kernel this device uses (#1033)
mkdir -p "$pkgdir"/etc/udev/rules.d
ln -s /dev/null "$pkgdir"/etc/udev/rules.d/60-persistent-v4l.rules
}