summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-07-08 06:36:51 +0000
committerDevaev Maxim <[email protected]>2018-07-08 06:40:18 +0000
commit67860c2e8de4b28f33ab32c461fc61fec3cc23c7 (patch)
tree0ed221c2af8e47d589f154558de4aaf3f41cec3f /os
parent652ec33e117febd11676a89ceb57134ce7e32bf1 (diff)
env hack
Diffstat (limited to 'os')
-rw-r--r--os/Makefile2
-rw-r--r--os/platforms/v1/Dockerfile.part2
2 files changed, 3 insertions, 1 deletions
diff --git a/os/Makefile b/os/Makefile
index 9b2b494a..97cd4eeb 100644
--- a/os/Makefile
+++ b/os/Makefile
@@ -11,7 +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'`" \
+ 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__" \
diff --git a/os/platforms/v1/Dockerfile.part b/os/platforms/v1/Dockerfile.part
index 471e8566..1195182e 100644
--- a/os/platforms/v1/Dockerfile.part
+++ b/os/platforms/v1/Dockerfile.part
@@ -1,4 +1,6 @@
ARG KVMD_VERSION
+RUN echo $KVMD_VERSION
+
RUN pkg-install \
kvmd \
mjpg-streamer-pikvm \