ipfs on arm

This commit is contained in:
Yann Autissier
2022-05-09 02:32:23 +02:00
parent 027c39c367
commit ba3727c5cd
9 changed files with 58 additions and 31 deletions
+3 -18
View File
@@ -3,28 +3,13 @@
# target bootstrap: Update application files and start dockers
# on local host
.PHONY: bootstrap
bootstrap: bootstrap-app bootstrap-host bootstrap-user app-bootstrap ## Update application files and start dockers
.PHONY: bootstrap app-bootstrap
bootstrap: bootstrap-app app-bootstrap ## Update application files and start dockers
# target bootstrap-app: Fire install-bin-git
.PHONY: bootstrap-app
bootstrap-app: install-bin-git
# target bootstrap-docker: Install and configure docker
# on local host
.PHONY: bootstrap-docker
bootstrap-docker: install-bin-docker setup-docker-group setup-sysctl
# target bootstrap-host: Fire node target
# on local host
.PHONY: bootstrap-host
bootstrap-host: node
# target bootstrap-user: Fire User target
# on local host
.PHONY: bootstrap-user
bootstrap-user: User
# target build: Build application docker images to run
# on local host
.PHONY: build
@@ -180,7 +165,7 @@ stack:
# target stack-%: Call docker-compose-% target on STACK
## it splits % on dashes and extracts stack from the beginning and command from
## the last part of %
## ex: stack-User-up will fire the docker-compose-up target in the User stack
## ex: stack-node-up will fire the docker-compose-up target in the node stack
.PHONY: stack-%
stack-%:
$(eval stack := $(subst -$(lastword $(subst -, ,$*)),,$*))
+1 -1
View File
@@ -1,5 +1,5 @@
ENV_VARS += SETUP_SYSCTL_CONFIG
SETUP_BINFMT ?= false
SETUP_BINFMT ?= $(if $(filter-out amd64 x86_64,$(PROCESSOR_ARCHITECTURE)),true,false)
SETUP_BINFMT_ARCH ?= all
SETUP_NFSD ?= false
SETUP_NFSD_OSX_CONFIG ?= nfs.server.bonjour=0 nfs.server.mount.regular_files=1 nfs.server.mount.require_resv_port=0 nfs.server.nfsd_threads=16 nfs.server.async=1
+1 -1
View File
@@ -27,7 +27,7 @@ endif
.PHONY: setup-sysctl
setup-sysctl:
ifeq ($(SETUP_SYSCTL),true)
$(SUDO) sysctl -q -w $(SETUP_SYSCTL_CONFIG)
$(RUN) $(SUDO) sysctl -q -w $(SETUP_SYSCTL_CONFIG)
endif
# target setup-binfmt: Install binfmt abstraction layer