device-samsung-j7eltetmo: 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:28:27 +01:00 committed by Pablo Correa Gómez
parent bc573e7d96
commit 4face185f1
No known key found for this signature in database
GPG key ID: 7A342565FF635F79

View file

@ -2,7 +2,7 @@
pkgname=device-samsung-j7eltetmo pkgname=device-samsung-j7eltetmo
pkgdesc="Samsung Galaxy J7 (T-Mobile)" pkgdesc="Samsung Galaxy J7 (T-Mobile)"
pkgver=0.1 pkgver=0.1
pkgrel=4 pkgrel=5
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="aarch64" arch="aarch64"
@ -12,6 +12,7 @@ depends="
mkbootimg mkbootimg
msm-fb-refresher msm-fb-refresher
postmarketos-base postmarketos-base
postmarketos-base-downstream-disable-udev-v4l
" "
makedepends="devicepkg-dev" makedepends="devicepkg-dev"
source=" source="
@ -24,10 +25,6 @@ build() {
package() { package() {
devicepkg_package $startdir $pkgname devicepkg_package $startdir $pkgname
# Disable v4l udev rules, because if enabled the device will fail to boot
# when VIDEO_EXYNOS_FIMC_IS is enabled.
mkdir -p "$pkgdir"/etc/udev/rules.d
ln -s /dev/null "$pkgdir"/etc/udev/rules.d/60-persistent-v4l.rules
} }