summaryrefslogtreecommitdiff
path: root/os/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'os/Makefile')
-rw-r--r--os/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/os/Makefile b/os/Makefile
index e96643a8..9b2b494a 100644
--- a/os/Makefile
+++ b/os/Makefile
@@ -11,6 +11,7 @@ _pikvm: $(_BUILD_DIR)
rm -rf $(_BUILD_DIR)/builder/scripts/pikvm
cp -a platforms/$(PIKVM_PLATFORM) $(_BUILD_DIR)/stages/pikvm
cd $(_BUILD_DIR) && make binfmt && make _rpi \
+ BUILD_OPTS="--build-arg KVMD_VERSION=`bash -c '. ../kvmd/PKGBUILD; echo $pkgver'`" \
PROJECT=pi-kvm \
PLATFORM=rpi-2 \
STAGES="__init__ os ssh watchdog ro pikvm __cleanup__" \