diff options
author | Maxim Devaev <[email protected]> | 2023-09-09 15:29:53 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2023-09-09 15:29:53 +0300 |
commit | 7251e761127e053b06db9260d8a13de5073f7689 (patch) | |
tree | 9760ae7895c615d60f075f27ada87f7793984842 | |
parent | 5f3a42f7fd7fe8cc474d9f6298da64ec3001fcb6 (diff) |
/usr/share/kvmd/device
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -201,6 +201,8 @@ package_kvmd() { for _variant in "${_variants[@]}"; do _platform=${_variant%:*} _board=${_variant#*:} + _base=${_platform%-*} + _video=${_platform#*-} eval "package_kvmd-platform-$_platform-$_board() { cd \"kvmd-\$pkgver\" @@ -242,5 +244,12 @@ for _variant in "${_variants[@]}"; do backup=(\"\${backup[@]}\" etc/kvmd/tc358743-edid.hex) install -DTm444 configs/kvmd/edid/$_platform.hex \"\$pkgdir/etc/kvmd/tc358743-edid.hex\" fi + + local _device=\"\$pkgdir/usr/share/kvmd/device\" + rm -f \"\$_device\" + echo PIKVM_BASE=$_base > \"\$_device\" + echo PIKVM_VIDEO=$_video >> \"\$_device\" + echo PIKVM_BOARD=$_board >> \"\$_device\" + chmod 444 \"\$_device\" }" done |