From 658a6c150a7b9d97265d0c5b26795ff91faad498 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pablo=20Correa=20G=C3=B3mez?= <ablocorrea@hotmail.com>
Date: Thu, 3 Oct 2024 18:13:01 +0200
Subject: [PATCH] petitboot-motorola-smi: get udev rules from /usr/lib/udev (MR
 5679)

All rules have been moved to /usr as the move to /usr-merge from
alpine

[ci:skip-build]: already built successfully in CI
---
 device/testing/petitboot-motorola-smi/APKBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/device/testing/petitboot-motorola-smi/APKBUILD b/device/testing/petitboot-motorola-smi/APKBUILD
index e158cda4f59..e90be975ba6 100644
--- a/device/testing/petitboot-motorola-smi/APKBUILD
+++ b/device/testing/petitboot-motorola-smi/APKBUILD
@@ -1,6 +1,6 @@
 pkgname=petitboot-motorola-smi
 pkgver=1.13
-pkgrel=0
+pkgrel=1
 _commit="c6e874098175b03deb6829c340fccad7bfb5a258"
 pkgdesc="Petitboot based bootloader for motorola-smi"
 url="https://github.com/open-power/petitboot"
@@ -52,7 +52,7 @@ build() {
 	cp --parents /etc/terminfo/v/vt102 initramfs
 	ln -s /bin/init initramfs/init
 	cp --parents -r /etc/udev/rules.d initramfs
-	cp --parents -r /lib/udev/rules.d initramfs
+	cp --parents -r /usr/lib/udev/rules.d initramfs
 	loadkeys -b keymap.map > initramfs/etc/keymap.bmap
 	cd initramfs; find . ! -name '*.*~' | cpio -o -H newc | gzip > $srcdir/initramfs.cpio.gz
 
-- 
GitLab