mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
install platformio and other things only on v0
This commit is contained in:
parent
13d8dcac59
commit
51bad1dc98
8
PKGBUILD
8
PKGBUILD
@ -81,10 +81,6 @@ depends=(
|
||||
"v4l-utils>=1.22.1-1"
|
||||
"nginx-mainline>=1.25.1"
|
||||
openssl
|
||||
platformio
|
||||
avrdude-pikvm
|
||||
make
|
||||
patch
|
||||
sudo
|
||||
iptables
|
||||
iproute2
|
||||
@ -215,6 +211,10 @@ for _variant in "${_variants[@]}"; do
|
||||
etc/kvmd/main.yaml
|
||||
)
|
||||
|
||||
if [[ $_base == v0 ]]; then
|
||||
depends=(\"\${depends[@]}\" platformio avrdude-pikvm make patch)
|
||||
fi
|
||||
|
||||
if [[ $_platform =~ ^.*-hdmiusb$ ]]; then
|
||||
install -Dm755 -t \"\$pkgdir/usr/bin\" scripts/kvmd-udev-hdmiusb-check
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user