Add version info to minikube-iso

pull/1168/head
Matt Rickard 2017-02-22 11:25:52 -08:00
parent 0f6c85416b
commit 0bcbd99e1b
3 changed files with 5 additions and 1 deletions

View File

@ -22,7 +22,7 @@ explain why.
**Environment**:
- **OS** (e.g. from /etc/os-release):
- **VM Driver** (e.g. `cat ~/.minikube/machines/minikube/config.json | grep DriverName`):
- **ISO version** (e.g. `cat ~/.minikube/machines/minikube/config.json | grep ISO`):
- **ISO version** (e.g. `cat ~/.minikube/machines/minikube/config.json | grep ISO` or `minikube ssh cat /etc/VERSION`):
- **Install tools**:
- **Others**:

3
.gitignore vendored
View File

@ -28,6 +28,9 @@ _testmain.go
/out
/_gopath
#iso version file
deploy/iso/minikube-iso/board/coreos/minikube/rootfs-overlay/etc/VERSION
/pkg/minikube/assets/assets.go
/minikube

View File

@ -84,6 +84,7 @@ localkube-image: out/localkube
make -C deploy/docker VERSION=$(VERSION)
minikube_iso:
echo $(ISO_VERSION) > deploy/iso/minikube-iso/board/coreos/minikube/rootfs-overlay/etc/VERSION
if [ ! -d $(BUILD_DIR)/buildroot ]; then \
mkdir -p $(BUILD_DIR); \
git clone --branch=$(BUILDROOT_BRANCH) https://github.com/buildroot/buildroot $(BUILD_DIR)/buildroot; \