device-lg-mako: 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. [ci:ignore-count]: many device packages updated at the same time [ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
60c8f7a54f
commit
5e7ab9f35f
1 changed files with 7 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Reference: <https://postmarketos.org/devicepkg>
|
# Reference: <https://postmarketos.org/devicepkg>
|
||||||
pkgname=device-lg-mako
|
pkgname=device-lg-mako
|
||||||
pkgver=3
|
pkgver=4
|
||||||
pkgrel=3
|
pkgrel=0
|
||||||
pkgdesc="Google Nexus 4"
|
pkgdesc="Google Nexus 4"
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
arch="armv7"
|
arch="armv7"
|
||||||
|
@ -31,16 +31,15 @@ package() {
|
||||||
"$pkgdir"/etc/fb.modes
|
"$pkgdir"/etc/fb.modes
|
||||||
install -Dm644 "$srcdir"/wcnss-wlan \
|
install -Dm644 "$srcdir"/wcnss-wlan \
|
||||||
"$pkgdir"/etc/conf.d/wcnss-wlan
|
"$pkgdir"/etc/conf.d/wcnss-wlan
|
||||||
|
|
||||||
|
|
||||||
# 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() {
|
kernel_downstream() {
|
||||||
pkgdesc="Downstream kernel"
|
pkgdesc="Downstream kernel"
|
||||||
depends="linux-lg-mako wcnss-wlan"
|
depends="
|
||||||
|
linux-lg-mako
|
||||||
|
wcnss-wlan
|
||||||
|
postmarketos-base-downstream-disable-udev-v4l
|
||||||
|
"
|
||||||
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue