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

device-motorola-titan: 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.
parent 55f0db99
No related branches found
No related tags found
No related merge requests found
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-motorola-titan
pkgver=2
pkgrel=1
pkgrel=2
pkgdesc="Motorola Moto G 2014"
url="https://postmarketos.org"
arch="armv7"
license="MIT"
depends="postmarketos-base linux-motorola-titan mkbootimg msm-fb-refresher"
depends="
postmarketos-base
postmarketos-base-downstream-disable-udev-v4l
linux-motorola-titan
mkbootimg
msm-fb-refresher
"
makedepends="devicepkg-dev"
install="$pkgname.post-install"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
......@@ -23,10 +29,6 @@ package() {
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
install -Dm644 "$srcdir"/profile.sh \
"$pkgdir"/etc/profile.d/00-$pkgname.sh
# 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
}
nonfree_firmware() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment