From 51bad1dc98100a6d591dca766fc3fd8c00438a33 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Sat, 21 Oct 2023 06:25:27 +0300 Subject: [PATCH] install platformio and other things only on v0 --- PKGBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 503ba455..8439db07 100644 --- a/PKGBUILD +++ b/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