Skip to content
Snippets Groups Projects
Unverified Commit 60c8f7a5 authored by Henrik Grimler's avatar Henrik Grimler Committed by Pablo Correa Gomez
Browse files

device-sony-yuga: avoid overriding udev v4l rule in /etc (MR 4768)

Postmarketos-base-downstream-disable-udev-v4l symlinks
/lib/udev/rules.d/60-persistent-v4l.rules to /dev/null, so depend on
this package instead.  The dependency is added to downstream kernel
subpackage, as issue *should* only affect downstream kernel.
parent 02de87f4
Branches
No related tags found
No related merge requests found
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-sony-yuga
pkgver=3
pkgrel=4
pkgver=4
pkgrel=0
pkgdesc="Sony Xperia Z"
url="https://postmarketos.org"
arch="armv7"
......@@ -24,15 +24,15 @@ package() {
devicepkg_package $startdir $pkgname
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
# 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
}
kernel_downstream() {
pkgdesc="LineageOS downstream kernel (recommended)"
depends="linux-sony-yuga msm-fb-refresher"
depends="
linux-sony-yuga
msm-fb-refresher
postmarketos-base-downstream-disable-udev-v4l
"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment