summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-07-27 14:07:26 +0300
committerMaxim Devaev <[email protected]>2024-07-27 14:07:26 +0300
commit7e42d320076eec94adf1d42ecca361bd38275feb (patch)
tree201e3286a6a2fa879dbf574d1e2357946d7aac11 /PKGBUILD
parent6a665cd62fc317c62cb2486f701f4dc7ef2de29d (diff)
pikvm/pikvm#1342: Verbose platform info in /api/info
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4927140a..15c3b140 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -252,11 +252,11 @@ for _variant in "${_variants[@]}"; do
fi
mkdir -p \"\$pkgdir/usr/share/kvmd\"
- 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\"
+ local _platform=\"\$pkgdir/usr/share/kvmd/platform\"
+ rm -f \"\$_platform\"
+ echo PIKVM_MODEL=$_base > \"\$_platform\"
+ echo PIKVM_VIDEO=$_video >> \"\$_platform\"
+ echo PIKVM_BOARD=$_board >> \"\$_platform\"
+ chmod 444 \"\$_platform\"
}"
done