device-sony-nicki: 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.
This commit is contained in:
Henrik Grimler 2024-01-28 17:10:28 +01:00 committed by Pablo Correa Gómez
parent 82591a8c25
commit 02de87f414
No known key found for this signature in database
GPG key ID: 7A342565FF635F79

View file

@ -1,8 +1,8 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-sony-nicki
pkgdesc="Sony Xperia M"
pkgver=0.1
pkgrel=14
pkgver=0.2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
@ -21,7 +21,7 @@ build() {
kernel_downstream() {
pkgdesc="LineageOS downstream kernel (recommended)"
depends="linux-sony-nicki"
depends="linux-sony-nicki postmarketos-base-downstream-disable-udev-v4l"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
@ -41,10 +41,6 @@ package() {
"$pkgdir"/etc/fb.modes
install -D -m644 "$srcdir"/pointercal \
"$pkgdir"/etc/pointercal
#I have no idea what it does but it's included in sony-yuga and
#if I do same on here, segfaults stop appearing in dmesg
ln -s /dev/null "$pkgdir"/etc/udev/rules.d/60-persistent-v4l.rules
}
sha512sums="