system/docker: Updated for version 20.10.23.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
08ff2c0217
commit
6d3a86f001
|
@ -1,36 +0,0 @@
|
|||
From ffbbe3d103b045c3f8ec5f74aa71b7a314fd57fe Mon Sep 17 00:00:00 2001
|
||||
From: Shengjing Zhu <zhsj@debian.org>
|
||||
Date: Thu, 29 Dec 2022 02:37:39 +0800
|
||||
Subject: [PATCH] daemon/graphdriver/btrfs: workaround field rename in
|
||||
btrfs-progs 6.1
|
||||
|
||||
Closes: #44698
|
||||
|
||||
Signed-off-by: Shengjing Zhu <zhsj@debian.org>
|
||||
---
|
||||
daemon/graphdriver/btrfs/btrfs.go | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/daemon/graphdriver/btrfs/btrfs.go b/daemon/graphdriver/btrfs/btrfs.go
|
||||
index 720f1ab0cd43..f2f6bf9e975b 100644
|
||||
--- a/daemon/graphdriver/btrfs/btrfs.go
|
||||
+++ b/daemon/graphdriver/btrfs/btrfs.go
|
||||
@@ -6,6 +6,9 @@ package btrfs // import "github.com/docker/docker/daemon/graphdriver/btrfs"
|
||||
/*
|
||||
#include <stdlib.h>
|
||||
#include <dirent.h>
|
||||
+
|
||||
+// keep struct field name compatible with btrfs-progs < 6.1.
|
||||
+#define max_referenced max_rfer
|
||||
#include <btrfs/ioctl.h>
|
||||
#include <btrfs/ctree.h>
|
||||
|
||||
@@ -395,7 +398,7 @@ func subvolLimitQgroup(path string, size uint64) error {
|
||||
defer closeDir(dir)
|
||||
|
||||
var args C.struct_btrfs_ioctl_qgroup_limit_args
|
||||
- args.lim.max_referenced = C.__u64(size)
|
||||
+ args.lim.max_rfer = C.__u64(size)
|
||||
args.lim.flags = C.BTRFS_QGROUP_LIMIT_MAX_RFER
|
||||
_, _, errno := unix.Syscall(unix.SYS_IOCTL, getDirFd(dir), C.BTRFS_IOC_QGROUP_LIMIT,
|
||||
uintptr(unsafe.Pointer(&args)))
|
|
@ -26,8 +26,8 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=docker
|
||||
VERSION=${VERSION:-20.10.22}
|
||||
GITHASH=${GITHASH:-42c8b31}
|
||||
VERSION=${VERSION:-20.10.23}
|
||||
GITHASH=${GITHASH:-6051f14}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -66,8 +66,6 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
patch -p1 < $CWD/44707.patch
|
||||
|
||||
mkdir build
|
||||
mv vendor build/src
|
||||
ln -sf $TMP/$SRCNAM-$VERSION build/src/github.com/docker/docker
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="docker"
|
||||
VERSION="20.10.22"
|
||||
VERSION="20.10.23"
|
||||
HOMEPAGE="https://www.docker.com/products/container-runtime"
|
||||
DOWNLOAD="UNSUPPORTED"
|
||||
MD5SUM=""
|
||||
DOWNLOAD_x86_64="https://github.com/moby/moby/archive/v20.10.22/moby-20.10.22.tar.gz"
|
||||
MD5SUM_x86_64="4cb6d189768de032d395ec4c71b96694"
|
||||
DOWNLOAD_x86_64="https://github.com/moby/moby/archive/v20.10.23/moby-20.10.23.tar.gz"
|
||||
MD5SUM_x86_64="8d6af91abb68c0459001c4f98dd7ef63"
|
||||
REQUIRES="containerd docker-proxy tini"
|
||||
MAINTAINER="Audrius Kažukauskas"
|
||||
EMAIL="audrius@neutrino.lt"
|
||||
|
|
Loading…
Reference in New Issue