main/postmarketos-base-downstream: fix conflict with systemd-udevd (MR 6491)

ERROR: postmarketos-base-downstream-disable-udev-v4l-2-r1: trying to overwrite usr/lib/udev/rules.d/60-persistent-v4l.rules owned by systemd-udevd-257.5-r0.
This commit is contained in:
Luca Weiss
2025-05-15 16:20:26 +01:00
parent 0b6019b013
commit 06a3fd31a7
+2 -2
View File
@@ -1,7 +1,7 @@
# Maintainer: Henrik Grimler <henrik@grimler.se>
pkgname=postmarketos-base-downstream
pkgver=2
pkgrel=1
pkgrel=2
pkgdesc="Base package for devices with downstream (vendor) kernels"
url="https://postmarketos.org"
arch="noarch"
@@ -20,7 +20,7 @@ disable_udev_v4l() {
# On some devices the kernel panics or hangs when starting
# udev if camera firmware is missing and/or fails to load
pkgdesc="Package to disable udev video4linux rules"
replaces="eudev"
replaces="eudev systemd-udevd"
mkdir -p "$subpkgdir"/usr/lib/udev/rules.d
ln -s /dev/null "$subpkgdir"/usr/lib/udev/rules.d/60-persistent-v4l.rules
}