summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-03-11 17:11:55 +0200
committerMaxim Devaev <[email protected]>2024-03-11 17:11:57 +0200
commit9e96772533a92ecd2a0f82825215acd5c5f50394 (patch)
treee63cb0a60586357aa6d62eb8e415efb508cf8e19 /PKGBUILD
parent5274673ab6d61968b4927abaa52a9ed48428938c (diff)
Added kvmd-udev-restart pass and udev rule to restart kvmd-pass on plugging HDMI-A-1
https://forums.raspberrypi.com/viewtopic.php?p=2202017
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 74e6d560..8a4d6115 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -217,6 +217,9 @@ for _variant in "${_variants[@]}"; do
if [[ $_platform =~ ^.*-hdmiusb$ ]]; then
install -Dm755 -t \"\$pkgdir/usr/bin\" scripts/kvmd-udev-hdmiusb-check
fi
+ if [[ $_base == v4plus ]]; then
+ install -Dm755 -t \"\$pkgdir/usr/bin\" scripts/kvmd-udev-restart-pass
+ fi
install -DTm644 configs/os/sysctl.conf \"\$pkgdir/etc/sysctl.d/99-kvmd.conf\"
install -DTm644 configs/os/udev/common.rules \"\$pkgdir/usr/lib/udev/rules.d/99-kvmd-common.rules\"