Skip to content
Snippets Groups Projects
Commit 31b03d26 authored by Pablo Correa Gómez's avatar Pablo Correa Gómez Committed by Natanael Copa
Browse files

testing/openocd-riscv: install udev rules under /usr

parent 21cea992
No related branches found
No related tags found
1 merge request!72695main/eudev: move library to /usr/lib and move rules hard-coded to /lib/udev/rules.d
......@@ -3,7 +3,7 @@
pkgname=openocd-riscv
pkgver=0_git20230104
_commit=43ea20dfbb6c815004a51106a3b2009d7f6c4940
pkgrel=1
pkgrel=2
pkgdesc="Fork of OpenOCD with RISC-V support"
url="https://github.com/riscv/riscv-openocd"
arch="all"
......@@ -56,7 +56,7 @@ check() {
package() {
make DESTDIR="$pkgdir" install
install -Dm644 contrib/60-openocd.rules \
"$pkgdir"/lib/udev/rules.d/60-$pkgname.rules
"$pkgdir"/usr/lib/udev/rules.d/60-$pkgname.rules
# allow parallel install with upstream openocd
mv "$pkgdir"/usr/bin/openocd "$pkgdir"/usr/bin/$pkgname
mv "$pkgdir"/usr/share/man/man1/openocd.1 \
......@@ -68,7 +68,7 @@ package() {
udev_rules() {
pkgdesc="udev rules for $pkgname"
depends="!openocd-udev-rules"
amove lib/udev/rules.d/60-$pkgname.rules
amove usr/lib/udev/rules.d/60-$pkgname.rules
}
sha512sums="
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment