Add version info to minikube-iso
parent
0f6c85416b
commit
0bcbd99e1b
|
@ -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**:
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
1
Makefile
1
Makefile
|
@ -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; \
|
||||
|
|
Loading…
Reference in New Issue