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:
parent
bc573e7d96
commit
4face185f1
1 changed files with 2 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
|||
pkgname=device-samsung-j7eltetmo
|
||||
pkgdesc="Samsung Galaxy J7 (T-Mobile)"
|
||||
pkgver=0.1
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
|
@ -12,6 +12,7 @@ depends="
|
|||
mkbootimg
|
||||
msm-fb-refresher
|
||||
postmarketos-base
|
||||
postmarketos-base-downstream-disable-udev-v4l
|
||||
"
|
||||
makedepends="devicepkg-dev"
|
||||
source="
|
||||
|
@ -24,10 +25,6 @@ build() {
|
|||
|
||||
package() {
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue