File tree Expand file tree Collapse file tree 2 files changed +0
-16
lines changed
local-pv-provisioner/e2etest Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change 3333.PHONY : test
3434test :
3535 $(MAKE ) launch-cluster MINIKUBE_PROFILE=$(MINIKUBE_PROFILE )
36- $(MAKE ) setup-workaround-for-xfs
3736 $(MAKE ) create-loop-dev
3837 $(MAKE ) launch-local-pv-provisioner
3938 $(MAKE ) do-test
@@ -74,18 +73,6 @@ launch-cluster:
7473 $(MINIKUBE ) profile $(MINIKUBE_PROFILE )
7574 $(MAKE ) image-build
7675
77- # mkfs.xfs and the kernel on the minikube VM may be incompatible.
78- # This workaround replaces mkfs.xfs to create compatible superblock with the kernel version.
79- .PHONY : setup-workaround-for-xfs
80- setup-workaround-for-xfs :
81- @if ! $(MINIKUBE ) ssh -- uname -r | grep -qF " 5.10" ; then \
82- echo " the kernel version on minikube is not 5.10, it may not need workaround, please check it." ; \
83- exit 1; \
84- fi
85- $(MINIKUBE ) ssh -- $(SUDO ) sh -c ' "[ -e /usr/sbin/mkfs.xfs.orig ] || mv /usr/sbin/mkfs.xfs /usr/sbin/mkfs.xfs.orig"'
86- $(MINIKUBE ) cp mkfs.xfs lpptest:/usr/sbin/mkfs.xfs
87- $(MINIKUBE ) ssh -- $(SUDO ) chmod 0755 /usr/sbin/mkfs.xfs
88-
8976.PHONY : create-loop-dev
9077create-loop-dev :
9178 $(MINIKUBE ) ssh -- $(DD ) if=/dev/zero of=loop0.img bs=1G seek=1 count=0
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments