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
This commit is contained in:
Pablo Correa Gómez 2024-10-03 18:13:01 +02:00 committed by Stefan Hansson
parent 85d978165a
commit b77fd768e1
No known key found for this signature in database
GPG Key ID: 8A700086A9FE41FD

View File

@ -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