fix packages for aarch64
parent
1c31b6cb81
commit
df76337f3e
|
@ -1,5 +1,4 @@
|
|||
config BR2_PACKAGE_CNI_PLUGINS
|
||||
bool "cni-plugins"
|
||||
default y
|
||||
depends on BR2_x86_64
|
||||
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
config BR2_PACKAGE_CNI
|
||||
bool "cni"
|
||||
default y
|
||||
depends on BR2_x86_64
|
||||
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
config BR2_PACKAGE_CONTAINERD_BIN
|
||||
bool "containerd-bin"
|
||||
default y
|
||||
depends on BR2_x86_64
|
||||
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
|
||||
depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
config BR2_PACKAGE_CRI_DOCKERD
|
||||
bool "cri-dockerd"
|
||||
default y
|
||||
depends on BR2_x86_64
|
||||
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
|
||||
depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
config BR2_PACKAGE_CRICTL_BIN
|
||||
bool "crictl-bin"
|
||||
default y
|
||||
depends on BR2_aarch64
|
|
@ -0,0 +1 @@
|
|||
sha256 454eecd29fe636282339af5b73c60234a7d10e4b11b9e18937e33056763d72cf crictl-v1.21.0-linux-arm64.tar.gz
|
|
@ -0,0 +1,18 @@
|
|||
################################################################################
|
||||
#
|
||||
# crictl-bin
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CRICTL_BIN_VERSION = v1.21.0
|
||||
CRICTL_BIN_SITE = https://github.com/kubernetes-sigs/cri-tools/releases/download/$(CRICTL_BIN_VERSION)
|
||||
CRICTL_BIN_SOURCE = crictl-$(CRICTL_BIN_VERSION)-linux-arm64.tar.gz
|
||||
CRICTL_BIN_STRIP_COMPONENTS = 0
|
||||
|
||||
define CRICTL_BIN_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 \
|
||||
$(@D)/crictl \
|
||||
$(TARGET_DIR)/usr/bin/crictl
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
|
@ -1,7 +1,6 @@
|
|||
config BR2_PACKAGE_CRIO_BIN
|
||||
bool "crio-bin"
|
||||
default y
|
||||
depends on BR2_x86_64
|
||||
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
|
||||
depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
config BR2_PACKAGE_DOCKER_BIN
|
||||
bool "docker-bin"
|
||||
default y
|
||||
depends on BR2_aarch64
|
|
@ -0,0 +1 @@
|
|||
sha256 ea971edc1179088bfd25edd04a0c12848143d15cb8202ebb93a6a08973464fd0 docker-20.10.14.tgz
|
|
@ -0,0 +1,55 @@
|
|||
################################################################################
|
||||
#
|
||||
# docker-bin
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DOCKER_BIN_VERSION = 20.10.14
|
||||
DOCKER_BIN_SITE = https://download.docker.com/linux/static/stable/aarch64
|
||||
DOCKER_BIN_SOURCE = docker-$(DOCKER_BIN_VERSION).tgz
|
||||
|
||||
define DOCKER_BIN_USERS
|
||||
- -1 docker -1 - - - - -
|
||||
endef
|
||||
|
||||
define DOCKER_BIN_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 \
|
||||
$(@D)/docker \
|
||||
$(TARGET_DIR)/bin/docker
|
||||
|
||||
# As of 2019-05, we use upstream containerd so that we may update it independently of docker.
|
||||
|
||||
# As of 2019-01, we use upstream runc so that we may update it independently of docker.
|
||||
|
||||
# As of 2019-05, we use upstream ctr so that we may update it independently of docker.
|
||||
|
||||
$(INSTALL) -D -m 0755 \
|
||||
$(@D)/dockerd \
|
||||
$(TARGET_DIR)/bin/dockerd
|
||||
|
||||
$(INSTALL) -D -m 0755 \
|
||||
$(@D)/docker-init \
|
||||
$(TARGET_DIR)/bin/docker-init
|
||||
|
||||
$(INSTALL) -D -m 0755 \
|
||||
$(@D)/docker-proxy \
|
||||
$(TARGET_DIR)/bin/docker-proxy
|
||||
|
||||
# https://kubernetes.io/docs/setup/production-environment/container-runtimes/#docker
|
||||
|
||||
$(INSTALL) -Dm644 \
|
||||
$(DOCKER_BIN_PKGDIR)/daemon.json \
|
||||
$(TARGET_DIR)/etc/docker/daemon.json
|
||||
endef
|
||||
|
||||
define DOCKER_BIN_INSTALL_INIT_SYSTEMD
|
||||
$(INSTALL) -D -m 644 \
|
||||
$(BR2_EXTERNAL)/package/docker-bin/docker.socket \
|
||||
$(TARGET_DIR)/usr/lib/systemd/system/docker.socket
|
||||
|
||||
$(INSTALL) -D -m 644 \
|
||||
$(DOCKER_BIN_PKGDIR)/forward.conf \
|
||||
$(TARGET_DIR)/etc/sysctl.d/forward.conf
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"exec-opts": [
|
||||
"native.cgroupdriver=systemd"
|
||||
],
|
||||
"log-driver": "json-file",
|
||||
"log-opts": {
|
||||
"max-size": "100m"
|
||||
},
|
||||
"storage-driver": "overlay2"
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=Docker Socket for the API
|
||||
PartOf=docker.service
|
||||
|
||||
[Socket]
|
||||
ListenStream=/var/run/docker.sock
|
||||
SocketMode=0660
|
||||
SocketUser=root
|
||||
SocketGroup=docker
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
|
@ -0,0 +1,2 @@
|
|||
net.ipv4.ip_forward=1
|
||||
|
|
@ -1,7 +1,6 @@
|
|||
config BR2_PACKAGE_GLUSTER
|
||||
bool "gluster"
|
||||
default y
|
||||
depends on BR2_x86_64
|
||||
select BR2_PACKAGE_LIBURCU
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
help
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
config BR2_PACKAGE_HYPERV_DAEMONS
|
||||
bool "hyperv-daemons"
|
||||
default y
|
||||
depends on BR2_x86_64
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
config BR2_PACKAGE_PODMAN
|
||||
bool "podman"
|
||||
default y
|
||||
depends on BR2_x86_64
|
||||
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
|
||||
depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
|
Loading…
Reference in New Issue