diff options
author | Maxim Devaev <[email protected]> | 2021-11-08 01:31:54 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2021-11-08 01:32:23 +0300 |
commit | b31dde20e0836e3c7518989a2e23df447c432e5a (patch) | |
tree | 6bf8862e62c9d60d7a7f8be53f8980d8317a0859 /PKGBUILD | |
parent | 6d72bf9b983ba247ab504b6065f59ea473b6b8ea (diff) |
move kvmd-udev-hdmiusb-check to the platform package
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -121,6 +121,8 @@ package_kvmd() { cd "$srcdir/$pkgname-build" python setup.py install --root="$pkgdir" + install -Dm755 -t "$pkgdir/usr/bin" scripts/kvmd-{bootconfig,gencert} + install -Dm644 -t "$pkgdir/usr/lib/systemd/system" configs/os/services/*.service install -DTm644 configs/os/sysusers.conf "$pkgdir/usr/lib/sysusers.d/kvmd.conf" install -DTm644 configs/os/tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/kvmd.conf" @@ -185,6 +187,10 @@ for _variant in "${_variants[@]}"; do etc/kvmd/main.yaml ) + if [[ $_platform =~ ^.*-hdmiusb$ ]]; then + install -Dm755 -t \"\$pkgdir/usr/bin\" scripts/kvmd-udev-hdmiusb-check + fi + install -DTm644 configs/os/sysctl.conf \"\$pkgdir/etc/sysctl.d/99-kvmd.conf\" install -DTm644 configs/os/udev/$_platform-$_board.rules \"\$pkgdir/etc/udev/rules.d/99-kvmd.rules\" install -DTm444 configs/kvmd/main/$_platform-$_board.yaml \"\$pkgdir/etc/kvmd/main.yaml\" |