From 8c0bd35708831036551ee526171bf8a21d33d8f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pablo=20Correa=20G=C3=B3mez?= <ablocorrea@hotmail.com>
Date: Sun, 29 Sep 2024 16:26:11 +0200
Subject: [PATCH] main/postmarketos-base-downstream: move udev rules under /usr

Depends on
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/72703
---
 main/postmarketos-base-downstream/APKBUILD | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/main/postmarketos-base-downstream/APKBUILD b/main/postmarketos-base-downstream/APKBUILD
index c9a27316697..d569e0a0fa3 100644
--- a/main/postmarketos-base-downstream/APKBUILD
+++ b/main/postmarketos-base-downstream/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Henrik Grimler <henrik@grimler.se>
 pkgname=postmarketos-base-downstream
 pkgver=2
-pkgrel=0
+pkgrel=1
 pkgdesc="Base package for devices with downstream (vendor) kernels"
 url="https://postmarketos.org"
 arch="noarch"
@@ -21,8 +21,8 @@ disable_udev_v4l() {
 	# udev if camera firmware is missing and/or fails to load
 	pkgdesc="Package to disable udev video4linux rules"
 	replaces="eudev"
-	mkdir -p "$subpkgdir"/lib/udev/rules.d
-	ln -s /dev/null "$subpkgdir"/lib/udev/rules.d/60-persistent-v4l.rules
+	mkdir -p "$subpkgdir"/usr/lib/udev/rules.d
+	ln -s /dev/null "$subpkgdir"/usr/lib/udev/rules.d/60-persistent-v4l.rules
 }
 
 lightdm() {
-- 
GitLab