device-samsung-s3ve3g: 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
c63c313996
commit
6fde810437
2 changed files with 8 additions and 11 deletions
|
@ -2,17 +2,22 @@
|
|||
pkgname=device-samsung-s3ve3g
|
||||
pkgdesc="Samsung Galaxy S III Neo"
|
||||
pkgver=0.1
|
||||
pkgrel=7
|
||||
pkgrel=8
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="armv7"
|
||||
options="!check !archcheck"
|
||||
depends="postmarketos-base linux-samsung-s3ve3g mkbootimg msm-fb-refresher"
|
||||
depends="
|
||||
postmarketos-base
|
||||
postmarketos-base-downstream-disable-udev-v4l
|
||||
linux-samsung-s3ve3g
|
||||
mkbootimg
|
||||
msm-fb-refresher
|
||||
"
|
||||
makedepends="devicepkg-dev"
|
||||
source="
|
||||
deviceinfo
|
||||
initfs-hook.sh
|
||||
udev/60-persistent-v4l.rules
|
||||
"
|
||||
|
||||
build() {
|
||||
|
@ -21,13 +26,9 @@ build() {
|
|||
|
||||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
|
||||
install -Dm644 "$srcdir"/60-persistent-v4l.rules \
|
||||
"$pkgdir"/etc/udev/rules.d/60-persistent-v4l.rules
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
10504324fdd87541a1a9ce8f960575673fcae95cceee91d6f86e0682b895527efb27f9e93da3b560600972ea2493bea8a80ca5aec2380952b7adc2adf99be3f8 deviceinfo
|
||||
b6102448a5c04cc0f8527295f312d38affb250c6c248018f9dbe543d51824f0f32d3ee334d1caee1e630a07b49bda3d81dee50ea3cb04397100f369d308400f7 initfs-hook.sh
|
||||
b8bf2e3ec166af6acbbfaaa2b57b053473c0b12df007090eecf7a885aee2e3cd5d982819e2ee73e2817e5266b9875dc9240389bca409d5523f3cfa8037fa7870 60-persistent-v4l.rules
|
||||
"
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
# This file is intentionally empty, to disable the default rule with the same name.
|
||||
# You can find the default rule in /lib/udev/rules.d/60-persistent-v4l.rules.
|
||||
#
|
||||
# See https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1160 for why this is needed.
|
Loading…
Reference in a new issue